Home
last modified time | relevance | path

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

12345678910>>...68

/kernel/linux/linux-5.10/include/net/
Dnet_namespace.h59 struct net { struct
63 refcount_t passive; /* To decide when the network argument
66 refcount_t count; /* To decided when the network argument
79 struct list_head list; /* list of network namespaces */ argument
80 struct list_head exit_list; /* To linked to call pernet exit argument
81 * methods on dead net ( argument
94 struct idr netns_ids; argument
99 struct proc_dir_entry *proc_net; argument
100 struct proc_dir_entry *proc_net_stat; argument
106 struct sock *rtnl; /* rtnetlink socket */ argument
[all …]
/kernel/linux/linux-6.6/include/net/
Dnet_namespace.h61 struct net { struct
65 refcount_t passive; /* To decide when the network argument
78 struct list_head list; /* list of network namespaces */ argument
79 struct list_head exit_list; /* To linked to call pernet exit argument
80 * methods on dead net ( argument
93 struct idr netns_ids; argument
98 * refcounted against netns argument
101 struct proc_dir_entry *proc_net; argument
102 struct proc_dir_entry *proc_net_stat; argument
108 struct sock *rtnl; /* rtnetlink socket */ argument
[all …]
/kernel/linux/linux-5.10/Documentation/filesystems/
Dramfs-rootfs-initramfs.rst12 What is ramfs?
39 ramfs and ramdisk:
63 ramfs and tmpfs:
76 What is rootfs?
92 What is initramfs?
136 Populating initramfs:
223 External initramfs images:
241 Contents of initramfs:
289 Why cpio rather than tar?
344 Future directions:
/kernel/linux/linux-5.10/net/tipc/
Dbcast.c77 static struct tipc_bc_base *tipc_bc_base(struct net *net) in tipc_bc_base()
86 int tipc_bcast_get_mtu(struct net *net) in tipc_bcast_get_mtu()
91 void tipc_bcast_toggle_rcast(struct net *net, bool supp) in tipc_bcast_toggle_rcast()
96 static void tipc_bcbase_calc_bc_threshold(struct net *net) in tipc_bcbase_calc_bc_threshold()
107 static void tipc_bcbase_select_primary(struct net *net) in tipc_bcbase_select_primary()
147 void tipc_bcast_inc_bearer_dst_cnt(struct net *net, int bearer_id) in tipc_bcast_inc_bearer_dst_cnt()
157 void tipc_bcast_dec_bearer_dst_cnt(struct net *net, int bearer_id) in tipc_bcast_dec_bearer_dst_cnt()
177 static void tipc_bcbase_xmit(struct net *net, struct sk_buff_head *xmitq) in tipc_bcbase_xmit()
212 static void tipc_bcast_select_xmit_method(struct net *net, int dests, in tipc_bcast_select_xmit_method()
259 int tipc_bcast_xmit(struct net *net, struct sk_buff_head *pkts, in tipc_bcast_xmit()
[all …]
/kernel/linux/linux-6.6/net/tipc/
Dbcast.c77 static struct tipc_bc_base *tipc_bc_base(struct net *net) in tipc_bc_base()
86 int tipc_bcast_get_mtu(struct net *net) in tipc_bcast_get_mtu()
91 void tipc_bcast_toggle_rcast(struct net *net, bool supp) in tipc_bcast_toggle_rcast()
96 static void tipc_bcbase_calc_bc_threshold(struct net *net) in tipc_bcbase_calc_bc_threshold()
107 static void tipc_bcbase_select_primary(struct net *net) in tipc_bcbase_select_primary()
147 void tipc_bcast_inc_bearer_dst_cnt(struct net *net, int bearer_id) in tipc_bcast_inc_bearer_dst_cnt()
157 void tipc_bcast_dec_bearer_dst_cnt(struct net *net, int bearer_id) in tipc_bcast_dec_bearer_dst_cnt()
177 static void tipc_bcbase_xmit(struct net *net, struct sk_buff_head *xmitq) in tipc_bcbase_xmit()
212 static void tipc_bcast_select_xmit_method(struct net *net, int dests, in tipc_bcast_select_xmit_method()
259 int tipc_bcast_xmit(struct net *net, struct sk_buff_head *pkts, in tipc_bcast_xmit()
[all …]
/kernel/linux/linux-6.6/net/core/
Dnet_namespace.c85 static int net_assign_generic(struct net *net, unsigned int id, void *data) in net_assign_generic()
122 static int ops_init(const struct pernet_operations *ops, struct net *net) in ops_init()
159 struct net *net; in ops_pre_exit_list() local
170 struct net *net; in ops_exit_list() local
184 struct net *net; in ops_free_list() local
192 static int alloc_netid(struct net *net, struct net *peer, int reqid) in alloc_netid()
210 static int net_eq_idr(int id, void *net, void *peer) in net_eq_idr()
218 static int __peernet2id(const struct net *net, struct net *peer) in __peernet2id()
236 int peernet2id_alloc(struct net *net, struct net *peer, gfp_t gfp) in peernet2id_alloc()
274 int peernet2id(const struct net *net, struct net *peer) in peernet2id()
[all …]
/kernel/linux/linux-5.10/net/core/
Dnet_namespace.c75 u64 __net_gen_cookie(struct net *net) in __net_gen_cookie()
102 static int net_assign_generic(struct net *net, unsigned int id, void *data) in net_assign_generic()
139 static int ops_init(const struct pernet_operations *ops, struct net *net) in ops_init()
173 static void ops_free(const struct pernet_operations *ops, struct net *net) in ops_free()
183 struct net *net; in ops_pre_exit_list() local
194 struct net *net; in ops_exit_list() local
208 struct net *net; in ops_free_list() local
216 static int alloc_netid(struct net *net, struct net *peer, int reqid) in alloc_netid()
234 static int net_eq_idr(int id, void *net, void *peer) in net_eq_idr()
242 static int __peernet2id(const struct net *net, struct net *peer) in __peernet2id()
[all …]
/kernel/linux/linux-6.6/net/sctp/
Dsm_statefuns.c231 enum sctp_disposition sctp_sf_do_4_C(struct net *net, in sctp_sf_do_4_C()
316 enum sctp_disposition sctp_sf_do_5_1B_init(struct net *net, in sctp_sf_do_5_1B_init()
516 enum sctp_disposition sctp_sf_do_5_1C_ack(struct net *net, in sctp_sf_do_5_1C_ack()
635 static bool sctp_auth_chunk_verify(struct net *net, struct sctp_chunk *chunk, in sctp_auth_chunk_verify()
698 enum sctp_disposition sctp_sf_do_5_1D_ce(struct net *net, in sctp_sf_do_5_1D_ce()
919 enum sctp_disposition sctp_sf_do_5_1E_ca(struct net *net, in sctp_sf_do_5_1E_ca()
1038 enum sctp_disposition sctp_sf_sendbeat_8_3(struct net *net, in sctp_sf_sendbeat_8_3()
1086 enum sctp_disposition sctp_sf_send_reconf(struct net *net, in sctp_sf_send_reconf()
1115 enum sctp_disposition sctp_sf_send_probe(struct net *net, in sctp_sf_send_probe()
1163 enum sctp_disposition sctp_sf_beat_8_3(struct net *net, in sctp_sf_beat_8_3()
[all …]
/kernel/linux/linux-5.10/net/sctp/
Dsm_statefuns.c224 enum sctp_disposition sctp_sf_do_4_C(struct net *net, in sctp_sf_do_4_C()
309 enum sctp_disposition sctp_sf_do_5_1B_init(struct net *net, in sctp_sf_do_5_1B_init()
508 enum sctp_disposition sctp_sf_do_5_1C_ack(struct net *net, in sctp_sf_do_5_1C_ack()
627 static bool sctp_auth_chunk_verify(struct net *net, struct sctp_chunk *chunk, in sctp_auth_chunk_verify()
690 enum sctp_disposition sctp_sf_do_5_1D_ce(struct net *net, in sctp_sf_do_5_1D_ce()
908 enum sctp_disposition sctp_sf_do_5_1E_ca(struct net *net, in sctp_sf_do_5_1E_ca()
1025 enum sctp_disposition sctp_sf_sendbeat_8_3(struct net *net, in sctp_sf_sendbeat_8_3()
1073 enum sctp_disposition sctp_sf_send_reconf(struct net *net, in sctp_sf_send_reconf()
1125 enum sctp_disposition sctp_sf_beat_8_3(struct net *net, in sctp_sf_beat_8_3()
1199 enum sctp_disposition sctp_sf_backbeat_8_3(struct net *net, in sctp_sf_backbeat_8_3()
[all …]
/kernel/linux/linux-6.6/net/ipv4/
Dfib_frontend.c52 static int __net_init fib4_rules_init(struct net *net) in fib4_rules_init()
76 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()
132 static void fib_replace_table(struct net *net, struct fib_table *old, in fib_replace_table()
152 int fib_unmerge(struct net *net) in fib_unmerge()
184 void fib_flush(struct net *net) in fib_flush()
206 static inline unsigned int __inet_dev_addr_type(struct net *net, in __inet_dev_addr_type()
237 unsigned int inet_addr_type_table(struct net *net, __be32 addr, u32 tb_id) in inet_addr_type_table()
243 unsigned int inet_addr_type(struct net *net, __be32 addr) in inet_addr_type()
249 unsigned int inet_dev_addr_type(struct net *net, const struct net_device *dev, in inet_dev_addr_type()
[all …]
Dipmr.c117 #define ipmr_for_each_table(mrt, net) \ argument
122 static struct mr_table *ipmr_mr_table_iter(struct net *net, in ipmr_mr_table_iter()
139 static struct mr_table *__ipmr_get_table(struct net *net, u32 id) in __ipmr_get_table()
150 static struct mr_table *ipmr_get_table(struct net *net, u32 id) in ipmr_get_table()
160 static int ipmr_fib_lookup(struct net *net, struct flowi4 *flp4, in ipmr_fib_lookup()
248 static int __net_init ipmr_rules_init(struct net *net) in ipmr_rules_init()
282 static void __net_exit ipmr_rules_exit(struct net *net) in ipmr_rules_exit()
294 static int ipmr_rules_dump(struct net *net, struct notifier_block *nb, in ipmr_rules_dump()
300 static unsigned int ipmr_rules_seq_read(struct net *net) in ipmr_rules_seq_read()
311 #define ipmr_for_each_table(mrt, net) \ argument
[all …]
/kernel/linux/linux-6.6/net/mptcp/
Dctrl.c38 static struct mptcp_pernet *mptcp_get_pernet(const struct net *net) in mptcp_get_pernet()
43 int mptcp_is_enabled(const struct net *net) in mptcp_is_enabled()
48 unsigned int mptcp_get_add_addr_timeout(const struct net *net) in mptcp_get_add_addr_timeout()
53 int mptcp_is_checksum_enabled(const struct net *net) in mptcp_is_checksum_enabled()
58 int mptcp_allow_join_id0(const struct net *net) in mptcp_allow_join_id0()
63 unsigned int mptcp_stale_loss_cnt(const struct net *net) in mptcp_stale_loss_cnt()
68 int mptcp_get_pm_type(const struct net *net) in mptcp_get_pm_type()
73 const char *mptcp_get_scheduler(const struct net *net) in mptcp_get_scheduler()
183 static int mptcp_pernet_new_table(struct net *net, struct mptcp_pernet *pernet) in mptcp_pernet_new_table()
230 static int mptcp_pernet_new_table(struct net *net, struct mptcp_pernet *pernet) in mptcp_pernet_new_table()
[all …]
/kernel/linux/linux-5.10/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()
111 struct fib_table *fib_get_table(struct net *net, u32 id) in fib_get_table()
131 static void fib_replace_table(struct net *net, struct fib_table *old, in fib_replace_table()
151 int fib_unmerge(struct net *net) in fib_unmerge()
183 void fib_flush(struct net *net) in fib_flush()
205 static inline unsigned int __inet_dev_addr_type(struct net *net, in __inet_dev_addr_type()
236 unsigned int inet_addr_type_table(struct net *net, __be32 addr, u32 tb_id) in inet_addr_type_table()
242 unsigned int inet_addr_type(struct net *net, __be32 addr) in inet_addr_type()
248 unsigned int inet_dev_addr_type(struct net *net, const struct net_device *dev, in inet_dev_addr_type()
[all …]
Dipmr.c112 #define ipmr_for_each_table(mrt, net) \ argument
117 static struct mr_table *ipmr_mr_table_iter(struct net *net, in ipmr_mr_table_iter()
134 static struct mr_table *ipmr_get_table(struct net *net, u32 id) in ipmr_get_table()
145 static int ipmr_fib_lookup(struct net *net, struct flowi4 *flp4, in ipmr_fib_lookup()
238 static int __net_init ipmr_rules_init(struct net *net) in ipmr_rules_init()
272 static void __net_exit ipmr_rules_exit(struct net *net) in ipmr_rules_exit()
285 static int ipmr_rules_dump(struct net *net, struct notifier_block *nb, in ipmr_rules_dump()
291 static unsigned int ipmr_rules_seq_read(struct net *net) in ipmr_rules_seq_read()
302 #define ipmr_for_each_table(mrt, net) \ argument
305 static struct mr_table *ipmr_mr_table_iter(struct net *net, in ipmr_mr_table_iter()
[all …]
/kernel/linux/linux-5.10/fs/afs/
Dserver.c24 struct afs_server *afs_find_server(struct afs_net *net, in afs_find_server()
90 struct afs_server *afs_find_server_by_uuid(struct afs_net *net, const uuid_t *uuid) in afs_find_server_by_uuid()
143 struct afs_net *net = cell->net; in afs_install_server() local
224 struct afs_net *net = cell->net; in afs_alloc_server() local
327 static void afs_set_server_timer(struct afs_net *net, time64_t delay) in afs_set_server_timer()
342 struct afs_net *net = container_of(timer, struct afs_net, fs_timer); in afs_servers_timer() local
393 void afs_put_server(struct afs_net *net, struct afs_server *server, in afs_put_server()
411 void afs_unuse_server_notime(struct afs_net *net, struct afs_server *server, in afs_unuse_server_notime()
426 void afs_unuse_server(struct afs_net *net, struct afs_server *server, in afs_unuse_server()
445 static void __afs_put_server(struct afs_net *net, struct afs_server *server) in __afs_put_server()
[all …]
/kernel/linux/linux-5.10/kernel/bpf/
Dnet_namespace.c21 struct net *net; member
55 static void netns_bpf_run_array_detach(struct net *net, in netns_bpf_run_array_detach()
65 static int link_index(struct net *net, enum netns_bpf_attach_type type, in link_index()
79 static int link_count(struct net *net, enum netns_bpf_attach_type type) in link_count()
89 static void fill_prog_array(struct net *net, enum netns_bpf_attach_type type, in fill_prog_array()
107 struct net *net; in bpf_netns_link_release() local
171 struct net *net; in bpf_netns_link_update_prog() local
209 struct net *net; in bpf_netns_link_fill_info() local
247 struct net *net, in __netns_bpf_prog_query()
274 struct net *net; in netns_bpf_prog_query() local
[all …]
/kernel/linux/linux-6.6/kernel/bpf/
Dnet_namespace.c22 struct net *net; member
56 static void netns_bpf_run_array_detach(struct net *net, in netns_bpf_run_array_detach()
66 static int link_index(struct net *net, enum netns_bpf_attach_type type, in link_index()
80 static int link_count(struct net *net, enum netns_bpf_attach_type type) in link_count()
90 static void fill_prog_array(struct net *net, enum netns_bpf_attach_type type, in fill_prog_array()
108 struct net *net; in bpf_netns_link_release() local
172 struct net *net; in bpf_netns_link_update_prog() local
210 struct net *net; in bpf_netns_link_fill_info() local
248 struct net *net, in __netns_bpf_prog_query()
275 struct net *net; in netns_bpf_prog_query() local
[all …]
/kernel/linux/linux-6.6/net/ipv6/
Dip6mr.c106 #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 struct mr_table *ip6mr_get_table(struct net *net, u32 id) in ip6mr_get_table()
149 static int ip6mr_fib_lookup(struct net *net, struct flowi6 *flp6, in ip6mr_fib_lookup()
237 static int __net_init ip6mr_rules_init(struct net *net) in ip6mr_rules_init()
271 static void __net_exit ip6mr_rules_exit(struct net *net) in ip6mr_rules_exit()
283 static int ip6mr_rules_dump(struct net *net, struct notifier_block *nb, in ip6mr_rules_dump()
289 static unsigned int ip6mr_rules_seq_read(struct net *net) in ip6mr_rules_seq_read()
301 #define ip6mr_for_each_table(mrt, net) \ argument
[all …]
Dip6_fib.c44 struct net *net; member
75 #define FOR_WALKERS(net, w) \ argument
78 static void fib6_walker_link(struct net *net, struct fib6_walker *w) in fib6_walker_link()
85 static void fib6_walker_unlink(struct net *net, struct fib6_walker *w) in fib6_walker_unlink()
92 static int fib6_new_sernum(struct net *net) in fib6_new_sernum()
107 void fib6_update_sernum(struct net *net, struct fib6_info *f6i) in fib6_update_sernum()
182 static struct fib6_node *node_alloc(struct net *net) in node_alloc()
193 static void node_free_immediate(struct net *net, struct fib6_node *fn) in node_free_immediate()
206 static void node_free(struct net *net, struct fib6_node *fn) in node_free()
218 static void fib6_link_table(struct net *net, struct fib6_table *tb) in fib6_link_table()
[all …]
/kernel/linux/linux-5.10/net/ipv6/
Dip6_fib.c42 struct net *net; member
73 #define FOR_WALKERS(net, w) \ argument
76 static void fib6_walker_link(struct net *net, struct fib6_walker *w) in fib6_walker_link()
83 static void fib6_walker_unlink(struct net *net, struct fib6_walker *w) in fib6_walker_unlink()
90 static int fib6_new_sernum(struct net *net) in fib6_new_sernum()
106 void fib6_update_sernum(struct net *net, struct fib6_info *f6i) in fib6_update_sernum()
181 static struct fib6_node *node_alloc(struct net *net) in node_alloc()
192 static void node_free_immediate(struct net *net, struct fib6_node *fn) in node_free_immediate()
205 static void node_free(struct net *net, struct fib6_node *fn) in node_free()
217 static void fib6_link_table(struct net *net, struct fib6_table *tb) in fib6_link_table()
[all …]
Dip6mr.c99 #define ip6mr_for_each_table(mrt, net) \ argument
104 static struct mr_table *ip6mr_mr_table_iter(struct net *net, in ip6mr_mr_table_iter()
121 static struct mr_table *ip6mr_get_table(struct net *net, u32 id) in ip6mr_get_table()
132 static int ip6mr_fib_lookup(struct net *net, struct flowi6 *flp6, in ip6mr_fib_lookup()
225 static int __net_init ip6mr_rules_init(struct net *net) in ip6mr_rules_init()
259 static void __net_exit ip6mr_rules_exit(struct net *net) in ip6mr_rules_exit()
272 static int ip6mr_rules_dump(struct net *net, struct notifier_block *nb, in ip6mr_rules_dump()
278 static unsigned int ip6mr_rules_seq_read(struct net *net) in ip6mr_rules_seq_read()
290 #define ip6mr_for_each_table(mrt, net) \ argument
293 static struct mr_table *ip6mr_mr_table_iter(struct net *net, in ip6mr_mr_table_iter()
[all …]
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Droute.c147 static void rtmsg_to_fibni_config(struct net *net, struct nip_rtmsg *rtmsg, in rtmsg_to_fibni_config()
174 static struct nip_rt_info *__nip_dst_alloc(struct net *net, in __nip_dst_alloc()
187 struct nip_rt_info *nip_dst_alloc(struct net *net, struct net_device *dev, in nip_dst_alloc()
284 struct net *net = dev_net(rt->dst.dev); in nip_rt_make_pcpu_route() local
310 static struct nip_rt_info *nip_pol_route_input(struct net *net, in nip_pol_route_input()
317 struct dst_entry *nip_route_input_lookup(struct net *net, in nip_route_input_lookup()
326 struct net *net = dev_net(skb->dev); in nip_route_input() local
365 static struct nip_rt_info *nip_pol_route_output(struct net *net, in nip_pol_route_output()
372 struct dst_entry *nip_route_output_flags(struct net *net, const struct sock *sk, in nip_route_output_flags()
406 struct nip_rt_info *nip_pol_route(struct net *net, struct nip_fib_table *table, in nip_pol_route()
[all …]
/kernel/linux/linux-5.10/net/netfilter/
Dnf_synproxy_core.c312 static int __net_init synproxy_proc_init(struct net *net) in synproxy_proc_init()
320 static void __net_exit synproxy_proc_exit(struct net *net) in synproxy_proc_exit()
325 static int __net_init synproxy_proc_init(struct net *net) in synproxy_proc_init()
330 static void __net_exit synproxy_proc_exit(struct net *net) in synproxy_proc_exit()
336 static int __net_init synproxy_net_init(struct net *net) in synproxy_net_init()
373 static void __net_exit synproxy_net_exit(struct net *net) in synproxy_net_exit()
419 synproxy_build_ip(struct net *net, struct sk_buff *skb, __be32 saddr, in synproxy_build_ip()
441 synproxy_send_tcp(struct net *net, in synproxy_send_tcp()
470 synproxy_send_client_synack(struct net *net, in synproxy_send_client_synack()
513 synproxy_send_server_syn(struct net *net, in synproxy_send_server_syn()
[all …]
/kernel/linux/linux-6.6/net/netfilter/
Dnf_synproxy_core.c306 static int __net_init synproxy_proc_init(struct net *net) in synproxy_proc_init()
314 static void __net_exit synproxy_proc_exit(struct net *net) in synproxy_proc_exit()
319 static int __net_init synproxy_proc_init(struct net *net) in synproxy_proc_init()
324 static void __net_exit synproxy_proc_exit(struct net *net) in synproxy_proc_exit()
330 static int __net_init synproxy_net_init(struct net *net) in synproxy_net_init()
366 static void __net_exit synproxy_net_exit(struct net *net) in synproxy_net_exit()
396 synproxy_build_ip(struct net *net, struct sk_buff *skb, __be32 saddr, in synproxy_build_ip()
418 synproxy_send_tcp(struct net *net, in synproxy_send_tcp()
447 synproxy_send_client_synack(struct net *net, in synproxy_send_client_synack()
490 synproxy_send_server_syn(struct net *net, in synproxy_send_server_syn()
[all …]
/kernel/linux/linux-6.6/fs/afs/
Dserver.c24 struct afs_server *afs_find_server(struct afs_net *net, in afs_find_server()
90 struct afs_server *afs_find_server_by_uuid(struct afs_net *net, const uuid_t *uuid) in afs_find_server_by_uuid()
143 struct afs_net *net = cell->net; in afs_install_server() local
224 struct afs_net *net = cell->net; in afs_alloc_server() local
329 static void afs_set_server_timer(struct afs_net *net, time64_t delay) in afs_set_server_timer()
344 struct afs_net *net = container_of(timer, struct afs_net, fs_timer); in afs_servers_timer() local
401 void afs_put_server(struct afs_net *net, struct afs_server *server, in afs_put_server()
422 void afs_unuse_server_notime(struct afs_net *net, struct afs_server *server, in afs_unuse_server_notime()
437 void afs_unuse_server(struct afs_net *net, struct afs_server *server, in afs_unuse_server()
456 static void __afs_put_server(struct afs_net *net, struct afs_server *server) in __afs_put_server()
[all …]

12345678910>>...68