kern/125003: incorrect EtherIP header format.
Hiroki Sato
hrs at FreeBSD.org
Sat Jun 28 17:10:03 UTC 2008
The following reply was made to PR kern/125003; it has been noted by GNATS.
From: Hiroki Sato <hrs at FreeBSD.org>
To: shino at fornext.org
Cc: freebsd-bugs at FreeBSD.org, bug-followup at 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 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
----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)----
More information about the freebsd-net
mailing list