FD.io VPP  v20.01-48-g3e0dafb74
Vector Packet Processing
ipsec_types_api.c File Reference
+ Include dependency graph for ipsec_types_api.c:

Go to the source code of this file.

Macros

#define vl_typedefs   /* define message structures */
 

Functions

int ipsec_proto_decode (vl_api_ipsec_proto_t in, ipsec_protocol_t *out)
 Encode/decode function from/to API to internal types. More...
 
vl_api_ipsec_proto_t ipsec_proto_encode (ipsec_protocol_t p)
 
int ipsec_crypto_algo_decode (vl_api_ipsec_crypto_alg_t in, ipsec_crypto_alg_t *out)
 
vl_api_ipsec_crypto_alg_t ipsec_crypto_algo_encode (ipsec_crypto_alg_t c)
 
int ipsec_integ_algo_decode (vl_api_ipsec_integ_alg_t in, ipsec_integ_alg_t *out)
 
vl_api_ipsec_integ_alg_t ipsec_integ_algo_encode (ipsec_integ_alg_t i)
 
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)
 
ipsec_sa_flags_t ipsec_sa_flags_decode (vl_api_ipsec_sad_flags_t in)
 
vl_api_ipsec_sad_flags_t ipsec_sad_flags_encode (const ipsec_sa_t *sa)
 

Macro Definition Documentation

◆ vl_typedefs

#define vl_typedefs   /* define message structures */

Definition at line 20 of file ipsec_types_api.c.

Function Documentation

◆ ipsec_crypto_algo_decode()

int ipsec_crypto_algo_decode ( vl_api_ipsec_crypto_alg_t  in,
ipsec_crypto_alg_t out 
)

Definition at line 55 of file ipsec_types_api.c.

+ Here is the caller graph for this function:

◆ ipsec_crypto_algo_encode()

vl_api_ipsec_crypto_alg_t ipsec_crypto_algo_encode ( ipsec_crypto_alg_t  c)

Definition at line 72 of file ipsec_types_api.c.

+ Here is the caller graph for this function:

◆ ipsec_integ_algo_decode()

int ipsec_integ_algo_decode ( vl_api_ipsec_integ_alg_t  in,
ipsec_integ_alg_t out 
)

Definition at line 88 of file ipsec_types_api.c.

+ Here is the caller graph for this function:

◆ ipsec_integ_algo_encode()

vl_api_ipsec_integ_alg_t ipsec_integ_algo_encode ( ipsec_integ_alg_t  i)

Definition at line 104 of file ipsec_types_api.c.

+ Here is the caller graph for this function:

◆ ipsec_key_decode()

void ipsec_key_decode ( const vl_api_key_t *  key,
ipsec_key_t out 
)

Definition at line 120 of file ipsec_types_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ipsec_key_encode()

void ipsec_key_encode ( const ipsec_key_t in,
vl_api_key_t *  out 
)

Definition at line 126 of file ipsec_types_api.c.

+ Here is the caller graph for this function:

◆ ipsec_proto_decode()

int ipsec_proto_decode ( vl_api_ipsec_proto_t  in,
ipsec_protocol_t out 
)

Encode/decode function from/to API to internal types.

Definition at line 25 of file ipsec_types_api.c.

+ Here is the caller graph for this function:

◆ ipsec_proto_encode()

vl_api_ipsec_proto_t ipsec_proto_encode ( ipsec_protocol_t  p)

Definition at line 42 of file ipsec_types_api.c.

+ Here is the caller graph for this function:

◆ ipsec_sa_flags_decode()

ipsec_sa_flags_t ipsec_sa_flags_decode ( vl_api_ipsec_sad_flags_t  in)

Definition at line 133 of file ipsec_types_api.c.

+ Here is the caller graph for this function:

◆ ipsec_sad_flags_encode()

vl_api_ipsec_sad_flags_t ipsec_sad_flags_encode ( const ipsec_sa_t sa)

Definition at line 153 of file ipsec_types_api.c.

+ Here is the caller graph for this function: