Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Apr 2001 13:24:33 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        "Zixiong WANG" <z.wang@sysium.com>
Cc:        freebsd-net@FreeBSD.ORG, brian@Awfulhak.org
Subject:   Re: NEEDED: Source code (C or C++) for fetching MAC Address ? 
Message-ID:  <200104241224.f3OCOX612742@hak.lan.Awfulhak.org>
In-Reply-To: Message from "Zixiong WANG" <z.wang@sysium.com>  of "Tue, 24 Apr 2001 11:52:06 %2B0200." <005801c0cca4$38a871c0$5801a8c0@larine> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Hi,
> 
> I need source code for fetching MAC address on a FreeBSD 4.2/PC/Ethernet
> platform.
> 
> Where can I find it ?

Have a look at src/usr.sbin/ppp/arp.c - get_ether_addr().

> Thanks in advance.

-- 
Brian <brian@Awfulhak.org>                        <brian@[uk.]FreeBSD.org>
      <http://www.Awfulhak.org>;                   <brian@[uk.]OpenBSD.org>
Don't _EVER_ lose your sense of humour !



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104241224.f3OCOX612742>