|
OpenNSL API Guide and Reference Manual
|
Device-independent L2 cache address structure. More...
#include <l2.h>
Data Fields | |
| opennsl_module_t | dest_modid |
| Switch destination module ID. | |
| opennsl_port_t | dest_port |
| Switch destination port. | |
| opennsl_pbmp_t | dest_ports |
| Destination ports for Multiport L2 address forwarding. | |
| opennsl_trunk_t | dest_trunk |
| Switch destination trunk ID. | |
| opennsl_if_t | encap_id |
| Encapsulation index. | |
| opennsl_ethertype_t | ethertype |
| Ethertype to match. | |
| opennsl_ethertype_t | ethertype_mask |
| Mask. | |
| uint32 | flags |
| OPENNSL_L2_CACHE_xxx flags. | |
| opennsl_multicast_t | group |
| Flood domain for L2CP. | |
| int | lookup_class |
| Classification class ID. | |
| opennsl_mac_t | mac |
| Destination MAC address to match. | |
| opennsl_mac_t | mac_mask |
| MAC address mask. | |
| int | prio |
| Internal priority, use -1 to not set. | |
| opennsl_port_t | src_port |
| Ingress port to match (network switch). | |
| opennsl_port_t | src_port_mask |
| Ingress port mask (must be 0 if not network switch). | |
| uint32 | station_flags |
| OPENNSL_L2_STATION_xxx flags. | |
| uint8 | subtype |
| Slow protocol subtype to match. | |
| opennsl_vlan_t | vlan |
| VLAN to match. | |
| opennsl_vlan_t | vlan_mask |
| VLAN mask. | |
| opennsl_module_t opennsl_l2_cache_addr_s::dest_modid |
| opennsl_port_t opennsl_l2_cache_addr_s::dest_port |
| opennsl_pbmp_t opennsl_l2_cache_addr_s::dest_ports |
| opennsl_trunk_t opennsl_l2_cache_addr_s::dest_trunk |
| opennsl_if_t opennsl_l2_cache_addr_s::encap_id |
| opennsl_ethertype_t opennsl_l2_cache_addr_s::ethertype |
| opennsl_ethertype_t opennsl_l2_cache_addr_s::ethertype_mask |
| uint32 opennsl_l2_cache_addr_s::flags |
| opennsl_multicast_t opennsl_l2_cache_addr_s::group |
| int opennsl_l2_cache_addr_s::lookup_class |
| opennsl_mac_t opennsl_l2_cache_addr_s::mac |
| opennsl_mac_t opennsl_l2_cache_addr_s::mac_mask |
| int opennsl_l2_cache_addr_s::prio |
| opennsl_port_t opennsl_l2_cache_addr_s::src_port |
| opennsl_port_t opennsl_l2_cache_addr_s::src_port_mask |
| uint32 opennsl_l2_cache_addr_s::station_flags |
| uint8 opennsl_l2_cache_addr_s::subtype |
| opennsl_vlan_t opennsl_l2_cache_addr_s::vlan |
| opennsl_vlan_t opennsl_l2_cache_addr_s::vlan_mask |