Structure Definition
struct dpi_next_packet {
char *object_p; /* ptr to OID (string) */
char *group_p; /* ptr to sub-tree(group)*/
char *instance_p;/* ptr to rest of OID */
struct dpi_next_packet *next_p; /* ptr to next in chain */
};
typedef struct dpi_next_packet snmp_dpi_next_packet;
#define snmp_dpi_next_packet_NULL_p ((snmp_dpi_next_packet *)0)
Structure Members
object_p
Use of the term instance_p here should not be confused with an OBJECT instance because this string may consist of a piece of the OBJECT IDENTIFIER plus the INSTANCE IDENTIFIER.
Description
The snmp_dpi_next_packet structure represents a parse tree for a DPI GETNEXT packet.
At the subagent side, the snmp_dpi_next_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_GETNEXT. The snmp_dpi_hdr structure then contains 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