Re: Retrieving interface MAC address

2002-06-18 Thread Kenneth D. Merry
On Tue, Jun 18, 2002 at 13:41:02 -0700, Kevin D. Wooten wrote: > Robert Watson wrote: > >I tend to retrieve address information about interfaces using > >getifaddrs(), which will (among other things) retrieve the link layer > >addresses of an interface. It might be overkill for your application,

Re: Retrieving interface MAC address

2002-06-18 Thread Kevin D. Wooten
Robert Watson wrote: >I tend to retrieve address information about interfaces using >getifaddrs(), which will (among other things) retrieve the link layer >addresses of an interface. It might be overkill for your application, >however. > >Robert N M Watson FreeBSD Core Team, TrustedB

Re: Retrieving interface MAC address

2002-06-18 Thread Robert Watson
I tend to retrieve address information about interfaces using getifaddrs(), which will (among other things) retrieve the link layer addresses of an interface. It might be overkill for your application, however. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects [EMAIL PROTECTE

Retrieving interface MAC address

2002-06-18 Thread Kevin D. Wooten
How can I go about retrieving the MAC address for an interface? Since SIOCGHWADDR doesn't seem to be implemented. Can anyone help?? Thanks, Kevin Wooten To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message