17aa40
From 08c1e6e304108e8bc8beca126f50888be7575bd0 Mon Sep 17 00:00:00 2001
698723
From: David Tardon <dtardon@redhat.com>
698723
Date: Thu, 26 Nov 2020 16:29:10 +0100
698723
Subject: [PATCH] define newly needed constants
698723
17aa40
Related: #2005008
698723
---
698723
 src/basic/missing.h | 23 +++++++++++++++++++++--
698723
 1 file changed, 21 insertions(+), 2 deletions(-)
698723
698723
diff --git a/src/basic/missing.h b/src/basic/missing.h
698723
index 14ad3d4914..b9376617fc 100644
698723
--- a/src/basic/missing.h
698723
+++ b/src/basic/missing.h
698723
@@ -747,10 +747,13 @@ struct input_mask {
698723
 #define IFLA_NUM_RX_QUEUES 32
698723
 #define IFLA_CARRIER 33
698723
 #define IFLA_PHYS_PORT_ID 34
698723
-#define __IFLA_MAX 35
698723
+#endif
698723
+
698723
+#define IFLA_PROP_LIST 52
698723
+#define IFLA_ALT_IFNAME 53
698723
+#define __IFLA_MAX 53
698723
 
698723
 #define IFLA_MAX (__IFLA_MAX - 1)
698723
-#endif
698723
 
698723
 #if !HAVE_IFLA_BOND_AD_INFO
698723
 #define IFLA_BOND_UNSPEC 0
698723
@@ -1045,6 +1048,18 @@ struct input_mask {
698723
 #define RTA_EXPIRES 23
698723
 #endif
698723
 
698723
+#ifndef RTM_NEWLINKPROP
698723
+#define RTM_NEWLINKPROP 108
698723
+#endif
698723
+
698723
+#ifndef RTM_DELLINKPROP
698723
+#define RTM_DELLINKPROP 109
698723
+#endif
698723
+
698723
+#ifndef RTM_GETLINKPROP
698723
+#define RTM_GETLINKPROP 110
698723
+#endif
698723
+
698723
 #ifndef IPV6_UNICAST_IF
698723
 #define IPV6_UNICAST_IF 76
698723
 #endif
698723
@@ -1057,6 +1072,10 @@ struct input_mask {
698723
 #define IPV4_MIN_MTU 68
698723
 #endif
698723
 
698723
+#ifndef ALTIFNAMSIZ
698723
+#define ALTIFNAMSIZ 128
698723
+#endif
698723
+
698723
 #ifndef IFF_MULTI_QUEUE
698723
 #define IFF_MULTI_QUEUE 0x100
698723
 #endif