#include "snmp_pp/config_snmp_pp.h"
Go to the source code of this file.
Compounds | |
| struct | SmiCNTR64 |
| struct | SmiOCTETS |
| struct | SmiOID |
ASN/BER Base Types | |
| Basic Encoding Rules (BER) (used in forming SYNTAXes and certain SNMP types/values). | |
| #define | aSN_UNIVERSAL (0x00) |
| #define | aSN_APPLICATION (0x40) |
| #define | aSN_CONTEXT (0x80) |
| #define | aSN_PRIVATE (0xC0) |
| #define | aSN_PRIMITIVE (0x00) |
| #define | aSN_CONSTRUCTOR (0x20) |
Syntax Types | |
| These values are used in the "syntax" member of the smiVALUE structure which follows. The get_syntax() method of any class derived from SnmpSyntax returns one of these values.
| |
| #define | sNMP_SYNTAX_INT (aSN_UNIVERSAL | aSN_PRIMITIVE | 0x02) |
| #define | sNMP_SYNTAX_BITS (aSN_UNIVERSAL | aSN_PRIMITIVE | 0x03) |
| #define | sNMP_SYNTAX_OCTETS (aSN_UNIVERSAL | aSN_PRIMITIVE | 0x04) |
| #define | sNMP_SYNTAX_NULL (aSN_UNIVERSAL | aSN_PRIMITIVE | 0x05) |
| #define | sNMP_SYNTAX_OID (aSN_UNIVERSAL | aSN_PRIMITIVE | 0x06) |
| #define | sNMP_SYNTAX_INT32 sNMP_SYNTAX_INT |
| #define | sNMP_SYNTAX_IPADDR (aSN_APPLICATION | aSN_PRIMITIVE | 0x00) |
| #define | sNMP_SYNTAX_CNTR32 (aSN_APPLICATION | aSN_PRIMITIVE | 0x01) |
| #define | sNMP_SYNTAX_GAUGE32 (aSN_APPLICATION | aSN_PRIMITIVE | 0x02) |
| #define | sNMP_SYNTAX_TIMETICKS (aSN_APPLICATION | aSN_PRIMITIVE | 0x03) |
| #define | sNMP_SYNTAX_OPAQUE (aSN_APPLICATION | aSN_PRIMITIVE | 0x04) |
| #define | sNMP_SYNTAX_CNTR64 (aSN_APPLICATION | aSN_PRIMITIVE | 0x06) |
| #define | sNMP_SYNTAX_UINT32 sNMP_SYNTAX_GAUGE32 |
Exception conditions for SNMPv2 | |
| #define | sNMP_SYNTAX_NOSUCHOBJECT (aSN_CONTEXT | aSN_PRIMITIVE | 0x00) |
| #define | sNMP_SYNTAX_NOSUCHINSTANCE (aSN_CONTEXT | aSN_PRIMITIVE | 0x01) |
| #define | sNMP_SYNTAX_ENDOFMIBVIEW (aSN_CONTEXT | aSN_PRIMITIVE | 0x02) |
Pdu types | |
| #define | sNMP_PDU_GET (aSN_CONTEXT | aSN_CONSTRUCTOR | 0x0) |
| #define | sNMP_PDU_GETNEXT (aSN_CONTEXT | aSN_CONSTRUCTOR | 0x1) |
| #define | sNMP_PDU_RESPONSE (aSN_CONTEXT | aSN_CONSTRUCTOR | 0x2) |
| #define | sNMP_PDU_SET (aSN_CONTEXT | aSN_CONSTRUCTOR | 0x3) |
| #define | sNMP_PDU_V1TRAP (aSN_CONTEXT | aSN_CONSTRUCTOR | 0x4) |
| #define | sNMP_PDU_GETBULK (aSN_CONTEXT | aSN_CONSTRUCTOR | 0x5) |
| #define | sNMP_PDU_INFORM (aSN_CONTEXT | aSN_CONSTRUCTOR | 0x6) |
| #define | sNMP_PDU_TRAP (aSN_CONTEXT | aSN_CONSTRUCTOR | 0x7) |
| #define | sNMP_PDU_REPORT (aSN_CONTEXT | aSN_CONSTRUCTOR | 0x8) |
SMI typedefs | |
| SNMP-related types from RFC1442 (SMI). | |
| typedef unsigned char | SmiBYTE |
| typedef unsigned char WINFAR * | SmiLPBYTE |
| typedef long | SmiINT |
| typedef long WINFAR * | SmiLPINT |
| typedef SmiINT | SmiINT32 |
| typedef SmiINT WINFAR * | SmiLPINT32 |
| typedef unsigned long | SmiUINT32 |
| typedef unsigned long WINFAR * | SmiLPUINT32 |
| typedef * | SmiLPOCTETS |
| typedef SmiOCTETS | SmiBITS |
| typedef SmiOCTETS WINFAR * | SmiLPBITS |
| typedef * | SmiLPOID |
| typedef SmiOCTETS | SmiIPADDR |
| typedef SmiOCTETS WINFAR * | SmiLPIPADDR |
| typedef SmiUINT32 | SmiCNTR32 |
| typedef SmiUINT32 WINFAR * | SmiLPCNTR32 |
| typedef SmiUINT32 | SmiGAUGE32 |
| typedef SmiUINT32 WINFAR * | SmiLPGAUGE32 |
| typedef SmiUINT32 | SmiTIMETICKS |
| typedef SmiUINT32 WINFAR * | SmiLPTIMETICKS |
| typedef SmiOCTETS | SmiOPAQUE |
| typedef SmiOCTETS WINFAR * | SmiLPOPAQUE |
| typedef SmiOCTETS | SmiNSAPADDR |
| typedef SmiOCTETS WINFAR * | SmiLPNSAPADDR |
| typedef * | SmiLPCNTR64 |
Defines | |
| #define | WINFAR |
| #define | STRCAT strcat |
| #define | STRLEN strlen |
| #define | MEMCPY memcpy |
| #define | STRCPY strcpy |
| #define | MEMCMP memcmp |
| #define | XPORT |
| #define | TRUE 1 |
| #define | FALSE 0 |
| #define | sNMP_SYNTAX_SEQUENCE (aSN_CONTEXT | aSN_CONSTRUCTOR | 0x10) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 148 of file smi.h. Referenced by Counter32::Counter32(), and Counter32::get_syntax(). |
|
|
Definition at line 152 of file smi.h. Referenced by Counter64::get_syntax(). |
|
|
|
|
|
Definition at line 149 of file smi.h. Referenced by Gauge32::Gauge32(), and Gauge32::get_syntax(). |
|
|
|
|
|
Definition at line 146 of file smi.h. Referenced by SnmpInt32::get_syntax(). |
|
|
Definition at line 147 of file smi.h. Referenced by IpAddress::get_syntax(). |
|
|
|
|
|
|
|
|
Definition at line 144 of file smi.h. Referenced by GenAddress::get_syntax(). |
|
|
Definition at line 143 of file smi.h. Referenced by OctetStr::get_syntax(), and UdpAddress::get_syntax(). |
|
|
Definition at line 145 of file smi.h. Referenced by Oid::get_syntax(). |
|
|
Definition at line 151 of file smi.h. Referenced by OpaqueStr::get_syntax(), and OpaqueStr::OpaqueStr(). |
|
|
|
|
|
Definition at line 150 of file smi.h. Referenced by TimeTicks::get_syntax(), and TimeTicks::TimeTicks(). |
|
|
Definition at line 153 of file smi.h. Referenced by SnmpUInt32::get_syntax(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Referenced by Oid::oidval(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 198 of file smi.h. Referenced by TimeTicks::get_syntax(), Oid::get_syntax(), OpaqueStr::get_syntax(), OctetStr::get_syntax(), SnmpInt32::get_syntax(), SnmpUInt32::get_syntax(), Gauge32::get_syntax(), Counter64::get_syntax(), Counter32::get_syntax(), GenAddress::get_syntax(), UdpAddress::get_syntax(), and IpAddress::get_syntax(). |
1.3.2