NET_BUFFER_LIST_RECEIVE_FILTER_VPORT_ID macro

The NET_BUFFER_LIST_RECEIVE_FILTER_VPORT_ID macro sets or gets the identifier of a virtual port (VPort) within the out-of-band (OOB) data in a NET_BUFFER_LIST structure.

Syntax

void NET_BUFFER_LIST_RECEIVE_FILTER_VPORT_ID(
   _NBL
);

Parameters

_NBL

A pointer to a NET_BUFFER_LIST structure.

Return Value

NET_BUFFER_LIST_RECEIVE_FILTER_VPORT_ID returns a USHORT value for a VPort identifier.

Remarks

Miniport drivers that support the single root I/O virtualization (SR-IOV) interface can use the NET_BUFFER_LIST_RECEIVE_FILTER_VPORT_ID macro to set or get the VPort identifier in a NET_BUFFER_LIST structure. The NET_BUFFER_LIST_RECEIVE_FILTER_VPORT_ID macro accesses the VPort identifier from the VPortId member of the NDIS_NET_BUFFER_LIST_FILTERING_INFO structure.

Requirements

   
Minimum supported client Supported in NDIS 6.30 and later.
Target Platform Universal
Header ndis.h

See Also

NET_BUFFER_LIST

NDIS_NET_BUFFER_LIST_FILTERING_INFO