From owner-cvs-src Tue Feb 25 22:38:57 2003 Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8FEBC37B401; Tue, 25 Feb 2003 22:38:55 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3009E43FAF; Tue, 25 Feb 2003 22:38:55 -0800 (PST) (envelope-from wpaul@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h1Q6ct0U050046; Tue, 25 Feb 2003 22:38:55 -0800 (PST) (envelope-from wpaul@repoman.freebsd.org) Received: (from wpaul@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h1Q6cs15050045; Tue, 25 Feb 2003 22:38:54 -0800 (PST) Message-Id: <200302260638.h1Q6cs15050045@repoman.freebsd.org> From: Bill Paul Date: Tue, 25 Feb 2003 22:38:54 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netgraph ng_fec.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-src@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG wpaul 2003/02/25 22:38:54 PST Modified files: sys/netgraph ng_fec.c Log: Attempt to make the ng_fec module play nice with BPF again. Things have changed since this code was written: - The ng_ether_input_p hook only accepts two arguments now: the pointer to the ether header structure is gone. - It's no longer necessary to cons up a fake ether header before passing incoming packets to BPF_MTAP(). ng_fec_input() has been modified to account for these two changes. Running tcpdump on fec0 should work now. PR: kern/46720 Revision Changes Path 1.4 +6 -16 src/sys/netgraph/ng_fec.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-src" in the body of the message