FD.io VPP
v20.05.1-6-gf53edbc3b
Vector Packet Processing
|
Go to the source code of this file.
Functions | |
STATIC_ASSERT (sizeof(vl_api_tunnel_encap_decap_flags_t)==sizeof(tunnel_encap_decap_flags_t), "tunnel API and internal flags enum size differ") | |
int | tunnel_encap_decap_flags_decode (vl_api_tunnel_encap_decap_flags_t f, tunnel_encap_decap_flags_t *o) |
Conversion functions to/from (decode/encode) API types to VPP internal types. More... | |
vl_api_tunnel_encap_decap_flags_t | tunnel_encap_decap_flags_encode (tunnel_encap_decap_flags_t f) |
int | tunnel_mode_decode (vl_api_tunnel_mode_t in, tunnel_mode_t *out) |
vl_api_tunnel_mode_t | tunnel_mode_encode (tunnel_mode_t in) |
STATIC_ASSERT | ( | sizeof(vl_api_tunnel_encap_decap_flags_t) | = =sizeof(tunnel_encap_decap_flags_t) , |
"tunnel API and internal flags enum size differ" | |||
) |
int tunnel_encap_decap_flags_decode | ( | vl_api_tunnel_encap_decap_flags_t | _f, |
tunnel_encap_decap_flags_t * | out | ||
) |
Conversion functions to/from (decode/encode) API types to VPP internal types.
These enum decode/encodes use 'int' as the type for the enum because one cannot forward declare an enum
Definition at line 30 of file tunnel_types_api.c.
vl_api_tunnel_encap_decap_flags_t tunnel_encap_decap_flags_encode | ( | tunnel_encap_decap_flags_t | f | ) |
int tunnel_mode_decode | ( | vl_api_tunnel_mode_t | in, |
tunnel_mode_t * | out | ||
) |
vl_api_tunnel_mode_t tunnel_mode_encode | ( | tunnel_mode_t | in | ) |