From: Stephen Hemminger Date: Tue, 6 Feb 2018 01:21:01 +0000 (-0800) Subject: include: update interface UAPI from 4.15-rc1 X-Git-Tag: v5.0.0~261^2~16 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=25226777b80c1a9cbc32441d572300a00dbe980a;p=mirror_iproute2.git include: update interface UAPI from 4.15-rc1 Signed-off-by: Stephen Hemminger --- diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h index 1726e49f..7ac1042c 100644 --- a/include/uapi/linux/if_link.h +++ b/include/uapi/linux/if_link.h @@ -161,6 +161,9 @@ enum { IFLA_EVENT, IFLA_NEW_NETNSID, IFLA_IF_NETNSID, + IFLA_CARRIER_UP_COUNT, + IFLA_CARRIER_DOWN_COUNT, + IFLA_NEW_IFINDEX, __IFLA_MAX }; diff --git a/include/uapi/linux/if_macsec.h b/include/uapi/linux/if_macsec.h index 0cfb902a..77439932 100644 --- a/include/uapi/linux/if_macsec.h +++ b/include/uapi/linux/if_macsec.h @@ -18,7 +18,7 @@ #define MACSEC_GENL_NAME "macsec" #define MACSEC_GENL_VERSION 1 -#define MACSEC_MAX_KEY_LEN 256 +#define MACSEC_MAX_KEY_LEN 128 #define MACSEC_KEYID_LEN 16 @@ -26,9 +26,9 @@ #define MACSEC_CIPHER_ID_GCM_AES_128 0x0080C20001000001ULL #define MACSEC_CIPHER_ID_GCM_AES_256 0x0080C20001000002ULL -#define MACSEC_DEFAULT_CIPHER_ID MACSEC_CIPHER_ID_GCM_AES_128 /* deprecated cipher ID for GCM-AES-128 */ -#define MACSEC_DEFAULT_CIPHER_ALT 0x0080020001000001ULL +#define MACSEC_DEFAULT_CIPHER_ID 0x0080020001000001ULL +#define MACSEC_DEFAULT_CIPHER_ALT MACSEC_CIPHER_ID_GCM_AES_128 #define MACSEC_MIN_ICV_LEN 8 #define MACSEC_MAX_ICV_LEN 32