kern/125003: incorrect EtherIP header format.
Hiroki Sato
hrs at FreeBSD.org
Sat Jun 28 17:00:14 UTC 2008
Shunsuke SHINOMIYA <shino at fornext.org> wrote
in <200806270610.m5R6A3hR060682 at freefall.freebsd.org>:
sh> =46rom RFC3378
sh> > In summary, the EtherIP Header has two fields:
sh> >=20
sh> > Bits 0-3: Protocol version
sh> > Bits 4-15: Reserved for future use
sh> >=20
sh> > 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
sh> > +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
sh> > | | |
sh> > | VERSION | RESERVED |
sh> > | | |
sh> > +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
sh> >=20
sh> > Figure 2: EtherIP Header Format (in bits)
sh> >=20
sh>
sh> , first octet(bit 0,MSB to 7) consists of VERSION and a part of RESERVED.
sh> And VERSION is high 4 bits of the octet.
sh> Am I misunderstanding this?
The VERSION is in bit 0-3 and LSB in this diagram is left. As Andrew
also explained, these are the reasons why ETHERIP_VER_VERS_MASK is
defined as 0x0f.
Do you really have interoperability problem? If so, please let us
know more detail information about it first.
--
| Hiroki SATO
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-bugs/attachments/20080628/2200f0c9/attachment.pgp
More information about the freebsd-bugs
mailing list