search for: q_htb

Displaying 9 results from an estimated 9 matches for "q_htb".

Did you mean: htb
2004 Jan 16
0
iproute2 source compiling problem
Hello ! Have anyone got an iproute2 source with HTB which I can compile with the includes of kernel 2.4.21 or higher. I had one but I get the following error msgs: q_htb.c:338: redefinition of `explain'' q_htb.c:32: `explain'' previously defined here q_htb.c:357: redefinition of `explain1'' q_htb.c:51: `explain1'' previously defined here q_htb.c:366: redefinition of `htb_parse_opt'' q_htb.c:60: `htb_parse_opt'' previo...
2005 Feb 02
4
Issue with using using tc api
Hi , I''m trying to call the tc_qdisc_modify function of tc in iproute2/tc. I could compile it with my stub program and got the executable. However, when i try to create an htb qdisc i get the following error : Unknown qdisc "htb", hence option "default" is unparsable However, if i use the tc tool, it works fine.. When I tried to understand the problem, it appeared to
2006 Jun 15
0
[PATCH 2/2] Runtime configuration of HTB''s HYSTERESIS option (userspace)
..._HTB_PROTOVER 3 /* the same as HTB and TC''s major */ +struct tc_htb_hopt +{ + __u32 nohyst; +}; struct tc_htb_opt { struct tc_ratespec rate; @@ -259,6 +263,7 @@ enum TCA_HTB_INIT, TCA_HTB_CTAB, TCA_HTB_RTAB, + TCA_HTB_NOHYST, __TCA_HTB_MAX, }; diff -Nurp iproute2.orig/tc/q_htb.c iproute2/tc/q_htb.c --- iproute2.orig/tc/q_htb.c 2006-06-13 11:53:27.000000000 +1000 +++ iproute2/tc/q_htb.c 2006-06-13 11:54:50.000000000 +1000 @@ -35,7 +35,7 @@ static void explain(void) " r2q DRR quantums are computed as rate in Bps/r2q {10}\n" " debug string of 16...
2004 Aug 22
4
Question about htb class
...them. So, I thought that I might ask the wizards. It''s mainly from the source code. 1. What is the cell_log ? (its everywhere in the code) 2. Why does htb calculate its burst(buffer) with tc_xmit_time() ? Is opt.rate.buffer supposed to have the time it takes to transmit the packet ? (in q_htb.c around 223 lines) 3. What does rtab and ctab arrays do ? And what kind of value should be in there ? (its set in tc_core.c tc_calc_rtable()) I''d really appreciate your help. Thankyou very much in advance. Eme -- Eme _______________________________________________ LARTC mailing list...
2004 Jan 04
2
Ingress with WonderShaper
...ff: ingress RTNETLINK answers: Invalid argument Now, the standard solution I''ve seen is "get a newer tc", and one report [1] said that Debian''s unstable one worked fine... so I backported it to woody, but had exactly the same problem :/ I even saw the q_ingress.c and q_htb.c files being compiled OK during the ''debian/rules binary-arch'' procedure so the code must be in the tc binary. If I mis-type ''ingress'', then the error changes to "RTNETLINK answers: No such file or directory" so it must be seeing /something/ ... An...
2002 Oct 20
4
Problems patching kernel 2.4.19-r9
...source tree, and that has made me hesitate to alternatively substitute the native /usr/sbin/tc for the binary supplied with the patch materials. I''m running kernel 2.4.19-r9, and when I run xingu:/usr/src/linux #patch -p1 --dry-run < ../htb3.6.tc.diff the result is: patching file tc/q_htb.c can''t find file to patch at input line 312 Perhaps you used the wrong -p or --strip option? The text leading up to this was: ------------------ |--- iproute2/tc/Makefile Tue Jul 6 1999 |+++ iproute2new/tc/Makefile Thu May 9 2002 ------------------ File to patch: Does anyone know wh...
2006 Mar 02
33
Patch to allow for the ATM "cell tax"
...Eg, if you are controlling incoming traffic on a 512k/128k link, you specify the link speed as 512000bps. For those of you running Debian sarge or unstable, you can find a patched version of tc here: http://www.stuart.id.au/russell/files/debian/sarge/iproute diff -Nur iproute-20051007.keep/tc/q_htb.c iproute-20051007/tc/q_htb.c --- iproute-20051007.keep/tc/q_htb.c 2006-03-02 14:50:51.000000000 +1000 +++ iproute-20051007/tc/q_htb.c 2006-03-02 15:50:31.000000000 +1000 @@ -349,6 +349,7 @@ " burst max bytes burst which can be accumulated during idle period {computed}\n" "...
2005 Jul 04
0
Problem linking with libdb
...FIG_GACT -DCONFIG_GACT_PROB -c -o p_udp.o p_udp.c gcc -Wl,-export-dynamic tc.o tc_qdisc.o tc_class.o tc_filter.o tc_util.o m_police.o m_estimator.o m_action.o q_fifo.o q_sfq.o q_red.o q_prio.o q_tbf.o q_cbq.o f_rsvp.o f_u32.o f_route.o f_fw.o q_dsmark.o q_gred.o f_tcindex.o q_ingress.o q_hfsc.o q_htb.o m_gact.o m_mirred.o m_ipt.o m_pedit.o p_ip.o p_icmp.o p_tcp.o p_udp.o ../lib/libnetlink.a ../lib/libutil.a tc_core.o tc_red.o tc_cbq.o tc_estimator.o -lresolv -L../lib -lnetlink -lutil -L/usr/local/BerkeleyDB.4.2/lib -L. -ltc -lm -ldl -o tc gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../i...
2004 Nov 18
5
burst question
This is one of my test classes: class htb 1:10 parent 1:1 prio 0 quantum 2048 rate 160Kbit ceil 400Kbit burst 1803b/8 mpu 0b cburst 2111b/8 mpu 0b level 0 Q1: where does "level 0" stand for? Q2: where does this b/8 stand for? Q3: this is on a i386 platform, so timer resolution should be 10mS. According to the doc the minimal burst should be 10mS*160Kbit=1600. Why is it 1803? Q4: I