1bulk_to_next(3)                    net-snmp                    bulk_to_next(3)
2
3
4

NAME

6       bulk_to_next - Convert GETBULK requests into GETNEXT requests for the
7       handler.
8
9
10   Functions
11       netsnmp_mib_handler * netsnmp_get_bulk_to_next_handler (void)
12           returns a bulk_to_next handler that can be injected into a given
13           handler chain.
14       void netsnmp_bulk_to_next_fix_requests (netsnmp_request_info *requests)
15           takes answered requests and decrements the repeat count and updates
16           the requests to the next to-do varbind in the list
17       int netsnmp_bulk_to_next_helper (netsnmp_mib_handler *handler,
18           netsnmp_handler_registration *reginfo, netsnmp_agent_request_info
19           *reqinfo, netsnmp_request_info *requests)
20       void netsnmp_init_bulk_to_next_helper (void)
21           initializes the bulk_to_next helper which then registers a
22           bulk_to_next handler as a run-time injectable handler for
23           configuration file use.
24

Detailed Description

26       Convert GETBULK requests into GETNEXT requests for the handler.
27
28       The only purpose of this handler is to convert a GETBULK request to a
29       GETNEXT request. It is inserted into handler chains where the handler
30       has not set the HANDLER_CAN_GETBULK flag.
31

Function Documentation

33   void netsnmp_bulk_to_next_fix_requests (netsnmp_request_info * requests)
34       takes answered requests and decrements the repeat count and updates the
35       requests to the next to-do varbind in the list
36
37       Definition at line 42 of file bulk_to_next.c.
38
39       References netsnmp_request_info_s::inclusive, variable_list::name,
40       variable_list::name_length, netsnmp_request_info_s::next,
41       variable_list::next_variable, netsnmp_request_info_s::range_end,
42       netsnmp_request_info_s::range_end_len, netsnmp_request_info_s::repeat,
43       netsnmp_request_info_s::requestvb, snmp_oid_compare(),
44       snmp_set_var_objid(), and variable_list::type.
45
46       Referenced by netsnmp_bulk_to_next_helper().
47
48   netsnmp_mib_handler* netsnmp_get_bulk_to_next_handler (void)
49       returns a bulk_to_next handler that can be injected into a given
50       handler chain.
51
52       Definition at line 27 of file bulk_to_next.c.
53
54       References netsnmp_mib_handler_s::flags, MIB_HANDLER_AUTO_NEXT,
55       netsnmp_bulk_to_next_helper(), netsnmp_create_handler(), and NULL.
56
57       Referenced by netsnmp_init_bulk_to_next_helper(), and
58       netsnmp_register_handler().
59
60   void netsnmp_init_bulk_to_next_helper (void)
61       initializes the bulk_to_next helper which then registers a bulk_to_next
62       handler as a run-time injectable handler for configuration file use.
63
64       Definition at line 139 of file bulk_to_next.c.
65
66       References netsnmp_get_bulk_to_next_handler(), and
67       netsnmp_register_handler_by_name().
68
69
70
71Version 5.4                       24 Nov 2006                  bulk_to_next(3)
Impressum