Displaying 2 results from an estimated 2 matches for "htb_print_opt".
2004 Jan 16
0
iproute2 source compiling problem
...9; previously defined here
q_htb.c:366: redefinition of `htb_parse_opt''
q_htb.c:60: `htb_parse_opt'' previously defined here
q_htb.c:406: redefinition of `htb_parse_class_opt''
q_htb.c:100: `htb_parse_class_opt'' previously defined here
q_htb.c:523: redefinition of `htb_print_opt''
q_htb.c:217: `htb_print_opt'' previously defined here
q_htb.c:578: redefinition of `htb_print_xstats''
q_htb.c:272: `htb_print_xstats'' previously defined here
q_htb.c:593: redefinition of `htb_util''
q_htb.c:287: `htb_util'' previously defined here...
2006 Jun 15
0
[PATCH 2/2] Runtime configuration of HTB''s HYSTERESIS option (userspace)
..._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 htb_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt)
{
- struct rtattr *tb[TCA_HTB_RTAB+1];
+ struct rtattr *tb[TCA_HTB_MAX+1];
struct tc_htb_opt *hopt;
+ struct tc_htb_hopt *uhopt;
struct tc_htb_glob *gopt;
double buffer,cbuffer;
SPRINT_BUF(b1);
@@ -238,7 +245,7 @@ static int htb_print_opt...