Hello Coders,

I am new to Net-SNMP and have made progress so far to implement
a dummy scalar and table using the example mib modules. My next
step is to implement the lreInterfaceConfigTable defined by iec-62439-3
mib spec. It requires to query the interfaces in the Linux and 
identify HSR interface that implements the LRE (Link redundancy
entity MIBs). 

So as a first step, I need to find interfaces that are normally 
listed from console by

ip link or ifconfig -a commands.

I know that if-mib is already finding this in some way. I have
already reviewed some part of if-mib such as the code under
agent/mibgroup/if-mib/data_access/interface.c and interface_linux.c.
I am assuming some code that retrieves the interface information
from Linux kernel can be re-used in my mib module. But so far
not successful in finding the required API. If you have some
suggestion, please respond as that can help.

Thanks in advance.

-- 
Murali Karicheri
Linux Kernel, Keystone

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to