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@xxxxxxxxxxxxxxx / /_http://www.almesberger.net/____________________________________________/