core.h 285 B

123456789101112131415161718
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __NETNS_CORE_H__
  3. #define __NETNS_CORE_H__
  4. struct ctl_table_header;
  5. struct prot_inuse;
  6. struct netns_core {
  7. /* core sysctls */
  8. struct ctl_table_header *sysctl_hdr;
  9. int sysctl_somaxconn;
  10. struct prot_inuse __percpu *inuse;
  11. };
  12. #endif