Lines Matching defs:net

106 #define ip6mr_for_each_table(mrt, net) \  argument
111 static struct mr_table *ip6mr_mr_table_iter(struct net *net, in ip6mr_mr_table_iter()
128 static struct mr_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()
227 static int __net_init ip6mr_rules_init(struct net *net) in ip6mr_rules_init()
261 static void __net_exit ip6mr_rules_exit(struct net *net) in ip6mr_rules_exit()
273 static int ip6mr_rules_dump(struct net *net, struct notifier_block *nb, in ip6mr_rules_dump()
279 static unsigned int ip6mr_rules_seq_read(struct net *net) in ip6mr_rules_seq_read()
291 #define ip6mr_for_each_table(mrt, net) \ argument
294 static struct mr_table *ip6mr_mr_table_iter(struct net *net, in ip6mr_mr_table_iter()
302 static struct mr_table *ip6mr_get_table(struct net *net, u32 id) in ip6mr_get_table()
307 static int ip6mr_fib_lookup(struct net *net, struct flowi6 *flp6, in ip6mr_fib_lookup()
314 static int __net_init ip6mr_rules_init(struct net *net) in ip6mr_rules_init()
325 static void __net_exit ip6mr_rules_exit(struct net *net) in ip6mr_rules_exit()
332 static int ip6mr_rules_dump(struct net *net, struct notifier_block *nb, in ip6mr_rules_dump()
338 static unsigned int ip6mr_rules_seq_read(struct net *net) in ip6mr_rules_seq_read()
364 struct net *net) in ip6mr_new_table_set()
381 static struct mr_table *ip6mr_new_table(struct net *net, u32 id) in ip6mr_new_table()
411 struct net *net = seq_file_net(seq); in ip6mr_vif_seq_start() local
465 struct net *net = seq_file_net(seq); in ipmr_mfc_seq_start() local
532 struct net *net = dev_net(skb->dev); in pim6_rcv() local
597 struct net *net = dev_net(dev); in reg_vif_xmit() local
646 static struct net_device *ip6mr_reg_vif(struct net *net, struct mr_table *mrt) in ip6mr_reg_vif()
679 static int call_ip6mr_vif_entry_notifiers(struct net *net, in call_ip6mr_vif_entry_notifiers()
690 static int call_ip6mr_mfc_entry_notifiers(struct net *net, in call_ip6mr_mfc_entry_notifiers()
774 struct net *net = read_pnet(&mrt->net); in ip6mr_destroy_unres() local
862 static int mif6_add(struct net *net, struct mr_table *mrt, in mif6_add()
1007 static void ip6mr_cache_resolve(struct net *net, struct mr_table *mrt, in ip6mr_cache_resolve()
1244 struct net *net = dev_net(dev); in ip6mr_device_event() local
1263 static unsigned int ip6mr_seq_read(struct net *net) in ip6mr_seq_read()
1270 static int ip6mr_dump(struct net *net, struct notifier_block *nb, in ip6mr_dump()
1288 static int __net_init ip6mr_notifier_init(struct net *net) in ip6mr_notifier_init()
1303 static void __net_exit ip6mr_notifier_exit(struct net *net) in ip6mr_notifier_exit()
1310 static int __net_init ip6mr_net_init(struct net *net) in ip6mr_net_init()
1347 static void __net_exit ip6mr_net_exit(struct net *net) in ip6mr_net_exit()
1358 struct net *net; in ip6mr_net_exit_batch() local
1425 static int ip6mr_mfc_add(struct net *net, struct mr_table *mrt, in ip6mr_mfc_add()
1569 struct net *net = sock_net(sk); in ip6mr_sk_init() local
1594 struct net *net = sock_net(sk); in ip6mr_sk_done() local
1633 bool mroute6_is_socket(struct net *net, struct sk_buff *skb) in mroute6_is_socket()
1663 struct net *net = sock_net(sk); in ip6_mroute_setsockopt() local
1838 struct net *net = sock_net(sk); in ip6_mroute_getsockopt() local
1888 struct net *net = sock_net(sk); in ip6mr_ioctl() local
1956 struct net *net = sock_net(sk); in ip6mr_compat_ioctl() local
2009 static inline int ip6mr_forward2_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in ip6mr_forward2_finish()
2020 static int ip6mr_forward2(struct net *net, struct mr_table *mrt, in ip6mr_forward2()
2108 static void ip6_mr_forward(struct net *net, struct mr_table *mrt, in ip6_mr_forward()
2214 struct net *net = dev_net(skb->dev); in ip6_mr_input() local
2273 int ip6mr_get_route(struct net *net, struct sk_buff *skb, struct rtmsg *rtm, in ip6mr_get_route()
2419 struct net *net = read_pnet(&mrt->net); in mr6_netlink_event() local
2460 struct net *net = read_pnet(&mrt->net); in mrt6msg_netlink_event() local
2547 struct net *net = sock_net(in_skb->sk); in ip6mr_rtm_getroute() local