NET_ADAPTER_DATAPATH_CALLBACKS structure (netadapter.h)
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 function.
Requirements
Requirement | Value |
---|---|
Minimum KMDF version | 1.27 |
Minimum UMDF version | 2.33 |
Header | netadapter.h (include netadaptercx.h) |