![]() |
![]() |
MAC/Ethernet lookup information. More...
#include <pa.h>
Data Fields | |
paMacAddr_t | src |
paMacAddr_t | dst |
uint16_t | vlan |
uint16_t | ethertype |
uint32_t | mplsTag |
uint16_t | inport |
MAC/Ethernet lookup information.
paEthInfo_t is used to specify the MAC/Ethernet parameters used in packet routing. A value in 0 for any of the fields indicates that the field is not used for packet routing.
paMacAddr_t paEthInfo_t::dst |
Destination MAC address
uint16_t paEthInfo_t::ethertype |
Ethertype field.
uint16_t paEthInfo_t::inport |
Input EMAC port number as specified by Ethernet MAC port
uint32_t paEthInfo_t::mplsTag |
MPLS tag. Only the outer tag is examined
paMacAddr_t paEthInfo_t::src |
Source MAC addresss
uint16_t paEthInfo_t::vlan |
VLAN tag VID field, 12 lsbs