From owner-cvs-all@FreeBSD.ORG Mon Jul 7 09:26:07 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E274106567F; Mon, 7 Jul 2008 09:26:07 +0000 (UTC) (envelope-from dwmalone@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6AC8D8FC0C; Mon, 7 Jul 2008 09:26:07 +0000 (UTC) (envelope-from dwmalone@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m679Q7KT000880; Mon, 7 Jul 2008 09:26:07 GMT (envelope-from dwmalone@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.2/8.14.1/Submit) id m679Q77Z000879; Mon, 7 Jul 2008 09:26:07 GMT (envelope-from dwmalone@repoman.freebsd.org) Message-Id: <200807070926.m679Q77Z000879@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to dwmalone@repoman.freebsd.org using -f From: David Malone Date: Mon, 7 Jul 2008 09:25:49 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/net bpf.c bpf.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jul 2008 09:26:07 -0000 dwmalone 2008-07-07 09:25:49 UTC FreeBSD src repository Modified files: sys/net bpf.c bpf.h Log: SVN rev 180337 on 2008-07-07 09:25:49Z by dwmalone Add a new ioctl for changing the read filter (BIOCSETFNR). This is just like BIOCSETF but it doesn't drop all the packets buffered on the discriptor and reset the statistics. Also, when setting the write filter, don't drop packets waiting to be read or reset the statistics. PR: 118486 Submitted by: Matthew Luckie MFC after: 1 month Revision Changes Path 1.197 +8 -4 src/sys/net/bpf.c 1.51 +1 -0 src/sys/net/bpf.h