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()
226 static int __net_init ip6mr_rules_init(struct net *net) in ip6mr_rules_init()
258 static void __net_exit ip6mr_rules_exit(struct net *net) in ip6mr_rules_exit()
271 #define ip6mr_for_each_table(mrt, net) \ argument
274 static struct mr6_table *ip6mr_get_table(struct net *net, u32 id) in ip6mr_get_table()
279 static int ip6mr_fib_lookup(struct net *net, struct flowi6 *flp6, in ip6mr_fib_lookup()
286 static int __net_init ip6mr_rules_init(struct net *net) in ip6mr_rules_init()
292 static void __net_exit ip6mr_rules_exit(struct net *net) in ip6mr_rules_exit()
301 static struct mr6_table *ip6mr_new_table(struct net *net, u32 id) in ip6mr_new_table()
351 static struct mfc6_cache *ipmr_mfc_seq_idx(struct net *net, in ipmr_mfc_seq_idx()
387 static struct mif_device *ip6mr_vif_seq_idx(struct net *net, in ip6mr_vif_seq_idx()
406 struct net *net = seq_file_net(seq); in ip6mr_vif_seq_start() local
423 struct net *net = seq_file_net(seq); in ip6mr_vif_seq_next() local
490 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()
843 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()
1099 static void ip6mr_cache_resolve(struct net *net, struct mr6_table *mrt, in ip6mr_cache_resolve()
1332 struct net *net = dev_net(dev); in ip6mr_device_event() local
1359 static int __net_init ip6mr_net_init(struct net *net) in ip6mr_net_init()
1387 static void __net_exit ip6mr_net_exit(struct net *net) in ip6mr_net_exit()
1451 static int ip6mr_mfc_add(struct net *net, struct mr6_table *mrt, in ip6mr_mfc_add()
1589 struct net *net = sock_net(sk); in ip6mr_sk_init() local
1613 struct net *net = sock_net(sk); in ip6mr_sk_done() local
1638 struct sock *mroute6_socket(struct net *net, struct sk_buff *skb) in mroute6_socket()
1666 struct net *net = sock_net(sk); in ip6_mroute_setsockopt() local
1815 struct net *net = sock_net(sk); in ip6_mroute_getsockopt() local
1862 struct net *net = sock_net(sk); in ip6mr_ioctl() local
1936 struct net *net = sock_net(sk); in ip6mr_compat_ioctl() local
1988 static inline int ip6mr_forward2_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in ip6mr_forward2_finish()
2001 static int ip6mr_forward2(struct net *net, struct mr6_table *mrt, in ip6mr_forward2()
2086 static void ip6_mr_forward(struct net *net, struct mr6_table *mrt, in ip6_mr_forward()
2184 struct net *net = dev_net(skb->dev); in ip6_mr_input() local
2288 int ip6mr_get_route(struct net *net, struct sk_buff *skb, struct rtmsg *rtm, in ip6mr_get_route()
2434 struct net *net = read_pnet(&mrt->net); in mr6_netlink_event() local
2458 struct net *net = sock_net(skb->sk); in ip6mr_rtm_dumproute() local