NET_BUFFER_LIST_GET_HASH_TYPE macro

The NET_BUFFER_LIST_GET_HASH_TYPE macro gets the hash type information from a NET_BUFFER_LIST structure.

Version Information

Windows Vista

Supported.

NDIS 6.0 drivers

Supported.

Syntax


ULONG NET_BUFFER_LIST_GET_HASH_TYPE(
   PNET_BUFFER_LIST NetBufferList
);

Parameters

NetBufferList

A pointer to a NET_BUFFER_LIST structure.

Return value

NET_BUFFER_LIST_GET_HASH_TYPE returns the hash type of the specified NET_BUFFER_LIST structure.

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.

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

Target platform

Universal

Header

Ndis.h (include Ndis.h)

See also

NET_BUFFER_LIST

 

 

Send comments about this topic to Microsoft

Show: