From owner-freebsd-net Wed May 20 07:17:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA09119 for freebsd-net-outgoing; Wed, 20 May 1998 07:17:46 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA09110 for ; Wed, 20 May 1998 07:17:41 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.8.8/8.8.8) id KAA25017; Wed, 20 May 1998 10:16:36 -0400 (EDT) (envelope-from wollman) Date: Wed, 20 May 1998 10:16:36 -0400 (EDT) From: Garrett Wollman Message-Id: <199805201416.KAA25017@khavrinen.lcs.mit.edu> To: Luigi Rizzo Cc: eivind@yes.no (Eivind Eklund), kjc@csl.sony.co.jp, net@FreeBSD.ORG Subject: Re: struct ifnet handling... In-Reply-To: <199805191356.PAA09388@labinfo.iet.unipi.it> References: <19980519172127.08361@follo.net> <199805191356.PAA09388@labinfo.iet.unipi.it> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org < said: > One thing i was thinking is to see rules as instructions, and each rule > does only ONE test (be it on addresses, ports, etc.) This way you can > quickly switch to the right piece of code, and avoid testing the flags > 16 times on each rule to see which tests to apply and which one not. Please go look at . -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message