X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fipsec%2Fipsec_sa.h;h=72a592984f674e54fc7e4da09b6adfc5667192ba;hb=060bfb987a277624e5644de2fcbee1196c2c76e8;hp=94f1554112f26e1eb5e80871e9db223273a3c3c9;hpb=1e3aa5e213c23588981ee17d1413a0441a40527a;p=vpp.git diff --git a/src/vnet/ipsec/ipsec_sa.h b/src/vnet/ipsec/ipsec_sa.h index 94f1554112f..72a592984f6 100644 --- a/src/vnet/ipsec/ipsec_sa.h +++ b/src/vnet/ipsec/ipsec_sa.h @@ -90,6 +90,8 @@ typedef struct ipsec_key_t_ _ (4, IS_TUNNEL, "tunnel") \ _ (8, IS_TUNNEL_V6, "tunnel-v6") \ _ (16, UDP_ENCAP, "udp-encap") \ + _ (32, IS_GRE, "GRE") \ + _ (64, IS_INBOUND, "inboud") \ typedef enum ipsec_sad_flags_t_ { @@ -109,7 +111,7 @@ typedef struct u8 crypto_iv_size; u8 crypto_block_size; - u8 integ_trunc_size; + u8 integ_icv_size; u32 spi; u32 seq; u32 seq_hi; @@ -117,9 +119,9 @@ typedef struct u32 last_seq_hi; u64 replay_window; - vnet_crypto_op_type_t crypto_enc_op_type; - vnet_crypto_op_type_t crypto_dec_op_type; - vnet_crypto_op_type_t integ_op_type; + vnet_crypto_op_id_t crypto_enc_op_id; + vnet_crypto_op_id_t crypto_dec_op_id; + vnet_crypto_op_id_t integ_op_id; dpo_id_t dpo[IPSEC_N_PROTOCOLS];