Re: Getting ARP cache entry

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In article <002201c18d5b$d2102ba0$0507040a@future.futsoft.com> you wrote:
> Assuming that my ARP cache gets updated with the ARP response, I am using
> the ioctl () call to retrieve the MAC address of the destination m/c

> I am att.'ing the code for reference.


well, look into arp.c from the net-tools distribution, which is containing the
functions of the "arp" command. In short, it is using /proc/net/arp :)

See arp_show()

Greetings
Bernd
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux