From owner-freebsd-net@FreeBSD.ORG Thu Jun 26 15:10:03 2008 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AEB00106566C for ; Thu, 26 Jun 2008 15:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 965208FC13 for ; Thu, 26 Jun 2008 15:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m5QFA3XK053134 for ; Thu, 26 Jun 2008 15:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m5QFA3Uq053133; Thu, 26 Jun 2008 15:10:03 GMT (envelope-from gnats) Date: Thu, 26 Jun 2008 15:10:03 GMT Message-Id: <200806261510.m5QFA3Uq053133@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: Andrew Thompson Cc: Subject: Re: kern/125003: incorrect EtherIP header format. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Andrew Thompson List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 15:10:03 -0000 The following reply was made to PR kern/125003; it has been noted by GNATS. From: Andrew Thompson To: Shunsuke SHINOMIYA 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