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