Lines Matching defs:net

118 #define ipmr_for_each_table(mrt, net)					\  argument
123 static struct mr_table *ipmr_mr_table_iter(struct net *net, in ipmr_mr_table_iter()
140 static struct mr_table *__ipmr_get_table(struct net *net, u32 id) in __ipmr_get_table()
151 static struct mr_table *ipmr_get_table(struct net *net, u32 id) in ipmr_get_table()
161 static int ipmr_fib_lookup(struct net *net, struct flowi4 *flp4, in ipmr_fib_lookup()
249 static int __net_init ipmr_rules_init(struct net *net) in ipmr_rules_init()
283 static void __net_exit ipmr_rules_exit(struct net *net) in ipmr_rules_exit()
295 static int ipmr_rules_dump(struct net *net, struct notifier_block *nb, in ipmr_rules_dump()
301 static unsigned int ipmr_rules_seq_read(const struct net *net) in ipmr_rules_seq_read()
312 #define ipmr_for_each_table(mrt, net) \ argument
315 static struct mr_table *ipmr_mr_table_iter(struct net *net, in ipmr_mr_table_iter()
323 static struct mr_table *ipmr_get_table(struct net *net, u32 id) in ipmr_get_table()
330 static int ipmr_fib_lookup(struct net *net, struct flowi4 *flp4, in ipmr_fib_lookup()
337 static int __net_init ipmr_rules_init(struct net *net) in ipmr_rules_init()
348 static void __net_exit ipmr_rules_exit(struct net *net) in ipmr_rules_exit()
355 static int ipmr_rules_dump(struct net *net, struct notifier_block *nb, in ipmr_rules_dump()
361 static unsigned int ipmr_rules_seq_read(const struct net *net) in ipmr_rules_seq_read()
393 struct net *net) in ipmr_new_table_set()
410 static struct mr_table *ipmr_new_table(struct net *net, u32 id) in ipmr_new_table()
428 struct net *net = read_pnet(&mrt->net); in ipmr_free_table() local
458 static struct net_device *ipmr_new_tunnel(struct net *net, struct vifctl *v) in ipmr_new_tunnel()
511 struct net *net = dev_net(dev); in reg_vif_xmit() local
559 static struct net_device *ipmr_reg_vif(struct net *net, struct mr_table *mrt) in ipmr_reg_vif()
634 static struct net_device *ipmr_reg_vif(struct net *net, struct mr_table *mrt) in ipmr_reg_vif()
640 static int call_ipmr_vif_entry_notifiers(struct net *net, in call_ipmr_vif_entry_notifiers()
651 static int call_ipmr_mfc_entry_notifiers(struct net *net, in call_ipmr_mfc_entry_notifiers()
669 struct net *net = read_pnet(&mrt->net); in vif_delete() local
739 struct net *net = read_pnet(&mrt->net); in ipmr_destroy_unres() local
827 static int vif_add(struct net *net, struct mr_table *mrt, in vif_add()
997 static void ipmr_cache_resolve(struct net *net, struct mr_table *mrt, in ipmr_cache_resolve()
1195 struct net *net = read_pnet(&mrt->net); in ipmr_mfc_delete() local
1214 static int ipmr_mfc_add(struct net *net, struct mr_table *mrt, in ipmr_mfc_add()
1297 struct net *net = read_pnet(&mrt->net); in mroute_clean_tables() local
1350 struct net *net = sock_net(sk); in mrtsock_destruct() local
1377 struct net *net = sock_net(sk); in ip_mroute_setsockopt() local
1594 struct net *net = sock_net(sk); in ip_mroute_getsockopt() local
1640 struct net *net = sock_net(sk); in ipmr_ioctl() local
1710 struct net *net = sock_net(sk); in ipmr_compat_ioctl() local
1766 struct net *net = dev_net(dev); in ipmr_device_event() local
1792 static void ip_encap(struct net *net, struct sk_buff *skb, in ip_encap()
1819 static inline int ipmr_forward_finish(struct net *net, struct sock *sk, in ipmr_forward_finish()
1856 static void ipmr_queue_xmit(struct net *net, struct mr_table *mrt, in ipmr_queue_xmit()
1972 static void ip_mr_forward(struct net *net, struct mr_table *mrt, in ip_mr_forward()
2093 static struct mr_table *ipmr_rt_fib_lookup(struct net *net, struct sk_buff *skb) in ipmr_rt_fib_lookup()
2123 struct net *net = dev_net(skb->dev); in ip_mr_input() local
2222 struct net *net = dev_net(skb->dev); in pim_rcv_v1() local
2249 struct net *net = dev_net(skb->dev); in pim_rcv() local
2273 int ipmr_get_route(struct net *net, struct sk_buff *skb, in ipmr_get_route()
2409 struct net *net = read_pnet(&mrt->net); in mroute_netlink_event() local
2449 struct net *net = read_pnet(&mrt->net); in igmpmsg_netlink_event() local
2554 struct net *net = sock_net(in_skb->sk); in ipmr_rtm_getroute() local
2676 static int rtm_to_ipmr_mfcc(struct net *net, struct nlmsghdr *nlh, in rtm_to_ipmr_mfcc()
2751 struct net *net = sock_net(skb->sk); in ipmr_rtm_route() local
2851 struct net *net = sock_net(skb->sk); in ipmr_rtm_dumplink() local
2938 struct net *net = seq_file_net(seq); in ipmr_vif_seq_start() local
2993 struct net *net = seq_file_net(seq); in ipmr_mfc_seq_start() local
3058 static unsigned int ipmr_seq_read(const struct net *net) in ipmr_seq_read()
3063 static int ipmr_dump(struct net *net, struct notifier_block *nb, in ipmr_dump()
3077 static int __net_init ipmr_notifier_init(struct net *net) in ipmr_notifier_init()
3091 static void __net_exit ipmr_notifier_exit(struct net *net) in ipmr_notifier_exit()
3098 static int __net_init ipmr_net_init(struct net *net) in ipmr_net_init()
3135 static void __net_exit ipmr_net_exit(struct net *net) in ipmr_net_exit()
3146 struct net *net; in ipmr_net_exit_batch() local