NET_BUFFER_LIST_SET_HASH_TYPE function (ndis/nblhash.h)

The NET_BUFFER_LIST_SET_HASH_TYPE macro sets the hash type information in a NET_BUFFER_LIST structure.

Syntax

EXTERN_C_START VOID NET_BUFFER_LIST_SET_HASH_TYPE(
  NET_BUFFER_LIST *Nbl,
  ULONG           HashType
);

Parameters

Nbl

A pointer to a NET_BUFFER_LIST structure.

HashType

The hash type.

The hash type is an OR value of valid combinations of the following flags:

  • NDIS_HASH_IPV4
  • NDIS_HASH_TCP_IPV4
  • NDIS_HASH_IPV6
  • NDIS_HASH_TCP_IPV6
  • NDIS_HASH_IPV6_EX
  • NDIS_HASH_TCP_IPV6_EX

For more information about hash types and the valid combinations of these flags, see RSS Hashing Types.

Return value

None

Remarks

A NIC (or its miniport driver) uses the receive side scaling (RSS) hash type to identify the portion of received network data that is used to calculate an RSS hash value.

For more information about the hash type, see RSS Hashing Types.

Requirements

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

See also

NET_BUFFER_LIST