118 IN ULONG InformationBufferLength,
128 IN ULONG InformationBufferLength,
152#define NUMBER_OF_BUFFERS 0x20
153#define LOG_NUMBER_OF_BUFFERS 5
154#define BUFFER_SIZE 0x600
155#define MAX_MULTICAST_ADDRESSES 32
156#define MEDIA_DETECTION_INTERVAL 5000
159#define RESET_IN_PROGRESS 0x1
162#define INTERRUPT_LIMIT 10
165#define PCNET_TAG 'tNcP'
enum _NDIS_MEDIA_STATE NDIS_MEDIA_STATE
struct _ADAPTER_STATS ADAPTER_STATS
NDIS_MEDIA_STATE NTAPI MiGetMediaState(PADAPTER Adapter)
struct _ADAPTER * PADAPTER
NDIS_STATUS NTAPI MiniportSetInformation(IN NDIS_HANDLE MiniportAdapterContext, IN NDIS_OID Oid, IN PVOID InformationBuffer, IN ULONG InformationBufferLength, OUT PULONG BytesRead, OUT PULONG BytesNeeded)
NDIS_STATUS NTAPI MiSetMulticast(PADAPTER Adapter, UCHAR *Addresses, UINT AddressCount)
BOOLEAN NTAPI MiGetMediaDuplex(PADAPTER Adapter)
NDIS_STATUS NTAPI MiniportQueryInformation(IN NDIS_HANDLE MiniportAdapterContext, IN NDIS_OID Oid, IN PVOID InformationBuffer, IN ULONG InformationBufferLength, OUT PULONG BytesWritten, OUT PULONG BytesNeeded)
struct _ADAPTER_STATS * PADAPTER_STATS
UINT NTAPI MiGetMediaSpeed(PADAPTER Adapter)
ULONG XmtBufferUnderflows
ULONG XmtMoreThanOneRetry
ULONG XmtExcessiveDeferrals
PHYSICAL_ADDRESS ReceiveDescriptorRingPhys
PHYSICAL_ADDRESS TransmitDescriptorRingPhys
ULONG InitializationBlockLength
ULONG CurrentReceiveDescriptorIndex
NDIS_MINIPORT_TIMER MediaDetectionTimer
ULONG TransmitBufferLength
ULONG ReceiveDescriptorRingLength
ULONG ReceiveBufferLength
ULONG CurrentLookaheadSize
PRECEIVE_DESCRIPTOR ReceiveDescriptorRingVirt
NDIS_MINIPORT_INTERRUPT InterruptObject
PHYSICAL_ADDRESS InitializationBlockPhys
NDIS_MEDIA_STATE MediaState
PHYSICAL_ADDRESS ReceiveBufferPtrPhys
ULONG CurrentTransmitStartIndex
NDIS_HANDLE MiniportAdapterHandle
PHYSICAL_ADDRESS TransmitBufferPtrPhys
ULONG CurrentPacketFilter
PINITIALIZATION_BLOCK InitializationBlockVirt
ULONG TransmitDescriptorRingLength
PTRANSMIT_DESCRIPTOR TransmitDescriptorRingVirt
ULONG CurrentTransmitEndIndex
PCHAR ReceiveBufferPtrVirt
PCHAR TransmitBufferPtrVirt
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR _In_opt_ PLONGLONG _In_opt_ PWDF_REQUEST_SEND_OPTIONS _Out_opt_ PULONG_PTR BytesWritten
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR _In_opt_ PLONGLONG _In_opt_ PWDF_REQUEST_SEND_OPTIONS _Out_opt_ PULONG_PTR BytesRead