Return Codes from DPI Transport-Related Functions

These are the currently defined values for the return codes from DPI transport-related functions. They are defined in the snmp_dpi.h include file:

#define DPI_RC_OK                0 /* all OK, no error         */
#define DPI_RC_NOK              -1 /* some other error         */
#define DPI_RC_NO_PORT          -2 /* can't determine DPIport  */
#define DPI_RC_NO_CONNECTION    -3 /* no connection to DPIagent*/
#define DPI_RC_EOF              -4 /* EOF receivd on connection*/
#define DPI_RC_IO_ERROR         -5 /* Some I/O error on connect*/
#define DPI_RC_INVALID_HANDLE   -6 /* unknown/invalid handle   */
#define DPI_RC_TIMEOUT          -7 /* timeout occurred         */
#define DPI_RC_PACKET_TOO_LARGE -8 /* packed too large, dropped*/

These values are used as return codes for the transport-related DPI functions.

Related Information


[Back: Value Ranges and Limits]
[Next: The snmp_dpi.h Include File]