From owner-freebsd-net Wed Apr 26 19:46:50 2000 Delivered-To: freebsd-net@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id BED6437B671 for ; Wed, 26 Apr 2000 19:46:47 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id WAA45834; Wed, 26 Apr 2000 22:46:38 -0400 (EDT) (envelope-from wollman) Date: Wed, 26 Apr 2000 22:46:38 -0400 (EDT) From: Garrett Wollman Message-Id: <200004270246.WAA45834@khavrinen.lcs.mit.edu> To: dg@root.com Cc: freebsd-net@FreeBSD.ORG Subject: Re: Proposal for ethernet, bridging, netgraph In-Reply-To: <200004262326.QAA15823@implode.root.com> References: <200004261846.OAA44415@khavrinen.lcs.mit.edu> <200004262326.QAA15823@implode.root.com> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org < said: > Except that BPF won't necessarily know the size of the link layer header, BPF has never needed to know the size of the link layer header. It's the BPF application's responsibility to determine the interface type and emit appropriate filter code to examine and skip over it, as necessary for the particular application. (Hint: look at how the match condition `ip' is implemented in libpcap.) -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message