Lines Matching defs:net

117 #define ipmr_for_each_table(mrt, net)					\  argument
122 static struct mr_table *ipmr_mr_table_iter(struct net *net, in ipmr_mr_table_iter()
139 static struct mr_table *__ipmr_get_table(struct net *net, u32 id) in __ipmr_get_table()
150 static struct mr_table *ipmr_get_table(struct net *net, u32 id) in ipmr_get_table()
160 static int ipmr_fib_lookup(struct net *net, struct flowi4 *flp4, in ipmr_fib_lookup()
248 static int __net_init ipmr_rules_init(struct net *net) in ipmr_rules_init()
282 static void __net_exit ipmr_rules_exit(struct net *net) in ipmr_rules_exit()
294 static int ipmr_rules_dump(struct net *net, struct notifier_block *nb, in ipmr_rules_dump()
300 static unsigned int ipmr_rules_seq_read(struct net *net) in ipmr_rules_seq_read()
311 #define ipmr_for_each_table(mrt, net) \ argument
314 static struct mr_table *ipmr_mr_table_iter(struct net *net, in ipmr_mr_table_iter()
322 static struct mr_table *ipmr_get_table(struct net *net, u32 id) in ipmr_get_table()
329 static int ipmr_fib_lookup(struct net *net, struct flowi4 *flp4, in ipmr_fib_lookup()
336 static int __net_init ipmr_rules_init(struct net *net) in ipmr_rules_init()
347 static void __net_exit ipmr_rules_exit(struct net *net) in ipmr_rules_exit()
354 static int ipmr_rules_dump(struct net *net, struct notifier_block *nb, in ipmr_rules_dump()
360 static unsigned int ipmr_rules_seq_read(struct net *net) in ipmr_rules_seq_read()
392 struct net *net) in ipmr_new_table_set()
409 static struct mr_table *ipmr_new_table(struct net *net, u32 id) in ipmr_new_table()
453 static struct net_device *ipmr_new_tunnel(struct net *net, struct vifctl *v) in ipmr_new_tunnel()
506 struct net *net = dev_net(dev); in reg_vif_xmit() local
554 static struct net_device *ipmr_reg_vif(struct net *net, struct mr_table *mrt) in ipmr_reg_vif()
629 static struct net_device *ipmr_reg_vif(struct net *net, struct mr_table *mrt) in ipmr_reg_vif()
635 static int call_ipmr_vif_entry_notifiers(struct net *net, in call_ipmr_vif_entry_notifiers()
646 static int call_ipmr_mfc_entry_notifiers(struct net *net, in call_ipmr_mfc_entry_notifiers()
664 struct net *net = read_pnet(&mrt->net); in vif_delete() local
734 struct net *net = read_pnet(&mrt->net); in ipmr_destroy_unres() local
822 static int vif_add(struct net *net, struct mr_table *mrt, in vif_add()
992 static void ipmr_cache_resolve(struct net *net, struct mr_table *mrt, in ipmr_cache_resolve()
1190 struct net *net = read_pnet(&mrt->net); in ipmr_mfc_delete() local
1209 static int ipmr_mfc_add(struct net *net, struct mr_table *mrt, in ipmr_mfc_add()
1292 struct net *net = read_pnet(&mrt->net); in mroute_clean_tables() local
1345 struct net *net = sock_net(sk); in mrtsock_destruct() local
1372 struct net *net = sock_net(sk); in ip_mroute_setsockopt() local
1589 struct net *net = sock_net(sk); in ip_mroute_getsockopt() local
1635 struct net *net = sock_net(sk); in ipmr_ioctl() local
1705 struct net *net = sock_net(sk); in ipmr_compat_ioctl() local
1761 struct net *net = dev_net(dev); in ipmr_device_event() local
1787 static void ip_encap(struct net *net, struct sk_buff *skb, in ip_encap()
1814 static inline int ipmr_forward_finish(struct net *net, struct sock *sk, in ipmr_forward_finish()
1851 static void ipmr_queue_xmit(struct net *net, struct mr_table *mrt, in ipmr_queue_xmit()
1967 static void ip_mr_forward(struct net *net, struct mr_table *mrt, in ip_mr_forward()
2088 static struct mr_table *ipmr_rt_fib_lookup(struct net *net, struct sk_buff *skb) in ipmr_rt_fib_lookup()
2118 struct net *net = dev_net(skb->dev); in ip_mr_input() local
2217 struct net *net = dev_net(skb->dev); in pim_rcv_v1() local
2244 struct net *net = dev_net(skb->dev); in pim_rcv() local
2268 int ipmr_get_route(struct net *net, struct sk_buff *skb, in ipmr_get_route()
2404 struct net *net = read_pnet(&mrt->net); in mroute_netlink_event() local
2445 struct net *net = read_pnet(&mrt->net); in igmpmsg_netlink_event() local
2550 struct net *net = sock_net(in_skb->sk); in ipmr_rtm_getroute() local
2670 static int rtm_to_ipmr_mfcc(struct net *net, struct nlmsghdr *nlh, in rtm_to_ipmr_mfcc()
2745 struct net *net = sock_net(skb->sk); in ipmr_rtm_route() local
2845 struct net *net = sock_net(skb->sk); in ipmr_rtm_dumplink() local
2932 struct net *net = seq_file_net(seq); in ipmr_vif_seq_start() local
2987 struct net *net = seq_file_net(seq); in ipmr_mfc_seq_start() local
3052 static unsigned int ipmr_seq_read(struct net *net) in ipmr_seq_read()
3059 static int ipmr_dump(struct net *net, struct notifier_block *nb, in ipmr_dump()
3073 static int __net_init ipmr_notifier_init(struct net *net) in ipmr_notifier_init()
3087 static void __net_exit ipmr_notifier_exit(struct net *net) in ipmr_notifier_exit()
3094 static int __net_init ipmr_net_init(struct net *net) in ipmr_net_init()
3131 static void __net_exit ipmr_net_exit(struct net *net) in ipmr_net_exit()
3142 struct net *net; in ipmr_net_exit_batch() local