History

tun: export flags, uid, gid, queue information over netlink

Sabrina Dubroca committed 8 years ago

Commit 1ec010e1 parent 1cbec072 files · +74 −0Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/if_link.h+18−0
@@ -941,4 +941,22 @@ enum { · 940 unmodified lines
941941 IFLA_EVENT_BONDING_OPTIONS, /* change in bonding options */
942942 };
943943
944+/* tun section */
945+
946+enum {
947+ IFLA_TUN_UNSPEC,
948+ IFLA_TUN_OWNER,
949+ IFLA_TUN_GROUP,
950+ IFLA_TUN_TYPE,
951+ IFLA_TUN_PI,
952+ IFLA_TUN_VNET_HDR,
953+ IFLA_TUN_PERSIST,
954+ IFLA_TUN_MULTI_QUEUE,
955+ IFLA_TUN_NUM_QUEUES,
956+ IFLA_TUN_NUM_DISABLED_QUEUES,
957+ __IFLA_TUN_MAX,
958+};
959+
960+#define IFLA_TUN_MAX (__IFLA_TUN_MAX - 1)
961+
944962 #endif /* _UAPI_LINUX_IF_LINK_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t