From owner-freebsd-net Tue Feb 6 22:13:28 2001 Delivered-To: freebsd-net@freebsd.org Received: from samar.sasi.com (samar.sasken.com [164.164.56.2]) by hub.freebsd.org (Postfix) with ESMTP id 2284C37B491; Tue, 6 Feb 2001 22:13:06 -0800 (PST) Received: from samar (samar.sasi.com [164.164.56.2]) by samar.sasi.com (8.9.3/8.9.3) with SMTP id LAA25114; Wed, 7 Feb 2001 11:43:00 +0530 (IST) Received: from pcs111.sasi.com ([10.0.36.111]) by samar.sasi.com; Wed, 07 Feb 2001 11:42:59 +0000 (IST) Received: from localhost (madhavis@localhost) by pcs111.sasi.com (8.9.3/8.9.3) with ESMTP id LAA01468; Wed, 7 Feb 2001 11:42:57 +0530 X-Authentication-Warning: pcs111.sasi.com: madhavis owned process doing -bs Date: Wed, 7 Feb 2001 11:42:57 +0530 (IST) From: Madhavi Suram X-Sender: madhavis@pcs111.sasi.com To: freebsd-questions@FreeBSD.ORG Cc: freebsd-net@FreeBSD.ORG Subject: getting hardware address Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi All 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? NOTE: I am not sure to which mailing list this has to be posted. So, I am posting it to both. Sorry for the inconvenience. Could you please CC the reply to my e-mail id also? I am not registered to freebsd-questions. Thanks in advance Madhavi. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message