Home
last modified time | relevance | path

Searched refs:rule6 (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/net/ipv6/
Dfib6_rules.c351 struct fib6_rule *rule6 = (struct fib6_rule *) rule; in fib6_rule_configure() local
358 rule6->dscp = inet_dsfield_to_dscp(frh->tos); in fib6_rule_configure()
373 rule6->src.addr = nla_get_in6_addr(tb[FRA_SRC]); in fib6_rule_configure()
376 rule6->dst.addr = nla_get_in6_addr(tb[FRA_DST]); in fib6_rule_configure()
378 rule6->src.plen = frh->src_len; in fib6_rule_configure()
379 rule6->dst.plen = frh->dst_len; in fib6_rule_configure()
404 struct fib6_rule *rule6 = (struct fib6_rule *) rule; in fib6_rule_compare() local
406 if (frh->src_len && (rule6->src.plen != frh->src_len)) in fib6_rule_compare()
409 if (frh->dst_len && (rule6->dst.plen != frh->dst_len)) in fib6_rule_compare()
412 if (frh->tos && inet_dscp_to_dsfield(rule6->dscp) != frh->tos) in fib6_rule_compare()
[all …]