Alternate container storage method?

2010-01-25 Thread Stephen Hemminger
Some of the SNMP tables can get large (like route table), and the existing table storage implementation has linear search on insert. Has anyone done an alternative that uses something smarter (tree, hash, b-tree)? This would fix a number of issues when using net-snmp with a router with a full BGP

Re: snmptrap with ACK

2010-01-25 Thread Magnus Fromreide
On Mon, 2010-01-25 at 13:48 -0800, nathan wrote: > Hi, > I'm wondering if are there any examples to show me how to implement > snmptrap with acknowledgement, or snmpinform, from an agent. I am > using agentx. If you are sending traps from an agentx subagent then the semantics of NOTIFY-PDU is tha

snmptrap with ACK

2010-01-25 Thread nathan
Hi, I'm wondering if are there any examples to show me how to implement snmptrap with acknowledgement, or snmpinform, from an agent. I am using agentx. The example i found, example.c, notification.c do not wait for an ACK. Or, can someone tell me what are the net-snmp API should I look for...

Re: SF.net SVN: net-snmp:[18064] trunk/net-snmp

2010-01-25 Thread Magnus Fromreide
On Mon, 2010-01-25 at 16:01 +, [email protected] wrote: > Revision: 18064 > http://net-snmp.svn.sourceforge.net/net-snmp/?rev=18064&view=rev > Author: rstory > Date: 2010-01-25 16:01:45 + (Mon, 25 Jan 2010) > > Log Message: > --- > move snmp_get_statistic