struct tapi_snmp_varbind_t

Overview

SNMP variable binding More…

#include <tapi_snmp.h>

struct tapi_snmp_varbind_t {
    // fields

    tapi_snmp_oid_t name;
    tapi_snmp_vartypes_t type;
    size_t v_len;
    unsigned char* oct_string;
    tapi_snmp_oid_t* obj_id;
    int integer;
};

Detailed Documentation

SNMP variable binding

Fields

tapi_snmp_oid_t name

Object identifier of variable.

tapi_snmp_vartypes_t type

Type of variable.

size_t v_len

length of data in variable value: quantity of bytes for octet-sting types, number of sub-identifiers for OID type, not used for integer types.

unsigned char* oct_string

Octet string value.

tapi_snmp_oid_t* obj_id

Object identifier value.

int integer

integer value.