Subject: CVS commit: src/sys/net
To: None <source-changes@NetBSD.org>
From: Darren Reed <darrenr@netbsd.org>
List: source-changes
Date: 04/15/2004 14:56:57
Module Name: src
Committed By: darrenr
Date: Thu Apr 15 14:56:57 UTC 2004
Modified Files:
src/sys/net: bpf.c bpf.h bpfdesc.h
Log Message:
Add a count of the number of packets that match the bpf filter applied to a
particule device. In doing this, make a new the bpf_stat structure with
members that are u_long rather than u_int, matching the counters in the bpf_d.
the original bpf_stat is now bpf_stat_old and so to the original ioctl
is preserved as BIOCGSTATSOLD.
To generate a diff of this commit:
cvs rdiff -r1.93 -r1.94 src/sys/net/bpf.c
cvs rdiff -r1.34 -r1.35 src/sys/net/bpf.h
cvs rdiff -r1.17 -r1.18 src/sys/net/bpfdesc.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.