Lines Matching defs:net
77 struct net *net; member
138 #define ipmr_for_each_table(mrt, net) \ argument
141 static struct mr_table *ipmr_get_table(struct net *net, u32 id) in ipmr_get_table()
152 static int ipmr_fib_lookup(struct net *net, struct flowi4 *flp4, in ipmr_fib_lookup()
237 static int __net_init ipmr_rules_init(struct net *net) in ipmr_rules_init()
269 static void __net_exit ipmr_rules_exit(struct net *net) in ipmr_rules_exit()
280 #define ipmr_for_each_table(mrt, net) \ argument
283 static struct mr_table *ipmr_get_table(struct net *net, u32 id) in ipmr_get_table()
288 static int ipmr_fib_lookup(struct net *net, struct flowi4 *flp4, in ipmr_fib_lookup()
295 static int __net_init ipmr_rules_init(struct net *net) in ipmr_rules_init()
301 static void __net_exit ipmr_rules_exit(struct net *net) in ipmr_rules_exit()
307 static struct mr_table *ipmr_new_table(struct net *net, u32 id) in ipmr_new_table()
344 struct net *net = dev_net(dev); in ipmr_del_tunnel() local
374 struct net_device *ipmr_new_tunnel(struct net *net, struct vifctl *v) in ipmr_new_tunnel()
438 struct net *net = dev_net(dev); in reg_vif_xmit() local
476 static struct net_device *ipmr_reg_vif(struct net *net, struct mr_table *mrt) in ipmr_reg_vif()
604 struct net *net = read_pnet(&mrt->net); in ipmr_destroy_unres() local
692 static int vif_add(struct net *net, struct mr_table *mrt, in vif_add()
840 static void ipmr_cache_resolve(struct net *net, struct mr_table *mrt, in ipmr_cache_resolve()
1057 static int ipmr_mfc_add(struct net *net, struct mr_table *mrt, in ipmr_mfc_add()
1173 struct net *net = sock_net(sk); in mrtsock_destruct() local
1199 struct net *net = sock_net(sk); in ip_mroute_setsockopt() local
1343 struct net *net = sock_net(sk); in ip_mroute_getsockopt() local
1389 struct net *net = sock_net(sk); in ipmr_ioctl() local
1463 struct net *net = sock_net(sk); in ipmr_compat_ioctl() local
1519 struct net *net = dev_net(dev); in ipmr_device_event() local
1590 static void ipmr_queue_xmit(struct net *net, struct mr_table *mrt, in ipmr_queue_xmit()
1703 static int ip_mr_forward(struct net *net, struct mr_table *mrt, in ip_mr_forward()
1791 static struct mr_table *ipmr_rt_fib_lookup(struct net *net, struct sk_buff *skb) in ipmr_rt_fib_lookup()
1820 struct net *net = dev_net(skb->dev); in ip_mr_input() local
1954 struct net *net = dev_net(skb->dev); in pim_rcv_v1() local
1981 struct net *net = dev_net(skb->dev); in pim_rcv() local
2043 int ipmr_get_route(struct net *net, struct sk_buff *skb, in ipmr_get_route()
2144 struct net *net = sock_net(skb->sk); in ipmr_rtm_dumproute() local
2200 static struct vif_device *ipmr_vif_seq_idx(struct net *net, in ipmr_vif_seq_idx()
2219 struct net *net = seq_file_net(seq); in ipmr_vif_seq_start() local
2236 struct net *net = seq_file_net(seq); in ipmr_vif_seq_next() local
2308 static struct mfc_cache *ipmr_mfc_seq_idx(struct net *net, in ipmr_mfc_seq_idx()
2338 struct net *net = seq_file_net(seq); in ipmr_mfc_seq_start() local
2356 struct net *net = seq_file_net(seq); in ipmr_mfc_seq_next() local
2480 static int __net_init ipmr_net_init(struct net *net) in ipmr_net_init()
2507 static void __net_exit ipmr_net_exit(struct net *net) in ipmr_net_exit()