PDK API Guide for J721E
CSL_CPSW_INTERVLANCFG Struct Reference

Detailed Description

Holds the Port intervlan configuration info.

Data Fields

Uint8 dstMacAddress [6]
 
Uint8 srcMacAddress [6]
 
Uint32 decrementTtl
 
Uint32 destForceUntaggedEgress
 
Uint32 replaceDaSa
 
Uint32 replaceVid
 
Uint32 vid
 

Field Documentation

◆ dstMacAddress

Uint8 CSL_CPSW_INTERVLANCFG::dstMacAddress[6]

Destination mac address to be replaced

◆ srcMacAddress

Uint8 CSL_CPSW_INTERVLANCFG::srcMacAddress[6]

Source mac address to be replaced

◆ decrementTtl

Uint32 CSL_CPSW_INTERVLANCFG::decrementTtl

Decrement Time To Live - When set, the Time To Live (TTL) field in the header is decremented: IPV4 - Decrement the TTL byte and update the Header Checksum IPV6 - Decrement the Hop Limit. 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.

◆ destForceUntaggedEgress

Uint32 CSL_CPSW_INTERVLANCFG::destForceUntaggedEgress

Destination VLAN Force Untagged Egress - When set, this bit indicates that the VLAN should be removed on egress for the routed packet.

◆ replaceDaSa

Uint32 CSL_CPSW_INTERVLANCFG::replaceDaSa

Replace Destination Address and Source Address - When set this bit indicates that the routed packet destination address should be replaced by da[47:0] and the source address should be replaced by sa[47:0]

◆ replaceVid

Uint32 CSL_CPSW_INTERVLANCFG::replaceVid

Replace VLAN ID - When set this bit indicates that the VLAN ID should be replaced for the routed packet

◆ vid

Uint32 CSL_CPSW_INTERVLANCFG::vid

VLAN ID to be set on outgoing packets