X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fshared%2Fmissing.h;h=083b85a26cbebebb2f7e4b01385e305adc5cb0be;hp=818d704f9257c4f71ad8ecc834a0bf61c1691c6b;hb=ec2c5e4398f9d65e5dfe61530f2556224733d1e6;hpb=75616a1332aff00d27db713cda3bd93c508a5b59 diff --git a/src/shared/missing.h b/src/shared/missing.h index 818d704f9..083b85a26 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 @@ -487,3 +499,15 @@ static inline int setns(int fd, int nstype) { #define IFLA_BRIDGE_MAX (__IFLA_BRIDGE_MAX - 1) #endif + +#ifndef IPV6_UNICAST_IF +#define IPV6_UNICAST_IF 76 +#endif + +#ifndef IFF_LOWER_UP +#define IFF_LOWER_UP 0x10000 +#endif + +#ifndef IFF_DORMANT +#define IFF_DORMANT 0x20000 +#endif