tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: SIOCSIFADDR with AF_LINK



On Thu, Apr 10, 2008 at 02:15:47PM -0400, David Young wrote:
> On Thu, Apr 10, 2008 at 02:09:45AM -0500, David Young wrote:
> > On Tue, Apr 08, 2008 at 05:01:57PM -0500, David Young wrote:
> > > On Tue, Apr 08, 2008 at 04:35:53PM -0400, Sean Boudreau wrote:
> > > > 
> > > > Hi:
> > > > 
> > > > Is this supposed to work?  I see that ether_ioctl
> > > > (for example) has been switched to the new
> > > > if_set_sadl() but I see no way that this code can
> > > > be tickled.  Am I missing something?
> > > 
> > > That was step 1 of N. :-/ I added if_set_sadl(), I started to clean up
> > > the mess that is network-interface ioctls, and then I got side-tracked.
> > > I will look at it again, tonight.
> > 
> > I have finished the kernel part and tested with a tiny utility that I
> > wrote for the purpose.  I will send patches later today.
> 
> Here are the kernel patches, and a test program,
> 
> ftp://cuw.ojctech.com/users/lladdr-a6e5f1ce/link_lifaddr.patch
> ftp://cuw.ojctech.com/users/lladdr-9a83ab8f/main.c
> 

Those look OK and work well for me.

-seanb


Home | Main Index | Thread Index | Old Index