Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef __NETNS_CORE_H__
0003 #define __NETNS_CORE_H__
0004 
0005 #include <linux/types.h>
0006 
0007 struct ctl_table_header;
0008 struct prot_inuse;
0009 
0010 struct netns_core {
0011     /* core sysctls */
0012     struct ctl_table_header *sysctl_hdr;
0013 
0014     int sysctl_somaxconn;
0015     u8  sysctl_txrehash;
0016 
0017 #ifdef CONFIG_PROC_FS
0018     struct prot_inuse __percpu *prot_inuse;
0019 #endif
0020 };
0021 
0022 #endif