PDK API Guide for J721E

Detailed Description

Rx Protcol info structure.

It contains IpV4/IpV6 protcol information including checksum. This is copied from the CPPI TX status word (UDMA flow protocol specific info).

Data Fields

bool ipv6Valid
 
bool ipv4Valid
 
bool tcpudpIndicator
 
bool fragment
 
bool chkSumErr
 
uint16_t chkSum
 

Field Documentation

bool CpswDma_rxProtoInfo::ipv6Valid

Flag to indicate an IPV6 TCP or UDP Packet was detected

bool CpswDma_rxProtoInfo::ipv4Valid

Flag to indicate an IPV4 TCP or UDP Packet was detected

bool CpswDma_rxProtoInfo::tcpudpIndicator

TCP or UDP packet detected. Valid only if ipv4Valid or ipv6Valid is true

bool CpswDma_rxProtoInfo::fragment

IP fragment detected. Valid only if ipv4Valid or ipv6Valid is true

bool CpswDma_rxProtoInfo::chkSumErr

Checksum error flag. Valid only if ipv4Valid or ipv6Valid is true

uint16_t CpswDma_rxProtoInfo::chkSum

Computed checksum value