Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
The snmp_dpi_hdr structure z/OS Communications Server: IP Programmer's Guide and Reference SC27-3659-02 |
|
Format
Parameters
The fields proto_major, proto_version, proto_release, and packet_id are basically for DPI internal use, so the DPI programmer normally does not need to be concerned about them. UsageThe snmp_dpi_hdr structure is the anchor of a DPI parse tree. At the subagent side, the snmp_dpi_hdr structure is normally created as a result of a call to pDPIpacket(). The DPI subagent programmer uses this structure to interrogate packets. Depending on the packet_type, the pointer to the chain of one or more packet_type specific structures that contain the actual packet data can be picked. The storage for a DPI parse tree is always dynamically allocated. It is the responsibility of the caller to free this parse tree when it is no longer needed. You can use the fDPIparse() function to do that. Note: Some mkDPIxxxx
functions do free the parse tree that is passed to them. An example
is the mkDPIresponse() function.
|
Copyright IBM Corporation 1990, 2014
|