Berkeley packet filter device in kernel config

Brian Reichert reichert at numachi.com
Wed Mar 24 13:01:09 PST 2004


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	


More information about the freebsd-current mailing list