Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jun 2008 15:10:03 GMT
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        freebsd-net@FreeBSD.org
Subject:   Re: kern/125003: incorrect EtherIP header format.
Message-ID:  <200806261510.m5QFA3Uq053133@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: Andrew Thompson <thompsa@FreeBSD.org>
To: Shunsuke SHINOMIYA <shino@fornext.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: kern/125003: incorrect EtherIP header format.
Date: Thu, 26 Jun 2008 07:34:24 -0700

 Hi,
 
 
 It is unclear where the interoperability problem comes in.
 
 struct etherip_header { 
      u_int8_t eip_ver;       /* version/reserved */
      u_int8_t eip_pad;       /* required padding byte
 			*/
 };              
 #define ETHERIP_VER_VERS_MASK   0x0f
 #define ETHERIP_VERSION         0x03
 
 From rfc3378,
  1. Prepend the 16-bit EtherIP header to the MAC frame.  The EtherIP
     Version field MUST be set to 3 (three), and the EtherIP Reserved
     field MUST be set to 0 (zero).
 
 
 And the outgoing header is set to.
    eiphdr.eip_ver = ETHERIP_VERSION & ETHERIP_VER_VERS_MASK;
    eiphdr.eip_pad = 0;
 
 Which would conform to the requirement. Can you describe the problem you
 are seeing.
 
 
 regards,
 Andrew



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