Subject: Re: adding an 802.11 data link type
To: Atsushi Onoe <email@example.com>
From: Andrew Brown <firstname.lastname@example.org>
Date: 08/05/2002 09:57:33
>> 3) Two new ioctl's list/choose the DLT used by bpf:
>> BIOCGDLTS -- returns a bit vector. "Lit" bits indicate supported DLTs.
>> For example, on an 802.11 interface, the DLT_EN10MB'th
>> bit and the DLT_802_11'th bit will be set.
>It seems that the range of the value for DLT is not defined. BIOCGDLT
>just uses u_int to pass it. So returning array of supported DLTs would
considering that there are currently 0-16, 50, 51, and 115 assigned as
dlt types, and that the type of if_dlt (the major consumer of the
DTL_* stuff) is an int, an bit vector just won't cut it. an array
would be much better.
|-----< "CODE WARRIOR" >-----|
email@example.com * "ah! i see you have the internet
firstname.lastname@example.org (Andrew Brown) that goes *ping*!"
email@example.com * "information is power -- share the wealth."