From owner-freebsd-current Fri Aug 23 12:23:44 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA28600 for current-outgoing; Fri, 23 Aug 1996 12:23:44 -0700 (PDT) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id MAA28579; Fri, 23 Aug 1996 12:23:36 -0700 (PDT) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id MAA05283; Fri, 23 Aug 1996 12:19:53 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) by whistle.com via smap (V1.3) id sma005281; Fri Aug 23 12:19:52 1996 Message-ID: <321E041F.61133CF4@whistle.com> Date: Fri, 23 Aug 1996 12:18:55 -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; > > } Looks almost identical to the callout lists I just added to exit, fork and shutdown :)