OpenNSL API Guide and Reference Manual
|
Device-independent L2 address structure. More...
#include <l2.h>
Data Fields | |
uint32 | flags |
OPENNSL_L2_xxx flags. | |
opennsl_multicast_t | l2mc_group |
XGS: index in L2MC table. | |
opennsl_mac_t | mac |
802.3 MAC address. | |
int | modid |
XGS: modid. | |
int | port |
Zero-based port number. | |
uint32 | reserved1 |
int | reserved10 |
int | reserved11 |
uint32 | reserved12 |
uint32 | reserved13 |
opennsl_flow_logical_field_t | reserved14 [OPENNSL_FLOW_MAX_NOF_LOGICAL_FIELDS] |
uint32 | reserved15 |
opennsl_pbmp_t | reserved16 |
opennsl_tsn_flowset_t | reserved17 |
opennsl_tsn_sr_flowset_t | reserved18 |
opennsl_policer_t | reserved19 |
uint32 | reserved2 |
opennsl_tsn_pri_map_t | reserved20 |
opennsl_cos_t | reserved3 |
opennsl_cos_t | reserved4 |
opennsl_if_t | reserved5 |
opennsl_pbmp_t | reserved6 |
int | reserved7 |
int | reserved8 |
opennsl_fabric_distribution_t | reserved9 |
opennsl_trunk_t | tgid |
Trunk group ID. | |
opennsl_vlan_t | vid |
VLAN identifier. | |
uint32 opennsl_l2_addr_s::flags |
OPENNSL_L2_xxx flags.
Definition at line 50 of file l2.h.
Referenced by add_to_l2_table(), example_l2_addr_add(), example_l2_entry_add(), example_l2_firewall_block_station(), example_setup_mac_forwarding(), and example_vxlan().
opennsl_multicast_t opennsl_l2_addr_s::l2mc_group |
XGS: index in L2MC table.
For SBX chips it is the Multicast Group index
Definition at line 60 of file l2.h.
Referenced by example_l2_entry_add(), example_setup_mac_forwarding(), and example_vxlan().
opennsl_mac_t opennsl_l2_addr_s::mac |
int opennsl_l2_addr_s::port |
Zero-based port number.
Definition at line 55 of file l2.h.
Referenced by _opennsl_l2_traverse_cb(), add_to_l2_table(), example_create_policy(), example_l2_addr_add(), example_l2_entry_add(), and example_setup_mac_forwarding().
opennsl_flow_logical_field_t opennsl_l2_addr_s::reserved14[OPENNSL_FLOW_MAX_NOF_LOGICAL_FIELDS] |
opennsl_pbmp_t opennsl_l2_addr_s::reserved16 |
opennsl_tsn_flowset_t opennsl_l2_addr_s::reserved17 |
opennsl_tsn_sr_flowset_t opennsl_l2_addr_s::reserved18 |
opennsl_policer_t opennsl_l2_addr_s::reserved19 |
opennsl_tsn_pri_map_t opennsl_l2_addr_s::reserved20 |
opennsl_cos_t opennsl_l2_addr_s::reserved3 |
opennsl_cos_t opennsl_l2_addr_s::reserved4 |
opennsl_if_t opennsl_l2_addr_s::reserved5 |
opennsl_pbmp_t opennsl_l2_addr_s::reserved6 |
opennsl_fabric_distribution_t opennsl_l2_addr_s::reserved9 |
opennsl_trunk_t opennsl_l2_addr_s::tgid |
opennsl_vlan_t opennsl_l2_addr_s::vid |
VLAN identifier.
Definition at line 54 of file l2.h.
Referenced by _opennsl_l2_traverse_cb(), and example_l2_addr_add().