PDK API Guide for J721E
Cpsw_InterVlanRouteIngressPktMatchCfg Struct Reference

Detailed Description

InterVLAN route ingress packet match criteria configuration.

Data Fields

uint32_t packetMatchEnableMask
 
bool enableTTLCheck
 
Cpsw_MacPort ingressPort
 
CpswAle_MacSrcAddrClassifierInfo srcMacAddr
 
CpswAle_MacDstAddrClassifierInfo dstMacAddr
 
uint32_t vlanId
 
CpswAle_IpAddrClassifierInfo srcIp
 
CpswAle_IpAddrClassifierInfo dstIp
 
CpswAle_EtherTypeEntryInfo etherType
 

Field Documentation

uint32_t Cpsw_InterVlanRouteIngressPktMatchCfg::packetMatchEnableMask

Bitmask selecting classifier types to enable

See also
CPSW Intervlan ingress packet match types
bool Cpsw_InterVlanRouteIngressPktMatchCfg::enableTTLCheck

Flag to enable TTL check. If enabled a packet whose TTL is zero will be routed to host port instead of being routed to egress port

Cpsw_MacPort Cpsw_InterVlanRouteIngressPktMatchCfg::ingressPort

Port number to match. Must be valid if bit CPSW_INTERVLAN_INGRESSPKT_MATCH_PORT in packetMatchEnableMask is set

CpswAle_MacSrcAddrClassifierInfo Cpsw_InterVlanRouteIngressPktMatchCfg::srcMacAddr

Source MAC address to match. Must be valid if bit CPSW_INTERVLAN_INGRESSPKT_MATCH_MACSRC in packetMatchEnableMask is set

CpswAle_MacDstAddrClassifierInfo Cpsw_InterVlanRouteIngressPktMatchCfg::dstMacAddr

Destination MAC address to match. Must valid if bit CPSW_INTERVLAN_INGRESSPKT_MATCH_MACDST in packetMatchEnableMask is set

uint32_t Cpsw_InterVlanRouteIngressPktMatchCfg::vlanId

Ingress packet VLAN ID to match

CpswAle_IpAddrClassifierInfo Cpsw_InterVlanRouteIngressPktMatchCfg::srcIp

Source IP address to match. Must be valid if bit CPSW_INTERVLAN_INGRESSPKT_MATCH_IPSRC in policerMatchEnableMask is set

CpswAle_IpAddrClassifierInfo Cpsw_InterVlanRouteIngressPktMatchCfg::dstIp

Destination IP address to match. Must be valid if bit CPSW_INTERVLAN_INGRESSPKT_MATCH_IPDST in policerMatchEnableMask is set.

CpswAle_EtherTypeEntryInfo Cpsw_InterVlanRouteIngressPktMatchCfg::etherType

Frame Ethertype to match. Must be valid if bit CPSW_INTERVLAN_INGRESSPKT_MATCH_ETHERTYPE in policerMatchEnableMask is set.