2022-04-02 18:17:33 +05:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#ifndef __NETNS_CORE_H__
|
|
|
|
#define __NETNS_CORE_H__
|
|
|
|
|
2022-09-13 23:14:27 +05:00
|
|
|
#include <linux/types.h>
|
|
|
|
|
2022-04-02 18:17:33 +05:00
|
|
|
struct ctl_table_header;
|
|
|
|
struct prot_inuse;
|
|
|
|
|
|
|
|
struct netns_core {
|
|
|
|
/* core sysctls */
|
|
|
|
struct ctl_table_header *sysctl_hdr;
|
|
|
|
|
|
|
|
int sysctl_somaxconn;
|
2022-05-12 10:47:00 -07:00
|
|
|
u8 sysctl_txrehash;
|
2022-04-02 18:17:33 +05:00
|
|
|
|
|
|
|
#ifdef CONFIG_PROC_FS
|
|
|
|
struct prot_inuse __percpu *prot_inuse;
|
|
|
|
#endif
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|