* [LARTC] [tcng] the difference ?!
@ 2003-02-28 15:34 raptor
2003-02-28 18:31 ` Stef Coene
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: raptor @ 2003-02-28 15:34 UTC (permalink / raw)
To: lartc
what is the difference between :
police(....), bucket(...) and SLB(..)/DLB() and friends ?!
thanx
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] [tcng] the difference ?!
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
2 siblings, 0 replies; 4+ messages in thread
From: Stef Coene @ 2003-02-28 18:31 UTC (permalink / raw)
To: lartc
On Friday 28 February 2003 23:40, raptor wrote:
> what is the difference between :
>
> police(....), bucket(...) and SLB(..)/DLB() and friends ?!
Can you be more specific?
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] [tcng] the difference ?!
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
2 siblings, 0 replies; 4+ messages in thread
From: Jacob Teplitsky @ 2003-03-02 0:42 UTC (permalink / raw)
To: lartc
>
> Message: 6
> Date: Fri, 28 Feb 2003 17:40:43 -0500
> From: raptor <raptor@tvskat.net>
> To: lartc@mailman.ds9a.nl
> Subject: [LARTC] [tcng] the difference ?!
>
> what is the difference between :
>
> police(....), bucket(...) and SLB(..)/DLB() and friends ?!
Check
tcng/lib/tcng/include/meters.tc
- Jacob
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] [tcng] the difference ?!
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
2 siblings, 0 replies; 4+ messages in thread
From: Werner Almesberger @ 2003-03-04 0:33 UTC (permalink / raw)
To: lartc
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/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-03-04 0:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.