Home
last modified time | relevance | path

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

12345678910>>...15

/net/core/
Dnet_namespace.c57 static int net_assign_generic(struct net *net, int id, void *data) in net_assign_generic()
94 static int ops_init(const struct pernet_operations *ops, struct net *net) in ops_init()
121 static void ops_free(const struct pernet_operations *ops, struct net *net) in ops_free()
132 struct net *net; in ops_exit_list() local
144 struct net *net; in ops_free_list() local
151 static int alloc_netid(struct net *net, struct net *peer, int reqid) in alloc_netid()
171 static int net_eq_idr(int id, void *net, void *peer) in net_eq_idr()
178 static int __peernet2id(struct net *net, struct net *peer, bool alloc) in __peernet2id()
199 int peernet2id(struct net *net, struct net *peer) in peernet2id()
206 struct net *get_net_ns_by_id(struct net *net, int id) in get_net_ns_by_id()
[all …]
Ddev_ioctl.c20 static int dev_ifname(struct net *net, struct ifreq __user *arg) in dev_ifname()
68 static int dev_ifconf(struct net *net, char __user *arg) in dev_ifconf()
122 static int dev_ifsioc_locked(struct net *net, struct ifreq *ifr, unsigned int cmd) in dev_ifsioc_locked()
240 static int dev_ifsioc(struct net *net, struct ifreq *ifr, unsigned int cmd) in dev_ifsioc()
357 void dev_load(struct net *net, const char *name) in dev_load()
391 int dev_ioctl(struct net *net, unsigned int cmd, void __user *arg) in dev_ioctl()
/net/sctp/
Dsm_statefuns.c217 sctp_disposition_t sctp_sf_do_4_C(struct net *net, in sctp_sf_do_4_C()
303 sctp_disposition_t sctp_sf_do_5_1B_init(struct net *net, in sctp_sf_do_5_1B_init()
499 sctp_disposition_t sctp_sf_do_5_1C_ack(struct net *net, in sctp_sf_do_5_1C_ack()
649 sctp_disposition_t sctp_sf_do_5_1D_ce(struct net *net, in sctp_sf_do_5_1D_ce()
875 sctp_disposition_t sctp_sf_do_5_1E_ca(struct net *net, in sctp_sf_do_5_1E_ca()
978 sctp_disposition_t sctp_sf_sendbeat_8_3(struct net *net, in sctp_sf_sendbeat_8_3()
1049 sctp_disposition_t sctp_sf_beat_8_3(struct net *net, in sctp_sf_beat_8_3()
1123 sctp_disposition_t sctp_sf_backbeat_8_3(struct net *net, in sctp_sf_backbeat_8_3()
1200 static int sctp_sf_send_restart_abort(struct net *net, union sctp_addr *ssa, in sctp_sf_send_restart_abort()
1269 struct net *net = sock_net(new_asoc->base.sk); in sctp_sf_check_restart_addrs() local
[all …]
Dinput.c79 static inline int sctp_rcv_checksum(struct net *net, struct sk_buff *skb) in sctp_rcv_checksum()
120 struct net *net = dev_net(skb->dev); in sctp_rcv() local
454 struct net *net = sock_net(sk); in sctp_icmp_proto_unreachable() local
470 struct sock *sctp_err_lookup(struct net *net, int family, struct sk_buff *skb, in sctp_err_lookup()
582 struct net *net = dev_net(skb->dev); in sctp_v4_err() local
713 struct net *net = sock_net(ep->base.sk); in __sctp_hash_endpoint() local
738 struct net *net = sock_net(ep->base.sk); in __sctp_unhash_endpoint() local
762 static struct sctp_endpoint *__sctp_rcv_lookup_endpoint(struct net *net, in __sctp_rcv_lookup_endpoint()
790 struct net *net = sock_net(asoc->base.sk); in __sctp_hash_established() local
821 struct net *net = sock_net(asoc->base.sk); in __sctp_unhash_established() local
[all …]
/net/netfilter/
Dnf_conntrack_ecache.c120 struct net *net = nf_ct_net(ct); in nf_ct_deliver_cached_events() local
170 int nf_conntrack_register_notifier(struct net *net, in nf_conntrack_register_notifier()
192 void nf_conntrack_unregister_notifier(struct net *net, in nf_conntrack_unregister_notifier()
207 int nf_ct_expect_register_notifier(struct net *net, in nf_ct_expect_register_notifier()
229 void nf_ct_expect_unregister_notifier(struct net *net, in nf_ct_expect_unregister_notifier()
267 static int nf_conntrack_event_init_sysctl(struct net *net) in nf_conntrack_event_init_sysctl()
296 static void nf_conntrack_event_fini_sysctl(struct net *net) in nf_conntrack_event_fini_sysctl()
305 static int nf_conntrack_event_init_sysctl(struct net *net) in nf_conntrack_event_init_sysctl()
310 static void nf_conntrack_event_fini_sysctl(struct net *net) in nf_conntrack_event_fini_sysctl()
315 int nf_conntrack_ecache_pernet_init(struct net *net) in nf_conntrack_ecache_pernet_init()
[all …]
Dnf_conntrack_timestamp.c43 static int nf_conntrack_tstamp_init_sysctl(struct net *net) in nf_conntrack_tstamp_init_sysctl()
72 static void nf_conntrack_tstamp_fini_sysctl(struct net *net) in nf_conntrack_tstamp_fini_sysctl()
81 static int nf_conntrack_tstamp_init_sysctl(struct net *net) in nf_conntrack_tstamp_init_sysctl()
86 static void nf_conntrack_tstamp_fini_sysctl(struct net *net) in nf_conntrack_tstamp_fini_sysctl()
91 int nf_conntrack_tstamp_pernet_init(struct net *net) in nf_conntrack_tstamp_pernet_init()
97 void nf_conntrack_tstamp_pernet_fini(struct net *net) in nf_conntrack_tstamp_pernet_fini()
Dnf_conntrack_proto.c39 nf_ct_register_sysctl(struct net *net, in nf_ct_register_sysctl()
162 static struct nf_ip_net *nf_ct_l3proto_net(struct net *net, in nf_ct_l3proto_net()
171 static int nf_ct_l3proto_register_sysctl(struct net *net, in nf_ct_l3proto_register_sysctl()
195 static void nf_ct_l3proto_unregister_sysctl(struct net *net, in nf_ct_l3proto_unregister_sysctl()
241 int nf_ct_l3proto_pernet_register(struct net *net, in nf_ct_l3proto_pernet_register()
272 void nf_ct_l3proto_pernet_unregister(struct net *net, in nf_ct_l3proto_pernet_unregister()
282 static struct nf_proto_net *nf_ct_l4proto_net(struct net *net, in nf_ct_l4proto_net()
296 int nf_ct_l4proto_register_sysctl(struct net *net, in nf_ct_l4proto_register_sysctl()
340 void nf_ct_l4proto_unregister_sysctl(struct net *net, in nf_ct_l4proto_unregister_sysctl()
417 int nf_ct_l4proto_pernet_register(struct net *net, in nf_ct_l4proto_pernet_register()
[all …]
Dnf_conntrack_acct.c63 static int nf_conntrack_acct_init_sysctl(struct net *net) in nf_conntrack_acct_init_sysctl()
92 static void nf_conntrack_acct_fini_sysctl(struct net *net) in nf_conntrack_acct_fini_sysctl()
101 static int nf_conntrack_acct_init_sysctl(struct net *net) in nf_conntrack_acct_init_sysctl()
106 static void nf_conntrack_acct_fini_sysctl(struct net *net) in nf_conntrack_acct_fini_sysctl()
111 int nf_conntrack_acct_pernet_init(struct net *net) in nf_conntrack_acct_pernet_init()
117 void nf_conntrack_acct_pernet_fini(struct net *net) in nf_conntrack_acct_pernet_fini()
Dnf_conntrack_standalone.c56 struct net *net = seq_file_net(seq); in ct_get_first() local
73 struct net *net = seq_file_net(seq); in ct_get_next() local
275 struct net *net = seq_file_net(seq); in ct_cpu_seq_start() local
293 struct net *net = seq_file_net(seq); in ct_cpu_seq_next() local
312 struct net *net = seq_file_net(seq); in ct_cpu_seq_show() local
366 static int nf_conntrack_standalone_init_proc(struct net *net) in nf_conntrack_standalone_init_proc()
386 static void nf_conntrack_standalone_fini_proc(struct net *net) in nf_conntrack_standalone_fini_proc()
392 static int nf_conntrack_standalone_init_proc(struct net *net) in nf_conntrack_standalone_init_proc()
397 static void nf_conntrack_standalone_fini_proc(struct net *net) in nf_conntrack_standalone_fini_proc()
472 static int nf_conntrack_standalone_init_sysctl(struct net *net) in nf_conntrack_standalone_init_sysctl()
[all …]
Dnf_log.c42 void nf_log_set(struct net *net, u_int8_t pf, const struct nf_logger *logger) in nf_log_set()
58 void nf_log_unset(struct net *net, const struct nf_logger *logger) in nf_log_unset()
114 int nf_log_bind_pf(struct net *net, u_int8_t pf, in nf_log_bind_pf()
130 void nf_log_unbind_pf(struct net *net, u_int8_t pf) in nf_log_unbind_pf()
182 void nf_log_packet(struct net *net, in nf_log_packet()
271 struct net *net = seq_file_net(seq); in seq_start() local
283 struct net *net = seq_file_net(s); in seq_next() local
303 struct net *net = seq_file_net(s); in seq_show() local
369 struct net *net = current->nsproxy->net_ns; in nf_log_proc_dostring() local
403 static int netfilter_log_sysctl_init(struct net *net) in netfilter_log_sysctl_init()
[all …]
Dnf_conntrack_proto_gre.c64 static inline struct netns_proto_gre *gre_pernet(struct net *net) in gre_pernet()
69 static void nf_ct_gre_keymap_flush(struct net *net) in nf_ct_gre_keymap_flush()
93 static __be16 gre_keymap_lookup(struct net *net, struct nf_conntrack_tuple *t) in gre_keymap_lookup()
118 struct net *net = nf_ct_net(ct); in nf_ct_gre_keymap_add() local
159 struct net *net = nf_ct_net(ct); in nf_ct_gre_keymap_destroy() local
195 struct net *net = dev_net(skb->dev ? skb->dev : skb_dst(skb)->dev); in gre_pkt_to_tuple() local
245 static unsigned int *gre_get_timeouts(struct net *net) in gre_get_timeouts()
308 struct net *net, void *data) in gre_timeout_nlattr_to_obj()
351 static int gre_init_net(struct net *net, u_int16_t proto) in gre_init_net()
397 static int proto_gre_net_init(struct net *net) in proto_gre_net_init()
[all …]
/net/ipv4/
Dfib_frontend.c51 static int __net_init fib4_rules_init(struct net *net) in fib4_rules_init()
75 struct fib_table *fib_new_table(struct net *net, u32 id) in fib_new_table()
112 struct fib_table *fib_get_table(struct net *net, u32 id) in fib_get_table()
135 static void fib_flush(struct net *net) in fib_flush()
156 static inline unsigned int __inet_dev_addr_type(struct net *net, in __inet_dev_addr_type()
183 unsigned int inet_addr_type(struct net *net, __be32 addr) in inet_addr_type()
189 unsigned int inet_dev_addr_type(struct net *net, const struct net_device *dev, in inet_dev_addr_type()
203 struct net *net; in fib_compute_spec_dst() local
249 struct net *net; in __fib_validate_source() local
350 static int rtentry_to_fib_config(struct net *net, int cmd, struct rtentry *rt, in rtentry_to_fib_config()
[all …]
Dxfrm4_policy.c21 static struct dst_entry *__xfrm4_dst_lookup(struct net *net, struct flowi4 *fl4, in __xfrm4_dst_lookup()
43 static struct dst_entry *xfrm4_dst_lookup(struct net *net, int tos, in xfrm4_dst_lookup()
53 static int xfrm4_get_saddr(struct net *net, in xfrm4_get_saddr()
195 struct net *net = container_of(ops, struct net, xfrm.xfrm4_dst_ops); in xfrm4_garbage_collect() local
274 static int __net_init xfrm4_net_sysctl_init(struct net *net) in xfrm4_net_sysctl_init()
302 static void __net_exit xfrm4_net_sysctl_exit(struct net *net) in xfrm4_net_sysctl_exit()
315 static int inline xfrm4_net_sysctl_init(struct net *net) in xfrm4_net_sysctl_init()
320 static void inline xfrm4_net_sysctl_exit(struct net *net) in xfrm4_net_sysctl_exit()
325 static int __net_init xfrm4_net_init(struct net *net) in xfrm4_net_init()
342 static void __net_exit xfrm4_net_exit(struct net *net) in xfrm4_net_exit()
Dipmr.c77 struct net *net; member
143 #define ipmr_for_each_table(mrt, net) \ argument
146 static struct mr_table *ipmr_get_table(struct net *net, u32 id) in ipmr_get_table()
157 static int ipmr_fib_lookup(struct net *net, struct flowi4 *flp4, in ipmr_fib_lookup()
245 static int __net_init ipmr_rules_init(struct net *net) in ipmr_rules_init()
277 static void __net_exit ipmr_rules_exit(struct net *net) in ipmr_rules_exit()
288 #define ipmr_for_each_table(mrt, net) \ argument
291 static struct mr_table *ipmr_get_table(struct net *net, u32 id) in ipmr_get_table()
296 static int ipmr_fib_lookup(struct net *net, struct flowi4 *flp4, in ipmr_fib_lookup()
303 static int __net_init ipmr_rules_init(struct net *net) in ipmr_rules_init()
[all …]
Dproc.c54 struct net *net = seq->private; in sockstat_seq_show() local
317 struct net *net = seq->private; in icmpmsg_put() local
339 struct net *net = seq->private; in icmp_put() local
369 struct net *net = seq->private; in snmp_seq_show() local
453 struct net *net = seq->private; in netstat_seq_show() local
493 static __net_init int ip_proc_init_net(struct net *net) in ip_proc_init_net()
513 static __net_exit void ip_proc_exit_net(struct net *net) in ip_proc_exit_net()
/net/xfrm/
Dxfrm_sysctl.c6 static void __net_init __xfrm_sysctl_init(struct net *net) in __xfrm_sysctl_init()
43 int __net_init xfrm_sysctl_init(struct net *net) in xfrm_sysctl_init()
72 void __net_exit xfrm_sysctl_fini(struct net *net) in xfrm_sysctl_fini()
81 int __net_init xfrm_sysctl_init(struct net *net) in xfrm_sysctl_init()
Dxfrm_policy.c117 static inline struct dst_entry *__xfrm_dst_lookup(struct net *net, int tos, in __xfrm_dst_lookup()
141 struct net *net = xs_net(x); in xfrm_dst_lookup() local
279 struct xfrm_policy *xfrm_policy_alloc(struct net *net, gfp_t gfp) in xfrm_policy_alloc()
347 static inline unsigned int idx_hash(struct net *net, u32 index) in idx_hash()
353 static void __get_hash_thresh(struct net *net, in __get_hash_thresh()
374 static struct hlist_head *policy_hash_bysel(struct net *net, in policy_hash_bysel()
391 static struct hlist_head *policy_hash_direct(struct net *net, in policy_hash_direct()
407 static void xfrm_dst_hash_transfer(struct net *net, in xfrm_dst_hash_transfer()
464 static void xfrm_bydst_resize(struct net *net, int dir) in xfrm_bydst_resize()
489 static void xfrm_byidx_resize(struct net *net, int total) in xfrm_byidx_resize()
[all …]
Dxfrm_state.c40 static inline unsigned int xfrm_dst_hash(struct net *net, in xfrm_dst_hash()
49 static inline unsigned int xfrm_src_hash(struct net *net, in xfrm_src_hash()
58 xfrm_spi_hash(struct net *net, const xfrm_address_t *daddr, in xfrm_spi_hash()
102 struct net *net = container_of(work, struct net, xfrm.state_hash_work); in xfrm_hash_resize() local
358 struct net *net = container_of(work, struct net, xfrm.state_gc_work); in xfrm_state_gc_task() local
468 struct xfrm_state *xfrm_state_alloc(struct net *net) in xfrm_state_alloc()
503 struct net *net = xs_net(x); in __xfrm_state_destroy() local
516 struct net *net = xs_net(x); in __xfrm_state_delete() local
556 xfrm_state_flush_secctx_check(struct net *net, u8 proto, bool task_valid) in xfrm_state_flush_secctx_check()
576 xfrm_state_flush_secctx_check(struct net *net, u8 proto, bool task_valid) in xfrm_state_flush_secctx_check()
[all …]
/net/ipv6/
Dip6_fib.c51 struct net *net; member
97 static int fib6_new_sernum(struct net *net) in fib6_new_sernum()
169 static void fib6_link_table(struct net *net, struct fib6_table *tb) in fib6_link_table()
190 static struct fib6_table *fib6_alloc_table(struct net *net, u32 id) in fib6_alloc_table()
205 struct fib6_table *fib6_new_table(struct net *net, u32 id) in fib6_new_table()
222 struct fib6_table *fib6_get_table(struct net *net, u32 id) in fib6_get_table()
244 static void __net_init fib6_tables_init(struct net *net) in fib6_tables_init()
251 struct fib6_table *fib6_new_table(struct net *net, u32 id) in fib6_new_table()
256 struct fib6_table *fib6_get_table(struct net *net, u32 id) in fib6_get_table()
261 struct dst_entry *fib6_rule_lookup(struct net *net, struct flowi6 *fl6, in fib6_rule_lookup()
[all …]
Dxfrm6_tunnel.c48 static inline struct xfrm6_tunnel_net *xfrm6_tunnel_pernet(struct net *net) in xfrm6_tunnel_pernet()
87 static struct xfrm6_tunnel_spi *__xfrm6_tunnel_spi_lookup(struct net *net, const xfrm_address_t *sa… in __xfrm6_tunnel_spi_lookup()
102 __be32 xfrm6_tunnel_spi_lookup(struct net *net, const xfrm_address_t *saddr) in xfrm6_tunnel_spi_lookup()
115 static int __xfrm6_tunnel_spi_check(struct net *net, u32 spi) in __xfrm6_tunnel_spi_check()
130 static u32 __xfrm6_tunnel_alloc_spi(struct net *net, xfrm_address_t *saddr) in __xfrm6_tunnel_alloc_spi()
173 __be32 xfrm6_tunnel_alloc_spi(struct net *net, xfrm_address_t *saddr) in xfrm6_tunnel_alloc_spi()
197 static void xfrm6_tunnel_free_spi(struct net *net, xfrm_address_t *saddr) in xfrm6_tunnel_free_spi()
234 struct net *net = dev_net(skb->dev); in xfrm6_tunnel_rcv() local
298 struct net *net = xs_net(x); in xfrm6_tunnel_destroy() local
325 static int __net_init xfrm6_tunnel_net_init(struct net *net) in xfrm6_tunnel_net_init()
[all …]
Dreassembly.c131 void ip6_expire_frag_queue(struct net *net, struct frag_queue *fq, in ip6_expire_frag_queue()
176 struct net *net; in ip6_frag_expire() local
185 fq_find(struct net *net, __be32 id, const struct in6_addr *src, in fq_find()
215 struct net *net = dev_net(skb_dst(skb)->dev); in ip6_frag_queue() local
382 struct net *net = container_of(fq->q.net, struct net, ipv6.frags); in ip6_frag_reasm() local
527 struct net *net = dev_net(skb_dst(skb)->dev); in ipv6_frag_rcv() local
630 static int __net_init ip6_frags_ns_sysctl_register(struct net *net) in ip6_frags_ns_sysctl_register()
667 static void __net_exit ip6_frags_ns_sysctl_unregister(struct net *net) in ip6_frags_ns_sysctl_unregister()
691 static inline int ip6_frags_ns_sysctl_register(struct net *net) in ip6_frags_ns_sysctl_register()
696 static inline void ip6_frags_ns_sysctl_unregister(struct net *net) in ip6_frags_ns_sysctl_unregister()
[all …]
Dip6mr.c60 struct net *net; member
127 #define ip6mr_for_each_table(mrt, net) \ argument
130 static struct mr6_table *ip6mr_get_table(struct net *net, u32 id) in ip6mr_get_table()
141 static int ip6mr_fib_lookup(struct net *net, struct flowi6 *flp6, in ip6mr_fib_lookup()
229 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()
274 #define ip6mr_for_each_table(mrt, net) \ argument
277 static struct mr6_table *ip6mr_get_table(struct net *net, u32 id) in ip6mr_get_table()
282 static int ip6mr_fib_lookup(struct net *net, struct flowi6 *flp6, in ip6mr_fib_lookup()
289 static int __net_init ip6mr_rules_init(struct net *net) in ip6mr_rules_init()
[all …]
Dxfrm6_policy.c29 static struct dst_entry *xfrm6_dst_lookup(struct net *net, int tos, in xfrm6_dst_lookup()
55 static int xfrm6_get_saddr(struct net *net, in xfrm6_get_saddr()
79 static void xfrm6_init_dst(struct net *net, struct xfrm_dst *xdst) in xfrm6_init_dst()
225 struct net *net = container_of(ops, struct net, xfrm.xfrm6_dst_ops); in xfrm6_garbage_collect() local
338 static int __net_init xfrm6_net_sysctl_init(struct net *net) in xfrm6_net_sysctl_init()
366 static void __net_exit xfrm6_net_sysctl_exit(struct net *net) in xfrm6_net_sysctl_exit()
379 static int inline xfrm6_net_sysctl_init(struct net *net) in xfrm6_net_sysctl_init()
384 static void inline xfrm6_net_sysctl_exit(struct net *net) in xfrm6_net_sysctl_exit()
389 static int __net_init xfrm6_net_init(struct net *net) in xfrm6_net_init()
406 static void __net_exit xfrm6_net_exit(struct net *net) in xfrm6_net_exit()
Droute.c303 static inline struct rt6_info *ip6_dst_alloc(struct net *net, in ip6_dst_alloc()
438 static inline struct rt6_info *rt6_device_match(struct net *net, in rt6_device_match()
673 struct net *net; in rt6_select() local
789 static struct rt6_info *ip6_pol_route_lookup(struct net *net, in ip6_pol_route_lookup()
811 struct dst_entry *ip6_route_lookup(struct net *net, struct flowi6 *fl6, in ip6_route_lookup()
818 struct rt6_info *rt6_lookup(struct net *net, const struct in6_addr *daddr, in rt6_lookup()
911 static struct rt6_info *ip6_pol_route(struct net *net, struct fib6_table *table, int oif, in ip6_pol_route()
982 static struct rt6_info *ip6_pol_route_input(struct net *net, struct fib6_table *table, in ip6_pol_route_input()
988 static struct dst_entry *ip6_route_input_lookup(struct net *net, in ip6_route_input_lookup()
1001 struct net *net = dev_net(skb->dev); in ip6_route_input() local
[all …]
Dip6_flowlabel.c74 static inline struct ip6_flowlabel *__fl_lookup(struct net *net, __be32 label) in __fl_lookup()
85 static struct ip6_flowlabel *fl_lookup(struct net *net, __be32 label) in fl_lookup()
171 static void __net_exit ip6_fl_purge(struct net *net) in ip6_fl_purge()
196 static struct ip6_flowlabel *fl_intern(struct net *net, in fl_intern()
356 fl_create(struct net *net, struct sock *sk, struct in6_flowlabel_req *freq, in fl_create()
517 struct net *net = sock_net(sk); in ipv6_flowlabel_opt() local
584 struct net *net = sock_net(sk); in ipv6_flowlabel_opt() local
699 struct net *net = seq_file_net(seq); in ip6fl_get_first() local
715 struct net *net = seq_file_net(seq); in ip6fl_get_next() local
838 static int __net_init ip6_flowlabel_proc_init(struct net *net) in ip6_flowlabel_proc_init()
[all …]

12345678910>>...15