OpenNSL API Guide and Reference Manual
Data Fields
opennsl_l2_station_s Struct Reference

L2 Station address info. More...

#include <l2.h>

Data Fields

opennsl_mac_t dst_mac
 Destination MAC address to match.
 
opennsl_mac_t dst_mac_mask
 Destination MAC address mask value.
 
uint32 flags
 OPENNSL_L2_STATION_xxx flags.
 
opennsl_port_t src_port
 Ingress port to match.
 
opennsl_port_t src_port_mask
 Ingress port mask value.
 
opennsl_vlan_t vlan
 VLAN to match.
 
opennsl_vlan_t vlan_mask
 VLAN mask value.
 

Detailed Description

L2 Station address info.

Definition at line 882 of file l2.h.

Field Documentation

opennsl_mac_t opennsl_l2_station_s::dst_mac

Destination MAC address to match.

Definition at line 884 of file l2.h.

Referenced by example_create_l3_intf(), and example_l3_intf_rif_create().

opennsl_mac_t opennsl_l2_station_s::dst_mac_mask

Destination MAC address mask value.

Definition at line 885 of file l2.h.

Referenced by example_create_l3_intf(), and example_l3_intf_rif_create().

uint32 opennsl_l2_station_s::flags

OPENNSL_L2_STATION_xxx flags.

Definition at line 883 of file l2.h.

Referenced by example_create_l3_intf(), and example_l3_intf_rif_create().

opennsl_port_t opennsl_l2_station_s::src_port

Ingress port to match.

Definition at line 888 of file l2.h.

opennsl_port_t opennsl_l2_station_s::src_port_mask

Ingress port mask value.

Definition at line 889 of file l2.h.

Referenced by example_l3_intf_rif_create().

opennsl_vlan_t opennsl_l2_station_s::vlan

VLAN to match.

Definition at line 886 of file l2.h.

opennsl_vlan_t opennsl_l2_station_s::vlan_mask

VLAN mask value.

Definition at line 887 of file l2.h.

Referenced by example_create_l3_intf(), and example_l3_intf_rif_create().


The documentation for this struct was generated from the following file: