On Fri, 07 Oct 2005 11:03:18 +0100 Dave wrote:
DS> There's really only one pair of files that need to be coded:
DS> 
DS>     mibgroup/if-mib/data_access/interface_XXXX.[ch]

Yes, assuming no code is shared with any other methods.

DS> Robert's the expert here, but AFAICS, this should contain
DS> the following routines:
DS> 
DS>     netsnmp_arch_interface_init
DS>     netsnmp_arch_interface_index_find
DS>     netsnmp_arch_interface_container_load
DS>     netsnmp_arch_interface_get_if_speed

That last one, get_if_speed, is linux specific and can be omitted. Probably
should have named it differently..

DS> Robert - care to correct or expand on any of the above?

Nope, looks good.

DS> I'm also wondering whether we should supply a simple
DS> 
DS>     interface_template.[ch]
DS> 
DS> pair of files, containing the bare structure of what's
DS> needed for a new port.

Sure, have at it!

DS> Porting this re-write to Windows is likely to prove
DS> an extremely valuable test of how clean this new
DS> structure is.  If that goes fairly smoothly, anything
DS> else should be trivial!

I'm not so sure about that, but it would be a good start!

If you do embark on it, I suggest you get an irc client and hop into our irc
channel w/questions for me. You'll get faster responses.

-- 
NOTE: messages sent directly to me, instead of the lists, will be deleted
      unless they are requests for paid consulting services.

Robert Story; NET-SNMP Junkie
Support: <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:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to