On Wed, Feb 07, 2001 at 11:42:57AM +0530, Madhavi Suram wrote:
> Is there any function in 'C' to get ethernet hardware address from IP
> address (not only for interfaces on the same machine... For any IP
> address), equivalent to 'arp' command on FreeBSD? If there isn't any such
> function, can you suggest me any other way of achieving this?
You could check the source of arp of course, /usr/src/usr.sbin/arp/arp.c
Edwin
--
Edwin Groothuis | Interested in MUDs? Visit Fatal Dimensions:
[EMAIL PROTECTED] | http://fataldimensions.nl.eu.org/
------------------+ telnet://fataldimensions.nl.eu.org:4000
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message