Home
last modified time | relevance | path

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

/net/ipv6/
Dfib6_rules.c354 struct fib6_rule *rule6 = (struct fib6_rule *) rule; in fib6_rule_configure() local
369 rule6->src.addr = nla_get_in6_addr(tb[FRA_SRC]); in fib6_rule_configure()
372 rule6->dst.addr = nla_get_in6_addr(tb[FRA_DST]); in fib6_rule_configure()
374 rule6->src.plen = frh->src_len; in fib6_rule_configure()
375 rule6->dst.plen = frh->dst_len; in fib6_rule_configure()
376 rule6->tclass = frh->tos; in fib6_rule_configure()
401 struct fib6_rule *rule6 = (struct fib6_rule *) rule; in fib6_rule_compare() local
403 if (frh->src_len && (rule6->src.plen != frh->src_len)) in fib6_rule_compare()
406 if (frh->dst_len && (rule6->dst.plen != frh->dst_len)) in fib6_rule_compare()
409 if (frh->tos && (rule6->tclass != frh->tos)) in fib6_rule_compare()
[all …]