Subject: Re: adding an 802.11 data link type
To: Atsushi Onoe <firstname.lastname@example.org>
From: Andrew Brown <email@example.com>
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" >-----|
firstname.lastname@example.org * "ah! i see you have the internet
email@example.com (Andrew Brown) that goes *ping*!"
firstname.lastname@example.org * "information is power -- share the wealth."