variable_list(3)

NAME
variable_list - The netsnmp variable list binding structure, it's typedef'd to netsnmp_variable_list.

SYNOPSIS

#include <snmp_api.h>

  Data Fields
variable_list * next_variable
NULL for last variable.
oid * name
Object identifier of variable.
size_t name_length
number of subid's in name
u_char type
ASN type of variable.
netsnmp_vardata val
value of variable
size_t val_len
the length of the value to be copied into buf
oid name_loc [MAX_OID_LEN]
90 percentile < 24.
u_char buf [40]
90 percentile < 40.
void * data
(Opaque) hook for additional data
void(* dataFreeHook )(void *)
callback to free above
int index

Detailed Description

The netsnmp variable list binding structure, it's typedef'd to netsnmp_variable_list.

Examples:

notification.c.

Definition at line 501 of file snmp_api.h.

Field Documentation

  u_char variable_list::buf[40]

90 percentile < 40. Definition at line 517 of file snmp_api.h.

  void* variable_list::data

(Opaque) hook for additional data Definition at line 519 of file snmp_api.h.

  void(* variable_list::dataFreeHook)(void *)

callback to free above

  oid* variable_list::name

Object identifier of variable. Definition at line 505 of file snmp_api.h.

Referenced by build_oid_segment(), check_getnext_results(), netsnmp_add_varbind_to_cache(), netsnmp_bulk_to_next_fix_requests(), netsnmp_check_getnext_reply(), netsnmp_old_api_helper(), netsnmp_row_merge_helper_handler(), netsnmp_table_build_oid(), netsnmp_table_build_oid_from_index(), netsnmp_table_build_result(), netsnmp_table_data_helper_handler(), netsnmp_table_iterator_helper_handler(), and table_helper_handler().

  size_t variable_list::name_length

number of subid's in name Definition at line 507 of file snmp_api.h.

Referenced by build_oid_segment(), check_getnext_results(), netsnmp_add_varbind_to_cache(), netsnmp_bulk_to_next_fix_requests(), netsnmp_check_getnext_reply(), netsnmp_old_api_helper(), netsnmp_row_merge_helper_handler(), netsnmp_table_build_oid(), netsnmp_table_build_oid_from_index(), netsnmp_table_data_helper_handler(), netsnmp_table_iterator_helper_handler(), and table_helper_handler().

  oid variable_list::name_loc[MAX_OID_LEN]

90 percentile < 24. Definition at line 515 of file snmp_api.h.

Referenced by build_oid_segment(), netsnmp_table_build_oid_from_index(), netsnmp_table_build_result(), and table_helper_handler().

  struct variable_list* variable_list::next_variable

NULL for last variable. Definition at line 503 of file snmp_api.h.

Referenced by handle_getnext_loop(), handle_pdu(), netsnmp_bulk_to_next_fix_requests(), and netsnmp_wrap_up_request().

  u_char variable_list::type

ASN type of variable.

Examples:
delayed_instance.c.

Definition at line 509 of file snmp_api.h.

Referenced by _request_set_error(), build_oid_segment(), check_getnext_results(), handle_pdu(), netsnmp_add_varbind_to_cache(), netsnmp_bulk_to_next_fix_requests(), netsnmp_check_getnext_reply(), netsnmp_old_api_helper(), netsnmp_table_data_helper_handler(), netsnmp_table_data_set_helper_handler(), netsnmp_table_iterator_helper_handler(), netsnmp_wrap_up_request(), snmp_set_var_typed_value(), sprint_realloc_bitstring(), sprint_realloc_by_type(), sprint_realloc_counter(), sprint_realloc_counter64(), sprint_realloc_gauge(), sprint_realloc_integer(), sprint_realloc_ipaddress(), sprint_realloc_networkaddress(), sprint_realloc_null(), sprint_realloc_object_identifier(), sprint_realloc_octet_string(), sprint_realloc_opaque(), sprint_realloc_timeticks(), sprint_realloc_uinteger(), and table_helper_handler().

  netsnmp_vardata variable_list::val

value of variable

Examples:
delayed_instance.c.

Definition at line 511 of file snmp_api.h.

Referenced by build_oid_segment(), netsnmp_check_getnext_reply(), netsnmp_old_api_helper(), netsnmp_table_data_set_helper_handler(), sprint_realloc_bitstring(), sprint_realloc_counter(), sprint_realloc_counter64(), sprint_realloc_gauge(), sprint_realloc_integer(), sprint_realloc_ipaddress(), sprint_realloc_networkaddress(), sprint_realloc_object_identifier(), sprint_realloc_octet_string(), sprint_realloc_opaque(), sprint_realloc_timeticks(), and sprint_realloc_uinteger().

  size_t variable_list::val_len

the length of the value to be copied into buf Definition at line 513 of file snmp_api.h.

Referenced by build_oid_segment(), netsnmp_check_getnext_reply(), netsnmp_old_api_helper(), netsnmp_table_data_set_helper_handler(), sprint_realloc_bitstring(), sprint_realloc_networkaddress(), sprint_realloc_object_identifier(), sprint_realloc_octet_string(), and sprint_realloc_opaque().

Author

Generated automatically by Doxygen for net-snmp from the source code.