From owner-freebsd-hackers Tue Jun 11 06:43:35 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA24405 for hackers-outgoing; Tue, 11 Jun 1996 06:43:35 -0700 (PDT) Received: from zygorthian-space-raiders.MIT.EDU (ZYGORTHIAN-SPACE-RAIDERS.MIT.EDU [18.70.0.61]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id GAA24395 for ; Tue, 11 Jun 1996 06:43:33 -0700 (PDT) Received: (from mycroft@localhost) by zygorthian-space-raiders.MIT.EDU (8.7.4/8.6.11) id JAA21684; Tue, 11 Jun 1996 09:43:26 -0400 (EDT) To: Ted Lemon Cc: Jason Thorpe , freebsd-hackers@freebsd.org Subject: Re: Swapped ethertype in BPF output? References: <199606110035.RAA28148@toccata.fugue.com> From: mycroft@mit.edu (Charles M. Hannum) Date: 11 Jun 1996 09:43:11 -0400 In-Reply-To: Ted Lemon's message of Mon, 10 Jun 1996 17:35:06 -0700 Message-ID: Lines: 15 X-Mailer: September Gnus v0.83/Emacs 19.30 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Ted Lemon writes: > > > It's not just the ethertype, from what I can tell...See the following > > kludge in NetBSD's rbootd(8) (the HP Remote Maintainance Protocol boot > > server): > > That doesn't make sense. There isn't any length in the ethernet > header! RMP uses 802.3 encapsulation. The `packet length' field of 802.3 is in the same place as the `packet type' field of Ethernet II. The relevant FreeBSD code uses host byte order for both.