Structure Definition
struct dpi_ureg_packet {
char reason_code;/* reason for unregister */
char *group_p; /* ptr to sub-tree(group)*/
struct dpi_reg_packet *next_p; /* ptr to next in chain */
};
typedef struct dpi_ureg_packet snmp_dpi_ureg_packet;
#define snmp_dpi_ureg_packet_NULL_p ((snmp_dpi_ureg_packet *)0)
Structure Members
reason_code
See DPI UNREGISTER Reason Codes for a list of the currently defined reason codes.
Description
The snmp_dpi_ureg_packet structure represents a parse tree for a DPI UNREGISTER request.
The snmp_dpi_ureg_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_UNREGISTER. The snmp_dpi_hdr structure then contains a pointer to a snmp_dpi_ureg_packet structure.
The DPI programmer is advised to use the mkDPIunregister() function to create a DPI UNREGISTER packet.
Related Information