|
static mpls_tunnel_t * | mpls_tunnel_get_from_sw_if_index (u32 sw_if_index) |
| Get a tunnel object from a SW interface index. More...
|
|
static u8 * | mpls_tunnel_build_rewrite_i (void) |
| Build a rewrite string for the MPLS tunnel. More...
|
|
static u8 * | mpls_tunnel_build_rewrite (vnet_main_t *vnm, u32 sw_if_index, vnet_link_t link_type, const void *dst_address) |
| Build a rewrite string for the MPLS tunnel. More...
|
|
static fib_path_list_walk_rc_t | mpls_tunnel_collect_forwarding (fib_node_index_t pl_index, fib_node_index_t path_index, void *arg) |
|
static void | mpls_tunnel_mk_lb (mpls_tunnel_t *mt, vnet_link_t linkt, fib_forward_chain_type_t fct, dpo_id_t *dpo_lb) |
|
static void | mpls_tunnel_stack (adj_index_t ai) |
| mpls_tunnel_stack More...
|
|
static adj_walk_rc_t | mpls_adj_walk_cb (adj_index_t ai, void *ctx) |
| Call back when restacking all adjacencies on a MPLS interface. More...
|
|
static void | mpls_tunnel_restack (mpls_tunnel_t *mt) |
|
static clib_error_t * | mpls_tunnel_admin_up_down (vnet_main_t *vnm, u32 hw_if_index, u32 flags) |
|
static void | mpls_tunnel_fixup (vlib_main_t *vm, ip_adjacency_t *adj, vlib_buffer_t *b0) |
| Fixup the adj rewrite post encap. More...
|
|
static void | mpls_tunnel_update_adj (vnet_main_t *vnm, u32 sw_if_index, adj_index_t ai) |
|
static u8 * | format_mpls_tunnel_name (u8 *s, va_list *args) |
|
static u8 * | format_mpls_tunnel_device (u8 *s, va_list *args) |
|
static u8 * | format_mpls_tunnel_tx_trace (u8 *s, va_list *args) |
|
static uword | mpls_tunnel_tx (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
| TX function. More...
|
|
| VNET_DEVICE_CLASS (mpls_tunnel_class) |
|
| VNET_HW_INTERFACE_CLASS (mpls_tunnel_hw_interface_class) |
|
const mpls_tunnel_t * | mpls_tunnel_get (u32 mti) |
|
void | mpls_tunnel_walk (mpls_tunnel_walk_cb_t cb, void *ctx) |
| Walk all the MPLS tunnels. More...
|
|
void | vnet_mpls_tunnel_del (u32 sw_if_index) |
| Delete an MPLS tunnel. More...
|
|
u32 | vnet_mpls_tunnel_create (u8 l2_only, u8 is_multicast) |
| Create a new MPLS tunnel. More...
|
|
void | vnet_mpls_tunnel_path_add (u32 sw_if_index, fib_route_path_t *rpaths) |
| Add a path to an MPLS tunnel. More...
|
|
int | vnet_mpls_tunnel_path_remove (u32 sw_if_index, fib_route_path_t *rpaths) |
| remove a path from a tunnel. More...
|
|
static clib_error_t * | vnet_create_mpls_tunnel_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static u8 * | format_mpls_tunnel (u8 *s, va_list *args) |
|
static clib_error_t * | show_mpls_tunnel_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static mpls_tunnel_t * | mpls_tunnel_from_fib_node (fib_node_t *node) |
|
static fib_node_back_walk_rc_t | mpls_tunnel_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 * | mpls_tunnel_fib_node_get (fib_node_index_t index) |
| Function definition to get a FIB node from its index. More...
|
|
static void | mpls_tunnel_last_lock_gone (fib_node_t *node) |
| Function definition to inform the FIB node that its last lock has gone. More...
|
|
static clib_error_t * | mpls_tunnel_init (vlib_main_t *vm) |
|