Subject: Re: Fw: Changing MAC addresses on ethernet interfaces?
To: None <email@example.com>
From: None <firstname.lastname@example.org>
Date: 01/17/2001 09:43:18
> > This will only work if we make struct ifaddr use struct sockaddr_storage
> > It currently uses struct sockaddr and struct sockaddr_dl does not fit in
> > it [by one byte; argh!]
>He's using it from inside the kernel, and since SIOCSIFADDR in a
>device ioctl routine sees an ifaddr *, it will work okay for him.
if we need ioctls, SIOCSLIFADDR could be used. at this moment
we supply it in AF_INET and AF_INET6 only.
(or SIOCSLPHYADDR, which is in KAME)