Lines Matching refs:sopt
405 struct tc_gred_sopt *sopt;
412 sopt = nla_data(dps);
414 if (sopt->DPs > MAX_DPs) {
418 if (sopt->DPs == 0) {
423 if (sopt->def_DP >= sopt->DPs) {
427 if (sopt->flags && gred_per_vq_red_flags_used(table)) {
433 table->DPs = sopt->DPs;
434 table->def = sopt->def_DP;
435 red_flags_changed = table->red_flags != sopt->flags;
436 table->red_flags = sopt->flags;
445 if (sopt->grio) {
763 struct tc_gred_sopt sopt = {
776 if (nla_put(skb, TCA_GRED_DPS, sizeof(sopt), &sopt))