Home | History | Annotate | Download | only in sch

Lines Matching full:opts

69 	struct tc_netem_qopt *opts;
71 if (qdisc->q_opts->d_size < sizeof(*opts))
78 opts = (struct tc_netem_qopt *) qdisc->q_opts->d_data;
79 netem->qnm_latency = opts->latency;
80 netem->qnm_limit = opts->limit;
81 netem->qnm_loss = opts->loss;
82 netem->qnm_gap = opts->gap;
83 netem->qnm_duplicate = opts->duplicate;
84 netem->qnm_jitter = opts->jitter;
90 len = qdisc->q_opts->d_size - sizeof(*opts);
96 (qdisc->q_opts->d_data + sizeof(*opts)),
174 struct tc_netem_qopt opts;
183 memset(&opts, 0, sizeof(opts));
252 opts.latency = netem->qnm_latency;
253 opts.limit = netem->qnm_limit ? netem->qnm_limit : 1000;
254 opts.loss = netem->qnm_loss;
255 opts.gap = netem->qnm_gap;
256 opts.duplicate = netem->qnm_duplicate;
257 opts.jitter = netem->qnm_jitter;
259 NLA_PUT(msg, TCA_OPTIONS, sizeof(opts), &opts);