FD.io VPP
v21.06-3-gbb25fbf28
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") | |
STATIC_ASSERT (sizeof(vl_api_tunnel_flags_t)==sizeof(tunnel_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_flags_decode (vl_api_tunnel_flags_t f, tunnel_flags_t *o) |
vl_api_tunnel_flags_t | tunnel_flags_encode (tunnel_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) |
int | tunnel_decode (const vl_api_tunnel_t *in, tunnel_t *out) |
void | tunnel_encode (const tunnel_t *in, vl_api_tunnel_t *out) |
STATIC_ASSERT | ( | sizeof(vl_api_tunnel_encap_decap_flags_t) | = =sizeof(tunnel_encap_decap_flags_t) , |
"tunnel API and internal flags enum size differ" | |||
) |
STATIC_ASSERT | ( | sizeof(vl_api_tunnel_flags_t) | = =sizeof(tunnel_flags_t) , |
"tunnel API and internal flags enum size differ" | |||
) |
int tunnel_decode | ( | const vl_api_tunnel_t * | in, |
tunnel_t * | out | ||
) |
Definition at line 103 of file tunnel_types_api.c.
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 34 of file tunnel_types_api.c.
vl_api_tunnel_encap_decap_flags_t tunnel_encap_decap_flags_encode | ( | tunnel_encap_decap_flags_t | f | ) |
void tunnel_encode | ( | const tunnel_t * | in, |
vl_api_tunnel_t * | out | ||
) |
Definition at line 147 of file tunnel_types_api.c.
int tunnel_flags_decode | ( | vl_api_tunnel_flags_t | f, |
tunnel_flags_t * | o | ||
) |
vl_api_tunnel_flags_t tunnel_flags_encode | ( | tunnel_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 | ) |