Files

20 lines
346 B
C
Raw Permalink Normal View History

/* SPDX-License-Identifier: GPL-2.0 */
2008-03-31 19:41:14 -07:00
#ifndef __NETNS_CORE_H__
#define __NETNS_CORE_H__
struct ctl_table_header;
struct prot_inuse;
2008-03-31 19:41:14 -07:00
struct netns_core {
/* core sysctls */
struct ctl_table_header *sysctl_hdr;
int sysctl_somaxconn;
2017-12-14 05:51:58 -08:00
#ifdef CONFIG_PROC_FS
int __percpu *sock_inuse;
2017-12-14 05:51:57 -08:00
struct prot_inuse __percpu *prot_inuse;
#endif
2008-03-31 19:41:14 -07:00
};
#endif