Home
last modified time | relevance | path

Searched defs:net (Results 1 – 25 of 184) sorted by relevance

12345678

/net/ipv6/
Dip6mr.c102 static struct mfc6_cache *ipmr_mfc_seq_idx(struct net *net, in ipmr_mfc_seq_idx()
140 static struct mif_device *ip6mr_vif_seq_idx(struct net *net, in ip6mr_vif_seq_idx()
156 struct net *net = seq_file_net(seq); in ip6mr_vif_seq_start() local
166 struct net *net = seq_file_net(seq); in ip6mr_vif_seq_next() local
188 struct net *net = seq_file_net(seq); in ip6mr_vif_seq_show() local
230 struct net *net = seq_file_net(seq); in ipmr_mfc_seq_start() local
240 struct net *net = seq_file_net(seq); in ipmr_mfc_seq_next() local
281 struct net *net = seq_file_net(seq); in ipmr_mfc_seq_stop() local
292 struct net *net = seq_file_net(seq); in ipmr_mfc_seq_show() local
360 struct net *net = dev_net(skb->dev); in pim6_rcv() local
[all …]
Dreassembly.c85 int ip6_frag_nqueues(struct net *net) in ip6_frag_nqueues()
90 int ip6_frag_mem(struct net *net) in ip6_frag_mem()
186 static void ip6_evictor(struct net *net, struct inet6_dev *idev) in ip6_evictor()
199 struct net *net; in ip6_frag_expire() local
239 fq_find(struct net *net, __be32 id, struct in6_addr *src, struct in6_addr *dst, in fq_find()
270 struct net *net = dev_net(skb->dst->dev); in ip6_frag_queue() local
455 struct net *net = container_of(fq->q.net, struct net, ipv6.frags); in ip6_frag_reasm() local
579 struct net *net = dev_net(skb->dst->dev); in ipv6_frag_rcv() local
679 static int ip6_frags_ns_sysctl_register(struct net *net) in ip6_frags_ns_sysctl_register()
709 static void ip6_frags_ns_sysctl_unregister(struct net *net) in ip6_frags_ns_sysctl_unregister()
[all …]
Dip6_fib.c65 struct net *net; member
173 static void fib6_link_table(struct net *net, struct fib6_table *tb) in fib6_link_table()
194 static struct fib6_table *fib6_alloc_table(struct net *net, u32 id) in fib6_alloc_table()
208 struct fib6_table *fib6_new_table(struct net *net, u32 id) in fib6_new_table()
225 struct fib6_table *fib6_get_table(struct net *net, u32 id) in fib6_get_table()
248 static void fib6_tables_init(struct net *net) in fib6_tables_init()
255 struct fib6_table *fib6_new_table(struct net *net, u32 id) in fib6_new_table()
260 struct fib6_table *fib6_get_table(struct net *net, u32 id) in fib6_get_table()
265 struct dst_entry *fib6_rule_lookup(struct net *net, struct flowi *fl, in fib6_rule_lookup()
271 static void fib6_tables_init(struct net *net) in fib6_tables_init()
[all …]
Droute.c236 static inline struct rt6_info *rt6_device_match(struct net *net, in rt6_device_match()
419 struct net *net; in rt6_select() local
453 struct net *net = dev_net(dev); in rt6_route_rcv() local
541 static struct rt6_info *ip6_pol_route_lookup(struct net *net, in ip6_pol_route_lookup()
561 struct rt6_info *rt6_lookup(struct net *net, const struct in6_addr *daddr, in rt6_lookup()
655 struct net *net = dev_net(rt->rt6i_dev); in rt6_alloc_cow() local
700 static struct rt6_info *ip6_pol_route(struct net *net, struct fib6_table *table, int oif, in ip6_pol_route()
773 static struct rt6_info *ip6_pol_route_input(struct net *net, struct fib6_table *table, in ip6_pol_route_input()
782 struct net *net = dev_net(skb->dev); in ip6_route_input() local
803 static struct rt6_info *ip6_pol_route_output(struct net *net, struct fib6_table *table, in ip6_pol_route_output()
[all …]
Dip6_flowlabel.c65 static inline struct ip6_flowlabel *__fl_lookup(struct net *net, __be32 label) in __fl_lookup()
76 static struct ip6_flowlabel *fl_lookup(struct net *net, __be32 label) in fl_lookup()
157 static void ip6_fl_purge(struct net *net) in ip6_fl_purge()
178 static struct ip6_flowlabel *fl_intern(struct net *net, in fl_intern()
323 fl_create(struct net *net, struct in6_flowlabel_req *freq, char __user *optval, in fl_create()
472 struct net *net = sock_net(sk); in ipv6_flowlabel_opt() local
628 struct net *net = seq_file_net(seq); in ip6fl_get_first() local
644 struct net *net = seq_file_net(seq); in ip6fl_get_next() local
737 static int ip6_flowlabel_proc_init(struct net *net) in ip6_flowlabel_proc_init()
745 static void ip6_flowlabel_proc_fini(struct net *net) in ip6_flowlabel_proc_fini()
[all …]
Dproc.c34 struct net *net = seq->private; in sockstat6_seq_show() local
178 struct net *net = (struct net *)seq->private; in snmp6_seq_show() local
232 struct net *net; in snmp6_register_dev() local
253 struct net *net = dev_net(idev->dev); in snmp6_unregister_dev() local
264 static int ipv6_proc_init_net(struct net *net) in ipv6_proc_init_net()
285 static void ipv6_proc_exit_net(struct net *net) in ipv6_proc_exit_net()
Daddrlabel.c147 static int __ip6addrlbl_match(struct net *net, in __ip6addrlbl_match()
163 static struct ip6addrlbl_entry *__ipv6_addr_label(struct net *net, in __ipv6_addr_label()
176 u32 ipv6_addr_label(struct net *net, in ipv6_addr_label()
196 static struct ip6addrlbl_entry *ip6addrlbl_alloc(struct net *net, in ip6addrlbl_alloc()
285 static int ip6addrlbl_add(struct net *net, in ip6addrlbl_add()
308 static int __ip6addrlbl_del(struct net *net, in __ip6addrlbl_del()
333 static int ip6addrlbl_del(struct net *net, in ip6addrlbl_del()
351 static int __net_init ip6addrlbl_net_init(struct net *net) in ip6addrlbl_net_init()
371 static void __net_exit ip6addrlbl_net_exit(struct net *net) in ip6addrlbl_net_exit()
407 struct net *net = sock_net(skb->sk); in ip6addrlbl_newdel() local
[all …]
/net/netfilter/
Dnf_conntrack_standalone.c49 struct net *net = seq_file_net(seq); in ct_get_first() local
66 struct net *net = seq_file_net(seq); in ct_get_next() local
197 struct net *net = seq_file_net(seq); in ct_cpu_seq_start() local
215 struct net *net = seq_file_net(seq); in ct_cpu_seq_next() local
234 struct net *net = seq_file_net(seq); in ct_cpu_seq_show() local
287 static int nf_conntrack_standalone_init_proc(struct net *net) in nf_conntrack_standalone_init_proc()
307 static void nf_conntrack_standalone_fini_proc(struct net *net) in nf_conntrack_standalone_fini_proc()
313 static int nf_conntrack_standalone_init_proc(struct net *net) in nf_conntrack_standalone_init_proc()
318 static void nf_conntrack_standalone_fini_proc(struct net *net) in nf_conntrack_standalone_fini_proc()
406 static int nf_conntrack_standalone_init_sysctl(struct net *net) in nf_conntrack_standalone_init_sysctl()
[all …]
Dnf_conntrack_acct.c66 static int nf_conntrack_acct_init_sysctl(struct net *net) in nf_conntrack_acct_init_sysctl()
91 static void nf_conntrack_acct_fini_sysctl(struct net *net) in nf_conntrack_acct_fini_sysctl()
100 static int nf_conntrack_acct_init_sysctl(struct net *net) in nf_conntrack_acct_init_sysctl()
105 static void nf_conntrack_acct_fini_sysctl(struct net *net) in nf_conntrack_acct_fini_sysctl()
110 int nf_conntrack_acct_init(struct net *net) in nf_conntrack_acct_init()
143 void nf_conntrack_acct_fini(struct net *net) in nf_conntrack_acct_fini()
Dnf_conntrack_ecache.c59 struct net *net = nf_ct_net(ct); in nf_ct_deliver_cached_events() local
73 struct net *net = nf_ct_net(ct); in __nf_ct_event_cache_init() local
89 void nf_ct_event_cache_flush(struct net *net) in nf_ct_event_cache_flush()
101 int nf_conntrack_ecache_init(struct net *net) in nf_conntrack_ecache_init()
109 void nf_conntrack_ecache_fini(struct net *net) in nf_conntrack_ecache_fini()
Dnf_conntrack_core.c177 struct net *net = nf_ct_net(ct); in destroy_conntrack() local
224 struct net *net = nf_ct_net(ct); in death_by_timeout() local
246 __nf_conntrack_find(struct net *net, const struct nf_conntrack_tuple *tuple) in __nf_conntrack_find()
272 nf_conntrack_find_get(struct net *net, const struct nf_conntrack_tuple *tuple) in nf_conntrack_find_get()
294 struct net *net = nf_ct_net(ct); in __nf_conntrack_hash_insert() local
323 struct net *net; in __nf_conntrack_confirm() local
400 struct net *net = nf_ct_net(ignored_conntrack); in nf_conntrack_tuple_taken() local
428 static noinline int early_drop(struct net *net, unsigned int hash) in early_drop()
467 struct nf_conn *nf_conntrack_alloc(struct net *net, in nf_conntrack_alloc()
519 struct net *net = nf_ct_net(ct); in nf_conntrack_free_rcu() local
[all …]
Dnf_conntrack_expect.c44 struct net *net = nf_ct_exp_net(exp); in nf_ct_unlink_expect() local
86 __nf_ct_expect_find(struct net *net, const struct nf_conntrack_tuple *tuple) in __nf_ct_expect_find()
106 nf_ct_expect_find_get(struct net *net, const struct nf_conntrack_tuple *tuple) in nf_ct_expect_find_get()
123 nf_ct_find_expectation(struct net *net, const struct nf_conntrack_tuple *tuple) in nf_ct_find_expectation()
310 struct net *net = nf_ct_exp_net(exp); in nf_ct_expect_insert() local
371 struct net *net = nf_ct_exp_net(expect); in __nf_ct_expect_check() local
461 struct net *net = seq_file_net(seq); in ct_expect_get_first() local
476 struct net *net = seq_file_net(seq); in ct_expect_get_next() local
570 static int exp_proc_init(struct net *net) in exp_proc_init()
582 static void exp_proc_remove(struct net *net) in exp_proc_remove()
[all …]
Dnf_conntrack_proto_gre.c52 void nf_ct_gre_keymap_flush(struct net *net) in nf_ct_gre_keymap_flush()
77 static __be16 gre_keymap_lookup(struct net *net, struct nf_conntrack_tuple *t) in gre_keymap_lookup()
102 struct net *net = nf_ct_net(ct); in nf_ct_gre_keymap_add() local
143 struct net *net = nf_ct_net(ct); in nf_ct_gre_keymap_destroy() local
179 struct net *net = dev_net(skb->dev ? skb->dev : skb->dst->dev); in gre_pkt_to_tuple() local
301 static int proto_gre_net_init(struct net *net) in proto_gre_net_init()
318 static void proto_gre_net_exit(struct net *net) in proto_gre_net_exit()
/net/ipv4/
Dfib_frontend.c50 static int __net_init fib4_rules_init(struct net *net) in fib4_rules_init()
74 struct fib_table *fib_new_table(struct net *net, u32 id) in fib_new_table()
93 struct fib_table *fib_get_table(struct net *net, u32 id) in fib_get_table()
117 void fib_select_default(struct net *net, in fib_select_default()
132 static void fib_flush(struct net *net) in fib_flush()
154 struct net_device * ip_dev_find(struct net *net, __be32 addr) in ip_dev_find()
183 static inline unsigned __inet_dev_addr_type(struct net *net, in __inet_dev_addr_type()
213 unsigned int inet_addr_type(struct net *net, __be32 addr) in inet_addr_type()
218 unsigned int inet_dev_addr_type(struct net *net, const struct net_device *dev, in inet_dev_addr_type()
244 struct net *net; in fib_validate_source() local
[all …]
Dip_fragment.c77 int ip_frag_nqueues(struct net *net) in ip_frag_nqueues()
82 int ip_frag_mem(struct net *net) in ip_frag_mem()
175 static void ip_evictor(struct net *net) in ip_evictor()
190 struct net *net; in ip_expire() local
222 static inline struct ipq *ip_find(struct net *net, struct iphdr *iph, u32 user) in ip_find()
264 struct net *net; in ip_frag_too_far() local
466 struct net *net = container_of(qp->q.net, struct net, ipv4.frags); in ip_frag_reasm() local
574 struct net *net; in ip_defrag() local
654 static int ip4_frags_ns_ctl_register(struct net *net) in ip4_frags_ns_ctl_register()
684 static void ip4_frags_ns_ctl_unregister(struct net *net) in ip4_frags_ns_ctl_unregister()
[all …]
Dproc.c53 struct net *net = seq->private; in sockstat_seq_show() local
273 struct net *net = seq->private; in icmpmsg_put() local
295 struct net *net = seq->private; in icmp_put() local
325 struct net *net = seq->private; in snmp_seq_show() local
407 struct net *net = seq->private; in netstat_seq_show() local
446 static __net_init int ip_proc_init_net(struct net *net) in ip_proc_init_net()
465 static __net_exit void ip_proc_exit_net(struct net *net) in ip_proc_exit_net()
Dicmp.c202 static struct sock *icmp_sk(struct net *net) in icmp_sk()
207 static inline struct sock *icmp_xmit_lock(struct net *net) in icmp_xmit_lock()
270 static inline int icmpv4_xrlim_allow(struct net *net, struct rtable *rt, in icmpv4_xrlim_allow()
297 void icmp_out_count(struct net *net, unsigned char type) in icmp_out_count()
360 struct net *net = dev_net(rt->u.dst.dev); in icmp_reply() local
422 struct net *net; in icmp_send() local
658 struct net *net; in icmp_unreach() local
821 struct net *net; in icmp_echo() local
972 struct net *net = dev_net(rt->u.dst.dev); in icmp_rcv() local
1131 static void __net_exit icmp_sk_exit(struct net *net) in icmp_sk_exit()
[all …]
Ddevinet.c85 #define IPV4_DEVCONF_DFLT(net, attr) \ argument
405 struct in_device *inetdev_by_index(struct net *net, int ifindex) in inetdev_by_index()
433 struct net *net = sock_net(skb->sk); in inet_rtm_deladdr() local
478 static struct in_ifaddr *rtm_to_ifaddr(struct net *net, struct nlmsghdr *nlh) in rtm_to_ifaddr()
545 struct net *net = sock_net(skb->sk); in inet_rtm_newaddr() local
582 int devinet_ioctl(struct net *net, unsigned int cmd, void __user *arg) in devinet_ioctl()
868 struct net *net = dev_net(dev); in inet_select_addr() local
965 struct net *net; in inet_confirm_addr() local
1161 struct net *net = sock_net(skb->sk); in inet_dump_ifaddr() local
1204 struct net *net; in rtmsg_ifa() local
[all …]
/net/xfrm/
Dxfrm_sysctl.c5 static void __xfrm_sysctl_init(struct net *net) in __xfrm_sysctl_init()
46 int __net_init xfrm_sysctl_init(struct net *net) in xfrm_sysctl_init()
71 void xfrm_sysctl_fini(struct net *net) in xfrm_sysctl_fini()
80 int __net_init xfrm_sysctl_init(struct net *net) in xfrm_sysctl_init()
Dxfrm_proc.c49 struct net *net = seq->private; in xfrm_statistics_seq_show() local
71 int __net_init xfrm_proc_init(struct net *net) in xfrm_proc_init()
79 void xfrm_proc_fini(struct net *net) in xfrm_proc_fini()
Dxfrm_policy.c91 static inline struct dst_entry *__xfrm_dst_lookup(struct net *net, int tos, in __xfrm_dst_lookup()
115 struct net *net = xs_net(x); in xfrm_dst_lookup() local
224 struct xfrm_policy *xfrm_policy_alloc(struct net *net, gfp_t gfp) in xfrm_policy_alloc()
321 static inline unsigned int idx_hash(struct net *net, u32 index) in idx_hash()
326 static struct hlist_head *policy_hash_bysel(struct net *net, struct xfrm_selector *sel, unsigned sh… in policy_hash_bysel()
336 static struct hlist_head *policy_hash_direct(struct net *net, xfrm_address_t *daddr, xfrm_address_t… in policy_hash_direct()
396 static void xfrm_bydst_resize(struct net *net, int dir) in xfrm_bydst_resize()
421 static void xfrm_byidx_resize(struct net *net, int total) in xfrm_byidx_resize()
446 static inline int xfrm_bydst_should_resize(struct net *net, int dir, int *total) in xfrm_bydst_should_resize()
461 static inline int xfrm_byidx_should_resize(struct net *net, int total) in xfrm_byidx_should_resize()
[all …]
Dxfrm_state.c49 static inline unsigned int xfrm_dst_hash(struct net *net, in xfrm_dst_hash()
58 static inline unsigned int xfrm_src_hash(struct net *net, in xfrm_src_hash()
67 xfrm_spi_hash(struct net *net, xfrm_address_t *daddr, __be32 spi, u8 proto, unsigned short family) in xfrm_spi_hash()
112 struct net *net = container_of(work, struct net, xfrm.state_hash_work); in xfrm_hash_resize() local
378 struct net *net = container_of(work, struct net, xfrm.state_gc_work); in xfrm_state_gc_task() local
404 struct net *net = xs_net(x); in xfrm_timer_handler() local
481 struct xfrm_state *xfrm_state_alloc(struct net *net) in xfrm_state_alloc()
515 struct net *net = xs_net(x); in __xfrm_state_destroy() local
528 struct net *net = xs_net(x); in __xfrm_state_delete() local
568 xfrm_state_flush_secctx_check(struct net *net, u8 proto, struct xfrm_audit *audit_info) in xfrm_state_flush_secctx_check()
[all …]
/net/core/
Dnet_namespace.c31 static __net_init int setup_net(struct net *net) in setup_net()
85 struct net *net = NULL; in net_alloc() local
105 static void net_free(struct net *net) in net_free()
158 struct net *net; in cleanup_net() local
186 void __put_net(struct net *net) in __put_net()
246 struct net *net, *undo_net; in register_pernet_operations() local
275 struct net *net; in unregister_pernet_operations() local
473 int net_assign_generic(struct net *net, int id, void *data) in net_assign_generic()
Drtnetlink.c277 static void __rtnl_kill_links(struct net *net, struct rtnl_link_ops *ops) in __rtnl_kill_links()
289 void rtnl_kill_links(struct net *net, struct rtnl_link_ops *ops) in rtnl_kill_links()
305 struct net *net; in __rtnl_link_unregister() local
437 int rtnetlink_send(struct sk_buff *skb, struct net *net, u32 pid, unsigned group, int echo) in rtnetlink_send()
451 int rtnl_unicast(struct sk_buff *skb, struct net *net, u32 pid) in rtnl_unicast()
458 int rtnl_notify(struct sk_buff *skb, struct net *net, u32 pid, u32 group, in rtnl_notify()
470 void rtnl_set_sk_err(struct net *net, u32 group, int error) in rtnl_set_sk_err()
686 struct net *net = sock_net(skb->sk); in rtnl_dump_ifinfo() local
731 struct net *net; in get_net_ns_by_pid() local
770 struct net *net; in do_setlink() local
[all …]
/net/ipv4/netfilter/
Dnf_conntrack_l3proto_ipv4_compat.c30 struct net *net = seq_file_net(seq); in ct_get_first() local
47 struct net *net = seq_file_net(seq); in ct_get_next() local
184 struct net *net = seq_file_net(seq); in ct_expect_get_first() local
199 struct net *net = seq_file_net(seq); in ct_expect_get_next() local
288 struct net *net = seq_file_net(seq); in ct_cpu_seq_start() local
306 struct net *net = seq_file_net(seq); in ct_cpu_seq_next() local
325 struct net *net = seq_file_net(seq); in ct_cpu_seq_show() local
378 static int __net_init ip_conntrack_net_init(struct net *net) in ip_conntrack_net_init()
405 static void __net_exit ip_conntrack_net_exit(struct net *net) in ip_conntrack_net_exit()

12345678