conntrack.h 701 B

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