datapath: handle recirculation loop detection
[sliver-openvswitch.git] / datapath / linux / compat / include / linux / if_tunnel.h
1 #ifndef _IF_TUNNEL_WRAPPER_H_
2 #define _IF_TUNNEL_WRAPPER_H_
3
4 #include <linux/version.h>
5 #include_next <linux/if_tunnel.h>
6
7 #if LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0)
8
9 #include <linux/u64_stats_sync.h>
10
11 struct pcpu_tstats {
12         u64     rx_packets;
13         u64     rx_bytes;
14         u64     tx_packets;
15         u64     tx_bytes;
16         struct u64_stats_sync   syncp;
17 };
18 #endif
19
20 #endif /* _IF_TUNNEL_WRAPPER_H_ */