Lines Matching defs:net
59 possible_net_t net; member
125 #define ip6mr_for_each_table(mrt, net) \ argument
128 static struct mr6_table *ip6mr_get_table(struct net *net, u32 id) in ip6mr_get_table()
139 static int ip6mr_fib_lookup(struct net *net, struct flowi6 *flp6, in ip6mr_fib_lookup()
227 static int __net_init ip6mr_rules_init(struct net *net) in ip6mr_rules_init()
259 static void __net_exit ip6mr_rules_exit(struct net *net) in ip6mr_rules_exit()
272 #define ip6mr_for_each_table(mrt, net) \ argument
275 static struct mr6_table *ip6mr_get_table(struct net *net, u32 id) in ip6mr_get_table()
280 static int ip6mr_fib_lookup(struct net *net, struct flowi6 *flp6, in ip6mr_fib_lookup()
287 static int __net_init ip6mr_rules_init(struct net *net) in ip6mr_rules_init()
293 static void __net_exit ip6mr_rules_exit(struct net *net) in ip6mr_rules_exit()
302 static struct mr6_table *ip6mr_new_table(struct net *net, u32 id) in ip6mr_new_table()
352 static struct mfc6_cache *ipmr_mfc_seq_idx(struct net *net, in ipmr_mfc_seq_idx()
388 static struct mif_device *ip6mr_vif_seq_idx(struct net *net, in ip6mr_vif_seq_idx()
407 struct net *net = seq_file_net(seq); in ip6mr_vif_seq_start() local
424 struct net *net = seq_file_net(seq); in ip6mr_vif_seq_next() local
491 struct net *net = seq_file_net(seq); in ipmr_mfc_seq_start() local
507 struct net *net = seq_file_net(seq); in ipmr_mfc_seq_next() local
628 struct net *net = dev_net(skb->dev); in pim6_rcv() local
697 struct net *net = dev_net(dev); in reg_vif_xmit() local
741 static struct net_device *ip6mr_reg_vif(struct net *net, struct mr6_table *mrt) in ip6mr_reg_vif()
846 struct net *net = read_pnet(&mrt->net); in ip6mr_destroy_unres() local
931 static int mif6_add(struct net *net, struct mr6_table *mrt, in mif6_add()
1100 static void ip6mr_cache_resolve(struct net *net, struct mr6_table *mrt, in ip6mr_cache_resolve()
1333 struct net *net = dev_net(dev); in ip6mr_device_event() local
1362 static int __net_init ip6mr_net_init(struct net *net) in ip6mr_net_init()
1390 static void __net_exit ip6mr_net_exit(struct net *net) in ip6mr_net_exit()
1454 static int ip6mr_mfc_add(struct net *net, struct mr6_table *mrt, in ip6mr_mfc_add()
1592 struct net *net = sock_net(sk); in ip6mr_sk_init() local
1615 struct net *net = sock_net(sk); in ip6mr_sk_done() local
1640 struct sock *mroute6_socket(struct net *net, struct sk_buff *skb) in mroute6_socket()
1668 struct net *net = sock_net(sk); in ip6_mroute_setsockopt() local
1817 struct net *net = sock_net(sk); in ip6_mroute_getsockopt() local
1864 struct net *net = sock_net(sk); in ip6mr_ioctl() local
1938 struct net *net = sock_net(sk); in ip6mr_compat_ioctl() local
2003 static int ip6mr_forward2(struct net *net, struct mr6_table *mrt, in ip6mr_forward2()
2088 static void ip6_mr_forward(struct net *net, struct mr6_table *mrt, in ip6_mr_forward()
2185 struct net *net = dev_net(skb->dev); in ip6_mr_input() local
2283 int ip6mr_get_route(struct net *net, in ip6mr_get_route()
2428 struct net *net = read_pnet(&mrt->net); in mr6_netlink_event() local
2452 struct net *net = sock_net(skb->sk); in ip6mr_rtm_dumproute() local