Go to the source code of this file.
|
static udp_encap_t * | udp_encap_get_w_id (u32 id) |
|
static void | udp_encap_restack (udp_encap_t *ue) |
|
index_t | udp_encap_add_and_lock (u32 id, fib_protocol_t proto, index_t fib_index, const ip46_address_t *src_ip, const ip46_address_t *dst_ip, u16 src_port, u16 dst_port, udp_encap_fixup_flags_t flags) |
|
void | udp_encap_contribute_forwarding (u32 id, dpo_proto_t proto, dpo_id_t *dpo) |
|
index_t | udp_encap_find (u32 id) |
|
void | udp_encap_lock (u32 id) |
|
void | udp_encap_unlock_w_index (index_t uei) |
|
void | udp_encap_unlock (u32 id) |
|
static void | udp_encap_dpo_lock (dpo_id_t *dpo) |
|
static void | udp_encap_dpo_unlock (dpo_id_t *dpo) |
|
static u8 * | format_udp_encap_i (u8 *s, va_list *args) |
|
static u8 * | format_udp_encap_dpo (u8 *s, va_list *args) |
|
u8 * | format_udp_encap (u8 *s, va_list *args) |
|
static udp_encap_t * | udp_encap_from_fib_node (fib_node_t *node) |
|
static fib_node_back_walk_rc_t | udp_encap_fib_back_walk (fib_node_t *node, fib_node_back_walk_ctx_t *ctx) |
| Function definition to backwalk a FIB node. More...
|
|
static fib_node_t * | udp_encap_fib_node_get (fib_node_index_t index) |
| Function definition to get a FIB node from its index. More...
|
|
static void | udp_encap_fib_last_lock_gone (fib_node_t *node) |
| Function definition to inform the FIB node that its last lock has gone. More...
|
|
clib_error_t * | udp_encap_init (vlib_main_t *vm) |
|
clib_error_t * | udp_encap_cli (vlib_main_t *vm, unformat_input_t *main_input, vlib_cli_command_t *cmd) |
|
clib_error_t * | udp_encap_show (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
u8* format_udp_encap |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
static u8* format_udp_encap_dpo |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static u8* format_udp_encap_i |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static void udp_encap_dpo_lock |
( |
dpo_id_t * |
dpo | ) |
|
|
static |
static void udp_encap_dpo_unlock |
( |
dpo_id_t * |
dpo | ) |
|
|
static |
Function definition to backwalk a FIB node.
Definition at line 337 of file udp_encap.c.
static void udp_encap_fib_last_lock_gone |
( |
fib_node_t * |
node | ) |
|
|
static |
Function definition to inform the FIB node that its last lock has gone.
reset the stacked DPO to unlock it
Definition at line 361 of file udp_encap.c.
Function definition to get a FIB node from its index.
Definition at line 348 of file udp_encap.c.
void udp_encap_lock |
( |
u32 |
id | ) |
|
void udp_encap_unlock |
( |
u32 |
id | ) |
|
void udp_encap_unlock_w_index |
( |
index_t |
uei | ) |
|
const char* const udp4_encap_bier_nodes[] |
|
static |
const char* const udp4_encap_ip4_nodes[] |
|
static |
const char* const udp4_encap_ip6_nodes[] |
|
static |
const char* const udp4_encap_mpls_nodes[] |
|
static |
Initial value:= {
}
static const char *const udp4_encap_bier_nodes[]
static const char *const udp4_encap_ip4_nodes[]
static const char *const udp4_encap_mpls_nodes[]
static const char *const udp4_encap_ip6_nodes[]
Definition at line 420 of file udp_encap.c.
const char* const udp6_encap_bier_nodes[] |
|
static |
const char* const udp6_encap_ip4_nodes[] |
|
static |
const char* const udp6_encap_ip6_nodes[] |
|
static |
const char* const udp6_encap_mpls_nodes[] |
|
static |
Initial value:= {
}
static const char *const udp6_encap_mpls_nodes[]
static const char *const udp6_encap_ip6_nodes[]
static const char *const udp6_encap_bier_nodes[]
static const char *const udp6_encap_ip4_nodes[]
Definition at line 427 of file udp_encap.c.
Initial value:= {
.path = "udp encap",
.short_help = "udp encap [add|del] <id ID> <src-ip> <dst-ip> [<src-port>] <dst-port> [src-port-is-entropy] [table-id <table>]",
.is_mp_safe = 1,
}
clib_error_t * udp_encap_cli(vlib_main_t *vm, unformat_input_t *main_input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (udp_encap_add_command)
Definition at line 609 of file udp_encap.c.
Hash DB to map from client ID to VPP index.
Definition at line 29 of file udp_encap.c.
Registered DPO types for the IP header encapsulated, v4 or v6.
Definition at line 24 of file udp_encap.c.
Initial value:= {
}
static void udp_encap_dpo_lock(dpo_id_t *dpo)
static void udp_encap_dpo_unlock(dpo_id_t *dpo)
static u8 * format_udp_encap_dpo(u8 *s, va_list *args)
Definition at line 444 of file udp_encap.c.
Initial value:= {
}
static fib_node_back_walk_rc_t udp_encap_fib_back_walk(fib_node_t *node, fib_node_back_walk_ctx_t *ctx)
Function definition to backwalk a FIB node.
static fib_node_t * udp_encap_fib_node_get(fib_node_index_t index)
Function definition to get a FIB node from its index.
static void udp_encap_fib_last_lock_gone(fib_node_t *node)
Function definition to inform the FIB node that its last lock has gone.
Definition at line 438 of file udp_encap.c.
Initial value:= {
.path = "show udp encap",
.short_help = "show udp encap [ID]",
.is_mp_safe = 1,
}
clib_error_t * udp_encap_show(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (udp_encap_show_command)
Definition at line 615 of file udp_encap.c.