For a new platform we ar planning to support IPv6 and for snmp we plan to use net-snmp. Does net-snmp support IPv6?
Thanks Srini > -----Original Message----- > From: Robert Story (Coders) [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 19, 2004 11:33 AM > To: Srini Kode > Cc: [EMAIL PROTECTED] > Subject: Re: Mib coding style: ucd-snmp vs net-snmp > > > On Mon, 18 Oct 2004 15:16:55 -0700 Srini wrote: > SK> We started with ucd-snmp-4-2-4 and were following > ucd-snmp style for > SK> mib coding. Now we have migrated to net-snmp-5.1 but are > continuing > SK> using the old style. > SK> > SK> Now, we are planning to migrate to net-snmp style for mib coding > SK> also. For taking this decision, like to know the > advantages in using > SK> new style. Can some point me to links or let me know the > advantages. > > Funny you should ask. This just came up on IRC yesterday. > > The benefit is that (we think) it is a little easier to > understand, and you can take advantage of some 'helpers' to > do some grunt work for you.. > > Q: Any performance differences? > A: i don't think any benchmarks have been done. There are > multiple new style helpers, too. Some of the 'new' helpers > have huge performance gains in certain circumstances (really > large tables; eg route table), but that's mostly due to data > storage/access changes. And of course the tradeoff is > run-time memory use > > Q: If an snmp querye PDU contains 3 (eg) varbinds, all from > the same table, in the ucd code we know the agent sends 3 > requests to the individual set funcs of the varbinds. If we > go to the new style would the agent "collect" these and make > a single call? > A: yes, the new style will collect into one request to the > handler. There is even a 'row merge' helper which will > break/merge it into one call per row, so all the requests for > a certain row will come in together. > > Q: Are get and set requests handled differently? > A: get and set are handled in the same way now. The same > handler is called for both, and the handler can switch on the > request mode. Though there is a helper that will split it up > each modes into its own function call. Even then, all the > parameters are the same. > > I've also put this up at > > http://www.net-snmp.org/faqs/rstory/#mibstyle > > If anyone has any other suggestions, let me know... > > -- > Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/> > <irc://irc.freenode.net/#net-snmp> > Archive: > <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders> > > You are lost in a twisty maze of little standards, all different. > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
