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