From owner-freebsd-stable@FreeBSD.ORG Sat Nov 8 19:18:01 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1DB0516A4CE; Sat, 8 Nov 2003 19:18:01 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3713143FE0; Sat, 8 Nov 2003 19:18:00 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9p2/8.12.9) with ESMTP id hA93GHMg040486; Sat, 8 Nov 2003 22:16:17 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)hA93GHvk040483; Sat, 8 Nov 2003 22:16:17 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Sat, 8 Nov 2003 22:16:17 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Francesco Casadei In-Reply-To: <20031108095124.GA819@goku.kasby> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: green@freebsd.org cc: freebsd-stable@freebsd.org Subject: Re: Problems with libpcap on 4.9-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Nov 2003 03:18:01 -0000 On Sat, 8 Nov 2003, Francesco Casadei wrote: [NON-Text Body part not included] Some changes were recently merged to -CURRENT to address this identical problem as part of some ongoing 802.11-related work. I'll be merge the namespace fix for lex/yacc pollution once it's settled for a couple of weeks. Brian's commit message attached below. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories Date: Mon, 3 Nov 2003 22:12:21 -0800 (PST) From: Brian Feldman To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libpcap Makefile src/contrib/libpcap gencode.c scanner.l green 2003/11/03 22:12:21 PST FreeBSD src repository Modified files: lib/libpcap Makefile contrib/libpcap gencode.c scanner.l Log: * Modify libpcap to work a bit better with our 802.11 code. This means tcpdump -y ieee802_11 will work in the basic senses, including the code compilation for filters (where you may specify "link[]" to refer to parts of the 802.11 header, as well as treat it like a normal Ethernet header). Previously, it was just too far off to do anything useful for us. * While I'm here, fix some compile problems that will result from lex and yacc namespace polution when linking with -lpcap. The namespace is now "pcapyy*" instead of "yy*", and it tests fine with world and some external applications that may or may not use "yy*". Revision Changes Path 1.12 +55 -9 src/contrib/libpcap/gencode.c 1.9 +0 -1 src/contrib/libpcap/scanner.l 1.32 +3 -1 src/lib/libpcap/Makefile