conntrack.h 550 B

1234567891011121314151617181920212223242526
  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. #ifdef CONFIG_SYSCTL
  18. struct ctl_table_header *sysctl_header;
  19. #endif
  20. int hash_vmalloc;
  21. int expect_vmalloc;
  22. };
  23. #endif