Structure Definition
struct dpi_bulk_packet {
long int non_repeaters; /* count of non-repeaters*/
long int max_repetitions; /* max repeaters */
struct dpi_next_packet *varBind_p; /* ptr to varBinds, chain*/
/* of dpi_next_packets */
};
typedef struct dpi_bulk_packet snmp_dpi_bulk_packet;
#define snmp_dpi_bulk_packet_NULL_p ((snmp_dpi_bulk_packet *)0)
Note: This structure is supported only in SNMP Version 2.
Structure Members
non_repeaters
Description
The snmp_dpi_bulk_packet structure represents a parse tree for a DPI GETBULK packet.
At the subagent side, the snmp_dpi_bulk_packet structure is normally created as a result of a call to pDPIpacket(). This is the case if the DPI packet is of type SNMP_DPI_GETBULK. The snmp_dpi_hdr structure then contains a pointer to an snmp_dpi_bulk_packet structure, which in turn has a pointer to a chain of one or more snmp_dpi_next_packet structures.
The DPI subagent programmer uses this structure to find out which variables instances are to be returned in a DPI RESPONSE.
Related Information