Lines Matching refs:ipv4
64 &net->ipv4.fib_table_hash[TABLE_LOCAL_INDEX]); in fib4_rules_init()
66 &net->ipv4.fib_table_hash[TABLE_MAIN_INDEX]); in fib4_rules_init()
92 net->ipv4.fib_local = tb; in fib_new_table()
96 net->ipv4.fib_main = tb; in fib_new_table()
100 net->ipv4.fib_default = tb; in fib_new_table()
108 hlist_add_head_rcu(&tb->tb_hlist, &net->ipv4.fib_table_hash[h]); in fib_new_table()
123 head = &net->ipv4.fib_table_hash[h]; in fib_get_table()
143 head = &net->ipv4.fib_table_hash[h]; in fib_flush()
670 head = &net->ipv4.fib_table_hash[h]; in inet_dump_fib()
978 netlink_unicast(net->ipv4.fibnl, skb, portid, MSG_DONTWAIT); in nl_fib_input()
991 net->ipv4.fibnl = sk; in nl_fib_lookup_init()
997 netlink_kernel_release(net->ipv4.fibnl); in nl_fib_lookup_exit()
998 net->ipv4.fibnl = NULL; in nl_fib_lookup_exit()
1021 atomic_inc(&net->ipv4.dev_addr_genid); in fib_inetaddr_event()
1026 atomic_inc(&net->ipv4.dev_addr_genid); in fib_inetaddr_event()
1062 atomic_inc(&net->ipv4.dev_addr_genid); in fib_netdev_event()
1092 net->ipv4.fib_table_hash = kzalloc(size, GFP_KERNEL); in ip_fib_net_init()
1093 if (net->ipv4.fib_table_hash == NULL) in ip_fib_net_init()
1102 kfree(net->ipv4.fib_table_hash); in ip_fib_net_init()
1120 head = &net->ipv4.fib_table_hash[i]; in ip_fib_net_exit()
1128 kfree(net->ipv4.fib_table_hash); in ip_fib_net_exit()
1136 net->ipv4.fib_num_tclassid_users = 0; in fib_net_init()