2005-04-16 16:20:36 -06:00
|
|
|
#ifndef _IF_TUNNEL_H_
|
|
|
|
#define _IF_TUNNEL_H_
|
|
|
|
|
2008-10-09 12:59:55 -06:00
|
|
|
#include <linux/ip.h>
|
2009-10-07 14:57:10 -06:00
|
|
|
#include <linux/in6.h>
|
2012-10-13 03:46:48 -06:00
|
|
|
#include <uapi/linux/if_tunnel.h>
|
2012-11-11 14:52:33 -07:00
|
|
|
#include <linux/u64_stats_sync.h>
|
|
|
|
|
2012-11-11 14:52:34 -07:00
|
|
|
/*
|
|
|
|
* 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))
|
|
|
|
|
2005-04-16 16:20:36 -06:00
|
|
|
#endif /* _IF_TUNNEL_H_ */
|