PageRenderTime 48ms CodeModel.GetById 12ms RepoModel.GetById 0ms app.codeStats 0ms

/kernel/2.6.32_froyo_photon_nightly/include/net/netns/ipv6.h

http://photon-android.googlecode.com/
C++ Header | 72 lines | 64 code | 5 blank | 3 comment | 0 complexity | 0bc57731337f2820c86202a756b3d1c0 MD5 | raw file
Possible License(s): LGPL-2.0, AGPL-1.0, GPL-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. #include <net/dst_ops.h>
  8. struct ctl_table_header;
  9. struct netns_sysctl_ipv6 {
  10. #ifdef CONFIG_SYSCTL
  11. struct ctl_table_header *table;
  12. struct ctl_table_header *frags_hdr;
  13. #endif
  14. int bindv6only;
  15. int flush_delay;
  16. int ip6_rt_max_size;
  17. int ip6_rt_gc_min_interval;
  18. int ip6_rt_gc_timeout;
  19. int ip6_rt_gc_interval;
  20. int ip6_rt_gc_elasticity;
  21. int ip6_rt_mtu_expires;
  22. int ip6_rt_min_advmss;
  23. int icmpv6_time;
  24. };
  25. struct netns_ipv6 {
  26. struct netns_sysctl_ipv6 sysctl;
  27. struct ipv6_devconf *devconf_all;
  28. struct ipv6_devconf *devconf_dflt;
  29. struct netns_frags frags;
  30. #ifdef CONFIG_NETFILTER
  31. struct xt_table *ip6table_filter;
  32. struct xt_table *ip6table_mangle;
  33. struct xt_table *ip6table_raw;
  34. struct xt_table *ip6table_security;
  35. #endif
  36. struct rt6_info *ip6_null_entry;
  37. struct rt6_statistics *rt6_stats;
  38. struct timer_list ip6_fib_timer;
  39. struct hlist_head *fib_table_hash;
  40. struct fib6_table *fib6_main_tbl;
  41. struct dst_ops ip6_dst_ops;
  42. unsigned int ip6_rt_gc_expire;
  43. unsigned long ip6_rt_last_gc;
  44. #ifdef CONFIG_IPV6_MULTIPLE_TABLES
  45. struct rt6_info *ip6_prohibit_entry;
  46. struct rt6_info *ip6_blk_hole_entry;
  47. struct fib6_table *fib6_local_tbl;
  48. struct fib_rules_ops *fib6_rules_ops;
  49. #endif
  50. struct sock **icmp_sk;
  51. struct sock *ndisc_sk;
  52. struct sock *tcp_sk;
  53. struct sock *igmp_sk;
  54. #ifdef CONFIG_IPV6_MROUTE
  55. struct sock *mroute6_sk;
  56. struct mfc6_cache **mfc6_cache_array;
  57. struct mif_device *vif6_table;
  58. int maxvif;
  59. atomic_t cache_resolve_queue_len;
  60. int mroute_do_assert;
  61. int mroute_do_pim;
  62. #ifdef CONFIG_IPV6_PIMSM_V2
  63. int mroute_reg_vif_num;
  64. #endif
  65. #endif
  66. };
  67. #endif