Date: Wed, 7 Feb 2001 10:11:19 +0100 From: Edwin Groothuis <mavetju@chello.nl> To: Madhavi Suram <madhavis@sasken.com> Cc: freebsd-questions@FreeBSD.ORG, freebsd-net@FreeBSD.ORG Subject: Re: getting hardware address Message-ID: <20010207101119.W62745@d9168.upc-d.chello.nl> In-Reply-To: <Pine.LNX.4.21.0102071124220.1431-100000@pcs111.sasi.com>; from madhavis@sasken.com on Wed, Feb 07, 2001 at 11:42:57AM %2B0530 References: <Pine.LNX.4.21.0102071124220.1431-100000@pcs111.sasi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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: mavetju@chello.nl | http://fataldimensions.nl.eu.org/ ------------------+ telnet://fataldimensions.nl.eu.org:4000 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010207101119.W62745>