]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - include/linux/if_tunnel.h
powerpc/perf: Add nest IMC PMU support
[mirror_ubuntu-artful-kernel.git] / include / linux / if_tunnel.h
CommitLineData
1da177e4
LT
1#ifndef _IF_TUNNEL_H_
2#define _IF_TUNNEL_H_
3
c19e654d 4#include <linux/ip.h>
125a77ed 5#include <linux/in6.h>
607ca46e 6#include <uapi/linux/if_tunnel.h>
aa0010f8
AW
7#include <linux/u64_stats_sync.h>
8
e086cadc
AW
9/*
10 * Locking : hash tables are protected by RCU and RTNL
11 */
12
13#define for_each_ip_tunnel_rcu(pos, start) \
14 for (pos = rcu_dereference(start); pos; pos = rcu_dereference(pos->next))
15
1da177e4 16#endif /* _IF_TUNNEL_H_ */