Date: Thu, 25 Jun 1998 10:18:57 -0700 (PDT) From: Julian Elischer <julian@whistle.com> To: Bill Fenner <fenner@parc.xerox.com> Cc: Nate Lawson <nate@almond.elite.net>, freebsd-bugs@FreeBSD.ORG, freebsd-net@FreeBSD.ORG Subject: Re: Apparent bug in sendto() with raw sockets Message-ID: <Pine.BSF.3.95.980625101801.21522C-100000@current1.whistle.com> In-Reply-To: <199806251643.JAA13888@mango.parc.xerox.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Why are we grtuiously different? I vaguely remember something about this a few years ago.. On Thu, 25 Jun 1998, Bill Fenner wrote: > Fill in the IP length field. You're writing what claims to be a zero-length > packet, and the kernel doesn't think that's a good idea. > > The IP length field (and the IP offset, if you ever fill that in) need > to be stored in host byte order, not network byte order. Linux and > OpenBSD want the fields in network byte order. > > Bill > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.980625101801.21522C-100000>