From owner-freebsd-current Fri Aug 23 12:26:43 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA28772 for current-outgoing; Fri, 23 Aug 1996 12:26:43 -0700 (PDT) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id MAA28766; Fri, 23 Aug 1996 12:26:41 -0700 (PDT) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by who.cdrom.com (8.7.5/8.6.11) with ESMTP id MAA19480 ; Fri, 23 Aug 1996 12:26:38 -0700 (PDT) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id MAA05296; Fri, 23 Aug 1996 12:22:23 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) by whistle.com via smap (V1.3) id sma005294; Fri Aug 23 12:22:09 1996 Message-ID: <321E04A8.4A7B7C1D@whistle.com> Date: Fri, 23 Aug 1996 12:21:12 -0700 From: Julian Elischer Organization: Whistle Communications X-Mailer: Mozilla 3.0b6 (X11; I; FreeBSD 2.2-CURRENT i386) MIME-Version: 1.0 To: Terry Lambert CC: Paul Traina , 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 References: <199608231714.KAA16063@phaeton.artisoft.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk 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. julian