xref: /linux/include/net/netns/core.h (revision 6c8c1406a6d6a3f2e61ac590f5c0994231bc6be7)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __NETNS_CORE_H__
3 #define __NETNS_CORE_H__
4 
5 #include <linux/types.h>
6 
7 struct ctl_table_header;
8 struct prot_inuse;
9 
10 struct netns_core {
11 	/* core sysctls */
12 	struct ctl_table_header	*sysctl_hdr;
13 
14 	int	sysctl_somaxconn;
15 	u8	sysctl_txrehash;
16 
17 #ifdef CONFIG_PROC_FS
18 	struct prot_inuse __percpu *prot_inuse;
19 #endif
20 };
21 
22 #endif
23