From owner-freebsd-current@FreeBSD.ORG Wed Mar 24 12:45:09 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9E8916A4CE for ; Wed, 24 Mar 2004 12:45:09 -0800 (PST) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90AAE43D41 for ; Wed, 24 Mar 2004 12:45:09 -0800 (PST) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.10/8.12.3) with ESMTP id i2OKj4Za010675; Wed, 24 Mar 2004 12:45:04 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.10/8.12.3/Submit) id i2OKj3U7010672; Wed, 24 Mar 2004 12:45:03 -0800 Date: Wed, 24 Mar 2004 12:45:03 -0800 From: Brooks Davis To: MaNUaL Message-ID: <20040324204503.GA6792@Odin.AC.HMC.Edu> References: <20040324193308.10312.qmail@web40613.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline In-Reply-To: <20040324193308.10312.qmail@web40613.mail.yahoo.com> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu cc: freebsd-current@freebsd.org Subject: Re: Berkeley packet filter device in kernel config X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Mar 2004 20:45:09 -0000 --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 24, 2004 at 11:33:08AM -0800, MaNUaL wrote: > Hi. I am using 5.2.1-RELEASE-p3 and in the GENERIC > configuration file of the kernel in > /usr/src/sys/i386/conf there is the following line: >=20 > device bpf # Berkeley packet filter >=20 > Though, in the FreeBSD handbook it says: >=20 > pseudo-device bpf # Berkeley packet filter The handbook is out of date relative to 5.x. > I have used "device bpf" but there is no /dev/bpf* at > all... >=20 > Am i missing something here? How should i define this? > pseudo-device or device? Just open /dev/bpf# until you get one that works. See the libpcap code for an example if you need one. BPF devices are created when opened. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --17pEHd4RhPHOinZp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFAYfNOXY6L6fI4GtQRAl3RAKDS1DTvrwG6VXODj74p4VFqC0LniQCgvanN 0mhgeHcvl2uaXClB8xDCM0k= =rn++ -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp--