Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _IF_TUNNEL_H_ |
| 2 | #define _IF_TUNNEL_H_ |
| 3 | |
Herbert Xu | c19e654 | 2008-10-09 11:59:55 -0700 | [diff] [blame] | 4 | #include <linux/ip.h> |
Brian Haley | 125a77e | 2009-10-07 13:57:10 -0700 | [diff] [blame] | 5 | #include <linux/in6.h> |
David Howells | 607ca46 | 2012-10-13 10:46:48 +0100 | [diff] [blame] | 6 | #include <uapi/linux/if_tunnel.h> |
Amerigo Wang | aa0010f | 2012-11-11 21:52:33 +0000 | [diff] [blame^] | 7 | #include <linux/u64_stats_sync.h> |
| 8 | |
| 9 | /* often modified stats are per cpu, other are shared (netdev->stats) */ |
| 10 | struct 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 | }; |
Masahide NAKAMURA | 6fd8bb8 | 2007-01-23 22:17:23 -0800 | [diff] [blame] | 17 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | #endif /* _IF_TUNNEL_H_ */ |