search for: cls_tcindex

Displaying 5 results from an estimated 5 matches for "cls_tcindex".

2003 Jan 15
5
HTB. QoS and Shorewall
Group, I am reading about tc (traffic control) and willing to get my feet wet. As requirement, there should be HTB compiled in the kernel. I grabbed a Mandrake 8.2 distro, and didn''t installed the kernel source. Anyone knows if the HTB is compiled in Mandrake 8.2, or point a way to find that out? I tried to read the /usr/src/kernel.xxxxx/.config file, but it doesn''t exists.
2007 Apr 01
1
Problem setting shift value in tcindex filter on big endian machine
...filters afterwards. The very same rules work fine on my (little endian) PC. Looking at the code (iproute2-2.6.18-061002) I found that tc (in tc/f_tcindex.c, line 72 and after) sends the shift value to the kernel as an int. The kernel, however, expects it as a ''u16'' (net/sched/cls_tcindex.c, around line 250 depending on the exact kernel version). I checked 2.6 kernel versions back until 2.6.11. So... do we have a type mismatch here? As ''shift'' is the last parameter in the buffer, this works still very well on a little endian machine, however on a big endian mac...
2004 Nov 24
8
tc and iptables trouble
...ze Used by ebt_mark_m 1096 - ebt_mark 1096 - ebtables 17768 - ipt_mark 1128 - sch_wrr 11176 - sch_teql 4168 - sch_dsmark 5224 - cls_route 4936 - ipt_tcpmss 1640 - cls_tcindex 5256 - cls_u32 5772 - sch_ingress 2604 - ipt_TCPMSS 3208 - iptable_filter 1864 - ipt_MARK 1512 - cls_fw 3208 - iptable_mangle 1832 - ppp_async 7816 - crc_ccitt...
2005 Jun 01
2
TC Filtering Problems
...e bridged. The TEST Client is located on the eth0 Device of the Packetshaper. Kernel Module: (lsmod) Module Size Used by mirred 7744 0 sch_dsmark 7424 0 police 10976 0 pedit 7648 0 gact 7008 0 cls_rsvp 7424 0 cls_route 7808 0 sch_prio 5888 0 ipt_state 2048 0 ipt 8288 0 sch_htb 18816 0 cls_tcindex 8192 0 cls_u32 9220 0 cls_fw 5504 0 TC Config (a htb Qdisc): for d in eth0 eth1; do tc qdisc add dev $d root handle 1:0 htb default 12 tc class add dev $d parent 1:2 classid 1:2 htb rate 8096mbit tc class add dev $d parent 1:2 classid 1:10 htb rate 64kbit ceil 64kbit prio 0 tc class add dev...
2002 May 27
4
htb3 with imq
...! [root@cab1 root]# modprobe imq numdevs=1 modprobe: Can''t locate module imq [root@cab1 root]# [root@cab1 root]# tc qdisc add dev imq0 handle 1: root htb default 1 Cannot find device "imq0" [root@cab1 root]# [root@cab1 root]# ls /lib/modules/2.4.18/kernel/net/sched/ cls_fw.o cls_tcindex.o sch_csz.o sch_htb.o sch_red.o sch_teql.o cls_route.o cls_u32.o sch_dsmark.o sch_ingress.o sch_sfq.o cls_rsvp.o sch_cbq.o sch_gred.o sch_prio.o sch_tbf.o [root@cab1 root]# [root@cab1 root]# ls /lib/modules/2.4.18/kernel/net/ipv4/netfilter/ ip_conntrack_egg.o...