diff options
author | Sabrina Dubroca <sd@queasysnail.net> | 2018-02-16 11:03:07 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-16 16:58:22 -0500 |
commit | 1ec010e705934c8acbe7dbf31afc81e60e3d828b (patch) | |
tree | 6e97ec10c57a5bf05a12fda2a27c51eda186f63b /include/uapi/linux/if_link.h | |
parent | 1cbec07649ec8c267cdfb486ab4ee73949974ca4 (diff) | |
download | lwn-1ec010e705934c8acbe7dbf31afc81e60e3d828b.tar.gz lwn-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 'include/uapi/linux/if_link.h')
-rw-r--r-- | include/uapi/linux/if_link.h | 18 |
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 */ |