ipv4.h 483 B

1234567891011121314151617181920212223242526
  1. /*
  2. * ipv4 in net namespaces
  3. */
  4. #ifndef __NETNS_IPV4_H__
  5. #define __NETNS_IPV4_H__
  6. struct ctl_table_header;
  7. struct ipv4_devconf;
  8. struct fib_rules_ops;
  9. struct hlist_head;
  10. struct sock;
  11. struct netns_ipv4 {
  12. #ifdef CONFIG_SYSCTL
  13. struct ctl_table_header *forw_hdr;
  14. #endif
  15. struct ipv4_devconf *devconf_all;
  16. struct ipv4_devconf *devconf_dflt;
  17. #ifdef CONFIG_IP_MULTIPLE_TABLES
  18. struct fib_rules_ops *rules_ops;
  19. #endif
  20. struct hlist_head *fib_table_hash;
  21. struct sock *fibnl;
  22. };
  23. #endif