From owner-freebsd-net@FreeBSD.ORG Fri Jun 27 06:10:03 2008 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8348C1065678 for ; Fri, 27 Jun 2008 06:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7527E8FC13 for ; Fri, 27 Jun 2008 06:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m5R6A36J060683 for ; Fri, 27 Jun 2008 06:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m5R6A3hR060682; Fri, 27 Jun 2008 06:10:03 GMT (envelope-from gnats) Date: Fri, 27 Jun 2008 06:10:03 GMT Message-Id: <200806270610.m5R6A3hR060682@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: Shunsuke SHINOMIYA Cc: Subject: Re[2]: kern/125003: incorrect EtherIP header format. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Shunsuke SHINOMIYA List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 06:10:03 -0000 The following reply was made to PR kern/125003; it has been noted by GNATS. From: Shunsuke SHINOMIYA To: Hiroki Sato Cc: freebsd-bugs@FreeBSD.org, bug-followup@FreeBSD.org Subject: Re[2]: kern/125003: incorrect EtherIP header format. Date: Fri, 27 Jun 2008 15:00:45 +0900 > sh> In current implementation, 0x03 is transmitted, and, next, 0x00 is > sh> transmitted as version(3) and reserved(0x000) field. But I think tha= t > sh> 0x30 should be transmitted first from RFC3378. >=20 > I don't understand why you think 0x30 is correct. =46rom RFC3378 > In summary, the EtherIP Header has two fields: >=20 > Bits 0-3: Protocol version > Bits 4-15: Reserved for future use >=20 > 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 > +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ > | | | > | VERSION | RESERVED | > | | | > +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ >=20 > Figure 2: EtherIP Header Format (in bits) >=20 , first octet(bit 0,MSB to 7) consists of VERSION and a part of RESERVED. And VERSION is high 4 bits of the octet. Am I misunderstanding this? --=20 Shunsuke SHINOMIYA