![]() |
FD.io VPP
v18.07.1-19-g511ce25
Vector Packet Processing
|
Include dependency graph for mpls_tunnel.c:Go to the source code of this file.
Data Structures | |
| struct | mpls_tunnel_collect_forwarding_ctx_t_ |
| struct | mpls_tunnel_trace_t_ |
| Packet trace structure. More... | |
Typedefs | |
| typedef struct mpls_tunnel_collect_forwarding_ctx_t_ | mpls_tunnel_collect_forwarding_ctx_t |
| typedef struct mpls_tunnel_trace_t_ | mpls_tunnel_trace_t |
| Packet trace structure. More... | |
Variables | |
| static mpls_tunnel_t * | mpls_tunnel_pool |
| pool of tunnel instances More... | |
| static u32 * | mpls_tunnel_free_hw_if_indices |
| Pool of free tunnel SW indices - i.e. More... | |
| static u32 * | mpls_tunnel_db |
| DB of SW index to tunnel index. More... | |
| static const char * | mpls_tunnel_attribute_names [] = MPLS_TUNNEL_ATTRIBUTES |
| MPLS tunnel flags strings. More... | |
| static vlib_cli_command_t | create_mpls_tunnel_command |
| (constructor) VLIB_CLI_COMMAND (create_mpls_tunnel_command) More... | |
| static vlib_cli_command_t | show_mpls_tunnel_command |
| (constructor) VLIB_CLI_COMMAND (show_mpls_tunnel_command) More... | |
| static const fib_node_vft_t | mpls_vft |
| typedef struct mpls_tunnel_trace_t_ mpls_tunnel_trace_t |
Packet trace structure.
Definition at line 875 of file mpls_tunnel.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 445 of file mpls_tunnel.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 438 of file mpls_tunnel.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 465 of file mpls_tunnel.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Call back when restacking all adjacencies on a MPLS interface.
Definition at line 299 of file mpls_tunnel.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 347 of file mpls_tunnel.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Function definition to backwalk a FIB node.
Definition at line 983 of file mpls_tunnel.c.
Here is the call graph for this function:
|
static |
Build a rewrite string for the MPLS tunnel.
Definition at line 87 of file mpls_tunnel.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Build a rewrite string for the MPLS tunnel.
Definition at line 67 of file mpls_tunnel.c.
Here is the caller graph for this function:
|
static |
Definition at line 103 of file mpls_tunnel.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Function definition to get a FIB node from its index.
Definition at line 995 of file mpls_tunnel.c.
|
static |
Fixup the adj rewrite post encap.
This is a no-op since the rewrite is a stack of labels.
Definition at line 377 of file mpls_tunnel.c.
Here is the caller graph for this function:
|
static |
| const mpls_tunnel_t* mpls_tunnel_get | ( | u32 | mti | ) |
|
static |
Get a tunnel object from a SW interface index.
Definition at line 53 of file mpls_tunnel.c.
Here is the caller graph for this function:
|
static |
|
static |
Function definition to inform the FIB node that its last lock has gone.
Definition at line 1008 of file mpls_tunnel.c.
|
static |
Definition at line 145 of file mpls_tunnel.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 308 of file mpls_tunnel.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
mpls_tunnel_stack
'stack' (resolve the recursion for) the tunnel's midchain adjacency
Definition at line 239 of file mpls_tunnel.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
TX function.
Only called L2. L3 traffic uses the adj-midchains
Definition at line 480 of file mpls_tunnel.c.
Here is the call graph for this function:
|
static |
Definition at line 391 of file mpls_tunnel.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void mpls_tunnel_walk | ( | mpls_tunnel_walk_cb_t | cb, |
| void * | ctx | ||
| ) |
Walk all the MPLS tunnels.
Definition at line 573 of file mpls_tunnel.c.
Here is the caller graph for this function:
|
static |
|
static |
| VNET_DEVICE_CLASS | ( | mpls_tunnel_class | ) |
Here is the caller graph for this function:| VNET_HW_INTERFACE_CLASS | ( | mpls_tunnel_hw_interface_class | ) |
Here is the caller graph for this function:Create a new MPLS tunnel.
Definition at line 605 of file mpls_tunnel.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void vnet_mpls_tunnel_del | ( | u32 | sw_if_index | ) |
Delete an MPLS tunnel.
Definition at line 585 of file mpls_tunnel.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void vnet_mpls_tunnel_path_add | ( | u32 | sw_if_index, |
| fib_route_path_t * | rpaths | ||
| ) |
Add a path to an MPLS tunnel.
Definition at line 663 of file mpls_tunnel.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int vnet_mpls_tunnel_path_remove | ( | u32 | sw_if_index, |
| fib_route_path_t * | rpath | ||
| ) |
remove a path from a tunnel.
Definition at line 715 of file mpls_tunnel.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
(constructor) VLIB_CLI_COMMAND (create_mpls_tunnel_command)
Definition at line 867 of file mpls_tunnel.c.
|
static |
MPLS tunnel flags strings.
Definition at line 47 of file mpls_tunnel.c.
|
static |
DB of SW index to tunnel index.
Definition at line 42 of file mpls_tunnel.c.
|
static |
|
static |
pool of tunnel instances
Definition at line 32 of file mpls_tunnel.c.
|
static |
Definition at line 1021 of file mpls_tunnel.c.
|
static |
(constructor) VLIB_CLI_COMMAND (show_mpls_tunnel_command)
Definition at line 966 of file mpls_tunnel.c.