FD.io VPP  v20.05.1-6-gf53edbc3b
Vector Packet Processing
mpls.api File Reference

Go to the source code of this file.

Data Structures

struct  vl_api_mpls_ip_bind_unbind_t
 Bind/Unbind an MPLS local label to an IP prefix. More...
 
struct  vl_api_mpls_tunnel_add_del_t
 
struct  vl_api_mpls_tunnel_add_del_reply_t
 Reply for MPLS tunnel add / del request. More...
 
struct  vl_api_mpls_tunnel_dump_t
 Dump mpls eth tunnel table. More...
 
struct  vl_api_mpls_tunnel_details_t
 mpls tunnel details More...
 
struct  vl_api_mpls_table_add_del_t
 
struct  vl_api_mpls_table_dump_t
 Dump MPLS fib table. More...
 
struct  vl_api_mpls_table_details_t
 
struct  vl_api_mpls_route_add_del_t
 MPLS Route Add / del route. More...
 
struct  vl_api_mpls_route_add_del_reply_t
 
struct  vl_api_mpls_route_dump_t
 Dump MPLS fib table. More...
 
struct  vl_api_mpls_route_details_t
 mpls FIB table response More...
 
struct  vl_api_sw_interface_set_mpls_enable_t
 Enable or Disable MPLS on and interface. More...
 

Variables

option version = "1.1.1"
 
import vnet fib fib_types api
 
typedef mpls_tunnel
 
u32 mt_tunnel_index
 
bool mt_l2_only
 
bool mt_is_multicast
 
string mt_tag [64]
 
u8 mt_n_paths
 
vl_api_fib_path_t mt_paths [mt_n_paths]
 
typedef mpls_table
 MPLS Route Add / del route. More...
 
string mt_name [64]
 
typedef mpls_route
 MPLS Route. More...
 
u32 mr_label
 
u8 mr_eos
 
u8 mr_eos_proto
 
bool mr_is_multicast
 
u8 mr_n_paths
 
vl_api_fib_path_t mr_paths [mr_n_paths]
 

Variable Documentation

◆ api

import vnet interface_types api

Definition at line 17 of file mpls.api.

◆ mpls_route

typedef mpls_route
Initial value:
{
u32 mr_table_id
unsigned int u32
Definition: types.h:88

MPLS Route.

Template Parameters
mr_table_id- The MPLS table-id the route is added in
mr_label- The MPLS label value
mr_eos- The End of stack bit
mr_eos_proto- If EOS then this is the DPO packet's proto post pop
mr_is_multicast- Is this a multicast route
mr_n_paths- The number of paths
mr_paths- The paths

Definition at line 142 of file mpls.api.

◆ mpls_table

typedef mpls_table
Initial value:
{
u32 mt_table_id
unsigned int u32
Definition: types.h:88

MPLS Route Add / del route.

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
mt_table_id- The MPLS table-id the route is added in
mt_is_add- Is this a route add or delete
mt_name- A client provided name/tag for the table. If this is not set by the client, then VPP will generate something meaningful.

Definition at line 105 of file mpls.api.

◆ mpls_tunnel

typedef mpls_tunnel
Initial value:
{
vl_api_interface_index_t mt_sw_if_index

Definition at line 44 of file mpls.api.

◆ mr_eos

u8 mr_eos

Definition at line 146 of file mpls.api.

◆ mr_eos_proto

u8 mr_eos_proto

Definition at line 147 of file mpls.api.

◆ mr_is_multicast

bool mr_is_multicast

Definition at line 148 of file mpls.api.

◆ mr_label

u32 mr_label

Definition at line 144 of file mpls.api.

◆ mr_n_paths

u8 mr_n_paths

Definition at line 149 of file mpls.api.

◆ mr_paths

vl_api_fib_path_t mr_paths[mr_n_paths]

Definition at line 150 of file mpls.api.

◆ mt_is_multicast

bool mt_is_multicast

Definition at line 48 of file mpls.api.

◆ mt_l2_only

bool mt_l2_only

Definition at line 47 of file mpls.api.

◆ mt_n_paths

u8 mt_n_paths

Definition at line 50 of file mpls.api.

◆ mt_name

string mt_name[64]

Definition at line 107 of file mpls.api.

◆ mt_paths

vl_api_fib_path_t mt_paths[mt_n_paths]

Definition at line 51 of file mpls.api.

◆ mt_tag

string mt_tag[64]

Definition at line 49 of file mpls.api.

◆ mt_tunnel_index

u32 mt_tunnel_index

Definition at line 46 of file mpls.api.

◆ version

option version = "1.1.1"

Definition at line 16 of file mpls.api.