Lines Matching refs:sopt
412 struct tc_gred_sopt *sopt;
419 sopt = nla_data(dps);
421 if (sopt->DPs > MAX_DPs) {
425 if (sopt->DPs == 0) {
430 if (sopt->def_DP >= sopt->DPs) {
434 if (sopt->flags && gred_per_vq_red_flags_used(table)) {
440 table->DPs = sopt->DPs;
441 table->def = sopt->def_DP;
442 red_flags_changed = table->red_flags != sopt->flags;
443 table->red_flags = sopt->flags;
452 if (sopt->grio) {
774 struct tc_gred_sopt sopt = {
787 if (nla_put(skb, TCA_GRED_DPS, sizeof(sopt), &sopt))