[LARTC] question on borrowed and landed counter

2003-07-08 Thread Joerg Hartmann
Hello, if i look at the following output of tc -s class show dev eth0 every class (except the root class) has a lended-counter 0. But no class has a borrowed-counter 0. As i have no other classes on this or any other interfaces, i would like to know who/what borrewed bandwith to this classes

[LARTC] tc and iptables --set-mark question

2003-07-03 Thread Joerg Hartmann
Hello, if i mark packets on my firewall with iptables and --set-mark (lets say .. with --set-mark 0x12 ..) can someone tell me, WHERE in the resulting ip packet this data is stored ? From the examples i have seen, it seems to me that the mark can be as big as one Byte - is this correct ? The

[LARTC] tc statistics

2003-07-02 Thread Joerg Hartmann
Hello, i have to write a script to visualize the output of tc -s class show dev eth0 with rrdtool. Or does anybody know of such a script , which is available for download ? I assume the bps in rate 5728bps 34pps is Byte per Second. Is that right ? How can i set all the counters back to zero ? I

[LARTC] can not use htb with kernel 2.4.21

2003-06-30 Thread Joerg Hartmann
Hello, i made a kernel 2.4.21 with HTB support directly compiled in (no module), but grep -i htb /proc/ksysms find's nothing. When i try tc qdisc add dev eth0 root handle 1: htb default 12 i get the error : RTNETLINK answers: Invalid argument I made a second version of this kernel with all