Lines Matching refs:ipv6
69 if (net->ipv6.fib6_has_custom_rules) { in fib6_lookup()
79 err = fib_rules_lookup(net->ipv6.fib6_rules_ops, in fib6_lookup()
82 err = fib6_table_lookup(net, net->ipv6.fib6_local_tbl, oif, in fib6_lookup()
84 if (err || res->f6i == net->ipv6.fib6_null_entry) in fib6_lookup()
85 err = fib6_table_lookup(net, net->ipv6.fib6_main_tbl, in fib6_lookup()
96 if (net->ipv6.fib6_has_custom_rules) { in fib6_rule_lookup()
108 fib_rules_lookup(net->ipv6.fib6_rules_ops, in fib6_rule_lookup()
117 net, net->ipv6.fib6_local_tbl, fl6, skb, flags); in fib6_rule_lookup()
118 if (rt != net->ipv6.ip6_null_entry && rt->dst.error != -EAGAIN) in fib6_rule_lookup()
122 net, net->ipv6.fib6_main_tbl, fl6, skb, flags); in fib6_rule_lookup()
129 dst_hold(&net->ipv6.ip6_null_entry->dst); in fib6_rule_lookup()
130 return &net->ipv6.ip6_null_entry->dst; in fib6_rule_lookup()
187 if (!err && res->f6i != net->ipv6.fib6_null_entry) in fib6_rule_action_alt()
213 rt = net->ipv6.ip6_null_entry; in __fib6_rule_action()
218 rt = net->ipv6.ip6_blk_hole_entry; in __fib6_rule_action()
222 rt = net->ipv6.ip6_prohibit_entry; in __fib6_rule_action()
235 if (rt != net->ipv6.ip6_null_entry) { in __fib6_rule_action()
382 net->ipv6.fib6_rules_require_fldissect++; in fib6_rule_configure()
384 net->ipv6.fib6_has_custom_rules = true; in fib6_rule_configure()
394 if (net->ipv6.fib6_rules_require_fldissect && in fib6_rule_delete()
396 net->ipv6.fib6_rules_require_fldissect--; in fib6_rule_delete()
486 net->ipv6.fib6_rules_ops = ops; in fib6_rules_net_init()
487 net->ipv6.fib6_rules_require_fldissect = 0; in fib6_rules_net_init()
502 fib_rules_unregister(net->ipv6.fib6_rules_ops); in fib6_rules_net_exit_batch()