Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jul 1998 02:45:07 -0700 (PDT)
From:      Julian Elischer <julian@whistle.com>
To:        Luigi Rizzo <luigi@labinfo.iet.unipi.it>
Cc:        Eivind Eklund <eivind@yes.no>, jkh@time.cdrom.com, net@FreeBSD.ORG
Subject:   Re: how about including dummynet in 2.2.7 ?
Message-ID:  <Pine.BSF.3.95.980703024046.5714P-100000@current1.whistle.com>
In-Reply-To: <199807030800.KAA13807@labinfo.iet.unipi.it>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.980703024046.5714P-100000>