summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2008-08-13 17:45:06 +0000
committered <ed@FreeBSD.org>2008-08-13 17:45:06 +0000
commit5484e01769caf0aff58dc668b6496fdfa8ce3832 (patch)
tree71875f65c8fbd8b2e6101a6f784220df5f8cebae
parentb30356b6341e44951a929ded0a50e3543f344e6b (diff)
downloadFreeBSD-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
-rw-r--r--share/man/man4/bpf.48
-rw-r--r--sys/sys/param.h2
2 files changed, 4 insertions, 6 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
diff --git a/sys/sys/param.h b/sys/sys/param.h
index db40e9e..f4edd2e 100644
--- a/sys/sys/param.h
+++ b/sys/sys/param.h
@@ -57,7 +57,7 @@
* is created, otherwise 1.
*/
#undef __FreeBSD_version
-#define __FreeBSD_version 800042 /* Master, propagated to newvers */
+#define __FreeBSD_version 800043 /* Master, propagated to newvers */
#ifndef LOCORE
#include <sys/types.h>
OpenPOWER on IntegriCloud