Data Fields
Cpsw_InterVlanRouteIngressPktMatchCfg_s Struct Reference

InterVLAN route ingress packet match criteria configuration. More...

#include <cpsw.h>

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
 

Detailed Description

InterVLAN route ingress packet match criteria configuration.

Field Documentation

CpswAle_IpAddrClassifierInfo Cpsw_InterVlanRouteIngressPktMatchCfg_s::dstIp

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

CpswAle_MacDstAddrClassifierInfo Cpsw_InterVlanRouteIngressPktMatchCfg_s::dstMacAddr

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

bool Cpsw_InterVlanRouteIngressPktMatchCfg_s::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

CpswAle_EtherTypeEntryInfo Cpsw_InterVlanRouteIngressPktMatchCfg_s::etherType

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

Cpsw_MacPort Cpsw_InterVlanRouteIngressPktMatchCfg_s::ingressPort

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

uint32_t Cpsw_InterVlanRouteIngressPktMatchCfg_s::packetMatchEnableMask

Bitmask selecting classifier types to enable

See Also
CPSW Intervlan ingress packet match types
CpswAle_IpAddrClassifierInfo Cpsw_InterVlanRouteIngressPktMatchCfg_s::srcIp

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

CpswAle_MacSrcAddrClassifierInfo Cpsw_InterVlanRouteIngressPktMatchCfg_s::srcMacAddr

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

uint32_t Cpsw_InterVlanRouteIngressPktMatchCfg_s::vlanId

Ingress packet VLAN ID to match


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

Copyright 2020, Texas Instruments Incorporated