]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
8efa6e93 PE |
2 | #ifndef __NETNS_CORE_H__ |
3 | #define __NETNS_CORE_H__ | |
4 | ||
5 | struct ctl_table_header; | |
70ee1159 | 6 | struct prot_inuse; |
8efa6e93 PE |
7 | |
8 | struct netns_core { | |
9 | /* core sysctls */ | |
10 | struct ctl_table_header *sysctl_hdr; | |
11 | ||
12 | int sysctl_somaxconn; | |
70ee1159 | 13 | |
648845ab TZ |
14 | #ifdef CONFIG_PROC_FS |
15 | int __percpu *sock_inuse; | |
08fc7f81 | 16 | struct prot_inuse __percpu *prot_inuse; |
398b841e | 17 | #endif |
8efa6e93 PE |
18 | }; |
19 | ||
20 | #endif |