Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Nov 2001 17:02:43 +0200
From:      Ruslan Ermilov <ru@FreeBSD.ORG>
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>
In-Reply-To: <200111171526.fAHFQKD44455@freefall.freebsd.org>
References:  <200111171526.fAHFQKD44455@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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