diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-03-31 22:41:14 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-31 22:41:14 -0400 |
commit | 8efa6e93cb2666dceafc4844057fdcb9aa324fb7 (patch) | |
tree | 3fbf8da25edf1b942411d89896400effd5a83419 /include/net/netns | |
parent | 3edf8fa5ccf10688a9280b5cbca8ed3947c42866 (diff) |
[NETNS]: Introduce a netns_core structure.
There's already some stuff on the struct net, that should better
be folded into netns_core structure. I'm making the per-proto inuse
counter be per-net also, which is also a candidate for this, so
introduce this structure and populate it a bit.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netns')
-rw-r--r-- | include/net/netns/core.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/net/netns/core.h b/include/net/netns/core.h new file mode 100644 index 000000000000..0e8c0f8435d4 --- /dev/null +++ b/include/net/netns/core.h | |||
@@ -0,0 +1,13 @@ | |||
1 | #ifndef __NETNS_CORE_H__ | ||
2 | #define __NETNS_CORE_H__ | ||
3 | |||
4 | struct ctl_table_header; | ||
5 | |||
6 | struct netns_core { | ||
7 | /* core sysctls */ | ||
8 | struct ctl_table_header *sysctl_hdr; | ||
9 | |||
10 | int sysctl_somaxconn; | ||
11 | }; | ||
12 | |||
13 | #endif | ||