From: Susant Sahani Date: Tue, 25 Apr 2017 04:13:41 +0000 (+0530) Subject: Add Geneve netlink properties to missing.h X-Git-Tag: v234~288^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0780ca9054bfc7d7e429aafc705aac532a37361;p=thirdparty%2Fsystemd.git Add Geneve netlink properties to missing.h --- diff --git a/configure.ac b/configure.ac index 13e758331e0..f59f3faf384 100644 --- a/configure.ac +++ b/configure.ac @@ -368,6 +368,7 @@ AC_CHECK_DECLS([IFLA_INET6_ADDR_GEN_MODE, IFLA_BOND_AD_INFO, IFLA_VLAN_PROTOCOL, IFLA_VXLAN_GPE, + IFLA_GENEVE_LABEL, IFLA_IPTUN_ENCAP_DPORT, IFLA_GRE_ENCAP_DPORT, IFLA_BRIDGE_VLAN_INFO, diff --git a/src/basic/missing.h b/src/basic/missing.h index e860fa7c2c4..55028754cdc 100644 --- a/src/basic/missing.h +++ b/src/basic/missing.h @@ -759,6 +759,25 @@ struct btrfs_ioctl_quota_ctl_args { #define IFLA_VXLAN_MAX (__IFLA_VXLAN_MAX - 1) #endif +#if !HAVE_DECL_IFLA_GENEVE_LABEL +#define IFLA_GENEVE_UNSPEC 0 +#define IFLA_GENEVE_ID 1 +#define IFLA_GENEVE_REMOTE 2 +#define IFLA_GENEVE_TTL 3 +#define IFLA_GENEVE_TOS 4 +#define IFLA_GENEVE_PORT 5 +#define IFLA_GENEVE_COLLECT_METADATA 6 +#define IFLA_GENEVE_REMOTE6 7 +#define IFLA_GENEVE_UDP_CSUM 8 +#define IFLA_GENEVE_UDP_ZERO_CSUM6_TX 9 +#define IFLA_GENEVE_UDP_ZERO_CSUM6_RX 10 +#define IFLA_GENEVE_LABEL 11 + +#define __IFLA_GENEVE_MAX 12 + +#define IFLA_GENEVE_MAX (__IFLA_GENEVE_MAX - 1) +#endif + #if !HAVE_DECL_IFLA_IPTUN_ENCAP_DPORT #define IFLA_IPTUN_UNSPEC 0 #define IFLA_IPTUN_LINK 1