NET_BUFFER_CHECKSUM_BIAS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// nblaccessors.h

#define NET_BUFFER_CHECKSUM_BIAS(_NB) ((_NB)->ChecksumBias)
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-nblaccessors-net_buffer_checksum_bias)

NET_BUFFER_CHECKSUM_BIAS macro

Description

NET_BUFFER_CHECKSUM_BIAS is a macro that NDIS drivers use to get the ChecksumBias member of a NET_BUFFER structure.

Syntax

#define NET_BUFFER_CHECKSUM_BIAS(_NB) ((_NB)->ChecksumBias)

Parameters

_NB

A pointer to a NET_BUFFER structure.

Return value

NET_BUFFER_CHECKSUM_BIAS returns the value of the ChecksumBias member of the indicated NET_BUFFER structure.

Remarks

The return value specifies the number of bytes of data to skip over at the beginning of the data buffer when computing a checksum. This value is used by the TCP/IP protocol.

See also

NET_BUFFER