From owner-freebsd-net Fri Jun 26 10:13:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA13160 for freebsd-net-outgoing; Fri, 26 Jun 1998 10:13:27 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from heron.doc.ic.ac.uk (QIR9ioBVavbFpvjn64N2K8izYrm5ZaUb@heron.doc.ic.ac.uk [146.169.46.3]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id KAA12980 for ; Fri, 26 Jun 1998 10:12:07 -0700 (PDT) (envelope-from njs3@doc.ic.ac.uk) Received: from oak74.doc.ic.ac.uk [146.169.46.74] ([CY/0IoQbBlzEssdi1ALafW1eXaYlEI4m]) by heron.doc.ic.ac.uk with smtp (Exim 1.62 #3) id 0ypc2W-0000KZ-00; Fri, 26 Jun 1998 18:11:56 +0100 Received: from njs3 by oak74.doc.ic.ac.uk with local (Exim 1.62 #3) id 0ypc2V-0006Wh-00; Fri, 26 Jun 1998 18:11:55 +0100 From: njs3@doc.ic.ac.uk (Niall Smart) Date: Fri, 26 Jun 1998 18:11:54 +0100 In-Reply-To: Bill Fenner "Re: Apparent bug in sendto() with raw sockets" (Jun 26, 9:58am) X-Mailer: Mail User's Shell (7.2.5 10/14/92) To: Bill Fenner , njs3@doc.ic.ac.uk Subject: Re: Apparent bug in sendto() with raw sockets Cc: freebsd-net@FreeBSD.ORG, julian@whistle.com, nate@almond.elite.net Message-Id: Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Jun 26, 9:58am, Bill Fenner wrote: } Subject: Re: Apparent bug in sendto() with raw sockets > >I'm not so sure [compatability is] so important in this case. > > As I said before, I'm worried about externally-written programs, > particularly about externally-written programs that are not distributed > with source (like pathchar). > > I'd also like to see a definitive way to tell which order the kernel is > expecting, so that externally-written programs that want to be portable > (like, for example, mrouted, mrinfo, mtrace, rsvpd, etc.) don't have to > use __FreeBSD_version. Well, then they would need to go #ifdef __FreeBSD to see if that interface was available =) The convention of using network byte order is sufficient imho niall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message