NET_PACKET_RX_CHECKSUM_EVALUATION enumeration (checksumtypes.h)

The NET_PACKET_RX_CHECKSUM_EVALUATION enumeration specifies checksum evaluation flags for a NET_PACKET_CHECKSUM structure during packet reception.

Syntax

typedef enum _NET_PACKET_RX_CHECKSUM_EVALUATION {
  NetPacketRxChecksumEvaluationNotChecked = 0,
  NetPacketRxChecksumEvaluationValid = 1,
  NetPacketRxChecksumEvaluationInvalid = 2
} NET_PACKET_RX_CHECKSUM_EVALUATION;

Constants

 
NetPacketRxChecksumEvaluationNotChecked
Value: 0
The default value for this enumeration. Indicates that the checksum will be validated in software further up in the networking stack.
NetPacketRxChecksumEvaluationValid
Value: 1
Indicates the hardware determined that the checksum value is correct.
NetPacketRxChecksumEvaluationInvalid
Value: 2
Indicates the hardware determined that the checksum value is incorrect.

Requirements

Requirement Value
Header checksumtypes.h

See also

NET_PACKET_CHECKSUM