aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/if_tun.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/if_tun.h b/include/uapi/linux/if_tun.h
index 82334f88967e..1870ee29bb37 100644
--- a/include/uapi/linux/if_tun.h
+++ b/include/uapi/linux/if_tun.h
@@ -71,6 +71,9 @@
71/* read-only flag */ 71/* read-only flag */
72#define IFF_PERSIST 0x0800 72#define IFF_PERSIST 0x0800
73 73
74/* Socket options */
75#define TUN_TX_TIMESTAMP 1
76
74/* Features for GSO (TUNSETOFFLOAD). */ 77/* Features for GSO (TUNSETOFFLOAD). */
75#define TUN_F_CSUM 0x01 /* You can hand me unchecksummed packets. */ 78#define TUN_F_CSUM 0x01 /* You can hand me unchecksummed packets. */
76#define TUN_F_TSO4 0x02 /* I can handle TSO for IPv4 packets */ 79#define TUN_F_TSO4 0x02 /* I can handle TSO for IPv4 packets */