Difference between revisions of "Bulk to next"

From Net-SNMP Wiki
Jump to: navigation, search
 
Line 3: Line 3:
 
The ''bulk to next'' helper converts [[GETBULK]] requests into [[GETNEXT]] requests and handles repeatedly calling the lower level handlers with multiple GETNEXT requests to fulfill all the data needed.
 
The ''bulk to next'' helper converts [[GETBULK]] requests into [[GETNEXT]] requests and handles repeatedly calling the lower level handlers with multiple GETNEXT requests to fulfill all the data needed.
 
HANDLER_CAN_GETBULK
 
HANDLER_CAN_GETBULK
Since it is common for low level [[MIB]] code to not worry about GETBULKs, this handler is inserted by default '''unless''' the ''HANDLER_CAN_GETBULK'' flag has been passed to netsnmp_create_handler_registration() or a similar function.
+
Since it is common for low level [[MIB]] code to not worry about GETBULKs, this handler is inserted by default '''unless''' the ''HANDLER_CAN_GETBULK'' flag has been passed to ''netsnmp_create_handler_registration()'' or a similar function.

Latest revision as of 16:14, 13 July 2011

Net-SNMP MIB Helper
Bulk To Next
Documentation: doxygen API
Code: agent/helpers/bulk_to_next.c
Other Helpers: Agent Helpers

The bulk to next helper converts GETBULK requests into GETNEXT requests and handles repeatedly calling the lower level handlers with multiple GETNEXT requests to fulfill all the data needed. HANDLER_CAN_GETBULK Since it is common for low level MIB code to not worry about GETBULKs, this handler is inserted by default unless the HANDLER_CAN_GETBULK flag has been passed to netsnmp_create_handler_registration() or a similar function.