FD.io VPP  v19.08.3-2-gbabecb413
Vector Packet Processing
l2.api File Reference

Go to the source code of this file.

Data Structures

struct  vl_api_l2_xconnect_details_t
 Reply to l2_xconnect_dump. More...
 
struct  vl_api_l2_xconnect_dump_t
 Dump L2 XConnects. More...
 
struct  vl_api_l2_fib_table_details_t
 l2 fib table details structure More...
 
struct  vl_api_l2_fib_table_dump_t
 Dump l2 fib (aka bridge domain) table. More...
 
struct  vl_api_l2_fib_clear_table_t
 L2 fib clear table request, clear all mac entries in the l2 fib. More...
 
struct  vl_api_l2fib_flush_all_t
 L2 FIB flush all entries. More...
 
struct  vl_api_l2fib_flush_bd_t
 L2 FIB flush bridge domain entries. More...
 
struct  vl_api_l2fib_flush_int_t
 L2 FIB flush interface entries. More...
 
struct  vl_api_l2fib_add_del_t
 L2 FIB add entry request. More...
 
struct  vl_api_want_l2_macs_events_t
 Register to receive L2 MAC events for learned and aged MAC. More...
 
struct  vl_api_mac_entry_t
 Entry for learned or aged MAC in L2 MAC Events. More...
 
struct  vl_api_l2_macs_event_t
 L2 MAC event for a list of learned or aged MACs. More...
 
struct  vl_api_l2_flags_t
 Set interface L2 flags (such as L2_LEARN, L2_FWD, L2_FLOOD, L2_UU_FLOOD, or L2_ARP_TERM bits). More...
 
struct  vl_api_l2_flags_reply_t
 Set interface L2 flags response. More...
 
struct  vl_api_bridge_domain_set_mac_age_t
 L2 bridge domain set mac age. More...
 
struct  vl_api_bridge_domain_add_del_t
 L2 bridge domain add or delete request. More...
 
struct  vl_api_bridge_domain_dump_t
 L2 bridge domain request operational state details. More...
 
struct  vl_api_bridge_domain_sw_if_t
 L2 bridge domain sw interface operational state response. More...
 
struct  vl_api_bridge_domain_details_t
 L2 bridge domain operational state response. More...
 
struct  vl_api_bridge_flags_t
 Set bridge flags request. More...
 
struct  vl_api_bridge_flags_reply_t
 Set bridge flags response. More...
 
struct  vl_api_l2_interface_vlan_tag_rewrite_t
 L2 interface vlan tag rewrite configure request. More...
 
struct  vl_api_l2_interface_pbb_tag_rewrite_t
 L2 interface pbb tag rewrite configure request. More...
 
struct  vl_api_l2_patch_add_del_t
 L2 interface patch add / del request. More...
 
struct  vl_api_sw_interface_set_l2_xconnect_t
 Set L2 XConnect between two interfaces request. More...
 
struct  vl_api_sw_interface_set_l2_bridge_t
 Interface bridge mode request. More...
 
struct  vl_api_bd_ip_mac_add_del_t
 
struct  vl_api_bd_ip_mac_flush_t
 Flush bridge domain IP to MAC entries. More...
 
struct  vl_api_bd_ip_mac_details_t
 bridge domain IP to MAC entry details structure More...
 
struct  vl_api_bd_ip_mac_dump_t
 Dump bridge domain IP to MAC entries. More...
 
struct  vl_api_l2_interface_efp_filter_t
 L2 interface ethernet flow point filtering enable/disable request. More...
 
struct  vl_api_sw_interface_set_vpath_t
 Interface set vpath request. More...
 
struct  vl_api_bvi_create_t
 Create BVI interface instance request. More...
 
struct  vl_api_bvi_create_reply_t
 Create BVI interface instance response. More...
 
struct  vl_api_bvi_delete_t
 Delete BVI interface request. More...
 

Enumerations

enum  bd_flags {
  BRIDGE_API_FLAG_NONE = 0x0, BRIDGE_API_FLAG_LEARN = 0x1, BRIDGE_API_FLAG_FWD = 0x2, BRIDGE_API_FLAG_FLOOD = 0x4,
  BRIDGE_API_FLAG_UU_FLOOD = 0x8, BRIDGE_API_FLAG_ARP_TERM = 0x10, BRIDGE_API_FLAG_ARP_UFWD = 0x20
}
 Flags that can be changed on a bridge domain. More...
 
enum  l2_port_type { L2_API_PORT_TYPE_NORMAL = 0, L2_API_PORT_TYPE_BVI = 1, L2_API_PORT_TYPE_UU_FWD = 2 }
 An enumeration of the type of ports that can be added to a bridge domain. More...
 

Variables

option version = "2.2.2"
 
import vnet ip ip_types api
 
 service
 
typedef bd_ip_mac
 Set bridge domain ip to mac entry request. More...
 
vl_api_address_t ip
 
vl_api_mac_address_t mac
 

Enumeration Type Documentation

◆ bd_flags

enum bd_flags

Flags that can be changed on a bridge domain.

Enumerator
BRIDGE_API_FLAG_NONE 
BRIDGE_API_FLAG_LEARN 
BRIDGE_API_FLAG_FWD 
BRIDGE_API_FLAG_FLOOD 
BRIDGE_API_FLAG_UU_FLOOD 
BRIDGE_API_FLAG_ARP_TERM 
BRIDGE_API_FLAG_ARP_UFWD 

Definition at line 325 of file l2.api.

◆ l2_port_type

An enumeration of the type of ports that can be added to a bridge domain.

Enumerator
L2_API_PORT_TYPE_NORMAL 
L2_API_PORT_TYPE_BVI 
L2_API_PORT_TYPE_UU_FWD 

Definition at line 445 of file l2.api.

Variable Documentation

◆ api

import vnet ethernet ethernet_types api

Definition at line 19 of file l2.api.

◆ bd_ip_mac

typedef bd_ip_mac
Initial value:
{
unsigned int u32
Definition: types.h:88
u32 bd_id
Definition: gbp.api:274

Set bridge domain ip to mac entry request.

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
bd_id- the bridge domain to set the flags for
is_add- if non-zero, add the entry, else clear it
ip- ipv4 or ipv6 address
mac- MAC address

Definition at line 487 of file l2.api.

◆ ip

vl_api_address_t ip

Definition at line 489 of file l2.api.

◆ mac

vl_api_mac_address_t mac

Definition at line 490 of file l2.api.

◆ service

service
Initial value:
{
rpc want_l2_macs_events returns want_l2_macs_events_reply
events l2_macs_event

Definition at line 190 of file l2.api.

◆ version

option version = "2.2.2"

Definition at line 17 of file l2.api.