Re: was tcng error; now found bug in tcc

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi werner,

thanks very much -- i've got it now!

btw, tcng is just great -- simply marvelous!

cheers

charles


On Thu, 2003-11-27 at 20:06, Werner Almesberger wrote:
> lartc@xxxxxxxxxxxxxxxxxxx wrote:
> > have i missed something, or indeed there is a problem??
> 
> No, all this should be correct - in "tc", "bps" means Bytes per
> second. And in tcng, rates and packets use the multiplier 1000,
> while bit and byte sizes use the multiplier 1024. This just
> follows what is the most common use for the respective unit.
> 
> If you don't like the 1000 multiplier, you can just
> 
> #define bps b/1s
> #define kbps kb/1s
> #define Mbps Mb/1s
> #define Gbps Gb/1s
> #define Bps B/1s
> #define kBps kB/1s
> #define MBps MB/1s
> #define GBps GB/1s
> 
> - Werner

_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux