Re: [PATCHSET] Mobile IPv6 for 2.5.43
From: YOSHIFUJI Hideaki / 吉藤英明 <hidden>
Date: 2002-10-18 00:51:03
Also in:
lkml
From: YOSHIFUJI Hideaki / 吉藤英明 <hidden>
Date: 2002-10-18 00:51:03
Also in:
lkml
In article [ref] (at Fri, 18 Oct 2002 02:52:48 +0300 (EEST)), Ville Nuorvala [off-list ref] says:
quoted
2. Please put outer address to hardware address in dev.The reason I haven't done this is that MAX_ADDR_LEN is just 8. Does anyone have any objections against changing the value to 16?quoted
Note: you need to modify SIOxxx ioctls too not to overrun!Sorry, I'm not that familiar with ioctls, I just copied the basic functionality from sit.c. Could you explain it a bit more thoroughly, so even I with my thick skull understand what the problem is?
in net/core/dev.c, there're codes to copy between dev->dev_{addr,broadcast}
and ifr_hwaddr.sa_data (points sockaddr{} sized 16).
Well, we have code for it. :-)
Please look at
<http://www2.linux-ipv6.org/cvsweb/usagi/kernel/linux24/net/core/dev.c.diff?r1=1.1.1.12&r2=1.4>
BTW, why don't we have SIOCGIFHWBROADCAST??
--
Hideaki YOSHIFUJI @ USAGI Project [off-list ref]
GPG FP: 9022 65EB 1ECF 3AD1 0BDF 80D8 4807 F894 E062 0EEA