Bewerken

Delen via


NET_BUFFER_LIST_GET_HASH_FUNCTION macro (ndis/nblhash.h)

The NET_BUFFER_LIST_GET_HASH_FUNCTION macro gets the hash function information from a NET_BUFFER_LIST structure.

Syntax

void NET_BUFFER_LIST_GET_HASH_FUNCTION(
   _NBL
);

Parameters

_NBL

A pointer to a NET_BUFFER_LIST structure.

Return value

NET_BUFFER_LIST_GET_HASH_FUNCTION returns the hash function used. For more information, see RSS Hashing Functions.

The hash function can be one of the following values:

  • NdisHashFunctionToeplitz
  • NdisHashFunctionReserved1
  • NdisHashFunctionReserved2
  • NdisHashFunctionReserved3

Remarks

A NIC (or its miniport driver) uses the receive side scaling (RSS) hashing function to calculate an RSS hash value.

For more information about the hashing functions, see RSS Hashing Functions.

Requirements

Requirement Value
Minimum supported client Supported in NDIS 6.0 and later.
Target Platform Universal
Header ndis/nblhash.h (include ndis.h)

See also

NET_BUFFER_LIST