From owner-freebsd-questions Mon Sep 10 23:39:25 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mayan.empire.com (mayan.empire.com [199.250.183.200]) by hub.freebsd.org (Postfix) with ESMTP id 0709F37B401 for ; Mon, 10 Sep 2001 23:39:22 -0700 (PDT) Received: from pikachu.empire.com (pikachu.empire.com [10.1.0.230]) by mayan.empire.com (Switch-2.0.1/Switch-2.0.1) with ESMTP id f8AKOhi07710 for ; Mon, 10 Sep 2001 16:24:43 -0400 (EDT) Received: (from rdk@localhost) by pikachu.empire.com (8.8.7/8.6.12) id QAA01408 for freebsd-questions@FreeBSD.ORG.; Mon, 10 Sep 2001 16:24:41 -0400 (EDT) From: rdk@empire.com (Bobby Krupczak) Message-Id: <200109102024.QAA01408@pikachu.empire.com> Subject: programatically getting MAC addr for interface? To: freebsd-questions@FreeBSD.ORG Date: Mon, 10 Sep 2001 16:24:41 -0400 (EDT) X-Mailer: ELM [version 2.5 PL5] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi! Im porting an application to FreeBSD and it currently uses various sockio calls to get the MAC address of a network interface. I cant seem to find an analogous call. Can anyone point me to an example c-program to get the mac addr for interfaces? Thanks, Bobby (While Im at it, I've tried searching the mailing list archive and FAQs. Is there an easier way to get at a dump or snapshot of all the source code?) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message