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 514 of file snmp_api.h.

Field Documentation

  u_char variable_list::buf[40]

90 percentile < 40.

Definition at line 530 of file snmp_api.h.

Referenced by snmp_clone_var(), snmp_free_var(), snmp_pdu_parse(), snmp_reset_var_buffers(), and snmp_set_var_value().

  void* variable_list::data

(Opaque) hook for additional data

Definition at line 532 of file snmp_api.h.

Referenced by snmp_clone_var(), snmp_free_var(), and snmp_pdu_parse().

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

callback to free above

Referenced by snmp_clone_var(), snmp_free_var(), and snmp_pdu_parse().

  oid* variable_list::name

Object identifier of variable.

Definition at line 518 of file snmp_api.h.

Referenced by _reorder_getbulk(), build_oid_segment(), check_acm(), convert_v2pdu_to_v1(), dump_idx_registry(), find_varbind_in_list(), netsnmp_add_varbind_to_cache(), netsnmp_agent_check_parse(), netsnmp_bulk_to_next_fix_requests(), netsnmp_check_getnext_reply(), netsnmp_instance_helper_handler(), netsnmp_old_api_helper(), netsnmp_scalar_group_helper_handler(), netsnmp_scalar_helper_handler(), netsnmp_send_traps(), netsnmp_stash_cache_helper(), netsnmp_table_build_oid(), netsnmp_table_build_oid_from_index(), netsnmp_table_build_result(), netsnmp_table_data_set_helper_handler(), netsnmp_watched_timestamp_handler(), netsnmp_watcher_helper_handler(), netsnmp_wrap_up_request(), snmp_clone_var(), snmp_free_var(), snmp_pdu_build(), snmp_pdu_parse(), snmp_reset_var_buffers(), snmp_set_var_objid(), and snmpv3_get_report_type().

  size_t variable_list::name_length

number of subid's in name

Definition at line 520 of file snmp_api.h.

Referenced by _reorder_getbulk(), build_oid_segment(), check_acm(), convert_v2pdu_to_v1(), dump_idx_registry(), find_varbind_in_list(), netsnmp_add_varbind_to_cache(), netsnmp_agent_check_parse(), netsnmp_bulk_to_next_fix_requests(), netsnmp_check_getnext_reply(), netsnmp_create_subtree_cache(), netsnmp_instance_helper_handler(), netsnmp_old_api_helper(), netsnmp_scalar_group_helper_handler(), netsnmp_scalar_helper_handler(), netsnmp_send_traps(), netsnmp_stash_cache_helper(), netsnmp_table_build_oid(), netsnmp_table_build_oid_from_index(), netsnmp_table_data_set_helper_handler(), netsnmp_watched_timestamp_handler(), netsnmp_watcher_helper_handler(), netsnmp_wrap_up_request(), snmp_clone_var(), snmp_pdu_build(), snmp_pdu_parse(), snmp_reset_var_buffers(), snmp_set_var_objid(), and snmpv3_get_report_type().

  oid variable_list::name_loc[MAX_OID_LEN]

90 percentile < 24.

Definition at line 528 of file snmp_api.h.

Referenced by build_oid_segment(), netsnmp_table_build_oid_from_index(), netsnmp_table_build_result(), snmp_free_var(), snmp_reset_var_buffers(), and snmp_set_var_objid().

  struct variable_list* variable_list::next_variable

NULL for last variable.

Definition at line 516 of file snmp_api.h.

Referenced by build_oid_noalloc(), check_acm(), convert_v1pdu_to_v2(), convert_v2pdu_to_v1(), count_varbinds(), count_varbinds_of_type(), find_varbind_in_list(), find_varbind_of_type(), handle_getnext_loop(), handle_pdu(), netsnmp_agent_check_parse(), netsnmp_bulk_to_next_fix_requests(), netsnmp_config_parse_add_row(), netsnmp_create_subtree_cache(), netsnmp_handle_request(), netsnmp_send_traps(), netsnmp_wrap_up_request(), parse_oid_indexes(), snmp_clone_var(), snmp_free_varbind(), snmp_pdu_build(), snmp_pdu_parse(), snmp_replace_var_types(), snmp_reset_var_buffers(), snmp_varbind_len(), snmp_varlist_add_variable(), and table_helper_handler().

  u_char variable_list::type

ASN type of variable.

Examples:
delayed_instance.c.

Definition at line 522 of file snmp_api.h.

Referenced by _request_set_error(), build_oid_segment(), check_acm(), count_varbinds_of_type(), find_varbind_of_type(), handle_pdu(), netsnmp_add_varbind_to_cache(), netsnmp_bulk_to_next_fix_requests(), netsnmp_check_getnext_reply(), netsnmp_config_parse_add_row(), netsnmp_create_subtree_cache(), netsnmp_instance_helper_handler(), netsnmp_instance_int_handler(), netsnmp_instance_long_handler(), netsnmp_instance_ulong_handler(), netsnmp_scalar_group_helper_handler(), netsnmp_stash_cache_helper(), netsnmp_table_data_set_helper_handler(), netsnmp_watcher_helper_handler(), netsnmp_wrap_up_request(), parse_one_oid_index(), snmp_pdu_build(), snmp_pdu_parse(), snmp_replace_var_types(), snmp_set_var_typed_value(), snmp_set_var_value(), snmp_varlist_add_variable(), 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_nsapaddress(), sprint_realloc_null(), sprint_realloc_object_identifier(), sprint_realloc_octet_string(), sprint_realloc_opaque(), sprint_realloc_timeticks(), sprint_realloc_uinteger(), sprint_realloc_value(), sprint_realloc_variable(), and table_helper_handler().

  netsnmp_vardata variable_list::val

value of variable

Examples:
delayed_instance.c.

Definition at line 524 of file snmp_api.h.

Referenced by build_oid_segment(), convert_v2pdu_to_v1(), netsnmp_check_getnext_reply(), netsnmp_instance_int_handler(), netsnmp_instance_long_handler(), netsnmp_instance_ulong_handler(), netsnmp_send_traps(), netsnmp_stash_cache_helper(), netsnmp_table_data_set_helper_handler(), netsnmp_watcher_helper_handler(), parse_one_oid_index(), snmp_clone_var(), snmp_free_var(), snmp_pdu_build(), snmp_pdu_parse(), snmp_reset_var_buffers(), snmp_set_var_value(), sprint_realloc_bitstring(), sprint_realloc_counter(), sprint_realloc_counter64(), sprint_realloc_gauge(), sprint_realloc_integer(), sprint_realloc_ipaddress(), sprint_realloc_networkaddress(), sprint_realloc_nsapaddress(), 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 526 of file snmp_api.h.

Referenced by build_oid_segment(), convert_v2pdu_to_v1(), netsnmp_check_getnext_reply(), netsnmp_stash_cache_helper(), netsnmp_table_data_set_helper_handler(), netsnmp_watcher_helper_handler(), parse_one_oid_index(), snmp_clone_var(), snmp_pdu_build(), snmp_pdu_parse(), snmp_reset_var_buffers(), snmp_set_var_value(), sprint_realloc_bitstring(), sprint_realloc_networkaddress(), sprint_realloc_nsapaddress(), sprint_realloc_object_identifier(), sprint_realloc_octet_string(), and sprint_realloc_opaque().

Author

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