Subject: Re: Hardware Address for the Interface
To: Rajnish Madan <rajnishm@delhi.tcs.co.in>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 02/12/2001 21:26:28
On Mon, Feb 12, 2001 at 12:31:52PM +0530, Rajnish Madan wrote:
> Hi All,
> 
> I understand that in NetBSD to set/get the Hardware address on a particular interface
> i may need to right seperate ioctls. 
> 
> How can i do this? Any pointers to this will be very helpful.

It looks like in -current it's already there, via the SIOCGIFADDR
and SIOCSIFADDR ioctls. See ether_ioctl() in net/if_ethersubr.c

--
Manuel Bouyer <bouyer@antioche.eu.org>
--