1
.TH "various PDU processing routines" 3 "5 Sep 2008" "Version 5.4.2" "net-snmp" \" -*- nroff -*-
1
.TH "various PDU processing routines" 3 "23 May 2010" "Version 5.4.3.pre1" "net-snmp" \" -*- nroff -*-
5
5
various PDU processing routines \-
10
.RI "#define \fBBSD4_2\fP"
13
.RI "#define \fBNFDBITS\fP (sizeof(\fBfd_mask\fP) * NBBY)"
16
.RI "#define \fBFD_SET\fP(n, p) ((p)->fds_bits[(n)/NFDBITS] |= (1 << ((n) % NFDBITS)))"
19
.RI "#define \fBFD_CLR\fP(n, p) ((p)->fds_bits[(n)/NFDBITS] &= ~(1 << ((n) % NFDBITS)))"
22
.RI "#define \fBFD_ISSET\fP(n, p) ((p)->fds_bits[(n)/NFDBITS] & (1 << ((n) % NFDBITS)))"
25
.RI "#define \fBFD_ZERO\fP(p) memset((p), 0, sizeof(*(p)))"
32
.RI "typedef long \fBfd_mask\fP"
132
103
.SS "int snmp_set_var_typed_value (\fBnetsnmp_variable_list\fP * newvar, u_char type, const u_char * val_str, size_t val_len)"
134
snmp_set_var_typed_value is used to set data into the netsnmp_variable_list structure.
136
Used to return data to the snmp request via the netsnmp_request_info structure's requestvb pointer.
105
snmp_set_var_typed_value is used to set data into the netsnmp_variable_list structure. Used to return data to the snmp request via the netsnmp_request_info structure's requestvb pointer.
138
107
\fBParameters:\fP
158
127
\fBdelayed_instance.c\fP.
160
Definition at line 686 of file snmp_client.c.
162
References snmp_set_var_value(), and variable_list::type.
164
Referenced by _reorder_getbulk(), check_getnext_results(), handle_pdu(), netsnmp_check_getnext_reply(), netsnmp_create_subtree_cache(), netsnmp_instance_counter32_handler(), netsnmp_instance_int_handler(), netsnmp_instance_long_handler(), netsnmp_instance_num_file_handler(), netsnmp_instance_uint_handler(), netsnmp_instance_ulong_handler(), netsnmp_stash_cache_helper(), netsnmp_table_build_result(), netsnmp_table_data_build_result(), netsnmp_watched_timestamp_handler(), netsnmp_watcher_helper_handler(), snmp_replace_var_types(), and snmp_reset_var_types().
129
Definition at line 687 of file snmp_client.c.
165
130
.SS "int snmp_set_var_value (\fBnetsnmp_variable_list\fP * vars, const u_char * value, size_t len)"
167
Definition at line 753 of file snmp_client.c.
169
References variable_list::buf, netsnmp_vardata::counter64, netsnmp_vardata::integer, NULL, netsnmp_vardata::objid, snmp_log(), snmp_set_detail(), netsnmp_vardata::string, variable_list::type, variable_list::val, and variable_list::val_len.
171
Referenced by parse_one_oid_index(), snmp_set_var_typed_integer(), snmp_set_var_typed_value(), and snmp_varlist_add_variable().
134
Definition at line 754 of file snmp_client.c.
137
Generated automatically by Doxygen for net-snmp from the source code.