Date: Mon, 10 Jun 1996 19:46:13 -0700 (MST) From: Terry Lambert <terry@lambert.org> To: thorpej@nas.nasa.gov Cc: davidg@Root.COM, mellon@fugue.com, freebsd-hackers@freebsd.org Subject: Re: Swapped ethertype in BPF output? Message-ID: <199606110246.TAA00972@phaeton.artisoft.com> In-Reply-To: <199606110138.SAA19728@lestat.nas.nasa.gov> from "Jason Thorpe" at Jun 10, 96 06:38:50 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> > I'd just as well see it changed to whatever people think is "correct". > > For `consistency', I'd think that userland should see it in network > order, where `consistency' is `consistency with other systems and with > everything else in the packet'. Depends. Are you imposing meaning on the bytes by swapping them, and is that meaning potentially incorrect (ie: can I get packets where the meaning isn't the same, and therefore swapping is incorrect?). I think that the commited change to move the assumption above the BPF layer was done to support one of the AppleTalk servers (can't remember which one, off the top of my head) because you could not assume that the packet was Etherne_II vs. 802.2 vs. 802.3. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606110246.TAA00972>