conntrack.h 810 B

1234567891011121314151617181920212223242526272829303132
  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 hlist_nulls_head dying;
  15. struct ip_conntrack_stat *stat;
  16. int sysctl_events;
  17. unsigned int sysctl_events_retry_timeout;
  18. int sysctl_acct;
  19. int sysctl_checksum;
  20. unsigned int sysctl_log_invalid; /* Log invalid packets */
  21. #ifdef CONFIG_SYSCTL
  22. struct ctl_table_header *sysctl_header;
  23. struct ctl_table_header *acct_sysctl_header;
  24. struct ctl_table_header *event_sysctl_header;
  25. #endif
  26. int hash_vmalloc;
  27. int expect_vmalloc;
  28. };
  29. #endif