FD.io VPP  v21.01.1
Vector Packet Processing
tunnel_types_api.c File Reference
+ Include dependency graph for tunnel_types_api.c:

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)
 

Function Documentation

◆ STATIC_ASSERT()

STATIC_ASSERT ( sizeof(vl_api_tunnel_encap_decap_flags_t)  = =sizeof(tunnel_encap_decap_flags_t),
"tunnel API and internal flags enum size differ"   
)

◆ tunnel_encap_decap_flags_decode()

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.

+ Here is the caller graph for this function:

◆ tunnel_encap_decap_flags_encode()

vl_api_tunnel_encap_decap_flags_t tunnel_encap_decap_flags_encode ( tunnel_encap_decap_flags_t  f)

Definition at line 42 of file tunnel_types_api.c.

+ Here is the caller graph for this function:

◆ tunnel_mode_decode()

int tunnel_mode_decode ( vl_api_tunnel_mode_t  in,
tunnel_mode_t out 
)

Definition at line 48 of file tunnel_types_api.c.

+ Here is the caller graph for this function:

◆ tunnel_mode_encode()

vl_api_tunnel_mode_t tunnel_mode_encode ( tunnel_mode_t  in)

Definition at line 64 of file tunnel_types_api.c.

+ Here is the caller graph for this function: