NET_BUFFER_LIST_SET_HASH_FUNCTION function (ndis/nblhash.h)
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(
NET_BUFFER_LIST *Nbl,
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
None
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.30 and later. |
Target Platform | Universal |
Header | ndis/nblhash.h (include ndis.h) |