misc/58992: libpcap has BIOCGDLTLIST stuff but no DLT-name <->
DLT-value APIs
Guy Harris
gharris at sonic.net
Thu Nov 6 00:50:36 PST 2003
>Number: 58992
>Category: misc
>Synopsis: libpcap has BIOCGDLTLIST stuff but no DLT-name <-> DLT-value APIs
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Nov 06 00:50:23 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Guy Harris
>Release: FreeBSD 5.1-RELEASE i386
>Organization:
none
>Environment:
>Description:
5.1 includes support for the libpcap APIs to get a list of DLT_
values supported by a device and to set the DLT_ value to be
used, at least from looking at the CVS information for the
libpcap source.
However, it doesn't include the "pcap_datalink_name_to_val()"
and "pcap_datalink_val_to_name()" APIs from tcpdump.org libpcap
to map DLT_ names to values and vice versa (e.g., DLT_EN10MB <->
"EN10MB"), for use by programs such as tcpdump and Tethereal.
>How-To-Repeat:
See the CVS source.
>Fix:
Pick them up from tcpdump.org's libpcap.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list