From owner-freebsd-hackers Sat Oct 18 22:50:40 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA23355 for hackers-outgoing; Sat, 18 Oct 1997 22:50:40 -0700 (PDT) (envelope-from owner-freebsd-hackers) Received: from plum.cyber.com.au (plum.cyber.com.au [203.7.155.24]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id WAA23350 for ; Sat, 18 Oct 1997 22:50:35 -0700 (PDT) (envelope-from darrenr@cyber.com.au) Received: (from darrenr@localhost) by plum.cyber.com.au (8.6.12/8.6.6) id PAA19458; Sun, 19 Oct 1997 15:45:31 +1000 From: Darren Reed Message-Id: <199710190545.PAA19458@plum.cyber.com.au> Subject: Re: Freebsd 3.0 current fails ipfilter 3.2b8 build (fwd) To: tlambert@primenet.com (Terry Lambert) Date: Sun, 19 Oct 1997 15:45:30 +1000 (EST) Cc: julian@whistle.com, hackers@FreeBSD.ORG In-Reply-To: <199710180202.TAA16519@usr06.primenet.com> from "Terry Lambert" at Oct 18, 97 02:02:53 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In some mail I received from Terry Lambert, sie wrote > > > > I think that's because they are needed externally. > > > the flags word is passed around independantly of the > > > ifnet. (e.g. through the API) > > > > okay, this is the second time you're referred to the API. > > > > Where can it be found ? Who is responsible for it ? > > W. Richard Stevens. > > If the code isn't portable to Linux, SVR4, and Solaris without > compile time switches, why write it? Well, prior to these changes to FreeBSD, it was portable between *BSD/SunOS4/Solaris2 without any compile time switches - not sure about Linux. Why ? Because up until recently, all would give you "struct ifnet" if you included net/if.h. So there you have it. This makes it harder to port code to FreeBSD. Or, from the other angle, FreeBSD code is less portable. Isn't that just wonderful ? *spew* Darren