conntrack.h 734 B

123456789101112131415161718192021222324252627282930
  1. #ifndef __NETNS_CONNTRACK_H
  2. #define __NETNS_CONNTRACK_H
  3. #include <linux/list.h>
  4. #include <linux/list_nulls.h>
  5. #include <asm/atomic.h>
  6. struct ctl_table_header;
  7. struct nf_conntrack_ecache;
  8. struct netns_ct {
  9. atomic_t count;
  10. unsigned int expect_count;
  11. struct hlist_nulls_head *hash;
  12. struct hlist_head *expect_hash;
  13. struct hlist_nulls_head unconfirmed;
  14. struct ip_conntrack_stat *stat;
  15. int sysctl_events;
  16. int sysctl_acct;
  17. int sysctl_checksum;
  18. unsigned int sysctl_log_invalid; /* Log invalid packets */
  19. #ifdef CONFIG_SYSCTL
  20. struct ctl_table_header *sysctl_header;
  21. struct ctl_table_header *acct_sysctl_header;
  22. struct ctl_table_header *event_sysctl_header;
  23. #endif
  24. int hash_vmalloc;
  25. int expect_vmalloc;
  26. };
  27. #endif