paTxChksum_t Struct Reference
[PA LLD Data Structures]

Transmit checksum configuration. More...

#include <pa.h>

Data Fields

uint16_t startOffset
uint16_t lengthBytes
uint16_t resultOffset
uint16_t initialSum
uint16_t negative0

Detailed Description

Transmit checksum configuration.

paTxChksum_t is used in the call to Pa_formatTxRoute or Pa_formatTxCmd to create a tx command header that instructs the packet accelerator sub-system to generate ones' complement checksums into network packets. The checksums are typically used for TCP and UDP payload checksums as well as IPv4 header checksums. In the case of TCP and UDP payload checksums the psuedo header checksum must be pre-calculated and provided, the sub-system does not calculate it.


Field Documentation

Initial value of the checksum

Number of bytes covered by the checksum. Must be even

If TRUE, a computed value of 0 is written as -0

Byte offset, from startOffset, to place the resulting checksum

Byte location, from SOP, where the checksum calculation begins


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

Copyright 2012, Texas Instruments Incorporated