Port interVLAN configuration parameters.
Data Fields | |
uint8_t | dstAddr [ENET_MAC_ADDR_LEN] |
uint8_t | srcAddr [ENET_MAC_ADDR_LEN] |
uint32_t | vlanId |
bool | replaceDASA |
bool | forceUntaggedEgress |
bool | decrementTTL |
uint8_t CpswMacPort_InterVlanRoutingCfg::dstAddr[ENET_MAC_ADDR_LEN] |
Destination address
uint8_t CpswMacPort_InterVlanRoutingCfg::srcAddr[ENET_MAC_ADDR_LEN] |
Source address
uint32_t CpswMacPort_InterVlanRoutingCfg::vlanId |
VLAN Id
bool CpswMacPort_InterVlanRoutingCfg::replaceDASA |
Whether routed packet's destination address will be replaced with dstAddr and packet's source address will be replaced with srcAddr
bool CpswMacPort_InterVlanRoutingCfg::forceUntaggedEgress |
Destination VLAN Force Untagged Egress. When set, this bit indicates that the VLAN should be removed on egress for the routed packet.
bool CpswMacPort_InterVlanRoutingCfg::decrementTTL |
Decrement Time To Live. When set, the Time To Live (TTL) field in the header is decremented:
Note: When this bit is set, the ALE should be configured to send any IPv4/6 packet with a zero or one TTL field to the host. When this bit is cleared the TTL/Hop Limit fields are not checked or modified.