NET_ADAPTER_DATAPATH_CALLBACKS structure

Warning

Some information in this topic relates to prereleased product, which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

NetAdapterCx is preview only in Windows 10, version 1903.

The NET_ADAPTER_DATAPATH_CALLBACKS structure describes a net adapter's callback functions for creating its datapath queues.

Syntax

typedef struct _NET_ADAPTER_DATAPATH_CALLBACKS {
  ULONG                          Size;
  PFN_NET_ADAPTER_CREATE_TXQUEUE EvtAdapterCreateTxQueue;
  PFN_NET_ADAPTER_CREATE_RXQUEUE EvtAdapterCreateRxQueue;
} NET_ADAPTER_DATAPATH_CALLBACKS;

Members

Size

The size of this structure, in bytes.

EvtAdapterCreateTxQueue

A pointer to the client driver's implementation of the EVT_NET_ADAPTER_CREATE_TXQUEUE callback function.

EvtAdapterCreateRxQueue

A pointer to the client driver's implementation of the EVT_NET_ADAPTER_CREATE_RXQUEUE callback function.

Remarks

Call NET_ADAPTER_DATAPATH_CALLBACKS_INIT to initialize this structure. An initialized NET_ADAPTER_DATAPATH_CALLBACKS structure is passed as a parameter to the NetAdapterInitSetDatapathCallbacks method.

Requirements

   
Minimum KMDF version 1.27
Header netadapter.h

See Also

NET_ADAPTER_DATAPATH_CALLBACKS_INIT

NetAdapterInitSetDatapathCallbacks