FD.io VPP
v17.04.2-2-ga8f93f8
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | mpls_tunnel_t_ |
A uni-directional MPLS tunnel. More... | |
Typedefs | |
typedef struct mpls_tunnel_t_ | mpls_tunnel_t |
A uni-directional MPLS tunnel. More... | |
typedef void(* | mpls_tunnel_walk_cb_t) (u32 index, void *ctx) |
Callback function invoked while walking MPLS tunnels. More... | |
Functions | |
void | vnet_mpls_tunnel_add (fib_route_path_t *rpath, mpls_label_t *label_stack, u8 l2_only, u32 *sw_if_index) |
Create a new MPLS tunnel. More... | |
void | vnet_mpls_tunnel_del (u32 sw_if_index) |
const mpls_tunnel_t * | mpls_tunnel_get (u32 index) |
void | mpls_tunnel_walk (mpls_tunnel_walk_cb_t cb, void *ctx) |
Walk all the MPLS tunnels. More... | |
typedef struct mpls_tunnel_t_ mpls_tunnel_t |
A uni-directional MPLS tunnel.
typedef void(* mpls_tunnel_walk_cb_t) (u32 index, void *ctx) |
Callback function invoked while walking MPLS tunnels.
Definition at line 90 of file mpls_tunnel.h.
const mpls_tunnel_t* mpls_tunnel_get | ( | u32 | index | ) |
void mpls_tunnel_walk | ( | mpls_tunnel_walk_cb_t | cb, |
void * | ctx | ||
) |
Walk all the MPLS tunnels.
Definition at line 419 of file mpls_tunnel.c.
void vnet_mpls_tunnel_add | ( | fib_route_path_t * | rpath, |
mpls_label_t * | label_stack, | ||
u8 | l2_only, | ||
u32 * | sw_if_index | ||
) |
Create a new MPLS tunnel.
Definition at line 453 of file mpls_tunnel.c.
void vnet_mpls_tunnel_del | ( | u32 | sw_if_index | ) |
Definition at line 431 of file mpls_tunnel.c.