enum tapi_snmp_vartypes_t

Overview

Type codes for SNMP variable binding values. More…

#include <tapi_snmp.h>

enum tapi_snmp_vartypes_t {
    TAPI_SNMP_OTHER     = 0,
    TAPI_SNMP_INTEGER   = ASN_INTEGER,
    TAPI_SNMP_OCTET_STR = ASN_OCTET_STR,
    TAPI_SNMP_OBJECT_ID = ASN_OBJECT_ID,
    TAPI_SNMP_IPADDRESS = ASN_IPADDRESS,
    TAPI_SNMP_COUNTER   = ASN_COUNTER,
    TAPI_SNMP_UNSIGNED  = ASN_UNSIGNED,
    TAPI_SNMP_TIMETICKS = ASN_TIMETICKS,
    TAPI_SNMP_NOSUCHOBJ = SNMP_NOSUCHOBJECT,
    TAPI_SNMP_NOSUCHINS = SNMP_NOSUCHINSTANCE,
    TAPI_SNMP_ENDOFMIB  = SNMP_ENDOFMIBVIEW,
};

Detailed Documentation

Type codes for SNMP variable binding values. Really SNMP uses some of ASN.1 codes. Not all possible codes are defined, only usually used and supported in TAD SNMP module.

Enum Values

TAPI_SNMP_INTEGER

2

TAPI_SNMP_OCTET_STR

4

TAPI_SNMP_OBJECT_ID

6

TAPI_SNMP_IPADDRESS

0x40

TAPI_SNMP_COUNTER

0x41

TAPI_SNMP_UNSIGNED

0x42

TAPI_SNMP_TIMETICKS

0x43

TAPI_SNMP_NOSUCHOBJ

0x80 = 128

TAPI_SNMP_NOSUCHINS

0x81 = 129

TAPI_SNMP_ENDOFMIB

0x82 = 130