aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/if_link.h
diff options
context:
space:
mode:
authorSabrina Dubroca <sd@queasysnail.net>2018-02-16 11:03:07 +0100
committerDavid S. Miller <davem@davemloft.net>2018-02-16 16:58:22 -0500
commit1ec010e705934c8acbe7dbf31afc81e60e3d828b (patch)
tree6e97ec10c57a5bf05a12fda2a27c51eda186f63b /include/uapi/linux/if_link.h
parentnet: Only honor ifindex in IP_PKTINFO if non-0 (diff)
downloadlinux-dev-1ec010e705934c8acbe7dbf31afc81e60e3d828b.tar.xz
linux-dev-1ec010e705934c8acbe7dbf31afc81e60e3d828b.zip
tun: export flags, uid, gid, queue information over netlink
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net> Reviewed-by: Stefano Brivio <sbrivio@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--include/uapi/linux/if_link.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h
index 6d9447700e18..11d0c0ea2bfa 100644
--- a/include/uapi/linux/if_link.h
+++ b/include/uapi/linux/if_link.h
@@ -941,4 +941,22 @@ enum {
IFLA_EVENT_BONDING_OPTIONS, /* change in bonding options */
};
+/* tun section */
+
+enum {
+ IFLA_TUN_UNSPEC,
+ IFLA_TUN_OWNER,
+ IFLA_TUN_GROUP,
+ IFLA_TUN_TYPE,
+ IFLA_TUN_PI,
+ IFLA_TUN_VNET_HDR,
+ IFLA_TUN_PERSIST,
+ IFLA_TUN_MULTI_QUEUE,
+ IFLA_TUN_NUM_QUEUES,
+ IFLA_TUN_NUM_DISABLED_QUEUES,
+ __IFLA_TUN_MAX,
+};
+
+#define IFLA_TUN_MAX (__IFLA_TUN_MAX - 1)
+
#endif /* _UAPI_LINUX_IF_LINK_H */