Lines Matching defs:net

112 #define ipmr_for_each_table(mrt, net)					\  argument
117 static struct mr_table *ipmr_mr_table_iter(struct net *net, in ipmr_mr_table_iter()
134 static struct mr_table *ipmr_get_table(struct net *net, u32 id) in ipmr_get_table()
145 static int ipmr_fib_lookup(struct net *net, struct flowi4 *flp4, in ipmr_fib_lookup()
233 static int __net_init ipmr_rules_init(struct net *net) in ipmr_rules_init()
267 static void __net_exit ipmr_rules_exit(struct net *net) in ipmr_rules_exit()
279 static int ipmr_rules_dump(struct net *net, struct notifier_block *nb, in ipmr_rules_dump()
285 static unsigned int ipmr_rules_seq_read(struct net *net) in ipmr_rules_seq_read()
296 #define ipmr_for_each_table(mrt, net) \ argument
299 static struct mr_table *ipmr_mr_table_iter(struct net *net, in ipmr_mr_table_iter()
307 static struct mr_table *ipmr_get_table(struct net *net, u32 id) in ipmr_get_table()
312 static int ipmr_fib_lookup(struct net *net, struct flowi4 *flp4, in ipmr_fib_lookup()
319 static int __net_init ipmr_rules_init(struct net *net) in ipmr_rules_init()
330 static void __net_exit ipmr_rules_exit(struct net *net) in ipmr_rules_exit()
337 static int ipmr_rules_dump(struct net *net, struct notifier_block *nb, in ipmr_rules_dump()
343 static unsigned int ipmr_rules_seq_read(struct net *net) in ipmr_rules_seq_read()
375 struct net *net) in ipmr_new_table_set()
392 static struct mr_table *ipmr_new_table(struct net *net, u32 id) in ipmr_new_table()
436 static struct net_device *ipmr_new_tunnel(struct net *net, struct vifctl *v) in ipmr_new_tunnel()
489 struct net *net = dev_net(dev); in reg_vif_xmit() local
533 static struct net_device *ipmr_reg_vif(struct net *net, struct mr_table *mrt) in ipmr_reg_vif()
608 static struct net_device *ipmr_reg_vif(struct net *net, struct mr_table *mrt) in ipmr_reg_vif()
614 static int call_ipmr_vif_entry_notifiers(struct net *net, in call_ipmr_vif_entry_notifiers()
624 static int call_ipmr_mfc_entry_notifiers(struct net *net, in call_ipmr_mfc_entry_notifiers()
642 struct net *net = read_pnet(&mrt->net); in vif_delete() local
715 struct net *net = read_pnet(&mrt->net); in ipmr_destroy_unres() local
803 static int vif_add(struct net *net, struct mr_table *mrt, in vif_add()
970 static void ipmr_cache_resolve(struct net *net, struct mr_table *mrt, in ipmr_cache_resolve()
1165 struct net *net = read_pnet(&mrt->net); in ipmr_mfc_delete() local
1184 static int ipmr_mfc_add(struct net *net, struct mr_table *mrt, in ipmr_mfc_add()
1267 struct net *net = read_pnet(&mrt->net); in mroute_clean_tables() local
1320 struct net *net = sock_net(sk); in mrtsock_destruct() local
1347 struct net *net = sock_net(sk); in ip_mroute_setsockopt() local
1541 struct net *net = sock_net(sk); in ip_mroute_getsockopt() local
1587 struct net *net = sock_net(sk); in ipmr_ioctl() local
1662 struct net *net = sock_net(sk); in ipmr_compat_ioctl() local
1718 struct net *net = dev_net(dev); in ipmr_device_event() local
1744 static void ip_encap(struct net *net, struct sk_buff *skb, in ip_encap()
1771 static inline int ipmr_forward_finish(struct net *net, struct sock *sk, in ipmr_forward_finish()
1809 static void ipmr_queue_xmit(struct net *net, struct mr_table *mrt, in ipmr_queue_xmit()
1921 static void ip_mr_forward(struct net *net, struct mr_table *mrt, in ip_mr_forward()
2040 static struct mr_table *ipmr_rt_fib_lookup(struct net *net, struct sk_buff *skb) in ipmr_rt_fib_lookup()
2070 struct net *net = dev_net(skb->dev); in ip_mr_input() local
2177 struct net *net = dev_net(skb->dev); in pim_rcv_v1() local
2204 struct net *net = dev_net(skb->dev); in pim_rcv() local
2228 int ipmr_get_route(struct net *net, struct sk_buff *skb, in ipmr_get_route()
2368 struct net *net = read_pnet(&mrt->net); in mroute_netlink_event() local
2409 struct net *net = read_pnet(&mrt->net); in igmpmsg_netlink_event() local
2514 struct net *net = sock_net(in_skb->sk); in ipmr_rtm_getroute() local
2634 static int rtm_to_ipmr_mfcc(struct net *net, struct nlmsghdr *nlh, in rtm_to_ipmr_mfcc()
2709 struct net *net = sock_net(skb->sk); in ipmr_rtm_route() local
2806 struct net *net = sock_net(skb->sk); in ipmr_rtm_dumplink() local
2893 struct net *net = seq_file_net(seq); in ipmr_vif_seq_start() local
2944 struct net *net = seq_file_net(seq); in ipmr_mfc_seq_start() local
3009 static unsigned int ipmr_seq_read(struct net *net) in ipmr_seq_read()
3016 static int ipmr_dump(struct net *net, struct notifier_block *nb, in ipmr_dump()
3030 static int __net_init ipmr_notifier_init(struct net *net) in ipmr_notifier_init()
3044 static void __net_exit ipmr_notifier_exit(struct net *net) in ipmr_notifier_exit()
3051 static int __net_init ipmr_net_init(struct net *net) in ipmr_net_init()
3088 static void __net_exit ipmr_net_exit(struct net *net) in ipmr_net_exit()
3099 struct net *net; in ipmr_net_exit_batch() local