Lines Matching refs:opts
58 struct tc_red_qopt *opts; in red_msg_parser() local
75 opts = nla_data(tb[TCA_RED_PARMS]); in red_msg_parser()
77 red->qr_limit = opts->limit; in red_msg_parser()
78 red->qr_qth_min = opts->qth_min; in red_msg_parser()
79 red->qr_qth_max = opts->qth_max; in red_msg_parser()
80 red->qr_flags = opts->flags; in red_msg_parser()
81 red->qr_wlog = opts->Wlog; in red_msg_parser()
82 red->qr_plog = opts->Plog; in red_msg_parser()
83 red->qr_scell_log = opts->Scell_log; in red_msg_parser()
133 memset(&opts, 0, sizeof(opts)); in red_get_opts()
134 opts.quantum = sfq->qs_quantum; in red_get_opts()
135 opts.perturb_period = sfq->qs_perturb; in red_get_opts()
136 opts.limit = sfq->qs_limit; in red_get_opts()
138 if (nlmsg_append(msg, &opts, sizeof(opts), NL_DONTPAD) < 0) in red_get_opts()