|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
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);
int ipsec_integ_algo_decode(vl_api_ipsec_integ_alg_t in, ipsec_integ_alg_t *out)
int ipsec_crypto_algo_decode(vl_api_ipsec_crypto_alg_t in, ipsec_crypto_alg_t *out)
void ipsec_key_encode(const ipsec_key_t *in, vl_api_key_t *out)
vl_api_ipsec_proto_t ipsec_proto_encode(ipsec_protocol_t p)
void ipsec_key_decode(const vl_api_key_t *key, ipsec_key_t *out)
int ipsec_proto_decode(vl_api_ipsec_proto_t in, ipsec_protocol_t *out)
Encode/decode function from/to API to internal types.
enum ipsec_sad_flags_t_ ipsec_sa_flags_t
vl_api_ipsec_sad_flags_t ipsec_sad_flags_encode(const ipsec_sa_t *sa)
vl_api_ipsec_crypto_alg_t ipsec_crypto_algo_encode(ipsec_crypto_alg_t c)
ipsec_sa_flags_t ipsec_sa_flags_decode(vl_api_ipsec_sad_flags_t in)
vl_api_ipsec_integ_alg_t ipsec_integ_algo_encode(ipsec_integ_alg_t i)