From gharris@sonic.net  Thu Nov  6 00:48:49 2003
Return-Path: <gharris@sonic.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2D07816A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  6 Nov 2003 00:48:49 -0800 (PST)
Received: from eth0.a.smtp.sonic.net (eth0.a.smtp.sonic.net [64.142.16.244])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 9301043FEC
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  6 Nov 2003 00:48:48 -0800 (PST)
	(envelope-from gharris@sonic.net)
Received: from quadrajet.sonic.net (adsl-209-204-185-249.sonic.net [209.204.185.249])
	by eth0.a.smtp.sonic.net (8.12.10/8.12.7) with ESMTP id hA68mmlS023193
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 6 Nov 2003 00:48:48 -0800
Received: (from guy@localhost)
	by quadrajet.sonic.net (8.9.3/8.9.3) id AAA09052;
	Thu, 6 Nov 2003 00:48:47 -0800 (PST)
	(envelope-from gharris)
Message-Id: <200311060848.AAA09052@quadrajet.sonic.net>
Date: Thu, 6 Nov 2003 00:48:47 -0800 (PST)
From: Guy Harris <gharris@sonic.net>
Reply-To: gharris@sonic.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: libpcap has BIOCGDLTLIST stuff but no DLT-name <-> DLT-value APIs
X-Send-Pr-Version: 3.2

>Number:         58992
>Category:       bin
>Synopsis:       libpcap has BIOCGDLTLIST stuff but no DLT-name <-> DLT-value APIs
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bms
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 06 00:50:23 PST 2003
>Closed-Date:    Mon Jun 14 17:08:28 GMT 2004
>Last-Modified:  Mon Jun 14 17:08:28 GMT 2004
>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:
Responsible-Changed-From-To: freebsd-bugs->fenner 
Responsible-Changed-By: roam 
Responsible-Changed-When: Thu Nov 6 01:26:32 PST 2003 
Responsible-Changed-Why:  
Over to our libpcap/tcpdump maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=58992 
State-Changed-From-To: open->closed 
State-Changed-By: bms 
State-Changed-When: Mon Jun 14 17:07:26 GMT 2004 
State-Changed-Why:  
This is available in -CURRENT which has libpcap 0.8.3, or use the 
net/libpcap port on -STABLE until such time as an MFC happens. 


Responsible-Changed-From-To: fenner->bms 
Responsible-Changed-By: bms 
Responsible-Changed-When: Mon Jun 14 17:07:26 GMT 2004 
Responsible-Changed-Why:  
I was the last person into the libpcap gimp room 

http://www.freebsd.org/cgi/query-pr.cgi?pr=58992 
>Unformatted:
