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.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.h')
-rw-r--r-- | include/uapi/linux/if.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/if.h b/include/uapi/linux/if.h index 7fea0fd7d6f5..4bf33344aab1 100644 --- a/include/uapi/linux/if.h +++ b/include/uapi/linux/if.h @@ -33,6 +33,7 @@ #define IFNAMSIZ 16 #endif /* __UAPI_DEF_IF_IFNAMSIZ */ #define IFALIASZ 256 +#define ALTIFNAMSIZ 128 #include <linux/hdlc/ioctl.h> /* For glibc compatibility. An empty enum does not compile. */ |