Lines Matching defs:net
60 struct net *net; member
127 #define ip6mr_for_each_table(mrt, net) \ argument
130 static struct mr6_table *ip6mr_get_table(struct net *net, u32 id) in ip6mr_get_table()
141 static int ip6mr_fib_lookup(struct net *net, struct flowi6 *flp6, in ip6mr_fib_lookup()
229 static int __net_init ip6mr_rules_init(struct net *net) in ip6mr_rules_init()
261 static void __net_exit ip6mr_rules_exit(struct net *net) in ip6mr_rules_exit()
274 #define ip6mr_for_each_table(mrt, net) \ argument
277 static struct mr6_table *ip6mr_get_table(struct net *net, u32 id) in ip6mr_get_table()
282 static int ip6mr_fib_lookup(struct net *net, struct flowi6 *flp6, in ip6mr_fib_lookup()
289 static int __net_init ip6mr_rules_init(struct net *net) in ip6mr_rules_init()
295 static void __net_exit ip6mr_rules_exit(struct net *net) in ip6mr_rules_exit()
304 static struct mr6_table *ip6mr_new_table(struct net *net, u32 id) in ip6mr_new_table()
354 static struct mfc6_cache *ipmr_mfc_seq_idx(struct net *net, in ipmr_mfc_seq_idx()
390 static struct mif_device *ip6mr_vif_seq_idx(struct net *net, in ip6mr_vif_seq_idx()
409 struct net *net = seq_file_net(seq); in ip6mr_vif_seq_start() local
426 struct net *net = seq_file_net(seq); in ip6mr_vif_seq_next() local
493 struct net *net = seq_file_net(seq); in ipmr_mfc_seq_start() local
509 struct net *net = seq_file_net(seq); in ipmr_mfc_seq_next() local
630 struct net *net = dev_net(skb->dev); in pim6_rcv() local
699 struct net *net = dev_net(dev); in reg_vif_xmit() local
737 static struct net_device *ip6mr_reg_vif(struct net *net, struct mr6_table *mrt) in ip6mr_reg_vif()
844 struct net *net = read_pnet(&mrt->net); in ip6mr_destroy_unres() local
929 static int mif6_add(struct net *net, struct mr6_table *mrt, in mif6_add()
1098 static void ip6mr_cache_resolve(struct net *net, struct mr6_table *mrt, in ip6mr_cache_resolve()
1331 struct net *net = dev_net(dev); in ip6mr_device_event() local
1358 static int __net_init ip6mr_net_init(struct net *net) in ip6mr_net_init()
1386 static void __net_exit ip6mr_net_exit(struct net *net) in ip6mr_net_exit()
1450 static int ip6mr_mfc_add(struct net *net, struct mr6_table *mrt, in ip6mr_mfc_add()
1588 struct net *net = sock_net(sk); in ip6mr_sk_init() local
1611 struct net *net = sock_net(sk); in ip6mr_sk_done() local
1636 struct sock *mroute6_socket(struct net *net, struct sk_buff *skb) in mroute6_socket()
1664 struct net *net = sock_net(sk); in ip6_mroute_setsockopt() local
1813 struct net *net = sock_net(sk); in ip6_mroute_getsockopt() local
1860 struct net *net = sock_net(sk); in ip6mr_ioctl() local
1934 struct net *net = sock_net(sk); in ip6mr_compat_ioctl() local
1999 static int ip6mr_forward2(struct net *net, struct mr6_table *mrt, in ip6mr_forward2()
2083 static void ip6_mr_forward(struct net *net, struct mr6_table *mrt, in ip6_mr_forward()
2180 struct net *net = dev_net(skb->dev); in ip6_mr_input() local
2278 int ip6mr_get_route(struct net *net, struct sk_buff *skb, struct rtmsg *rtm, in ip6mr_get_route()
2423 struct net *net = read_pnet(&mrt->net); in mr6_netlink_event() local
2447 struct net *net = sock_net(skb->sk); in ip6mr_rtm_dumproute() local