Date: Wed, 26 Apr 2000 22:46:38 -0400 (EDT) From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> To: dg@root.com Cc: freebsd-net@FreeBSD.ORG Subject: Re: Proposal for ethernet, bridging, netgraph Message-ID: <200004270246.WAA45834@khavrinen.lcs.mit.edu> In-Reply-To: <200004262326.QAA15823@implode.root.com> References: <200004261846.OAA44415@khavrinen.lcs.mit.edu> <200004262326.QAA15823@implode.root.com>
next in thread | previous in thread | raw e-mail | index | archive | help
<<On Wed, 26 Apr 2000 16:26:19 -0700, David Greenman <dg@root.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004270246.WAA45834>