PageRenderTime 49ms CodeModel.GetById 24ms RepoModel.GetById 0ms app.codeStats 0ms

/include/net/netns/ipv6.h

http://github.com/CyanogenMod/cm-kernel
C Header | 71 lines | 63 code | 5 blank | 3 comment | 0 complexity | e661127676b5f426661d1262171a5fee MD5 | raw file
Possible License(s): AGPL-1.0, GPL-2.0, LGPL-2.0
  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. struct xt_table *ip6table_security;
  34. #endif
  35. struct rt6_info *ip6_null_entry;
  36. struct rt6_statistics *rt6_stats;
  37. struct timer_list ip6_fib_timer;
  38. struct hlist_head *fib_table_hash;
  39. struct fib6_table *fib6_main_tbl;
  40. struct dst_ops *ip6_dst_ops;
  41. unsigned int ip6_rt_gc_expire;
  42. unsigned long ip6_rt_last_gc;
  43. #ifdef CONFIG_IPV6_MULTIPLE_TABLES
  44. struct rt6_info *ip6_prohibit_entry;
  45. struct rt6_info *ip6_blk_hole_entry;
  46. struct fib6_table *fib6_local_tbl;
  47. struct fib_rules_ops *fib6_rules_ops;
  48. #endif
  49. struct sock **icmp_sk;
  50. struct sock *ndisc_sk;
  51. struct sock *tcp_sk;
  52. struct sock *igmp_sk;
  53. #ifdef CONFIG_IPV6_MROUTE
  54. struct sock *mroute6_sk;
  55. struct mfc6_cache **mfc6_cache_array;
  56. struct mif_device *vif6_table;
  57. int maxvif;
  58. atomic_t cache_resolve_queue_len;
  59. int mroute_do_assert;
  60. int mroute_do_pim;
  61. #ifdef CONFIG_IPV6_PIMSM_V2
  62. int mroute_reg_vif_num;
  63. #endif
  64. #endif
  65. };
  66. #endif