PageRenderTime 52ms CodeModel.GetById 23ms RepoModel.GetById 0ms app.codeStats 0ms

/include/net/netns/ipv6.h

https://bitbucket.org/KubuntuFan/gnublin-linux-3.x
C Header | 70 lines | 62 code | 5 blank | 3 comment | 0 complexity | df0ba80f4a0ddc99196f286fa0f1e02a MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.0, AGPL-1.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. #ifdef CONFIG_SECURITY
  35. struct xt_table *ip6table_security;
  36. #endif
  37. #endif
  38. struct rt6_info *ip6_null_entry;
  39. struct rt6_statistics *rt6_stats;
  40. struct timer_list ip6_fib_timer;
  41. struct hlist_head *fib_table_hash;
  42. struct fib6_table *fib6_main_tbl;
  43. struct dst_ops ip6_dst_ops;
  44. unsigned int ip6_rt_gc_expire;
  45. unsigned long ip6_rt_last_gc;
  46. #ifdef CONFIG_IPV6_MULTIPLE_TABLES
  47. struct rt6_info *ip6_prohibit_entry;
  48. struct rt6_info *ip6_blk_hole_entry;
  49. struct fib6_table *fib6_local_tbl;
  50. struct fib_rules_ops *fib6_rules_ops;
  51. #endif
  52. struct sock **icmp_sk;
  53. struct sock *ndisc_sk;
  54. struct sock *tcp_sk;
  55. struct sock *igmp_sk;
  56. #ifdef CONFIG_IPV6_MROUTE
  57. #ifndef CONFIG_IPV6_MROUTE_MULTIPLE_TABLES
  58. struct mr6_table *mrt6;
  59. #else
  60. struct list_head mr6_tables;
  61. struct fib_rules_ops *mr6_rules_ops;
  62. #endif
  63. #endif
  64. };
  65. #endif