Date: Fri, 17 Mar 2000 22:30:43 -0800 (PST) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/share/man/man4 bpf.4 src/sys/net bpf.c bpf.h bpfdesc.h Message-ID: <200003180630.WAA49563@freefall.freebsd.org>
index | next in thread | raw e-mail
rwatson 2000/03/17 22:30:43 PST
Modified files:
share/man/man4 bpf.4
sys/net bpf.c bpf.h bpfdesc.h
Log:
Introduce a new bd_seesent flag to the BPF descriptor, indicating whether or
not the current BPF device should report locally generated packets or not.
This allows sniffing applications to see only packets that are not generated
locally, which can be useful for debugging bridging problems, or other
situations where MAC addresses are not sufficient to identify locally
sourced packets. Default to true for this flag, so as to provide existing
behavior by default.
Introduce two new ioctls, BIOCGSEESENT and BIOCSSEESENT, which may be used
to manipulate this flag from userland, given appropriate privilege.
Modify bpf.4 to document these two new ioctl arguments.
Reviewed by: asmodai
Revision Changes Path
1.22 +9 -1 src/share/man/man4/bpf.4
1.60 +20 -1 src/sys/net/bpf.c
1.22 +3 -1 src/sys/net/bpf.h
1.15 +2 -1 src/sys/net/bpfdesc.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003180630.WAA49563>
