Logo
Home page Net-SNMP

Archive Search:

Require all words?

Site Search:
Google
Main Page | Modules | Data Structures | File List | Data Fields | Related Pages | Examples

bulk_to_next: convert GETBULK requests into GETNEXT requests for the handler.
[utility_handlers: simplify request processing]

The only purpose of this handler is to convert a GETBULK request to a GETNEXT request. More...

Functions

netsnmp_mib_handler netsnmp_get_bulk_to_next_handler (void)
  returns a bulk_to_next handler that can be injected into a given handler chain.
void  netsnmp_bulk_to_next_fix_requests (netsnmp_request_info *requests)
  takes answered requests and decrements the repeat count and updates the requests to the next to-do varbind in the list
int  netsnmp_bulk_to_next_helper (netsnmp_mib_handler *handler, netsnmp_handler_registration *reginfo, netsnmp_agent_request_info *reqinfo, netsnmp_request_info *requests)
void  netsnmp_init_bulk_to_next_helper (void)
  initializes the bulk_to_next helper which then registers a bulk_to_next handler as a run-time injectable handler for configuration file use.

Detailed Description

The only purpose of this handler is to convert a GETBULK request to a GETNEXT request.

It is inserted into handler chains where the handler has not set the HANDLER_CAN_GETBULK flag.


Function Documentation

void netsnmp_bulk_to_next_fix_requests netsnmp_request_info requests  ) 
 

takes answered requests and decrements the repeat count and updates the requests to the next to-do varbind in the list

Definition at line 41 of file bulk_to_next.c.

References variable_list::name, variable_list::name_length, netsnmp_request_info_s::next, variable_list::next_variable, netsnmp_request_info_s::repeat, netsnmp_request_info_s::requestvb, and variable_list::type.

netsnmp_mib_handler* netsnmp_get_bulk_to_next_handler void   ) 
 

returns a bulk_to_next handler that can be injected into a given handler chain.

Definition at line 26 of file bulk_to_next.c.

References netsnmp_mib_handler_s::flags, netsnmp_create_handler(), and netsnmp_mib_handler.

Referenced by netsnmp_init_bulk_to_next_helper(), and netsnmp_register_handler().

void netsnmp_init_bulk_to_next_helper void   ) 
 

initializes the bulk_to_next helper which then registers a bulk_to_next handler as a run-time injectable handler for configuration file use.

Definition at line 122 of file bulk_to_next.c.

References netsnmp_get_bulk_to_next_handler(), and netsnmp_register_handler_by_name().


Generated on Fri Dec 30 13:47:59 2005 for net-snmp by  doxygen 1.3.9.1

Valid CSS!


Last modified: Thursday, 01-Mar-2007 16:20:05 PST
For questions regarding web content and site functionality, please write to the net-snmp-users mail list.