summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJean-André Santoni <jean.andre.santoni@gmail.com>2014-07-21 21:04:44 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-07-21 21:04:44 -0400
commit6589d0dba2b1ccf2406db527c2c1b51c7143e117 (patch)
tree26b3d512b52b9b49e852f200065f156b68308d7e /src
parent7dbb1d08f66cd44b1296be3ee8e3629b989e19a8 (diff)
Add IFLA_VTI defines to missing.h
Diffstat (limited to 'src')
-rw-r--r--src/shared/missing.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/shared/missing.h b/src/shared/missing.h
index 818d704f92..2985285409 100644
--- a/src/shared/missing.h
+++ b/src/shared/missing.h
@@ -380,6 +380,18 @@ static inline int setns(int fd, int nstype) {
#define IFLA_MACVLAN_MAX (__IFLA_MACVLAN_MAX - 1)
#endif
+#if !HAVE_DECL_IFLA_VTI_REMOTE
+#define IFLA_VTI_UNSPEC 0
+#define IFLA_VTI_LINK 1
+#define IFLA_VTI_IKEY 2
+#define IFLA_VTI_OKEY 3
+#define IFLA_VTI_LOCAL 4
+#define IFLA_VTI_REMOTE 5
+#define __IFLA_VTI_MAX 6
+
+#define IFLA_VTI_MAX (__IFLA_VTI_MAX - 1)
+#endif
+
#if !HAVE_DECL_IFLA_PHYS_PORT_ID
#undef IFLA_PROMISCUITY
#define IFLA_PROMISCUITY 30