From owner-freebsd-bugs Thu Jun 25 11:41:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA00675 for freebsd-bugs-outgoing; Thu, 25 Jun 1998 11:41:48 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from alpha.xerox.com (omega.Xerox.COM [13.1.64.95]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id LAA00652; Thu, 25 Jun 1998 11:41:34 -0700 (PDT) (envelope-from fenner@parc.xerox.com) Received: from mango.parc.xerox.com ([13.1.102.232]) by alpha.xerox.com with SMTP id <40733(1)>; Thu, 25 Jun 1998 11:41:00 PDT Received: from mango.parc.xerox.com (localhost [127.0.0.1]) by mango.parc.xerox.com (8.8.8/8.8.8) with ESMTP id LAA14290; Thu, 25 Jun 1998 11:40:54 -0700 (PDT) (envelope-from fenner@mango.parc.xerox.com) Message-Id: <199806251840.LAA14290@mango.parc.xerox.com> To: Julian Elischer cc: Bill Fenner , Nate Lawson , freebsd-bugs@FreeBSD.ORG, freebsd-net@FreeBSD.ORG Subject: Re: Apparent bug in sendto() with raw sockets In-reply-to: Your message of "Thu, 25 Jun 1998 10:18:57 PDT." Date: Thu, 25 Jun 1998 11:40:54 PDT From: Bill Fenner Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message you w rite: >Why are we ... different? Because the original implementation of raw sockets (the patches included with LBL's traceroute) simply exposed ip_output()'s interface, which requires length and offset in host order. AFAIK, this original implementation happened on suns, which is why nobody noticed at the time. We are compatible with this original implementation. OpenBSD and Linux chose to change the semantics to the ones that are less surprising but not backwards compatible. Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message