# Functions
Messages returns list of all messages in this module.
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
BdIPMac defines type 'bd_ip_mac'.
Set bridge domain ip to mac entry 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
BdIPMacAddDel defines message 'bd_ip_mac_add_del'.
BdIPMacAddDelReply defines message 'bd_ip_mac_add_del_reply'.
bridge domain IP to MAC entry details structure - bd_id - bridge domain table id - is_ipv6 - if non-zero, ipv6 address, else ipv4 address - ip_address - ipv4 or ipv6 address - mac_address - MAC address
BdIPMacDetails defines message 'bd_ip_mac_details'.
Dump bridge domain IP to MAC entries - bd_id - bridge domain identifier
BdIPMacDump defines message 'bd_ip_mac_dump'.
Flush bridge domain IP to MAC entries - bd_id - bridge domain identifier
BdIPMacFlush defines message 'bd_ip_mac_flush'.
BdIPMacFlushReply defines message 'bd_ip_mac_flush_reply'.
L2 bridge domain add or delete request - will be deprecated - bd_id - the bridge domain to create - flood - enable/disable bcast/mcast flooding in the bd - uu_flood - enable/disable unknown unicast flood in the bd - forward - enable/disable forwarding on all interfaces in the bd - learn - enable/disable learning on all interfaces in the bd - arp_term - enable/disable arp termination in the bd - arp_ufwd - enable/disable arp unicast forwarding in the bd - mac_age - mac aging time in min, 0 for disabled - is_add - add or delete flag
BridgeDomainAddDel defines message 'bridge_domain_add_del'.
BridgeDomainAddDelReply defines message 'bridge_domain_add_del_reply'.
L2 bridge domain add delete request version 2 - bd_id - if the id == ~0 creates a bridge domain with an unused id if the id != ~0 the id of the bridge domain to create/delete - flood - enable/disable bcast/mcast flooding in the bd - uu_flood - enable/disable unknown unicast flood in the bd - forward - enable/disable forwarding on all interfaces in the bd - learn - enable/disable learning on all interfaces in the bd - arp_term - enable/disable arp termination in the bd - arp_ufwd - enable/disable arp unicast forwarding in the bd - mac_age - mac aging time in min, 0 for disabled - is_add - add or delete flag
BridgeDomainAddDelV2 defines message 'bridge_domain_add_del_v2'.
L2 bridge domain add delete version 2 response - retval - return code for the set bridge flags request - resulting_id - the id for the new bridge domain
BridgeDomainAddDelV2Reply defines message 'bridge_domain_add_del_v2_reply'.
L2 bridge domain operational state response - bd_id - the bridge domain id - flood - bcast/mcast flooding state on all interfaces in the bd - uu_flood - unknown unicast flooding state on all interfaces in the bd - forward - forwarding state on all interfaces in the bd - learn - learning state on all interfaces in the bd - arp_term - arp termination state on all interfaces in the bd - arp_ufwd - arp unicast forwarding state on all interfaces in the bd - mac_age - mac aging time in min, 0 for disabled - bd_tag - optional textual tag for the bridge domain - n_sw_ifs - number of sw_if_index's in the domain
BridgeDomainDetails defines message 'bridge_domain_details'.
L2 bridge domain request operational state details - bd_id - the bridge domain id desired or ~0 to request all bds - sw_if_index - filter by sw_if_index UNIMPLEMENTED
BridgeDomainDump defines message 'bridge_domain_dump'.
L2 bridge domain set default learn limit - learn limit - maximum number of entries by default for bridge domains
BridgeDomainSetDefaultLearnLimit defines message 'bridge_domain_set_default_learn_limit'.
BridgeDomainSetDefaultLearnLimitReply defines message 'bridge_domain_set_default_learn_limit_reply'.
L2 bridge domain set learn limit - bd_id - the bridge domain idenntifier - learn limit - maximum number of entries for this bd
BridgeDomainSetLearnLimit defines message 'bridge_domain_set_learn_limit'.
BridgeDomainSetLearnLimitReply defines message 'bridge_domain_set_learn_limit_reply'.
L2 bridge domain set mac age - bd_id - the bridge domain to create - mac_age - mac aging time in min, 0 for disabled
BridgeDomainSetMacAge defines message 'bridge_domain_set_mac_age'.
BridgeDomainSetMacAgeReply defines message 'bridge_domain_set_mac_age_reply'.
BridgeDomainSwIf defines type 'bridge_domain_sw_if'.
Set bridge flags request - bd_id - the bridge domain to set the flags for - is_set - if non-zero, set the flags, else clear them - flags - flags that are non-zero to set or clear
BridgeFlags defines message 'bridge_flags'.
Set bridge flags response - retval - return code for the set bridge flags request - resulting_feature_bitmap - the internal L2 feature bitmap after the request is implemented
BridgeFlagsReply defines message 'bridge_flags_reply'.
Create BVI interface instance request - mac_address - mac addr to assign to the interface if none-zero - user_instance - requested instance, ~0 => dynamically allocate
BviCreate defines message 'bvi_create'.
Create BVI interface instance response - sw_if_index - sw index of the interface that was created - retval - return code for the request
BviCreateReply defines message 'bvi_create_reply'.
Delete BVI interface request - sw_if_index - sw index of the interface that was created
BviDelete defines message 'bvi_delete'.
BviDeleteReply defines message 'bvi_delete_reply'.
Tell client about an IP4 ARP resolution event or
MAC/IP info from ARP requests in L2 BDs - pid - client pid registered to receive notification - ip - IP address of new ARP term entry - sw_if_index - interface of new ARP term entry - mac - MAC address of new ARP term entry
L2ArpTermEvent defines message 'l2_arp_term_event'.
L2 FIB add entry request - mac - the entry's mac address - bd_id - the entry's bridge domain id - sw_if_index - the interface - is_add - If non zero add the entry, else delete it - static_mac - - filter_mac - - bvi_mac -
L2fibAddDel defines message 'l2fib_add_del'.
L2fibAddDelReply defines message 'l2fib_add_del_reply'.
L2 fib clear table request, clear all mac entries in the l2 fib L2FibClearTable defines message 'l2_fib_clear_table'.
L2FibClearTableReply defines message 'l2_fib_clear_table_reply'.
L2 FIB flush all entries L2fibFlushAll defines message 'l2fib_flush_all'.
L2fibFlushAllReply defines message 'l2fib_flush_all_reply'.
L2 FIB flush bridge domain entries - bd_id - the entry's bridge domain id
L2fibFlushBd defines message 'l2fib_flush_bd'.
L2fibFlushBdReply defines message 'l2fib_flush_bd_reply'.
L2 FIB flush interface entries - bd_id - the entry's bridge domain id
L2fibFlushInt defines message 'l2fib_flush_int'.
L2fibFlushIntReply defines message 'l2fib_flush_int_reply'.
set l2 table scan delay - scan_delay - event scan delay in 10 msec unit
L2fibSetScanDelay defines message 'l2fib_set_scan_delay'.
L2fibSetScanDelayReply defines message 'l2fib_set_scan_delay_reply'.
l2 fib table details structure - bd_id - the l2 fib / bridge domain table id - mac - the entry's mac address - sw_if_index - index of the interface - static_mac - the entry is statically configured.
Dump l2 fib (aka bridge domain) table - bd_id - the l2 fib / bridge domain table identifier
L2FibTableDump defines message 'l2_fib_table_dump'.
Set interface L2 flags (such as L2_LEARN, L2_FWD,
L2_FLOOD, L2_UU_FLOOD, or L2_ARP_TERM bits).
Set interface L2 flags response - retval - return code for the set l2 bits request - resulting_feature_bitmap - the internal l2 feature bitmap after the request is implemented
L2FlagsReply defines message 'l2_flags_reply'.
L2 interface ethernet flow point filtering enable/disable request - sw_if_index - interface to enable/disable filtering on - enable_disable - if non-zero enable filtering, else disable
L2InterfaceEfpFilter defines message 'l2_interface_efp_filter'.
L2InterfaceEfpFilterReply defines message 'l2_interface_efp_filter_reply'.
L2 interface pbb tag rewrite configure request - sw_if_index - interface the operation is applied to - vtr_op - Choose from l2_vtr_op_t enum values - inner_tag - needed for translate_qinq vtr op only - outer_tag - needed for translate_qinq vtr op only - b_dmac - B-tag remote mac address, needed for any push or translate_qinq vtr op - b_smac - B-tag local mac address, needed for any push or translate qinq vtr op - b_vlanid - B-tag vlanid, needed for any push or translate qinq vtr op - i_sid - I-tag service id, needed for any push or translate qinq vtr op
L2InterfacePbbTagRewrite defines message 'l2_interface_pbb_tag_rewrite'.
L2InterfacePbbTagRewriteReply defines message 'l2_interface_pbb_tag_rewrite_reply'.
L2 interface vlan tag rewrite configure request - sw_if_index - interface the operation is applied to - vtr_op - Choose from l2_vtr_op_t enum values - push_dot1q - first pushed flag dot1q id set, else dot1ad - tag1 - Needed for any push or translate vtr op - tag2 - Needed for any push 2 or translate x-2 vtr ops
L2InterfaceVlanTagRewrite defines message 'l2_interface_vlan_tag_rewrite'.
L2InterfaceVlanTagRewriteReply defines message 'l2_interface_vlan_tag_rewrite_reply'.
L2 MAC event for a list of learned or aged MACs - pid - client pid registered to receive notification - n_macs - number of learned/aged MAC entries - mac - array of learned/aged MAC entries
L2MacsEvent defines message 'l2_macs_event'.
L2 interface patch add / del request - rx_sw_if_index - receive side interface - tx_sw_if_index - transmit side interface - is_add - if non-zero set up the interface patch, else remove it
L2PatchAddDel defines message 'l2_patch_add_del'.
L2PatchAddDelReply defines message 'l2_patch_add_del_reply'.
Reply to l2_xconnect_dump - rx_sw_if_index - Receive interface index - tx_sw_if_index - Transmit interface index
L2XconnectDetails defines message 'l2_xconnect_details'.
Dump L2 XConnects L2XconnectDump defines message 'l2_xconnect_dump'.
MacEntry defines type 'mac_entry'.
Interface bridge mode request - rx_sw_if_index - the interface - bd_id - bridge domain id - port_type - port_mode, see #l2_port_type - shg - Split horizon group, for bridge mode only - enable - Enable beige mode if not 0, else set to L3 mode
SwInterfaceSetL2Bridge defines message 'sw_interface_set_l2_bridge'.
SwInterfaceSetL2BridgeReply defines message 'sw_interface_set_l2_bridge_reply'.
Set L2 XConnect between two interfaces request - rx_sw_if_index - Receive interface index - tx_sw_if_index - Transmit interface index - enable - enable xconnect if not 0, else set to L3 mode
SwInterfaceSetL2Xconnect defines message 'sw_interface_set_l2_xconnect'.
SwInterfaceSetL2XconnectReply defines message 'sw_interface_set_l2_xconnect_reply'.
Interface set vpath request - sw_if_index - interface used to reach neighbor - enable - if non-zero enable, else disable
SwInterfaceSetVpath defines message 'sw_interface_set_vpath'.
SwInterfaceSetVpathReply defines message 'sw_interface_set_vpath_reply'.
Register for IP4 ARP resolution event on receiving ARP reply or
MAC/IP info from ARP requests in L2 BDs - enable - 1 => register for events, 0 => cancel registration - pid - sender's pid
WantL2ArpTermEvents defines message 'want_l2_arp_term_events'.
WantL2ArpTermEventsReply defines message 'want_l2_arp_term_events_reply'.
Register to receive L2 MAC events for learned and aged MAC - learn_limit - MAC learn limit - scan_delay - event scan delay in 10 msec unit - max_macs_in_event - in units of 10 mac entries - enable_disable - 1 => register for MAC events, 0 => cancel registration - pid - sender's pid
WantL2MacsEvents defines message 'want_l2_macs_events'.
Register to receive L2 MAC events for learned and aged MAC - max_macs_in_event - in units of 10 mac entries - enable_disable - 1 => register for MAC events, 0 => cancel registration - pid - sender's pid
WantL2MacsEvents2 defines message 'want_l2_macs_events2'.
WantL2MacsEvents2Reply defines message 'want_l2_macs_events2_reply'.
WantL2MacsEventsReply defines message 'want_l2_macs_events_reply'.
# Interfaces
RPCService defines RPC service l2.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
BdFlags defines enum 'bd_flags'.
L2PortType defines enum 'l2_port_type'.
MacEventAction defines enum 'mac_event_action'.