Data Fields
CpswDma_rxProtoInfo_s Struct Reference

Rx Protcol info structure. More...

#include <cpsw_dma_psi.h>

Data Fields

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

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).

Field Documentation

uint16_t CpswDma_rxProtoInfo_s::chkSum

Computed checksum value

bool CpswDma_rxProtoInfo_s::chkSumErr

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

bool CpswDma_rxProtoInfo_s::fragment

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

bool CpswDma_rxProtoInfo_s::ipv4Valid

Flag to indicate an IPV4 TCP or UDP Packet was detected

bool CpswDma_rxProtoInfo_s::ipv6Valid

Flag to indicate an IPV6 TCP or UDP Packet was detected

bool CpswDma_rxProtoInfo_s::tcpudpIndicator

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


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

Copyright 2020, Texas Instruments Incorporated