Lines Matching refs:ipv4
92 err = fib_rules_lookup(net->ipv4.rules_ops, flowi4_to_flowi(flp), 0, &arg); in __fib_lookup()
267 atomic_inc(&net->ipv4.fib_num_tclassid_users); in fib4_rule_configure()
272 net->ipv4.fib_rules_require_fldissect++; in fib4_rule_configure()
280 net->ipv4.fib_has_custom_rules = true; in fib4_rule_configure()
299 atomic_dec(&net->ipv4.fib_num_tclassid_users); in fib4_rule_delete()
301 net->ipv4.fib_has_custom_rules = true; in fib4_rule_delete()
303 if (net->ipv4.fib_rules_require_fldissect && in fib4_rule_delete()
305 net->ipv4.fib_rules_require_fldissect--; in fib4_rule_delete()
421 net->ipv4.rules_ops = ops; in fib4_rules_init()
422 net->ipv4.fib_has_custom_rules = false; in fib4_rules_init()
423 net->ipv4.fib_rules_require_fldissect = 0; in fib4_rules_init()
434 fib_rules_unregister(net->ipv4.rules_ops); in fib4_rules_exit()