ipv6.h 795 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. };
  35. #endif