z/OS Communications Server: IP Programmer's Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


The snmp_dpi_u64 structure

z/OS Communications Server: IP Programmer's Guide and Reference
SC27-3659-02

Format

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.

Parameters

high
The high order, most significant, 32 bits.
low
The low order, least significant, 32 bits.

Usage

The snmp_dpi_u64 structure represents an unsigned 64-bit integer as needed for values with a type of SNMP_TYPE_Counter64.

The snmp_dpi_u64 structure might 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 an mkDPIset() call if you want to create a value of type SNMP_TYPE_Counter64.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014