Date: Sat, 24 Aug 1996 10:34:55 +0930 (CST) From: Michael Smith <msmith@atrad.adelaide.edu.au> To: julian@whistle.com (Julian Elischer) Cc: terry@lambert.org, pst@jnx.com, sos@FreeBSD.org, rgrimes@GndRsh.aac.dev.com, archie@whistle.com, current@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet in.h ip_fw.h ip_input.c ip_output.c Message-ID: <199608240104.KAA24031@genesis.atrad.adelaide.edu.au> In-Reply-To: <321E04A8.4A7B7C1D@whistle.com> from "Julian Elischer" at Aug 23, 96 12:21:12 pm
next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer stands accused of saying:
>
> Terry Lambert wrote:
> >
> > > By not agressive enough, I mean I think you have the right idea, but the
> > > syntax
> > > for the hook should be something like:
> > >
> > > for (hook = iphooks.ipinput.lh_first; hook; hook = hook->next) {
> > > if (!(*hook)(IP_INPUT, &m, &ip))
> > > break;
> > > }
>
> how can you order them?
> say, I want encrypted NAT.. I need to do the NAT first, because NAT
> peaks inside the packets for hints on ftp transfers etc.
The objects on the list should be structures which contain identifiers for
the TOS provided by the filter; then you supply the insert routine with
a list of TOS' that you want to be before and after.
Usual stuff, as pst suggested.
> julian
--
]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[
]] Genesis Software genesis@atrad.adelaide.edu.au [[
]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[
]] realtime instrument control (ph/fax) +61-8-267-3039 [[
]] Collector of old Unix hardware. "Where are your PEZ?" The Tick [[
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608240104.KAA24031>
