NET_BUFFER_LIST_GET_HASH_FUNCTION macro

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

   
Minimum supported client Supported in NDIS 6.0 and later.
Target Platform Universal
Header ndis.h

See Also

NET_BUFFER_LIST