NET_BUFFER_LIST_SET_HASH_TYPE macro

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

Version Information

Windows Vista

Supported.

NDIS 6.0 drivers

Supported.

Syntax


VOID NET_BUFFER_LIST_SET_HASH_TYPE(
  [in] PNET_BUFFER_LIST          NetBufferList,
  [in] ULONG            volatile HashType
);

Parameters

NetBufferList [in]

A pointer to a NET_BUFFER_LIST structure.

HashType [in]

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

Target platform

Universal

Header

Ndis.h (include Ndis.h)

See also

NET_BUFFER_LIST

 

 

Send comments about this topic to Microsoft

Show: