Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jun 2008 15:00:45 +0900
From:      Shunsuke SHINOMIYA <shino@fornext.org>
To:        Hiroki Sato <hrs@FreeBSD.org>
Cc:        freebsd-bugs@FreeBSD.org, bug-followup@FreeBSD.org
Subject:   Re[2]: kern/125003: incorrect EtherIP header format.
Message-ID:  <20080627141852.BF75.A2D40D1E@fornext.org>
In-Reply-To: <20080627.003014.35031951.hrs@allbsd.org>
References:  <20080626192225.9813.A2D40D1E@fornext.org> <20080627.003014.35031951.hrs@allbsd.org>

index | next in thread | previous in thread | raw e-mail


> sh>  In current implementation, 0x03 is transmitted, and, next, 0x00 is
> sh>  transmitted as version(3) and reserved(0x000) field. But I think that
> sh>  0x30 should be transmitted first from RFC3378.
> 
>  I don't understand why you think 0x30 is correct.

From RFC3378
> In summary, the EtherIP Header has two fields:
> 
>       Bits 0-3:  Protocol version
>       Bits 4-15: Reserved for future use
> 
>         0   1   2   3   4   5   6   7   8   9  10  11  12  13  14  15
>      +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
>      |               |                                               |
>      |    VERSION    |                   RESERVED                    |
>      |               |                                               |
>      +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
> 
>                  Figure 2: EtherIP Header Format (in bits)
> 

, 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?

-- 
Shunsuke SHINOMIYA <shino@fornext.org>



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080627141852.BF75.A2D40D1E>