From owner-freebsd-bugs Mon Nov 19 7: 2:56 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 8C08937B405; Mon, 19 Nov 2001 07:02:49 -0800 (PST) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id fAJF2hw56530; Mon, 19 Nov 2001 17:02:43 +0200 (EET) (envelope-from ru) Date: Mon, 19 Nov 2001 17:02:43 +0200 From: Ruslan Ermilov To: iedowse@FreeBSD.ORG Cc: pb@hert.org, freebsd-bugs@FreeBSD.ORG Subject: Re: kern/21737: sendto returns systematically EINVAL with HDRINCL raw socks. Message-ID: <20011119170243.J32927@sunbay.com> References: <200111171526.fAHFQKD44455@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200111171526.fAHFQKD44455@freefall.freebsd.org> User-Agent: Mutt/1.3.23i Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, Nov 17, 2001 at 07:26:20AM -0800, iedowse@FreeBSD.ORG wrote: > Synopsis: sendto returns systematically EINVAL with HDRINCL raw socks. > > State-Changed-From-To: open->closed > State-Changed-By: iedowse > State-Changed-When: Sat Nov 17 07:23:42 PST 2001 > State-Changed-Why: > > Unfortunately this unexpected byte-swapping of IP_HDRINCL fields > is something FreeBSD has done for a long time, and fixing it > would break binary compatibility with existing applications. > Even from BSD times, with one exception -- the ip_id (if non-zero) must be supplied in network byte order. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message