From owner-freebsd-net Tue May 19 14:26:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA18742 for freebsd-net-outgoing; Tue, 19 May 1998 14:26:46 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id OAA18521 for ; Tue, 19 May 1998 14:26:00 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id VAA10394; Tue, 19 May 1998 21:42:28 +0200 From: Luigi Rizzo Message-Id: <199805191942.VAA10394@labinfo.iet.unipi.it> Subject: Re: struct ifnet handling... To: eivind@yes.no (Eivind Eklund) Date: Tue, 19 May 1998 21:42:28 +0200 (MET DST) Cc: kjc@csl.sony.co.jp, net@FreeBSD.ORG In-Reply-To: <19980519211917.64952@follo.net> from "Eivind Eklund" at May 19, 98 09:18:58 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Sure. This is a result of the initial implementation not being > chains-oriented. There are a lot of rules that we're certain but "chains" can be emulated with relative ease and efficiency using optimized SKIPTO instructions. Possibly we can have a 'switch' type of instruction to speed up initial selections basing on source/dst interface, or protocol types (small sets, in any case). I am a bit reluctant on using pre-defined chains. it looks too high level, and i cannot tell very well if the mechanism is too strict, useful or overkill. luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message