NET_BUFFER_LIST_SET_HASH_FUNCTION function

The NET_BUFFER_LIST_SET_HASH_FUNCTION macro sets the hash function information in a NET_BUFFER_LIST structure.

Syntax

void NET_BUFFER_LIST_SET_HASH_FUNCTION(
  PNET_BUFFER_LIST _NBL,
  volatile ULONG   _HashFunction
);

Parameters

_NBL

A pointer to a NET_BUFFER_LIST structure.

_HashFunction

The hash function that is used. For more information, see RSS Hashing Functions.

The hash function can be one of the following:

  • NdisHashFunctionToeplitz
  • NdisHashFunctionReserved1
  • NdisHashFunctionReserved2
  • NdisHashFunctionReserved3

Return Value

This macro does not return a value.

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.30 and later.
Target Platform Universal
Header ndis.h

See Also

NET_BUFFER_LIST