Re: Berkeley packet filter device in kernel config

From: Brian Reichert <reichert_at_numachi.com>
Date: Wed, 24 Mar 2004 16:01:07 -0500
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:
> 
> device bpf # Berkeley packet filter

Hmm.  5.2.1 has 'device bpf', which jives with the manpage of bpf(4).

> Though, in the FreeBSD handbook it says:
> 
> pseudo-device bpf # Berkeley packet filter
> 
> I have used "device bpf" but there is no /dev/bpf* at
> all...

  % ls -ld /dev/bpf*
  crw-------  1 root  wheel  233,   0 Mar 23 14:42 /dev/bpf0

> Am i missing something here? How should i define this?
> pseudo-device or device?

Dunno.  I'm just offering a datapoint...

Have you messed with device.hints at all?

-- 
Brian Reichert				<reichert_at_numachi.com>
37 Crystal Ave. #303			Daytime number: (603) 434-6842
Derry NH 03038-1713 USA			BSD admin/developer at large	
Received on Wed Mar 24 2004 - 12:01:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:48 UTC