Module Name:    src
Committed By:   christos
Date:           Sat Mar 13 20:39:54 UTC 2010

Modified Files:
        src/share/man/man4: bpf.4

Log Message:
Document BIOC{G,S}FEEDBACK; I forgot who sent me the patch, so whoever created
it, thanks!


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/share/man/man4/bpf.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man4/bpf.4
diff -u src/share/man/man4/bpf.4:1.42 src/share/man/man4/bpf.4:1.43
--- src/share/man/man4/bpf.4:1.42	Sat Jan 16 13:47:50 2010
+++ src/share/man/man4/bpf.4	Sat Mar 13 15:39:54 2010
@@ -1,6 +1,6 @@
 .\" -*- nroff -*-
 .\"
-.\"	$NetBSD: bpf.4,v 1.42 2010/01/16 18:47:50 pooka Exp $
+.\"	$NetBSD: bpf.4,v 1.43 2010/03/13 20:39:54 christos Exp $
 .\"
 .\" Copyright (c) 1990, 1991, 1992, 1993, 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -24,7 +24,7 @@
 .\" This document is derived in part from the enet man page (enet.4)
 .\" distributed with 4.3BSD Unix.
 .\"
-.Dd January 16, 2010
+.Dd March 13, 2010
 .Dt BPF 4
 .Os
 .Sh NAME
@@ -297,8 +297,23 @@
 Enable/disable or get the
 .Dq see sent
 flag status.
-If enabled, packets sent will be passed to the filter.
+If enabled, packets sent by the host (not from
+.Nm )
+will be passed to the filter.
 By default, the flag is enabled (value is 1).
+.It Dv BIOCFEEDBACK BIOCSFEEDBACK BIOCGFEEDBACK (u_int)
+Set (or get)
+.Dq packet feedback mode .
+This allows injected packets to be fed back as input to the interface when
+output via the interface is successful.
+The first name is meant for FreeBSD compatibility, the two others follow
+the Get/Set convention.
+.\"When
+.\".Dv BPF_D_INOUT
+.\"direction is set, injected
+Injected
+outgoing packets are not returned by BPF to avoid
+duplication. This flag is initialized to zero by default.
 .El
 .Sh STANDARD IOCTLS
 .Nm

Reply via email to