How to modify data in response packet?
"Ying Wang(CD)" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <102DD20C03D522419F76934805171ECE82B4E8@sh-exch2003.nt-fsrvr.o2micro.com> |
Hi list,
As you know, SNMP will manage a request, and then send a SNMP response
packet to the client when a request comes.
Usually, in this response packet, the request data is still included in
it like in the request packet, and the data is without any change.
But, in my requirement, the request data in SNMP response packet should
be modified.
My problem: how to do this?
I use the following procedure do set action, the parameter rg gives all
information of request:
Void AdminTable_set_action(netsnmp_request_group * rg);
The data structure netsnmp_request_group is defined in NET-SNMP.
I think I should modify some fields in this data structure to attain it.
But, up to now, I'm failed!
I need your help! Thanks!
BR
Ying
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users