Subject: CVS commit: src/sys/net
To: None <source-changes@NetBSD.org>
From: Darren Reed <darrenr@netbsd.org>
List: source-changes
Date: 04/10/2004 23:31:53
Module Name:	src
Committed By:	darrenr
Date:		Sat Apr 10 23:31:52 UTC 2004

Modified Files:
	src/sys/net: bpf.c bpf.h bpfdesc.h

Log Message:
Fix bpf so that select will return for a timeout (from FreeBSD.)

Fix the behaviour of BIOCIMMEDIATE (fix from LBL BPF code via FreeBSD.)

In bpf_mtap(), optimise the calling of bpf_filter() and catchpacket()
based on whether or not the entire packet is in one mbuf (based on
similar change FreeBSD but fixes BIOC*SEESENT issue with that.)

Copy the implementation of BIOCSSEESENT, BIOCGSEESENT by FreeBSD.

Review Assistance: Guy Harris

PRs: kern/8674, kern/12170


To generate a diff of this commit:
cvs rdiff -r1.90 -r1.91 src/sys/net/bpf.c
cvs rdiff -r1.33 -r1.34 src/sys/net/bpf.h
cvs rdiff -r1.16 -r1.17 src/sys/net/bpfdesc.h

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