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.
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to