Re: Question about netsnmp_table_row_register(...) API

2009-06-19 Thread Dave Shield
2009/6/19 Sathyanarayana Murthy, Harish Kolar : > I want to know whether is it possible using > any of the MIBs to know the IP address of a machine by knowing its mac > address. Not easily. The only relevant MIB table would appear to be IP-MIB::ipNetToPhysicalTable but that's des

Re: Question about netsnmp_table_row_register(...) API

2009-06-19 Thread Dave Shield
2009/6/19 Zaryab M. Munir : > Can someone help me in understanding the argument  (void *row). It's an arbitrary data structure, used to hold the "contents" of that row. Note that this is only ever interpreted by your code - the Net-SNMP helper code treats it as an opaque value. So the semantics o

RE: Question about netsnmp_table_row_register(...) API

2009-06-18 Thread Sathyanarayana Murthy, Harish Kolar
Hello everybody, In my application, i need to find the IP address of a machine from its mac address. I tried all the possibilities like inverseARP, using nbstat etc.. But nothing is working for me. I want to know whether is it possible using any of the MIBs to know the IP address of a machine b

Question about netsnmp_table_row_register(...) API

2009-06-18 Thread Zaryab M. Munir
Hi, I am planning to use this API to register the rows of the udpTable from multiple subagents in AgentX implementation.   I am looking for some help with the usage of this API.   int netsnmp_table_row_register( netsnmp_handler_registration *reginfo, netsnmp_table_registration_info *tabreg,