diff options
author | Jiri Pirko <jiri@mellanox.com> | 2019-09-30 12:48:16 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-02 00:47:19 +0300 |
commit | 36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc (patch) | |
tree | 60e37caffe8f4ba06cf1b2be36c3041933baf310 /include/uapi/linux/if_link.h | |
parent | ff92741270bf8b6e78aa885f166b68c7a67ab13a (diff) | |
download | linux-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/if_link.h')
-rw-r--r-- | include/uapi/linux/if_link.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h index 4a8c02cafa9a..8aec8769d944 100644 --- a/include/uapi/linux/if_link.h +++ b/include/uapi/linux/if_link.h @@ -167,6 +167,8 @@ enum { IFLA_NEW_IFINDEX, IFLA_MIN_MTU, IFLA_MAX_MTU, + IFLA_PROP_LIST, + IFLA_ALT_IFNAME, /* Alternative ifname */ __IFLA_MAX }; |