Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Sep 2002 23:02:59 -0700
From:      Luigi Rizzo <>
To:        "Jacob S. Barrett" <>
Cc:        freebsd-ipfw@FreeBSD.ORG
Subject:   Re: MAC Layer Bandwidth Limiting
Message-ID:  <>
In-Reply-To: <>; from on Mon, Sep 16, 2002 at 10:49:16PM -0700
References:  <> <>

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.


To Unsubscribe: send mail to
with "unsubscribe freebsd-ipfw" in the body of the message

Want to link to this message? Use this URL: <>