Lines Matching refs:opts
58 struct tc_sfq_qopt *opts; in sfq_msg_parser() local
63 if (qdisc->q_opts->d_size < sizeof(*opts)) in sfq_msg_parser()
70 opts = (struct tc_sfq_qopt *) qdisc->q_opts->d_data; in sfq_msg_parser()
72 sfq->qs_quantum = opts->quantum; in sfq_msg_parser()
73 sfq->qs_perturb = opts->perturb_period; in sfq_msg_parser()
74 sfq->qs_limit = opts->limit; in sfq_msg_parser()
75 sfq->qs_divisor = opts->divisor; in sfq_msg_parser()
76 sfq->qs_flows = opts->flows; in sfq_msg_parser()
111 struct tc_sfq_qopt opts; in sfq_get_opts() local
122 memset(&opts, 0, sizeof(opts)); in sfq_get_opts()
123 opts.quantum = sfq->qs_quantum; in sfq_get_opts()
124 opts.perturb_period = sfq->qs_perturb; in sfq_get_opts()
125 opts.limit = sfq->qs_limit; in sfq_get_opts()
127 if (nlmsg_append(msg, &opts, sizeof(opts), NL_DONTPAD) < 0) in sfq_get_opts()