Searched refs:inet_dsfield_to_dscp (Results 1 – 6 of 6) sorted by relevance
195 if (r->dscp_full && r->dscp != inet_dsfield_to_dscp(fl4->flowi4_tos)) in fib4_rule_match()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()358 dscp = inet_dsfield_to_dscp(nla_get_u8(tb[FRA_DSCP]) << 2); in fib4_rule_compare()
751 cfg->fc_dscp = inet_dsfield_to_dscp(rtm->rtm_tos); in rtm_to_fib_config()
42 static inline dscp_t inet_dsfield_to_dscp(__u8 dsfield) in inet_dsfield_to_dscp() function
441 return dscp == inet_dsfield_to_dscp(RT_TOS(fl4->flowi4_tos)); in fib_dscp_masked_match()
1060 return inet_dsfield_to_dscp(ip6_tclass(flowinfo)); in ip6_dscp()
357 rule6->dscp = inet_dsfield_to_dscp(nla_get_u8(nla) << 2); in fib6_nl2rule_dscp()377 rule6->dscp = inet_dsfield_to_dscp(frh->tos); in fib6_rule_configure()442 dscp = inet_dsfield_to_dscp(nla_get_u8(tb[FRA_DSCP]) << 2); in fib6_rule_compare()