Lines Matching refs:opts
45 struct tc_red_qopt *opts; in red_msg_parser() local
58 opts = nla_data(tb[TCA_RED_PARMS]); in red_msg_parser()
60 red->qr_limit = opts->limit; in red_msg_parser()
61 red->qr_qth_min = opts->qth_min; in red_msg_parser()
62 red->qr_qth_max = opts->qth_max; in red_msg_parser()
63 red->qr_flags = opts->flags; in red_msg_parser()
64 red->qr_wlog = opts->Wlog; in red_msg_parser()
65 red->qr_plog = opts->Plog; in red_msg_parser()
66 red->qr_scell_log = opts->Scell_log; in red_msg_parser()
113 memset(&opts, 0, sizeof(opts)); in red_msg_fill()
114 opts.quantum = sfq->qs_quantum; in red_msg_fill()
115 opts.perturb_period = sfq->qs_perturb; in red_msg_fill()
116 opts.limit = sfq->qs_limit; in red_msg_fill()
118 if (nlmsg_append(msg, &opts, sizeof(opts), NL_DONTPAD) < 0) in red_msg_fill()