From owner-freebsd-bugs Sun Oct 20 12:56:38 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA11005 for bugs-outgoing; Sun, 20 Oct 1996 12:56:38 -0700 (PDT) Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id MAA10988; Sun, 20 Oct 1996 12:56:34 -0700 (PDT) Received: from crevenia.parc.xerox.com ([13.2.116.11]) by alpha.xerox.com with SMTP id <23522(3)>; Sun, 20 Oct 1996 12:55:57 PDT Received: from localhost by crevenia.parc.xerox.com with SMTP id <177480>; Sun, 20 Oct 1996 12:17:36 -0700 To: "Kurt J. Lidl" cc: freebsd-arch@freebsd.org, tech-net@netbsd.org, freebsd-bugs@freebsd.org, netbsd-bugs@netbsd.org Subject: Re: proposed kernel change for IP_HDRINCL In-reply-to: Your message of "Fri, 18 Oct 96 13:22:30 PDT." Date: Sun, 20 Oct 1996 12:17:26 PDT From: Bill Fenner Message-Id: <96Oct20.121736pdt.177480@crevenia.parc.xerox.com> Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message you write: >Currently, when using setsockopt() with the IP_HDRINCL flag, most >fields of the IP header are passed into the kernel in network byte >order, except for the ip_off and ip_len fields. I think that there should be a standard macro defined in that says whether or not this change is in the kernel, so that people don't have to send themselves a packet to see whether the kernel byte swaps or not. Do you have any desire to do anything about raw_input as well? Various fields are messed with on the way in, too. Bill