diff options
author | ed <ed@FreeBSD.org> | 2008-08-13 17:45:06 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2008-08-13 17:45:06 +0000 |
commit | 5484e01769caf0aff58dc668b6496fdfa8ce3832 (patch) | |
tree | 71875f65c8fbd8b2e6101a6f784220df5f8cebae /share/man | |
parent | b30356b6341e44951a929ded0a50e3543f344e6b (diff) | |
download | FreeBSD-src-5484e01769caf0aff58dc668b6496fdfa8ce3832.zip FreeBSD-src-5484e01769caf0aff58dc668b6496fdfa8ce3832.tar.gz |
Bump __FreeBSD_version to 800043, because of the bpf(4) change.
bpf(4) now uses cdevpriv to distinguish multiple file descriptors, where
it used to be implemented using device cloning. Ports like libpcap
properly detect the change in their configure scripts, but it doesn't
hurt to increase __FreeBSD_version.
While there, change the bpf(4) manual page to refer to /dev/bpf instead
of /dev/bpfN.
Requested by: mlaier
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man4/bpf.4 | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/share/man/man4/bpf.4 b/share/man/man4/bpf.4 index 581a9a1..1db19a9 100644 --- a/share/man/man4/bpf.4 +++ b/share/man/man4/bpf.4 @@ -65,9 +65,7 @@ All packets on the network, even those destined for other hosts, are accessible through this mechanism. .Pp The packet filter appears as a character special device, -.Pa /dev/bpf0 , -.Pa /dev/bpf1 , -etc. +.Pa /dev/bpf . After opening the device, the file descriptor must be bound to a specific network interface with the .Dv BIOCSETIF @@ -881,8 +879,8 @@ array initializers: and .Fn BPF_JUMP opcode operand true_offset false_offset . .Sh FILES -.Bl -tag -compact -width /dev/bpfXXX -.It Pa /dev/bpf Ns Sy n +.Bl -tag -compact -width /dev/bpf +.It Pa /dev/bpf the packet filter device .El .Sh EXAMPLES |