Blame view

include/linux/if_tunnel.h 370 Bytes
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1
2
  #ifndef _IF_TUNNEL_H_
  #define _IF_TUNNEL_H_
c19e654dd   Herbert Xu   gre: Add netlink ...
3
  #include <linux/ip.h>
125a77ed9   Brian Haley   IPv6: Fix 6RD bui...
4
  #include <linux/in6.h>
607ca46e9   David Howells   UAPI: (Scripted) ...
5
  #include <uapi/linux/if_tunnel.h>
aa0010f88   Amerigo Wang   net: convert __IP...
6
  #include <linux/u64_stats_sync.h>
e086cadc0   Amerigo Wang   net: unify for_ea...
7
8
9
10
11
12
  /*
   * Locking : hash tables are protected by RCU and RTNL
   */
  
  #define for_each_ip_tunnel_rcu(pos, start) \
  	for (pos = rcu_dereference(start); pos; pos = rcu_dereference(pos->next))
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
13
  #endif /* _IF_TUNNEL_H_ */