58 #ifdef SNMP_PP_NAMESPACE
77 #define aSN_UNIVERSAL (0x00)
78 #define aSN_APPLICATION (0x40)
79 #define aSN_CONTEXT (0x80)
80 #define aSN_PRIVATE (0xC0)
81 #define aSN_PRIMITIVE (0x00)
82 #define aSN_CONSTRUCTOR (0x20)
86 #define sNMP_SYNTAX_SEQUENCE (aSN_CONTEXT | aSN_CONSTRUCTOR | 0x10)
100 #define sNMP_SYNTAX_INT (aSN_UNIVERSAL | aSN_PRIMITIVE | 0x02)
101 #define sNMP_SYNTAX_BITS (aSN_UNIVERSAL | aSN_PRIMITIVE | 0x03)
102 #define sNMP_SYNTAX_OCTETS (aSN_UNIVERSAL | aSN_PRIMITIVE | 0x04)
103 #define sNMP_SYNTAX_NULL (aSN_UNIVERSAL | aSN_PRIMITIVE | 0x05)
104 #define sNMP_SYNTAX_OID (aSN_UNIVERSAL | aSN_PRIMITIVE | 0x06)
105 #define sNMP_SYNTAX_INT32 sNMP_SYNTAX_INT
106 #define sNMP_SYNTAX_IPADDR (aSN_APPLICATION | aSN_PRIMITIVE | 0x00)
107 #define sNMP_SYNTAX_CNTR32 (aSN_APPLICATION | aSN_PRIMITIVE | 0x01)
108 #define sNMP_SYNTAX_GAUGE32 (aSN_APPLICATION | aSN_PRIMITIVE | 0x02)
109 #define sNMP_SYNTAX_TIMETICKS (aSN_APPLICATION | aSN_PRIMITIVE | 0x03)
110 #define sNMP_SYNTAX_OPAQUE (aSN_APPLICATION | aSN_PRIMITIVE | 0x04)
111 #define sNMP_SYNTAX_CNTR64 (aSN_APPLICATION | aSN_PRIMITIVE | 0x06)
112 #define sNMP_SYNTAX_UINT32 sNMP_SYNTAX_GAUGE32
120 #define sNMP_SYNTAX_NOSUCHOBJECT (aSN_CONTEXT | aSN_PRIMITIVE | 0x00)
121 #define sNMP_SYNTAX_NOSUCHINSTANCE (aSN_CONTEXT | aSN_PRIMITIVE | 0x01)
122 #define sNMP_SYNTAX_ENDOFMIBVIEW (aSN_CONTEXT | aSN_PRIMITIVE | 0x02)
128 #define sNMP_PDU_GET (aSN_CONTEXT | aSN_CONSTRUCTOR | 0x0)
129 #define sNMP_PDU_GETNEXT (aSN_CONTEXT | aSN_CONSTRUCTOR | 0x1)
130 #define sNMP_PDU_RESPONSE (aSN_CONTEXT | aSN_CONSTRUCTOR | 0x2)
131 #define sNMP_PDU_SET (aSN_CONTEXT | aSN_CONSTRUCTOR | 0x3)
132 #define sNMP_PDU_V1TRAP (aSN_CONTEXT | aSN_CONSTRUCTOR | 0x4)
133 #define sNMP_PDU_GETBULK (aSN_CONTEXT | aSN_CONSTRUCTOR | 0x5)
134 #define sNMP_PDU_INFORM (aSN_CONTEXT | aSN_CONSTRUCTOR | 0x6)
135 #define sNMP_PDU_TRAP (aSN_CONTEXT | aSN_CONSTRUCTOR | 0x7)
136 #define sNMP_PDU_REPORT (aSN_CONTEXT | aSN_CONSTRUCTOR | 0x8)
196 #ifdef SNMP_PP_NAMESPACE
SmiOCTETS WINFAR * SmiLPBITS
struct SmiOCTETS * SmiLPOCTETS
SmiUINT32 WINFAR * SmiLPGAUGE32
SmiINT WINFAR * SmiLPINT32
SmiUINT32 WINFAR * SmiLPCNTR32
struct SmiCNTR64 * SmiLPCNTR64
unsigned long WINFAR * SmiLPUINT32
SmiOCTETS WINFAR * SmiLPIPADDR
SmiUINT32 WINFAR * SmiLPTIMETICKS
unsigned char WINFAR * SmiLPBYTE
SmiOCTETS WINFAR * SmiLPOPAQUE
SmiOCTETS WINFAR * SmiLPNSAPADDR