]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - include/linux/if_tunnel.h
net: convert __IPTUNNEL_XMIT() to an inline function
[mirror_ubuntu-zesty-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
9/* often modified stats are per cpu, other are shared (netdev->stats) */
10struct pcpu_tstats {
11 u64 rx_packets;
12 u64 rx_bytes;
13 u64 tx_packets;
14 u64 tx_bytes;
15 struct u64_stats_sync syncp;
16};
1181412c 17
1da177e4 18#endif /* _IF_TUNNEL_H_ */