Displaying 4 results from an estimated 4 matches for "addattr_l".
Did you mean:
addattr
2006 Jun 15
0
[PATCH 2/2] Runtime configuration of HTB''s HYSTERESIS option (userspace)
...("mpu"); return -1;
}
+ } else if (matches(*argv, "nohyst") == 0) {
+ hopt.nohyst = 1;
} else if (matches(*argv, "overhead") == 0) {
NEXT_ARG();
if (get_s8(&overhead, *argv, 10)) {
@@ -221,14 +226,16 @@ static int htb_parse_class_opt(struct qd
addattr_l(n, 2024, TCA_HTB_PARMS, &opt, sizeof(opt));
addattr_l(n, 3024, TCA_HTB_RTAB, rtab, 1024);
addattr_l(n, 4024, TCA_HTB_CTAB, ctab, 1024);
+ addattr_l(n, 5024, TCA_HTB_NOHYST, &hopt, sizeof(hopt));
tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail;
return 0;
}
static int ht...
2003 Sep 12
1
TCNG building problems...help
...arison between signed and unsigned
libnetlink.c: In function `rtnl_from_file'':
libnetlink.c:394: warning: comparison between signed and unsigned
libnetlink.c: In function `addattr32'':
libnetlink.c:421: warning: comparison between signed and unsigned
libnetlink.c: In function `addattr_l'':
libnetlink.c:436: warning: comparison between signed and unsigned
make[3]: *** [libnetlink.o] Error 1
make[3]: Leaving directory
`/home/joolia/tcnge/tcng/tcsim/ulib/iproute2/lib''
make[2]: *** [iproute2/lib/libnetlink.a] Error 2
make[2]: Leaving directory `/home/joolia/tcnge...
2005 Mar 20
3
Adding dsmark qdisc fails
I''m trying to configure dsmark qdisc on 2.6.11.4 user mode linux and
tc from iproute2-2.6.11-050314.
I think I have some mismatch in my setup since adding dsmark qdisc
fails *unless* I specify "set_tc_index" argument which I believe should
be optional:
# tc qdisc add dev eth1 handle 1:0 root dsmark indices 8
RTNETLINK answers: Invalid argument
Mar 20 13:00:50 user user.debug
2005 Jan 04
11
ESFQ?
Hi again,
I was just looking around for ESFQ sources, and I see that the main site
is down, and only has kernel 2.6.4 patches.
Is ESFQ maintained? If so, where can I find patches for 2.6.10?
Thanks,
-justin
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/