similar to: questions about HTB code

Displaying 8 results from an estimated 8 matches similar to: "questions about HTB code"

2006 Aug 02
10
[PATCH 0/6] htb: cleanup
The HTB scheduler code is a mess, this patch set does some basic house cleaning. The first four should cause no code change, but the last two need more testing. -- Stephen Hemminger <shemminger@osdl.org> "And in the Packet there writ down that doome" - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to
2003 Jul 10
1
How to let one node superior?
Hello all, This is a newbie question and it is very simple. In my local network of 10M bandwidth. I'd like to allow my PC to have a 9M bandwidth. While all the other PCs share the rest 1M bandwidth. Suppose my pc 192.168.3.2 gateway 192.168.3.1. Then, how could I set it in my gateway linux box? I think I should use tbf. Maybe, I need a cbq, but how to do it? The tc does not surport !
2002 Oct 01
0
will any one do me a favor to answer the question about tc_index value ?
hi all i am a new commer of linux community. i want to how does skb->tcindex value change exactly. it confused me indeed. i have a script reads: (1) tc qdisc add dev eth0 root handle 1:0 dsmark indices 64 default_index 0x161 set_tc_index (2) tc filter add dev eth0 parent 1:0 protocol all prio 1 tcindex mask 0xfc shift 2 pass_on (3) tc filter add dev eth0 parent 1:0 prio 1 handle 0x0a
2003 Jul 18
10
[HTB] htb_dequeue_tree assertion (kernel 2.4.21-ac4)
Hello, I think the BUG_TRAP() in the htb_dequeue_tree() is wrong. First it checks if the class pointer "cl" is NULL, which is obviously right. But I do not understand why we also check whenever the queue length of the leaf queue is zero "cl->un.leaf.q->q.qlen". I would have put that in the expression of the "if" statements that comes afterwards. A queue
2004 Jun 18
1
Help:how to generate different packets?souce code explanation?
Hi,All I setup traffic control configuration with HTB this way: 1: root HTB qdisc | 1:1 HTB class rate 1024kbit | /-----+-----+-----+------+-----\ 1:10 1:20 1:30 1:40 1:50 1:60 EF AF41 AF31 AF21 AF11 BE and alloct different bandwidth to these PHBs(queues).So which tool would I use to generate these packets at the same to for
2002 May 16
0
what''s the meaning of this "struct qdisc_rate_table"
LARTC,hello! As title, and I want to know its member's purpose: struct tc_ratespec { unsigned char cell_log; unsigned char __reserved; unsigned short feature; short addend; unsigned short mpu; __u32 rate; }; who can help me? Thanks!    best regards!               Huang Xin Gang               hxgang@csnet4.cs.tsinghua.edu.cn                  2002-05-16
2002 May 14
1
what''s the meaning of xchg()?
lartc-request,hello!    I find a line in tbf_change() in sch_tbf.c: ptab = xchg(&q->P_tab, ptab); Can I consider that the pointers are exchanged between q->P_tab and ptab? as following: prev=q->R_tab; q->R_tab = rtab; rtab = prev; Is my understanding righ? ======= 2002-03-23 12:01:00 you wrote:======= >Send LARTC mailing list
2009 May 06
0
problems in h323 channels
Hi, all! when my h323 phone dial in Asterisk system, i can hear nothing. and the following is the log slice i picked from /var/log/asterisk/full. ps: i am using red hat AS5 kernel 2.6.18-53.el5,Asterisk-1.4.24.1, pwlib_v1_11_0, openh323_v1_19_0_1. Best Regards! 81948 [May 6 10:07:34] VERBOSE[11579] logger.c: -- Remote UNIX connection 81949 [May 6 10:07:51] VERBOSE[29627] logger.c: