2008-04-01 10:41:14 +08:00
|
|
|
#ifndef __NETNS_CORE_H__
|
|
|
|
#define __NETNS_CORE_H__
|
|
|
|
|
|
|
|
struct ctl_table_header;
|
2008-04-01 10:42:16 +08:00
|
|
|
struct prot_inuse;
|
2008-04-01 10:41:14 +08:00
|
|
|
|
|
|
|
struct netns_core {
|
|
|
|
/* core sysctls */
|
|
|
|
struct ctl_table_header *sysctl_hdr;
|
|
|
|
|
|
|
|
int sysctl_somaxconn;
|
2008-04-01 10:42:16 +08:00
|
|
|
|
2010-02-16 23:20:26 +08:00
|
|
|
struct prot_inuse __percpu *inuse;
|
2008-04-01 10:41:14 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|