kern/125003: incorrect EtherIP header format.
Shunsuke SHINOMIYA
shino at fornext.org
Fri Jun 27 06:01:15 UTC 2008
> 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 at fornext.org>
More information about the freebsd-bugs
mailing list