Partager via


NET_BUFFER_CHECKSUM_BIAS (Compact 2013)

3/26/2014

This is a macro that NDIS drivers use to obtain the ChecksumBias member of a NET_BUFFER structure.

Syntax

NET_BUFFER_CHECKSUM_BIAS(_NB)

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.

Requirements

Header

ndis.h

See Also

Reference

NET_BUFFER Structure Macros
NET_BUFFER