10
.RI "struct \fBaddrCache\fP"
10
13
.RI "struct \fB_agent_nsap\fP"
13
.RI "struct \fBaddrCache\fP"
16
16
.RI "struct \fBagent_set_cache_s\fP"
23
.RI "#define \fBSNMP_NEED_REQUEST_LIST\fP"
26
.RI "#define \fBSNMP_ADDRCACHE_SIZE\fP 10"
33
.RI "typedef _agent_nsap \fBagent_nsap\fP"
36
.RI "typedef agent_set_cache_s \fBagent_set_cache\fP"
43
.RI "int \fBnetsnmp_agent_check_packet\fP (\fBnetsnmp_session\fP *, struct netsnmp_transport_s *, void *, int)"
46
.RI "int \fBnetsnmp_agent_check_parse\fP (\fBnetsnmp_session\fP *, \fBnetsnmp_pdu\fP *, int)"
49
.RI "void \fBdelete_subnetsnmp_tree_cache\fP (netsnmp_agent_session *asp)"
23
52
.RI "int \fBhandle_pdu\fP (netsnmp_agent_session *asp)"
25
.RI "\fIThis function calls into netsnmp_set_mode_request_error, sets error_value given a reqinfo->mode value.\fP"
54
.RI "\fIThis function calls into netsnmp_set_mode_request_error, sets error_value given a reqinfo->mode value. \fP"
56
.RI "int \fBnetsnmp_handle_request\fP (netsnmp_agent_session *asp, int status)"
59
.RI "int \fBnetsnmp_wrap_up_request\fP (netsnmp_agent_session *asp, int status)"
62
.RI "int \fBcheck_delayed_request\fP (netsnmp_agent_session *asp)"
27
65
.RI "int \fBhandle_getnext_loop\fP (netsnmp_agent_session *asp)"
29
.RI "\fIrepeatedly calls getnext handlers looking for an answer till all requests are satisified.\fP"
67
.RI "\fIrepeatedly calls getnext handlers looking for an answer till all requests are satisified. \fP"
69
.RI "int \fBhandle_set_loop\fP (netsnmp_agent_session *asp)"
72
.RI "int \fBnetsnmp_check_queued_chain_for\fP (netsnmp_agent_session *asp)"
75
.RI "int \fBnetsnmp_add_queued\fP (netsnmp_agent_session *asp)"
78
.RI "int \fBnetsnmp_remove_from_delegated\fP (netsnmp_agent_session *asp)"
81
.RI "int \fBnetsnmp_allocate_globalcacheid\fP (void)"
84
.RI "int \fBnetsnmp_get_local_cachid\fP (netsnmp_cachemap *cache_store, int globalid)"
87
.RI "netsnmp_cachemap * \fBnetsnmp_get_or_add_local_cachid\fP (netsnmp_cachemap **cache_store, int globalid, int localid)"
90
.RI "void \fBnetsnmp_free_cachemap\fP (netsnmp_cachemap *cache_store)"
93
.RI "agent_set_cache * \fBsave_set_cache\fP (netsnmp_agent_session *asp)"
96
.RI "int \fBget_set_cache\fP (netsnmp_agent_session *asp)"
99
.RI "NETSNMP_STATIC_INLINE void \fB_reorder_getbulk\fP (netsnmp_agent_session *asp)"
102
.RI "int \fBgetNextSessID\fP ()"
31
105
.RI "int \fBagent_check_and_process\fP (int block)"
33
.RI "\fIThis function checks for packets arriving on the SNMP port and processes them(snmp_read) if some are found, using the select().\fP"
107
.RI "\fIThis function checks for packets arriving on the SNMP port and processes them(snmp_read) if some are found, using the select(). \fP"
109
.RI "void \fBnetsnmp_addrcache_initialise\fP (void)"
112
.RI "void \fBnetsnmp_addrcache_age\fP (void)"
115
.RI "int \fBnetsnmp_agent_check_packet\fP (\fBnetsnmp_session\fP *session, netsnmp_transport *transport, void *transport_data, int transport_data_length)"
118
.RI "int \fBnetsnmp_register_agent_nsap\fP (netsnmp_transport *t)"
121
.RI "void \fBnetsnmp_deregister_agent_nsap\fP (int handle)"
124
.RI "int \fBinit_master_agent\fP (void)"
127
.RI "void \fBclear_nsap_list\fP (void)"
130
.RI "void \fBshutdown_master_agent\fP (void)"
133
.RI "netsnmp_agent_session * \fBinit_agent_snmp_session\fP (\fBnetsnmp_session\fP *session, \fBnetsnmp_pdu\fP *pdu)"
136
.RI "void \fBfree_agent_snmp_session\fP (netsnmp_agent_session *asp)"
139
.RI "int \fBnetsnmp_check_for_delegated\fP (netsnmp_agent_session *asp)"
142
.RI "int \fBnetsnmp_check_delegated_chain_for\fP (netsnmp_agent_session *asp)"
145
.RI "int \fBnetsnmp_check_for_delegated_and_add\fP (netsnmp_agent_session *asp)"
148
.RI "int \fBnetsnmp_remove_delegated_requests_for_session\fP (\fBnetsnmp_session\fP *sess)"
35
151
.RI "void \fBdump_sess_list\fP (void)"
37
.RI "\fIif asp->pdu\fP"
39
.RI "int \fBhandle_snmp_packet\fP (int op, netsnmp_session *session, int reqid, netsnmp_pdu *pdu, void *magic)"
41
.RI "\fIhandles an incoming SNMP packet into the agent\fP"
154
.RI "void \fBnetsnmp_remove_and_free_agent_snmp_session\fP (netsnmp_agent_session *asp)"
157
.RI "void \fBnetsnmp_free_agent_snmp_session_by_session\fP (\fBnetsnmp_session\fP *sess, void(*free_request)(netsnmp_request_list *))"
160
.RI "int \fBhandle_snmp_packet\fP (int op, \fBnetsnmp_session\fP *session, int reqid, \fBnetsnmp_pdu\fP *pdu, void *magic)"
162
.RI "\fIhandles an incoming SNMP packet into the agent \fP"
164
.RI "\fBnetsnmp_request_info\fP * \fBnetsnmp_add_varbind_to_cache\fP (netsnmp_agent_session *asp, int vbcount, \fBnetsnmp_variable_list\fP *varbind_ptr, netsnmp_subtree *tp)"
43
167
.RI "int \fBcheck_acm\fP (netsnmp_agent_session *asp, u_char type)"
170
.RI "int \fBnetsnmp_create_subtree_cache\fP (netsnmp_agent_session *asp)"
173
.RI "int \fBnetsnmp_reassign_requests\fP (netsnmp_agent_session *asp)"
176
.RI "void \fBnetsnmp_delete_request_infos\fP (\fBnetsnmp_request_info\fP *reqlist)"
179
.RI "void \fBnetsnmp_delete_subtree_cache\fP (netsnmp_agent_session *asp)"
182
.RI "int \fBnetsnmp_check_requests_error\fP (\fBnetsnmp_request_info\fP *requests)"
185
.RI "int \fBnetsnmp_check_requests_status\fP (netsnmp_agent_session *asp, \fBnetsnmp_request_info\fP *requests, int look_for_specific)"
188
.RI "int \fBnetsnmp_check_all_requests_status\fP (netsnmp_agent_session *asp, int look_for_specific)"
191
.RI "int \fBhandle_var_requests\fP (netsnmp_agent_session *asp)"
194
.RI "void \fBnetsnmp_check_outstanding_agent_requests\fP (void)"
46
197
.RI "int \fBnetsnmp_check_transaction_id\fP (int transaction_id)"
48
.RI "\fIDecide if the requested transaction_id is still being processed within the agent.\fP"
199
.RI "\fIDecide if the requested transaction_id is still being processed within the agent. \fP"
50
201
.RI "int \fBcheck_getnext_results\fP (netsnmp_agent_session *asp)"
52
.RI "\fIreturns 1 if there are valid GETNEXT requests left.\fP"
54
.RI "NETSNMP_STATIC_INLINE int \fB_request_set_error\fP (netsnmp_request_info *request, int mode, int error_value)"
56
.RI "\fIset error for a request\fP"
58
.RI "int \fBnetsnmp_request_set_error\fP (netsnmp_request_info *request, int error_value)"
60
.RI "\fIset error for a request\fP"
62
.RI "NETSNMP_INLINE int \fBnetsnmp_request_set_error_all\fP (netsnmp_request_info *requests, int error)"
64
.RI "\fIset error for all requests\fP"
66
.RI "int \fBnetsnmp_set_request_error\fP (netsnmp_agent_request_info *reqinfo, netsnmp_request_info *request, int error_value)"
68
.RI "\fIdeprecated, use netsnmp_request_set_error instead\fP"
70
.RI "int \fBnetsnmp_set_mode_request_error\fP (int mode, netsnmp_request_info *request, int error_value)"
72
.RI "\fIdeprecated, use netsnmp_request_set_error instead\fP"
74
.RI "int \fBnetsnmp_set_all_requests_error\fP (netsnmp_agent_request_info *reqinfo, netsnmp_request_info *requests, int error_value)"
76
.RI "\fIset error for all request\fP"
203
.RI "\fIreturns 1 if there are valid GETNEXT requests left. \fP"
205
.RI "int \fBhandle_set\fP (netsnmp_agent_session *asp)"
208
.RI "NETSNMP_STATIC_INLINE int \fB_request_set_error\fP (\fBnetsnmp_request_info\fP *request, int mode, int error_value)"
210
.RI "\fIset error for a request \fP"
212
.RI "int \fBnetsnmp_request_set_error\fP (\fBnetsnmp_request_info\fP *request, int error_value)"
214
.RI "\fIset error for a request \fP"
216
.RI "NETSNMP_INLINE int \fBnetsnmp_request_set_error_all\fP (\fBnetsnmp_request_info\fP *requests, int error)"
218
.RI "\fIset error for all requests \fP"
220
.RI "u_long \fBnetsnmp_marker_uptime\fP (marker_t pm)"
223
.RI "u_long \fBnetsnmp_timeval_uptime\fP (struct timeval *tv)"
226
.RI "u_long \fBnetsnmp_get_agent_uptime\fP (void)"
229
.RI "NETSNMP_INLINE void \fBnetsnmp_agent_add_list_data\fP (\fBnetsnmp_agent_request_info\fP *ari, \fBnetsnmp_data_list\fP *node)"
232
.RI "NETSNMP_INLINE void * \fBnetsnmp_agent_get_list_data\fP (\fBnetsnmp_agent_request_info\fP *ari, const char *name)"
235
.RI "NETSNMP_INLINE void \fBnetsnmp_free_agent_data_set\fP (\fBnetsnmp_agent_request_info\fP *ari)"
238
.RI "NETSNMP_INLINE void \fBnetsnmp_free_agent_data_sets\fP (\fBnetsnmp_agent_request_info\fP *ari)"
241
.RI "NETSNMP_INLINE void \fBnetsnmp_free_agent_request_info\fP (\fBnetsnmp_agent_request_info\fP *ari)"
244
.RI "int \fBnetsnmp_set_request_error\fP (\fBnetsnmp_agent_request_info\fP *reqinfo, \fBnetsnmp_request_info\fP *request, int error_value)"
246
.RI "\fIdeprecated, use netsnmp_request_set_error instead \fP"
248
.RI "int \fBnetsnmp_set_mode_request_error\fP (int mode, \fBnetsnmp_request_info\fP *request, int error_value)"
250
.RI "\fIdeprecated, use netsnmp_request_set_error instead \fP"
252
.RI "int \fBnetsnmp_set_all_requests_error\fP (\fBnetsnmp_agent_request_info\fP *reqinfo, \fBnetsnmp_request_info\fP *requests, int error_value)"
254
.RI "\fIset error for all request \fP"
260
.RI "int \fBlastAddrAge\fP = 0"
263
.RI "int \fBlog_addresses\fP = 0"
266
.RI "netsnmp_agent_session * \fBagent_delegated_list\fP = NULL"
269
.RI "netsnmp_agent_session * \fBnetsnmp_agent_queued_list\fP = NULL"
272
.RI "\fBnetsnmp_session\fP * \fBmain_session\fP = NULL"
82
275
.RI "timeval \fBstarttime\fP"
84
.RI "\fIparanoid sanity checks\fP"
278
.RI "int \fBlog_addresses\fP"
281
.RI "int \fBlastAddrAge\fP"
86
.SH "FUNCTION DOCUMENTATION"
284
.SH "Function Documentation"
88
.SS "NETSNMP_STATIC_INLINE int _request_set_error (netsnmp_request_info * request, int mode, int error_value)"
90
set error for a request
92
Definition at line 3075 of file snmp_agent.c.
286
.SS "NETSNMP_STATIC_INLINE int _request_set_error (\fBnetsnmp_request_info\fP * request, int mode, int error_value)"
288
set error for a request Definition at line 3075 of file snmp_agent.c.
94
290
References netsnmp_request_info_s::delegated, netsnmp_request_info_s::processed, netsnmp_request_info_s::requestvb, snmp_log(), netsnmp_request_info_s::status, and variable_list::type.
96
292
Referenced by netsnmp_request_set_error(), netsnmp_request_set_error_all(), netsnmp_set_mode_request_error(), and netsnmp_set_request_error().
97
293
.SS "int agent_check_and_process (int block)"
99
This function checks for packets arriving on the SNMP port and processes them(snmp_read) if some are found, using the select().
101
If block is non zero, the function call blocks until a packet arrives
107
used to control blocking in the select() function, 1 = block forever, and 0 = don't block
295
This function checks for packets arriving on the SNMP port and processes them(snmp_read) if some are found, using the select(). If block is non zero, the function call blocks until a packet arrives
299
\fIblock\fP used to control blocking in the select() function, 1 = block forever, and 0 = don't block
111
304
Returns a positive integer if packets were processed, and -1 if an error was found.
113
Definition at line 499 of file snmp_agent.c.
307
Definition at line 500 of file snmp_agent.c.
115
309
References snmp_log().
116
.SS "int check_acm (netsnmp_agent_session * asp, u_char type)"
120
make this be more intelligent about ranges. Right now we merely take the highest level commonality of a registration range and use that. At times we might be able to be smarter about checking the range itself as opposed to the node above where the range exists, but I doubt this will come up all that frequently.
122
Definition at line 1865 of file snmp_agent.c.
124
References variable_list::name, variable_list::name_length, netsnmp_request_info_s::next, variable_list::next_variable, netsnmp_request_info_s::orig_repeat, netsnmp_request_info_s::repeat, netsnmp_request_info_s::requestvb, netsnmp_request_info_s::requestvb_start, snmp_set_var_typed_value(), and variable_list::type.
126
Referenced by handle_getnext_loop(), and handle_pdu().
127
310
.SS "int check_getnext_results (netsnmp_agent_session * asp)"
129
returns 1 if there are valid GETNEXT requests left.
133
Definition at line 2491 of file snmp_agent.c.
312
returns 1 if there are valid GETNEXT requests left. Returns 0 if not. Definition at line 2491 of file snmp_agent.c.
135
314
References netsnmp_request_info_s::inclusive, netsnmp_request_info_s::index, variable_list::name, variable_list::name_length, netsnmp_request_info_s::next, netsnmp_request_info_s::range_end, netsnmp_request_info_s::range_end_len, netsnmp_request_info_s::repeat, netsnmp_request_info_s::requestvb, snmp_oid_compare(), snmp_set_var_typed_value(), and variable_list::type.
137
316
Referenced by handle_getnext_loop().
138
.SS "void dump_sess_list (void)"
142
Definition at line 1512 of file snmp_agent.c.
143
317
.SS "int handle_getnext_loop (netsnmp_agent_session * asp)"
145
repeatedly calls getnext handlers looking for an answer till all requests are satisified.
147
It's expected that one pass has been made before entering this function
149
Definition at line 2596 of file snmp_agent.c.
151
References check_acm(), check_getnext_results(), and variable_list::next_variable.
319
repeatedly calls getnext handlers looking for an answer till all requests are satisified. It's expected that one pass has been made before entering this function Definition at line 2596 of file snmp_agent.c.
321
References check_getnext_results(), and variable_list::next_variable.
153
323
Referenced by handle_pdu().
154
324
.SS "int handle_pdu (netsnmp_agent_session * asp)"
156
This function calls into netsnmp_set_mode_request_error, sets error_value given a reqinfo->mode value.
158
It's used to send specific errors back to the agent to process accordingly.
160
If error_value is set to SNMP_NOSUCHOBJECT, SNMP_NOSUCHINSTANCE, or SNMP_ENDOFMIBVIEW the following is applicable: Sets the error_value to request->requestvb->type if reqinfo->mode value is set to MODE_GET. If the reqinfo->mode value is set to MODE_GETNEXT or MODE_GETBULK the code calls snmp_log logging an error message.
162
Otherwise, the request->status value is checked, if it's < 0 snmp_log is called with an error message and SNMP_ERR_GENERR is assigned to request->status. If the request->status value is >= 0 the error_value is set to request->status.
168
is a pointer to the netsnmp_agent_request_info struct. It contains the reqinfo->mode which is required to set error_value or log error messages.
171
is a pointer to the netsnmp_request_info struct. The error_value is set to request->requestvb->type
173
\fB\fIerror_value\fP\fP
174
is the exception value you want to set, below are possible values.
326
This function calls into netsnmp_set_mode_request_error, sets error_value given a reqinfo->mode value. It's used to send specific errors back to the agent to process accordingly.
328
If error_value is set to SNMP_NOSUCHOBJECT, SNMP_NOSUCHINSTANCE, or SNMP_ENDOFMIBVIEW the following is applicable: Sets the error_value to request->requestvb->type if reqinfo->mode value is set to MODE_GET. If the reqinfo->mode value is set to MODE_GETNEXT or MODE_GETBULK the code calls snmp_log logging an error message.
330
Otherwise, the request->status value is checked, if it's < 0 snmp_log is called with an error message and SNMP_ERR_GENERR is assigned to request->status. If the request->status value is >= 0 the error_value is set to request->status.
334
\fIreqinfo\fP is a pointer to the netsnmp_agent_request_info struct. It contains the reqinfo->mode which is required to set error_value or log error messages.
336
\fIrequest\fP is a pointer to the netsnmp_request_info struct. The error_value is set to request->requestvb->type
338
\fIerror_value\fP is the exception value you want to set, below are possible values.
176
340
SNMP_NOSUCHOBJECT
178
342
SNMP_NOSUCHINSTANCE
180
344
SNMP_ENDOFMIBVIEW
186
350
SNMP_ERR_NOSUCHNAME
188
352
SNMP_ERR_BADVALUE
190
354
SNMP_ERR_READONLY
194
358
SNMP_ERR_NOACCESS
196
360
SNMP_ERR_WRONGTYPE
198
362
SNMP_ERR_WRONGLENGTH
200
364
SNMP_ERR_WRONGENCODING
202
366
SNMP_ERR_WRONGVALUE
204
368
SNMP_ERR_NOCREATION
206
370
SNMP_ERR_INCONSISTENTVALUE
208
372
SNMP_ERR_RESOURCEUNAVAILABLE
210
374
SNMP_ERR_COMMITFAILED
212
376
SNMP_ERR_UNDOFAILED
214
378
SNMP_ERR_AUTHORIZATIONERROR
216
380
SNMP_ERR_NOTWRITABLE
218
382
SNMP_ERR_INCONSISTENTNAME
222
388
Returns error_value under all conditions.
224
391
Definition at line 2890 of file snmp_agent.c.
226
References check_acm(), handle_getnext_loop(), variable_list::next_variable, snmp_set_var_typed_value(), and variable_list::type.
227
.SS "int handle_snmp_packet (int op, netsnmp_session * session, int reqid, netsnmp_pdu * pdu, void * magic)"
229
handles an incoming SNMP packet into the agent
231
Definition at line 1573 of file snmp_agent.c.
393
References handle_getnext_loop(), variable_list::next_variable, snmp_set_var_typed_value(), and variable_list::type.
394
.SS "int handle_snmp_packet (int op, \fBnetsnmp_session\fP * session, int reqid, \fBnetsnmp_pdu\fP * pdu, void * magic)"
396
handles an incoming SNMP packet into the agent Definition at line 1573 of file snmp_agent.c.
233
398
References snmp_pdu::command, snmp_session::s_snmp_errno, send_easy_trap(), and snmp_pdu::version.
399
.SS "\fBnetsnmp_request_info\fP* netsnmp_add_varbind_to_cache (netsnmp_agent_session * asp, int vbcount, \fBnetsnmp_variable_list\fP * varbind_ptr, netsnmp_subtree * tp)"
401
Definition at line 1670 of file snmp_agent.c.
403
References netsnmp_request_info_s::agent_req_info, netsnmp_request_info_s::delegated, netsnmp_request_info_s::inclusive, netsnmp_request_info_s::index, variable_list::name, variable_list::name_length, netsnmp_acm_check_subtree(), netsnmp_free_request_data_sets(), netsnmp_oid_find_prefix(), netsnmp_request_info_s::next, netsnmp_request_info_s::parent_data, netsnmp_request_info_s::prev, netsnmp_request_info_s::processed, netsnmp_request_info_s::range_end, netsnmp_request_info_s::range_end_len, netsnmp_request_info_s::requestvb, netsnmp_request_info_s::requestvb_start, netsnmp_request_info_s::status, netsnmp_request_info_s::subtree, and variable_list::type.
234
404
.SS "int netsnmp_check_transaction_id (int transaction_id)"
236
Decide if the requested transaction_id is still being processed within the agent.
238
This is used to validate whether a delayed cache (containing possibly freed pointers) is still usable.
240
returns SNMPERR_SUCCESS if it's still valid, or SNMPERR_GENERR if not.
242
Definition at line 2401 of file snmp_agent.c.
406
Decide if the requested transaction_id is still being processed within the agent. This is used to validate whether a delayed cache (containing possibly freed pointers) is still usable.
408
returns SNMPERR_SUCCESS if it's still valid, or SNMPERR_GENERR if not. Definition at line 2401 of file snmp_agent.c.
244
410
Referenced by netsnmp_handler_check_cache().
245
.SS "int netsnmp_request_set_error (netsnmp_request_info * request, int error_value)"
247
set error for a request
253
request which has error
255
\fB\fIerror_value\fP\fP
256
error value for request
411
.SS "int netsnmp_request_set_error (\fBnetsnmp_request_info\fP * request, int error_value)"
413
set error for a request \fBParameters:\fP
415
\fIrequest\fP request which has error
417
\fIerror_value\fP error value for request
258
420
Definition at line 3140 of file snmp_agent.c.
260
422
References _request_set_error(), netsnmp_request_info_s::agent_req_info, and netsnmp_agent_request_info_s::mode.
261
.SS "NETSNMP_INLINE int netsnmp_request_set_error_all (netsnmp_request_info * requests, int error)"
263
set error for all requests
271
\fB\fIerror_value\fP\fP
272
error value for requests
423
.SS "NETSNMP_INLINE int netsnmp_request_set_error_all (\fBnetsnmp_request_info\fP * requests, int error)"
425
set error for all requests \fBParameters:\fP
427
\fIrequests\fP request list
429
\fIerror_value\fP error value for requests
276
434
SNMPERR_SUCCESS, or an error code
278
Definition at line 3155 of file snmp_agent.c.
437
paranoid sanity checks Definition at line 3155 of file snmp_agent.c.
280
439
References _request_set_error(), netsnmp_request_info_s::agent_req_info, netsnmp_agent_request_info_s::mode, netsnmp_request_info_s::next, and snmp_log().
282
441
Referenced by netsnmp_set_all_requests_error().
283
.SS "int netsnmp_set_all_requests_error (netsnmp_agent_request_info * reqinfo, netsnmp_request_info * requests, int error_value)"
285
set error for all request
289
use netsnmp_request_set_error_all
295
agent_request_info pointer for requests
300
\fB\fIerror_value\fP\fP
301
error value for requests
442
.SS "int netsnmp_set_all_requests_error (\fBnetsnmp_agent_request_info\fP * reqinfo, \fBnetsnmp_request_info\fP * requests, int error_value)"
444
set error for all request \fBDeprecated\fP
446
use netsnmp_request_set_error_all
451
\fIreqinfo\fP agent_request_info pointer for requests
453
\fIrequests\fP request list
455
\fIerror_value\fP error value for requests
307
463
Definition at line 3319 of file snmp_agent.c.
309
465
References netsnmp_request_set_error_all().
311
467
Referenced by netsnmp_multiplexer_helper_handler().
312
.SS "int netsnmp_set_mode_request_error (int mode, netsnmp_request_info * request, int error_value)"
314
deprecated, use netsnmp_request_set_error instead
318
, use netsnmp_request_set_error instead
324
Net-SNMP agent processing mode
329
\fB\fIerror_value\fP\fP
330
error value for requests
468
.SS "int netsnmp_set_mode_request_error (int mode, \fBnetsnmp_request_info\fP * request, int error_value)"
470
deprecated, use netsnmp_request_set_error instead \fBDeprecated\fP
472
, use netsnmp_request_set_error instead
477
\fImode\fP Net-SNMP agent processing mode
479
\fIrequest\fP request_info pointer
481
\fIerror_value\fP error value for requests
336
489
Definition at line 3303 of file snmp_agent.c.
338
491
References _request_set_error().
339
.SS "int netsnmp_set_request_error (netsnmp_agent_request_info * reqinfo, netsnmp_request_info * request, int error_value)"
341
deprecated, use netsnmp_request_set_error instead
345
, use netsnmp_request_set_error instead
351
agent_request_info pointer for request
356
\fB\fIerror_value\fP\fP
357
error value for requests
492
.SS "int netsnmp_set_request_error (\fBnetsnmp_agent_request_info\fP * reqinfo, \fBnetsnmp_request_info\fP * request, int error_value)"
494
deprecated, use netsnmp_request_set_error instead \fBDeprecated\fP
496
, use netsnmp_request_set_error instead
501
\fIreqinfo\fP agent_request_info pointer for request
503
\fIrequest\fP request_info pointer
505
\fIerror_value\fP error value for requests