Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Aug 2000 18:46:43 +0200
From:      Alain Thivillon <Alain.Thivillon@hsc.fr>
To:        "Andrey A. Chernov" <ache@freebsd.org>
Cc:        Peter Wemm <peter@netplex.com.au>, Robert Watson <rwatson@FreeBSD.org>, Kris Kennaway <kris@FreeBSD.org>, Darren Reed <darrenr@reed.wattle.id.au>, obrien@FreeBSD.org, darrenr@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: [spam score 3.31/10.0 -pobox] Re: cvs commit: src/sys/netinet ip_fil.c ip_fil.h ip_input.c ip_output.c ipprotosw.h src/sys/netin
Message-ID:  <20000801184643.O4209@yoko.hsc.fr>
In-Reply-To: <20000731205508.A21343@freebsd.org>; from ache@freebsd.org on Mon, Jul 31, 2000 at 08:55:09PM -0700
References:  <Pine.NEB.3.96L.1000731194943.66672A-100000@fledge.watson.org> <200008010345.UAA67951@netplex.com.au> <20000731205508.A21343@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
"Andrey A. Chernov" <ache@freebsd.org> écrivait (wrote) :

> On Mon, Jul 31, 2000 at 08:45:16PM -0700, Peter Wemm wrote:
> > > Sadly, LINT has gone away in -CURRENT, leaving many committers without an
> > > easy way to test compilability with various options.  I'm not sure what
> > > the best solution to this problem is, but it would be nice to have
> > > something.
> > 
> 
> In current situation I try to fix 'make depend' for kernel and modules 
> (without ipfilter), and only after my commits read this discussion with 
> Darren :-(.  Currently 'make depend' and kernel/modules building is fixed 
> (excepting ipfilter), but feel free to back out my commits if you prefer 
> another fix instead of mine.  The reason was I need kernel to build.

I try  currently to build a kernel with IP_FILTER. At this time, i have
3 problems:

	. Wrong number of parameters is passed to pfil_add_hook at line
          274 ip_fil.c. This is easy to fix dirty (i assume i can copy
          NetBSD code just below). Same for remove_hook at line 382.

	. Inclusion of IP_FILTER now needs options PFIL_HOOK otherwise
          the various hook functions are not linked in kernel.

	. fr_checkp is no more defined (he as been removed for ip_input), 
	  and kernel link fails.

Last minute:

I just found that most of these problems are caused by using
__FreeBSD_Version instead of __FreeBSD_version in ip_fil.c

 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000801184643.O4209>