Pavel Emelyanov | 8efa6e9 | 2008-03-31 19:41:14 -0700 | [diff] [blame] | 1 | #ifndef __NETNS_CORE_H__ |
| 2 | #define __NETNS_CORE_H__ |
| 3 | |
| 4 | struct ctl_table_header; |
Pavel Emelyanov | 70ee115 | 2008-03-31 19:42:16 -0700 | [diff] [blame] | 5 | struct prot_inuse; |
Pavel Emelyanov | 8efa6e9 | 2008-03-31 19:41:14 -0700 | [diff] [blame] | 6 | |
| 7 | struct netns_core { |
| 8 | /* core sysctls */ |
| 9 | struct ctl_table_header *sysctl_hdr; |
| 10 | |
| 11 | int sysctl_somaxconn; |
Pavel Emelyanov | 70ee115 | 2008-03-31 19:42:16 -0700 | [diff] [blame] | 12 | |
Tejun Heo | 7d720c3 | 2010-02-16 15:20:26 +0000 | [diff] [blame] | 13 | struct prot_inuse __percpu *inuse; |
Pavel Emelyanov | 8efa6e9 | 2008-03-31 19:41:14 -0700 | [diff] [blame] | 14 | }; |
| 15 | |
| 16 | #endif |