#include <qtossapi.h> void fDPIparse( snmp_dpi_hdr *hdr_p );
The fDPIparse() function frees storage that was previously allocated by a call to pDPIpacket() to store the DPI packet.
None.
The fDPIparse() function frees dynamic storage that was previously created by a call to pDPIpacket(). After calling fDPIparse(), no further references should be made to hdr_p, which pointed to the snmp_dpi_hdr structure.
A complete or partial DPI snmp_dpi_hdr structure is also implicitly freed by a call to a DPI function that serializes an snmp_dpi_hdr structure into a DPI packet. The section that describes each function tells you if this is the case. An example of such a function is mkDPIresponse().
See Code disclaimer information for information pertaining to code examples.
#include <qtossapi.h> snmp_dpi_hdr *hdr_p; unsigned char *pack_p; /* Assume pack_p points to */ /* incoming DPI packet. */ hdr_p = pDPIpacket(pack_p); /* Handle the packet, and when done, do the following. */ if (hdr_p) fDPIparse(hdr_p);
Top | UNIX-Type APIs | APIs by category |