Displaying 6 results from an estimated 6 matches for "q_netem".
Did you mean:
netem
2004 Jul 29
1
error: structure has no member named `rate''
I want to take the functionality that I found sitting in
linux-2.6.8-rc2/net/sched/sch_netem.c for a test drive but I found
that the /sbin/tc that I have does not have the necessary knobs.
So I grabbed iproute2-2.6.X-ss040702.tar.gz and tried to build it,
but I got this:
q_netem.c: In function `netem_parse_opt'':
q_netem.c:90: error: structure has no member named `rate''
and indeed, there is no longer a .rate member of the struct tc_netem_qopt.
I did some web searching and the patch mentioned here seems to be
responsible for removing it:
http://l...
2004 Aug 31
1
netem usage example
I''m trying to setup a netem delay with no luck (using iproute2-2.6.8,
compilation broke during arpd compile, so I use the
tc binary in the tc/ subdir, there''s also a q_netem.so there).
kernel is 2.6.8.1, compile with CPU cycle counter as time reference.
I was using sch_delay of 2.6.7 happily with something like:
tc qdisc add dev eth0 root 1: delay latency 1ms rate 35M
now I use:
tc qdisc add dev eth0 root netem latency 1ms
and it complain about "unknown qdisc nete...
2005 Jul 04
0
Problem linking with libdb
..../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../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB -shared -fpic q_netem.c -o q_netem.so
make[1]: Leaving directory `/home/src/iproute2-ss050607/tc''
make[1]: Entering directory `/home/src/iproute2-ss050607/misc''
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o ss.o ss.c
bison ssfilter.y -o ssfilter.c
ssfilter.y:...
2006 Apr 16
9
how to do probabilistic packet loss in kernel?
Hi,
I am using iproute2 to setup fowarding, adding routes like "ip route add 192.168.1.3 via 192.168.1.2"
I was wondering where in the kernel I can insert probabilistic packet loss only for forwarded packets? So that for instance I can drop 5% of all forwarded packets?
I don''t need help with the actual code, just need help finding where to insert this code :)
Thanks!
George
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 Apr 11
10
created new q_disc, inserted module, tc tells me unknown qdisc
Hi,
I am trying to install a proprietary qdisc made for research, it is not publically released yet, however its been used several times so i know it works.
The files included are:
q_xcp.c:
static int xcp_parse_opt()
static int xcp_print_opt()
static int xcp_print_xstats()
struct qdisc_util xcp_util = { "NULL", "xcp" ..... };
sch_xcp.c:
static int