From owner-freebsd-current Fri Aug 23 14:15:43 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA13914 for current-outgoing; Fri, 23 Aug 1996 14:15:43 -0700 (PDT) Received: from mexico.brainstorm.eu.org (root@mexico.brainstorm.eu.org [193.56.58.253]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id OAA13904 for ; Fri, 23 Aug 1996 14:15:37 -0700 (PDT) Received: from brasil.brainstorm.eu.org (brasil.brainstorm.eu.org [193.56.58.33]) by mexico.brainstorm.eu.org (8.7.5/8.7.3) with ESMTP id XAA07056 for ; Fri, 23 Aug 1996 23:15:28 +0200 Received: (from uucp@localhost) by brasil.brainstorm.eu.org (8.6.12/8.6.12) with UUCP id XAA17676 for current@FreeBSD.org; Fri, 23 Aug 1996 23:14:37 +0200 Received: (from roberto@localhost) by keltia.freenix.fr (8.8.Alpha.7/keltia-uucp-2.9) id WAA11530; Fri, 23 Aug 1996 22:38:36 +0200 (MET DST) Message-Id: <199608232038.WAA11530@keltia.freenix.fr> Date: Fri, 23 Aug 1996 22:38:35 +0200 From: roberto@keltia.freenix.fr (Ollivier Robert) To: current@freebsd.org Subject: Re: cvs commit: src/sys/netinet in.h ip_fw.h ip_input.c ip_output.c In-Reply-To: <199608231648.JAA15997@base.jnx.com>; from Paul Traina on Aug 23, 1996 9:48:04 -0700 References: <199608231648.JAA15997@base.jnx.com> X-Mailer: Mutt 0.40 Mime-Version: 1.0 Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk According to Paul Traina: > Basicly, we make a linked list of hooks and call them in order until one of > them swallows the packet or they're all complete. > We do this for ip input processing, ip output processing, and perhaps as > suggested, in the IP raw input (packet received) processing section of > the code. > Then, if you want IP filtering, just add the hook to the generic "registry" Sound very interesting. Reminds me of the idea behind SVRn's STREAMs with the push-ing and pop-ing of modules. -- Ollivier ROBERT -=- The daemon is FREE! -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 2.2-CURRENT #18: Sun Aug 18 19:16:52 MET DST 1996