Lines Matching refs:opt
359 static int red_change(struct Qdisc *sch, struct rtattr *opt) in red_change() argument
365 if (opt == NULL || in red_change()
366 rtattr_parse(tb, TCA_RED_STAB, RTA_DATA(opt), RTA_PAYLOAD(opt)) || in red_change()
393 static int red_init(struct Qdisc* sch, struct rtattr *opt) in red_init() argument
399 if ((err = red_change(sch, opt)) != 0) { in red_init()
420 struct tc_red_qopt opt; in red_dump() local
424 opt.limit = q->limit; in red_dump()
425 opt.qth_min = q->qth_min>>q->Wlog; in red_dump()
426 opt.qth_max = q->qth_max>>q->Wlog; in red_dump()
427 opt.Wlog = q->Wlog; in red_dump()
428 opt.Plog = q->Plog; in red_dump()
429 opt.Scell_log = q->Scell_log; in red_dump()
430 opt.flags = q->flags; in red_dump()
431 RTA_PUT(skb, TCA_RED_PARMS, sizeof(opt), &opt); in red_dump()