summaryrefslogtreecommitdiff
path: root/include/uapi/linux/rtnetlink.h
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2019-09-30 12:48:16 +0300
committerDavid S. Miller <davem@davemloft.net>2019-10-02 00:47:19 +0300
commit36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc (patch)
tree60e37caffe8f4ba06cf1b2be36c3041933baf310 /include/uapi/linux/rtnetlink.h
parentff92741270bf8b6e78aa885f166b68c7a67ab13a (diff)
downloadlinux-36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc.tar.xz
net: rtnetlink: add linkprop commands to add and delete alternative ifnames
Add two commands to add and delete list of link properties. Implement the first property type along - alternative ifnames. Each net device can have multiple alternative names. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/rtnetlink.h')
-rw-r--r--include/uapi/linux/rtnetlink.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/uapi/linux/rtnetlink.h b/include/uapi/linux/rtnetlink.h
index ce2a623abb75..1418a8362bb7 100644
--- a/include/uapi/linux/rtnetlink.h
+++ b/include/uapi/linux/rtnetlink.h
@@ -164,6 +164,13 @@ enum {
RTM_GETNEXTHOP,
#define RTM_GETNEXTHOP RTM_GETNEXTHOP
+ RTM_NEWLINKPROP = 108,
+#define RTM_NEWLINKPROP RTM_NEWLINKPROP
+ RTM_DELLINKPROP,
+#define RTM_DELLINKPROP RTM_DELLINKPROP
+ RTM_GETLINKPROP,
+#define RTM_GETLINKPROP RTM_GETLINKPROP
+
__RTM_MAX,
#define RTM_MAX (((__RTM_MAX + 3) & ~3) - 1)
};