conntrack.h 456 B

12345678910111213141516171819202122
  1. #ifndef __NETNS_CONNTRACK_H
  2. #define __NETNS_CONNTRACK_H
  3. #include <linux/list.h>
  4. #include <asm/atomic.h>
  5. struct nf_conntrack_ecache;
  6. struct netns_ct {
  7. atomic_t count;
  8. unsigned int expect_count;
  9. struct hlist_head *hash;
  10. struct hlist_head *expect_hash;
  11. struct hlist_head unconfirmed;
  12. struct ip_conntrack_stat *stat;
  13. #ifdef CONFIG_NF_CONNTRACK_EVENTS
  14. struct nf_conntrack_ecache *ecache;
  15. #endif
  16. int hash_vmalloc;
  17. int expect_vmalloc;
  18. };
  19. #endif