Date: Sat, 28 Jun 2008 17:10:03 GMT From: Hiroki Sato <hrs@FreeBSD.org> To: freebsd-net@FreeBSD.org Subject: Re: kern/125003: incorrect EtherIP header format. Message-ID: <200806281710.m5SHA3q7009792@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/125003; it has been noted by GNATS. From: Hiroki Sato <hrs@FreeBSD.org> To: shino@fornext.org Cc: freebsd-bugs@FreeBSD.org, bug-followup@FreeBSD.org Subject: Re: kern/125003: incorrect EtherIP header format. Date: Sun, 29 Jun 2008 01:35:12 +0900 (JST) ----Security_Multipart(Sun_Jun_29_01_35_12_2008_272)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Shunsuke SHINOMIYA <shino@fornext.org> wrote in <200806270610.m5R6A3hR060682@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 ----Security_Multipart(Sun_Jun_29_01_35_12_2008_272)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAkhmaEAACgkQTyzT2CeTzy12bwCfTQ2kE20quy6BU+vd9wYaNwS+ cxQAnA8yh2VRKHuRcxLZc459791hXOFY =a1zs -----END PGP SIGNATURE----- ----Security_Multipart(Sun_Jun_29_01_35_12_2008_272)----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806281710.m5SHA3q7009792>