]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
include: update interface UAPI from 4.15-rc1
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 6 Feb 2018 01:21:01 +0000 (17:21 -0800)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 6 Feb 2018 01:21:01 +0000 (17:21 -0800)
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
include/uapi/linux/if_link.h
include/uapi/linux/if_macsec.h

index 1726e49fbc6b8482a8a1a1165b7f80988f410709..7ac1042c0faff68bfa206c241b3e684c95990b36 100644 (file)
@@ -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
 };
 
index 0cfb902a09acc64dab1fdcae0a0346138f33d4a3..77439932561b99c4dca9c32823e6b985450fa038 100644 (file)
@@ -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