forked from Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
346 B
21 lines
346 B
3 years ago
|
/* SPDX-License-Identifier: GPL-2.0 */
|
||
|
#ifndef __NETNS_CORE_H__
|
||
|
#define __NETNS_CORE_H__
|
||
|
|
||
|
struct ctl_table_header;
|
||
|
struct prot_inuse;
|
||
|
|
||
|
struct netns_core {
|
||
|
/* core sysctls */
|
||
|
struct ctl_table_header *sysctl_hdr;
|
||
|
|
||
|
int sysctl_somaxconn;
|
||
|
|
||
|
#ifdef CONFIG_PROC_FS
|
||
|
int __percpu *sock_inuse;
|
||
|
struct prot_inuse __percpu *prot_inuse;
|
||
|
#endif
|
||
|
};
|
||
|
|
||
|
#endif
|