Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Sep 2002 23:02:59 -0700
From:      Luigi Rizzo <rizzo@icir.org>
To:        "Jacob S. Barrett" <jbarrett@amduat.net>
Cc:        freebsd-ipfw@FreeBSD.ORG
Subject:   Re: MAC Layer Bandwidth Limiting
Message-ID:  <20020916230259.A51851@iguana.icir.org>
In-Reply-To: <3D86C25C.50104@amduat.net>; from jbarrett@amduat.net on Mon, Sep 16, 2002 at 10:49:16PM -0700
References:  <3D864865.2030607@amduat.net> <3D86C25C.50104@amduat.net>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Mon, Sep 16, 2002 at 10:49:16PM -0700, Jacob S. Barrett wrote:
...
> It would be nice to be able to specify a MAC mask on the pipes so I 
> don't have to create 2 for each client.

yes... in fact, the implementation of masks should be slightly revised
so one can use more or less arbitrary fields instead of just the
ip addresses. Next feature i guess...

> Also, digging through the source reveals no way to get and zero the 
> counts in an atomic fashion.  That would be a really nice feature to 

this is close to impossible to get right, because the success of reading
the counts depends on the size of the buffer passed to the getsockopt().
Given that one can compute the deltas in userland, i think 
the feature is not very useful anyways.

	cheers
	luigi

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ipfw" in the body of the message




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20020916230259.A51851>