ipv6.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /*
  2. * ipv6 in net namespaces
  3. */
  4. #include <net/inet_frag.h>
  5. #ifndef __NETNS_IPV6_H__
  6. #define __NETNS_IPV6_H__
  7. struct ctl_table_header;
  8. struct netns_sysctl_ipv6 {
  9. #ifdef CONFIG_SYSCTL
  10. struct ctl_table_header *table;
  11. struct ctl_table_header *frags_hdr;
  12. #endif
  13. int bindv6only;
  14. int flush_delay;
  15. int ip6_rt_max_size;
  16. int ip6_rt_gc_min_interval;
  17. int ip6_rt_gc_timeout;
  18. int ip6_rt_gc_interval;
  19. int ip6_rt_gc_elasticity;
  20. int ip6_rt_mtu_expires;
  21. int ip6_rt_min_advmss;
  22. int icmpv6_time;
  23. };
  24. struct netns_ipv6 {
  25. struct netns_sysctl_ipv6 sysctl;
  26. struct ipv6_devconf *devconf_all;
  27. struct ipv6_devconf *devconf_dflt;
  28. struct netns_frags frags;
  29. #ifdef CONFIG_NETFILTER
  30. struct xt_table *ip6table_filter;
  31. struct xt_table *ip6table_mangle;
  32. struct xt_table *ip6table_raw;
  33. #endif
  34. struct rt6_statistics *rt6_stats;
  35. struct timer_list *ip6_fib_timer;
  36. struct hlist_head *fib_table_hash;
  37. struct fib6_table *fib6_main_tbl;
  38. #ifdef CONFIG_IPV6_MULTIPLE_TABLES
  39. struct fib6_table *fib6_local_tbl;
  40. struct fib_rules_ops *fib6_rules_ops;
  41. #endif
  42. struct sock **icmp_sk;
  43. };
  44. #endif