19 #ifndef __IPSEC_TYPES_API_H__ 20 #define __IPSEC_TYPES_API_H__ 23 #include <vnet/ipsec/ipsec.api_types.h> 26 ipsec_protocol_t * out);
30 ipsec_crypto_alg_t * out);
35 ipsec_integ_alg_t * out);
void ipsec_key_decode(const vl_api_key_t *key, ipsec_key_t *out)
void ipsec_key_encode(const ipsec_key_t *in, vl_api_key_t *out)
vl_api_ipsec_crypto_alg_t ipsec_crypto_algo_encode(ipsec_crypto_alg_t c)
int ipsec_crypto_algo_decode(vl_api_ipsec_crypto_alg_t in, ipsec_crypto_alg_t *out)
int ipsec_integ_algo_decode(vl_api_ipsec_integ_alg_t in, ipsec_integ_alg_t *out)
vl_api_ipsec_sad_flags_t ipsec_sad_flags_encode(const ipsec_sa_t *sa)
ipsec_sa_flags_t ipsec_sa_flags_decode(vl_api_ipsec_sad_flags_t in)
vl_api_ipsec_proto_t ipsec_proto_encode(ipsec_protocol_t p)
int ipsec_proto_decode(vl_api_ipsec_proto_t in, ipsec_protocol_t *out)
Encode/decode function from/to API to internal types.
vl_api_ipsec_integ_alg_t ipsec_integ_algo_encode(ipsec_integ_alg_t i)
sll srl srl sll sra u16x4 i
enum ipsec_sad_flags_t_ ipsec_sa_flags_t