Structure Definition
struct snmp_dpi_u64 { /* for unsigned 64-bit int */
unsigned long high; /* - high order 32 bits */
unsigned long low; /* - low order 32 bits */
};
typedef struct snmp_dpi_u64 snmp_dpi_u64;
Note: This structure is supported only in SNMP Version 2.
Structure Members
high
Description
The snmp_dpi_u64 structure represents an unsigned 64-bit integer as need for values with a type of SNMP_TYPE_Counter64.
The snmp_dpi_u64 structure may be created as a result of a call to pDPIpacket(). This is the case if the DPI packet is of type SNMP_DPI_SET and one of the values has a type of SNMP_TYPE_Counter64. The value_p pointer of the snmp_dpi_set_packet structure will then point to an snmp_dpi_u64 structure.
The DPI programmer must also use an snmp_dpi_u64 structure as the parameter to a mkDPIset() call if you want to create a value of type SNMP_TYPE_Counter64.
Related Information
The pDPIpacket() Function The
snmp_dpi_set_packet Structure
DPI SNMP Value Types
Value Representation