aboutsummaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorDavid Ahern <[email protected]>2016-02-02 07:43:45 -0800
committerDavid S. Miller <[email protected]>2016-02-07 14:02:22 -0500
commit67eb03318bc5fe170ae832423fda7a23b0d801cf (patch)
tree9f5a83fb008781ba06e605a2ef88ec6d294ec24a /include/uapi/linux
parent22fae97d863679994b951799dd4bbe7afd95897b (diff)
net: Add support for fill_slave_info to VRF device
Allows userspace to have direct access to VRF table association versus looking up master device and its table. Signed-off-by: David Ahern <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/if_link.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h
index d3e90b91e07e..d452cea59020 100644
--- a/include/uapi/linux/if_link.h
+++ b/include/uapi/linux/if_link.h
@@ -405,6 +405,14 @@ enum {
#define IFLA_VRF_MAX (__IFLA_VRF_MAX - 1)
+enum {
+ IFLA_VRF_PORT_UNSPEC,
+ IFLA_VRF_PORT_TABLE,
+ __IFLA_VRF_PORT_MAX
+};
+
+#define IFLA_VRF_PORT_MAX (__IFLA_VRF_PORT_MAX - 1)
+
/* IPVLAN section */
enum {
IFLA_IPVLAN_UNSPEC,