if_tunnel.h 370 B

12345678910111213141516
  1. #ifndef _IF_TUNNEL_H_
  2. #define _IF_TUNNEL_H_
  3. #include <linux/ip.h>
  4. #include <linux/in6.h>
  5. #include <uapi/linux/if_tunnel.h>
  6. #include <linux/u64_stats_sync.h>
  7. /*
  8. * Locking : hash tables are protected by RCU and RTNL
  9. */
  10. #define for_each_ip_tunnel_rcu(pos, start) \
  11. for (pos = rcu_dereference(start); pos; pos = rcu_dereference(pos->next))
  12. #endif /* _IF_TUNNEL_H_ */