[Dnsmasq-discuss] dhcpv6 duid gen

Simon Kelley simon at thekelleys.org.uk
Thu Mar 1 15:29:32 GMT 2012


On 01/03/12 15:20, Jan Seiffert wrote:
> 2012/3/1 Simon Kelley<simon at thekelleys.org.uk>:
> [snip]
>> I think the solution to that is to ignore interfaces with HW address type>=
>> 256. See<linux>/include/linux/if_arp.h for details.
>>
>> OK?
>>
>
> Since i have no idea, what about:
> #define ARPHRD_IEEE80211 801		/* IEEE 802.11			*/

I have little idea either, but doing a search for that identifier on
LXR, it looks like an interface to "raw" wirless packets. ie not 
something that carries IP. Wireless emulates ethernet for that.

See 
http://lxr.linux.no/#linux+v3.2.9/drivers/staging/rtl8192e/rtllib_softmac_wx.c#L297

for example: 80211 in "monitor mode" and  ARPHRD_ETHER otherwise.


Simon.



More information about the Dnsmasq-discuss mailing list