Discussion:
SIOCSIFADDR with AF_LINK
(too old to reply)
Sean Boudreau
2008-04-08 20:35:53 UTC
Permalink
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?

Thanks,

-seanb

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
David Young
2008-04-08 22:01:57 UTC
Permalink
Post by Sean Boudreau
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.

Dave
--
David Young OJC Technologies
***@ojctech.com Urbana, IL * (217) 278-3933 ext 24

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
David Young
2008-04-10 07:09:45 UTC
Permalink
Post by David Young
Post by Sean Boudreau
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.

I haven't touched ifconfig(8), yet. I still feel a bit dizzy after
looking at the source the other night.

Dave
--
David Young OJC Technologies
***@ojctech.com Urbana, IL * (217) 278-3933 ext 24

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
David Young
2008-04-10 18:15:47 UTC
Permalink
Post by David Young
Post by David Young
Post by Sean Boudreau
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

Dave
--
David Young OJC Technologies
***@ojctech.com Urbana, IL * (217) 278-3933 ext 24

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Sean Boudreau
2008-05-08 17:39:45 UTC
Permalink
Post by David Young
Post by David Young
Post by David Young
Post by Sean Boudreau
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

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
David Young
2008-05-08 19:14:20 UTC
Permalink
Post by Sean Boudreau
Post by David Young
Post by David Young
Post by David Young
Post by Sean Boudreau
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.
Good to hear it! I will commit the kernel part just as soon as I work
up the courage to update my -current sources. :-) I hope to work on
the requisite ifconfig(8) changes, today, if I can wrap up my gre(4)
repairs in time.

Dave
--
David Young OJC Technologies
***@ojctech.com Urbana, IL * (217) 278-3933 ext 24

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Loading...