#define SNMP_PORT 161
#define SNMP_TRAP_PORT 162
#define SNMP_MAX_LEN 500
#define SNMP_VERSION_1 0
#define SNMP_VERSION_2C 1
#define SNMP_VERSION_3 3
#define SNMP_MSG_GET
#define SNMP_MSG_GETNEXT
#define SNMP_MSG_RESPONSE
#define SNMP_MSG_SET
#define SNMP_MSG_TRAP
#define SNMP_MSG_GETBULK
#define SNMP_MSG_INFORM
#define SNMP_MSG_TRAP2
#define SNMP_MSG_REPORT
#define SNMP_NOSUCHOBJECT
#define SNMP_NOSUCHINSTANCE
#define SNMP_ENDOFMIBVIEW
#define SNMP_ERR_NOERROR 0
#define SNMP_ERR_TOOBIG 1
#define SNMP_ERR_NOSUCHNAME 2
#define SNMP_ERR_BADVALUE 3
#define SNMP_ERR_READONLY 4
#define SNMP_ERR_GENERR 5
#define SNMP_ERR_NOACCESS 6
#define SNMP_ERR_WRONGTYPE 7
#define SNMP_ERR_WRONGLENGTH 8
#define SNMP_ERR_WRONGENCODING 9
#define SNMP_ERR_WRONGVALUE 10
#define SNMP_ERR_NOCREATION 11
#define SNMP_ERR_INCONSISTENTVALUE 12
#define SNMP_ERR_RESOURCEUNAVAILABLE 13
#define SNMP_ERR_COMMITFAILED 14
#define SNMP_ERR_UNDOFAILED 15
#define SNMP_ERR_AUTHORIZATIONERROR 16
#define SNMP_ERR_NOTWRITABLE 17
#define SNMP_ERR_INCONSISTENTNAME 18
#define SNMP_TRAP_COLDSTART 0
#define SNMP_TRAP_WARMSTART 1
#define SNMP_TRAP_LINKDOWN 2
#define SNMP_TRAP_LINKUP 3
#define SNMP_TRAP_AUTHFAIL 4
#define SNMP_TRAP_EGPNEIGHBORLOSS 5
#define SNMP_TRAP_ENTERPRISESPECIFIC 6
#define SNMP_OID_INTERNET
#define SNMP_OID_ENTERPRISES
#define SNMP_OID_MIB2
#define SNMP_OID_SNMPV2
#define SNMP_OID_SNMPMODULES
#define SNMP_PARSE_ERROR -1
#define SNMP_BUILD_ERROR -2
#define MAX_SID_LEN 32
#define MAX_NAME_LEN 128
#define SNMP_ACT_RESERVE1 0
#define SNMP_ACT_RESERVE2 1
#define SNMP_ACT_COMMIT 2
#define SNMP_ACT_ACTION 3
#define SNMP_ACT_FREE 4