Date: Tue, 11 Sep 2001 01:08:09 -0600 From: "Stephen Hurd" <deuce@lordlegacy.org> To: "Bobby Krupczak" <rdk@empire.com>, <freebsd-questions@FreeBSD.ORG> Subject: RE: programatically getting MAC addr for interface? Message-ID: <NFBBJPHLGLNJEEECOCHAOEKICCAA.deuce@lordlegacy.org> In-Reply-To: <200109102024.QAA01408@pikachu.empire.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 Off the top of my head, ifconfig will give the MAC (ether) address for interfaces to anyone... maybe dig through there... I'll have another look in a bit... 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?NFBBJPHLGLNJEEECOCHAOEKICCAA.deuce>