dessert_agentx_appstats Struct Reference
[net-snmp & AgentX]

An abstract data type representing some statistical datum. More...

#include <dessert.h>

Collaboration diagram for dessert_agentx_appstats:

Data Fields

struct dessert_agentx_appstatsprev
 A prev pointer.
struct dessert_agentx_appstatsnext
 A next pointer.
char name [256]
 The name of the datum.
char desc [256]
 A description of the datum.
int value_type
 The type of the datum.
int node_or_link
 Indicates if this datum contains information about a node or a link.
uint8_t macaddress1 [ETHER_ADDR_LEN]
 Field representing a mac address if this datum contains information about a node or a link.
uint8_t macaddress2 [ETHER_ADDR_LEN]
 Field representing a mac address if this datum contains information about a link.
union {
   uint8_t   bool
 A boolean.
   int32_t   int32
 A 32bit signed integer.
   uint32_t   uint32
 A 32bit unsigned integer.
   uint64_t   counter64
 A 64bit unsigned integer with counter semantics.
   struct {
      uint8_t   octetstring_len
 The length of the octetstring field.
      char *   octetstring
 Character pointer to some raw bytes.
   } 
}; 

Detailed Description

An abstract data type representing some statistical datum.


Field Documentation

A boolean.

See also:
For valid values please refer to:
DESSERT_APPSTATS_BOOL_TRUE
DESSERT_APPSTATS_BOOL_FALSE

A 32bit signed integer.

uint8_t dessert_agentx_appstats::macaddress1[ETHER_ADDR_LEN]

Field representing a mac address if this datum contains information about a node or a link.

uint8_t dessert_agentx_appstats::macaddress2[ETHER_ADDR_LEN]

Field representing a mac address if this datum contains information about a link.

The name of the datum.

Indicates if this datum contains information about a node or a link.

See also:
For valid values please refer to:
DESSERT_APPSTATS_NODEORLINK_NONE
DESSERT_APPSTATS_NODEORLINK_NODE
DESSERT_APPSTATS_NODEORLINK_LINK

Character pointer to some raw bytes.

The length of the octetstring field.

A 32bit unsigned integer.


The documentation for this struct was generated from the following file: