conntrack.h 870 B

12345678910111213141516171819202122232425262728293031323334
  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 kmem_cache *nf_conntrack_cachep;
  12. struct hlist_nulls_head *hash;
  13. struct hlist_head *expect_hash;
  14. struct hlist_nulls_head unconfirmed;
  15. struct hlist_nulls_head dying;
  16. struct ip_conntrack_stat *stat;
  17. int sysctl_events;
  18. unsigned int sysctl_events_retry_timeout;
  19. int sysctl_acct;
  20. int sysctl_checksum;
  21. unsigned int sysctl_log_invalid; /* Log invalid packets */
  22. #ifdef CONFIG_SYSCTL
  23. struct ctl_table_header *sysctl_header;
  24. struct ctl_table_header *acct_sysctl_header;
  25. struct ctl_table_header *event_sysctl_header;
  26. #endif
  27. int hash_vmalloc;
  28. int expect_vmalloc;
  29. char *slabname;
  30. };
  31. #endif