This is a discussion on Re: Flow of Net-SNMP execution within the SNMP Coders forums, part of the Networking and Network Related category; On Wed, 2005-06-15 at 08:08, kanda.samy@wipro.com wrote: > I am going to develope one ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Wed, 2005-06-15 at 08:08, kanda.samy@wipro.com wrote:
> I am going to develope one SNMP agent using Net-SNMP that > 1) accept get request form manager > 2) process the PDU > 3) without returning the value to the manager, my agent should > pass all the PDU information (OID , Manager address ) to > some other module. > 4) Then I have to get the response from that module > 5) I have to form the return PDU and send to that particular > manager. That's pretty much what our agent does currently. Did you have a particular mechanism in mind for step 3) ? > 3) Can i redirect execution to some other module from > the mib2c created code. mib2c is really aimed at implementing MIB modules for the Net-SNMP agent. If you're going to be writing your own agent, it's probably not going to be of much use to you. > To do this i need to know the complete execution flow of the Net-SNMP > like > 1) How it is receiving the PDU > 2) How i can get the OID from the received PDU. > Please give me this information or let me know where i can > get the flow of execution of net-snmp. See the code under the 'agent' directory. Dave ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |