Date: Thu, 6 Nov 2003 00:48:47 -0800 (PST) From: Guy Harris <gharris@sonic.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: misc/58992: libpcap has BIOCGDLTLIST stuff but no DLT-name <-> DLT-value APIs Message-ID: <200311060848.AAA09052@quadrajet.sonic.net> Resent-Message-ID: <200311060850.hA68oOmL094805@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311060848.AAA09052>