FD.io VPP  v17.04.2-2-ga8f93f8
Vector Packet Processing
mpls_tunnel.h File Reference
+ Include dependency graph for mpls_tunnel.h:
+ This graph shows which files directly or indirectly include this file:

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_tmpls_tunnel_get (u32 index)
 
void mpls_tunnel_walk (mpls_tunnel_walk_cb_t cb, void *ctx)
 Walk all the MPLS tunnels. More...
 

Typedef Documentation

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.

Function Documentation

const mpls_tunnel_t* mpls_tunnel_get ( u32  index)

Definition at line 410 of file mpls_tunnel.c.

+ 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 419 of file mpls_tunnel.c.

+ Here is the caller graph for this function:

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.

+ 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)

Definition at line 431 of file mpls_tunnel.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: