Lines Matching refs:dscp
39 dscp_t dscp; member
54 if (r->dst_len || r->src_len || r->dscp) in fib4_rule_matchall()
195 if (r->dscp_full && r->dscp != inet_dsfield_to_dscp(fl4->flowi4_tos)) in fib4_rule_match()
197 else if (!r->dscp_full && r->dscp && in fib4_rule_match()
198 !fib_dscp_masked_match(r->dscp, fl4)) in fib4_rule_match()
232 if (rule4->dscp) { in fib4_nl2rule_dscp()
237 rule4->dscp = inet_dsfield_to_dscp(nla_get_u8(nla) << 2); in fib4_nl2rule_dscp()
262 rule4->dscp = inet_dsfield_to_dscp(frh->tos); in fib4_rule_configure()
352 inet_dscp_to_dsfield(rule4->dscp) != frh->tos)) in fib4_rule_compare()
356 dscp_t dscp; in fib4_rule_compare() local
358 dscp = inet_dsfield_to_dscp(nla_get_u8(tb[FRA_DSCP]) << 2); in fib4_rule_compare()
359 if (!rule4->dscp_full || rule4->dscp != dscp) in fib4_rule_compare()
388 inet_dscp_to_dsfield(rule4->dscp) >> 2)) in fib4_rule_fill()
391 frh->tos = inet_dscp_to_dsfield(rule4->dscp); in fib4_rule_fill()