No subject
Akhilesh kumar
95akumar at gmail.com
Thu Nov 27 06:02:49 UTC 2014
Hi all
I have solved all problems till my last conversation. Here comes the next
problem.
I am writing a *C* code by taking the apis of net-snmp to create my own app
similar to snmpset. I want to set the integer value for 10 number of OIDs.
I have done till following :
init_snmp("my_snmpset");
snmp_sess_init( &session );
session.version = SNMP_VERSION_1;
session.community = "private";
session.community_len = strlen(session.community);
session.peername = argv[1];
sess_handle = snmp_open(&session);
pdu = snmp_pdu_create(SNMP_MSG_SET);
Till here i have created the PDU for set. Now which *api/function* to take
(to pass my *OID* and the *value* by which i want to set it). Next i cant
understand. Kindly suggest me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20141127/77f7baf0/attachment.html>
More information about the busybox
mailing list