The following reply was made to PR kern/125003; it has been noted by GNATS.

From: Andrew Thompson <[EMAIL PROTECTED]>
To: Shunsuke SHINOMIYA <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
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
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to