From owner-freebsd-net Fri Jul 3 02:49:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA24987 for freebsd-net-outgoing; Fri, 3 Jul 1998 02:49:28 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA24949 for ; Fri, 3 Jul 1998 02:49:22 -0700 (PDT) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id CAA20643; Fri, 3 Jul 1998 02:45:18 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpd020640; Fri Jul 3 09:45:10 1998 Date: Fri, 3 Jul 1998 02:45:07 -0700 (PDT) From: Julian Elischer To: Luigi Rizzo cc: Eivind Eklund , jkh@time.cdrom.com, net@FreeBSD.ORG Subject: Re: how about including dummynet in 2.2.7 ? In-Reply-To: <199807030800.KAA13807@labinfo.iet.unipi.it> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is the time to do this..... Peter Wemm is possibly going to add the transparent proxy stuff which blows the struct well over 1 mbuf anyhow. his patch also includes the "use a cluster" fix from -current" I think the field in the pkthdr isn't that importand an issue as the kernel will still be self consitant (except for denis's driver which ships as a .o (from memory)) As I said I'm in that code now.. I want to add the jump optimisations anyhow.. julian On Fri, 3 Jul 1998, Luigi Rizzo wrote: > > The only problem I can see with Luigi's changes is I believe that they > > will screw the ipfw interface again (right, Luigi?) > > depends on what you mean for 'screw up' ... > > Because i needed some space in the structure passed to the ipfw > socket, and this size was limited to one mbuf, I reduced the number > of ports for each rule to 8, and limited the interface name length > to 10 characters. > > The former will go back to 10 if this code has to go in 2.2.7, and > for the latter, does anyone have an interface name longer than 4-5 > chars anyways ? > > BTW in return for the shorter interface name you get constant-time > jumps in the firewall code, which allows you to build efficient > rulesets. > > As for the user interface it is fully backward compatible, i have > only *added* new commands. > > cheers > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message