-
Notifications
You must be signed in to change notification settings - Fork 1
/
rxqueue.h
31 lines (21 loc) · 870 Bytes
/
rxqueue.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#pragma once
typedef struct _MTK_RXQUEUE {
MTK_ADAPTER* Adapter;
NET_RING_COLLECTION const* Rings;
WDFCOMMONBUFFER RxdArray;
NET_EXTENSION ChecksumExtension;
NET_EXTENSION VirtualAddressExtension;
NET_EXTENSION LogicalAddressExtension;
NET_EXTENSION HashValueExtension;
ULONG QueueId;
} MTK_RXQUEUE, * PMTK_RXQUEUE;
WDF_DECLARE_CONTEXT_TYPE_WITH_NAME(MTK_RXQUEUE, MtkGetRxQueueContext);
NTSTATUS MtkRxQueueInitialize(_In_ NETPACKETQUEUE rxQueue, _In_ MTK_ADAPTER* adapter);
_Requires_lock_held_(adapter->Lock)
void MtkAdapterUpdateRcr(_In_ MTK_ADAPTER* adapter);
EVT_WDF_OBJECT_CONTEXT_DESTROY EvtRxQueueDestroy;
EVT_PACKET_QUEUE_SET_NOTIFICATION_ENABLED EvtRxQueueSetNotificationEnabled;
EVT_PACKET_QUEUE_ADVANCE EvtRxQueueAdvance;
EVT_PACKET_QUEUE_CANCEL EvtRxQueueCancel;
EVT_PACKET_QUEUE_START EvtRxQueueStart;
EVT_PACKET_QUEUE_STOP EvtRxQueueStop;