From: Werner Almesberger <wa@almesberger.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] [tcng] the difference ?!
Date: Tue, 04 Mar 2003 00:33:02 +0000 [thread overview]
Message-ID: <marc-lartc-104673847306164@msgid-missing> (raw)
In-Reply-To: <marc-lartc-104644648215992@msgid-missing>
Whoops, haven't checked LARTC in a while ...
raptor wrote:
> what is the difference between :
>
> police(....), bucket(...) and SLB(..)/DLB() and friends ?!
"police" refers to the policing component of the traffic control
subsystem in the kernel.
"bucket" (with the "conform" and "count" operators) is an
abstracted single bucket. If you actually use it, and you're
generating "tc" output, tcc will express its function in terms
of "police".
SLB, DLB, etc. are basically expressions that use buckets. Again,
tcc will (try to *) express them using "police", plus some
classification tricks.
(*) Buckets can be used for arbitrary constructs that exceed what
can be done with the policing mechanisms of kernel traffic
control. The "dictionary tcc uses is in tcc/if_u32.c:map
Think of it as "police" being a pocket calculator, "bucket" being
the basic arithmetic operations, and SLB, etc. being some common
formulas, like the compound interest formula. If presented with
such a formula, tcc will then know which buttons to press on the
pocket calculator.
- Werner
--
_________________________________________________________________________
/ Werner Almesberger, Buenos Aires, Argentina wa@almesberger.net /
/_http://www.almesberger.net/____________________________________________/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
prev parent reply other threads:[~2003-03-04 0:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-28 15:34 [LARTC] [tcng] the difference ?! raptor
2003-02-28 18:31 ` Stef Coene
2003-03-02 0:42 ` Jacob Teplitsky
2003-03-04 0:33 ` Werner Almesberger [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-104673847306164@msgid-missing \
--to=wa@almesberger.net \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.