FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | tunnel_t_ |
A representation of an IP tunnel config. More... | |
Macros | |
#define | foreach_tunnel_mode |
#define | foreach_tunnel_encap_decap_flag |
Keep these idenitical to those in ipip.api. More... | |
#define | foreach_tunnel_flag |
Typedefs | |
typedef enum tunnel_mode_t_ | tunnel_mode_t |
typedef enum tunnel_encap_decap_flags_t_ | tunnel_encap_decap_flags_t |
typedef enum tunnel_flags_t_ | tunnel_flags_t |
typedef struct tunnel_t_ | tunnel_t |
A representation of an IP tunnel config. More... | |
Enumerations | |
enum | tunnel_mode_t_ { foreach_tunnel_mode } |
enum | tunnel_encap_decap_flags_t_ { foreach_tunnel_encap_decap_flag } |
enum | tunnel_flags_t_ { TUNNEL_FLAG_NONE = 0, foreach_tunnel_flag } |
Functions | |
u8 * | format_tunnel_mode (u8 *s, va_list *args) |
uword | unformat_tunnel_mode (unformat_input_t *input, va_list *args) |
u8 * | format_tunnel_encap_decap_flags (u8 *s, va_list *args) |
uword | unformat_tunnel_encap_decap_flags (unformat_input_t *input, va_list *args) |
u8 * | format_tunnel_flags (u8 *s, va_list *args) |
uword | unformat_tunnel_flags (unformat_input_t *input, va_list *args) |
u8 * | format_tunnel (u8 *s, va_list *args) |
uword | unformat_tunnel (unformat_input_t *input, va_list *args) |
void | tunnel_copy (const tunnel_t *src, tunnel_t *dst) |
int | tunnel_resolve (tunnel_t *t, fib_node_type_t child_type, index_t child_index) |
void | tunnel_unresolve (tunnel_t *t) |
ip_address_family_t | tunnel_get_af (const tunnel_t *t) |
void | tunnel_contribute_forwarding (const tunnel_t *t, dpo_id_t *dpo) |
void | tunnel_build_v6_hdr (const tunnel_t *t, ip_protocol_t next_proto, ip6_header_t *ip) |
void | tunnel_build_v4_hdr (const tunnel_t *t, ip_protocol_t next_proto, ip4_header_t *ip) |
Variables | |
const u8 | TUNNEL_ENCAP_DECAP_FLAG_MASK |
const u8 | TUNNEL_FLAG_MASK |
#define foreach_tunnel_encap_decap_flag |
Keep these idenitical to those in ipip.api.
#define foreach_tunnel_flag |
#define foreach_tunnel_mode |
typedef enum tunnel_encap_decap_flags_t_ tunnel_encap_decap_flags_t |
typedef enum tunnel_flags_t_ tunnel_flags_t |
typedef enum tunnel_mode_t_ tunnel_mode_t |
enum tunnel_flags_t_ |
enum tunnel_mode_t_ |
void tunnel_build_v4_hdr | ( | const tunnel_t * | t, |
ip_protocol_t | next_proto, | ||
ip4_header_t * | ip | ||
) |
void tunnel_build_v6_hdr | ( | const tunnel_t * | t, |
ip_protocol_t | next_proto, | ||
ip6_header_t * | ip | ||
) |
ip_address_family_t tunnel_get_af | ( | const tunnel_t * | t | ) |
int tunnel_resolve | ( | tunnel_t * | t, |
fib_node_type_t | child_type, | ||
index_t | child_index | ||
) |
void tunnel_unresolve | ( | tunnel_t * | t | ) |
uword unformat_tunnel | ( | unformat_input_t * | input, |
va_list * | args | ||
) |
uword unformat_tunnel_encap_decap_flags | ( | unformat_input_t * | input, |
va_list * | args | ||
) |
uword unformat_tunnel_flags | ( | unformat_input_t * | input, |
va_list * | args | ||
) |
uword unformat_tunnel_mode | ( | unformat_input_t * | input, |
va_list * | args | ||
) |