From owner-freebsd-net Sat May 2 08:34:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA08329 for freebsd-net-outgoing; Sat, 2 May 1998 08:34:14 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from frmug.org (frmug-gw.frmug.org [193.56.58.252]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA08164 for ; Sat, 2 May 1998 08:33:58 -0700 (PDT) (envelope-from pb@fasterix.frmug.org) Received: (from uucp@localhost) by frmug.org (8.9.0.Beta7/frmug-2.3/nospam) with UUCP id RAA27428; Sat, 2 May 1998 17:33:26 +0200 (CEST) (envelope-from pb@fasterix.frmug.org) Received: (from pb@localhost) by fasterix.frmug.org (8.8.8/8.8.5/pb-19970302) id MAA19426; Sat, 2 May 1998 12:35:37 +0200 (CEST) Message-ID: <19980502123537.A324@fasterix.frmug.fr.net> Date: Sat, 2 May 1998 12:35:37 +0200 From: Pierre Beyssac To: Chris Csanady , dg@root.com Cc: freebsd-net@FreeBSD.ORG Subject: Re: Fwd: NetBSD network code improvements References: <199805012330.QAA11741@implode.root.com> <199805020605.BAA04820@friley585.res.iastate.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.92.2 In-Reply-To: <199805020605.BAA04820@friley585.res.iastate.edu>; from Chris Csanady on Sat, May 02, 1998 at 01:05:07AM -0500 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, May 02, 1998 at 01:05:07AM -0500, Chris Csanady wrote: > Looking through NetBSD's ip_input(), they also seem to have generic hooks > for packet filter type things. Perhaps these are worth looking at as well. > The code is ifdef'd by PFIL_HOOKS. Yes, their version of ip_fil.c uses this to get packets (it's in FreeBSD-current code too, surrounded by #ifdef NETBSD_PF). Maybe we could use it both for IPFW/IPDIVERT and IPFILTER, it could save use the multiple custom hooks we currently have for each one of them. -- Pierre Beyssac pb@fasterix.frmug.org pb@fasterix.freenix.org {Free,Net,Open}BSD, Linux : il y a moins bien, mais c'est plus cher Free domains: http://www.eu.org/ or mail dns-manager@EU.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message