17#define E1000_TAG '001e'
19#define MAXIMUM_FRAME_SIZE 1522
20#define RECEIVE_BUFFER_SIZE 2048
22#define DRIVER_VERSION 1
24#define DEFAULT_INTERRUPT_MASK (E1000_IMS_LSC | E1000_IMS_TXDW | E1000_IMS_TXQE | E1000_IMS_RXDMT0 | E1000_IMS_RXT0 | E1000_IMS_TXD_LOW)
181 IN ULONG InformationBufferLength,
191 IN ULONG InformationBufferLength,
234 volatile ULONG Dummy;
#define NICDisableInterrupts(Adapter)
NDIS_STATUS NTAPI NICRegisterInterrupts(IN PE1000_ADAPTER Adapter)
NDIS_STATUS NTAPI NICPowerOn(IN PE1000_ADAPTER Adapter)
NDIS_STATUS NTAPI NICEnableTxRx(IN PE1000_ADAPTER Adapter)
NDIS_STATUS NTAPI NICSoftReset(IN PE1000_ADAPTER Adapter)
BOOLEAN NTAPI NICRecognizeHardware(IN PE1000_ADAPTER Adapter)
NDIS_STATUS NTAPI NICGetPermanentMacAddress(IN PE1000_ADAPTER Adapter, OUT PUCHAR MacAddress)
struct _E1000_ADAPTER E1000_ADAPTER
NDIS_STATUS NTAPI MiniportSetInformation(IN NDIS_HANDLE MiniportAdapterContext, IN NDIS_OID Oid, IN PVOID InformationBuffer, IN ULONG InformationBufferLength, OUT PULONG BytesRead, OUT PULONG BytesNeeded)
struct _E1000_ADAPTER * PE1000_ADAPTER
VOID NTAPI MiniportISR(OUT PBOOLEAN InterruptRecognized, OUT PBOOLEAN QueueMiniportHandleInterrupt, IN NDIS_HANDLE MiniportAdapterContext)
NDIS_STATUS NTAPI NICAllocateIoResources(IN PE1000_ADAPTER Adapter)
NDIS_STATUS NTAPI NICApplyPacketFilter(IN PE1000_ADAPTER Adapter)
VOID NTAPI NICUpdateLinkStatus(IN PE1000_ADAPTER Adapter)
VOID NTAPI MiniportHandleInterrupt(IN NDIS_HANDLE MiniportAdapterContext)
NDIS_STATUS NTAPI NICReleaseIoResources(IN PE1000_ADAPTER 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)
FORCEINLINE VOID E1000WriteIoUlong(_In_ PE1000_ADAPTER Adapter, _In_ ULONG Address, _In_ ULONG Value)
NDIS_STATUS NTAPI NICDisableTxRx(IN PE1000_ADAPTER Adapter)
NDIS_STATUS NTAPI NICUpdateMulticastList(IN PE1000_ADAPTER Adapter)
FORCEINLINE VOID E1000ReadUlong(_In_ PE1000_ADAPTER Adapter, _In_ ULONG Address, _Out_ PULONG Value)
NDIS_STATUS NTAPI MiniportSend(_In_ NDIS_HANDLE MiniportAdapterContext, _In_ PNDIS_PACKET Packet, _In_ UINT Flags)
FORCEINLINE VOID NICApplyInterruptMask(_In_ PE1000_ADAPTER Adapter)
NDIS_STATUS NTAPI NICUnregisterInterrupts(IN PE1000_ADAPTER Adapter)
NDIS_STATUS NTAPI NICInitializeAdapterResources(IN PE1000_ADAPTER Adapter, IN PNDIS_RESOURCE_LIST ResourceList)
FORCEINLINE VOID E1000WriteUlong(_In_ PE1000_ADAPTER Adapter, _In_ ULONG Address, _In_ ULONG Value)
#define MAXIMUM_MULTICAST_ADDRESSES
#define IEEE_802_ADDR_LENGTH
#define NUM_TRANSMIT_DESCRIPTORS
enum _E1000_RCVBUF_SIZE E1000_RCVBUF_SIZE
_In_ NDIS_HANDLE _In_ PNDIS_PACKET Packet
#define NdisReadRegisterUlong(Register, Data)
#define NdisRawWritePortUlong(Port, Data)
#define NdisWriteRegisterUlong(Register, Data)
PE1000_RECEIVE_DESCRIPTOR ReceiveDescriptors
NDIS_PHYSICAL_ADDRESS IoAddress
struct _E1000_ADAPTER::@999 MulticastList[MAXIMUM_MULTICAST_ADDRESSES]
NDIS_MINIPORT_INTERRUPT Interrupt
ULONG ReceiveBufferEntrySize
PE1000_TRANSMIT_DESCRIPTOR TransmitDescriptors
NDIS_PHYSICAL_ADDRESS ReceiveBufferPa
E1000_RCVBUF_SIZE ReceiveBufferType
PNDIS_PACKET TransmitPackets[NUM_TRANSMIT_DESCRIPTORS]
UCHAR PermanentMacAddress[IEEE_802_ADDR_LENGTH]
BOOLEAN InterruptRegistered
NDIS_HANDLE AdapterHandle
NDIS_PHYSICAL_ADDRESS TransmitDescriptorsPa
_Interlocked_ volatile LONG InterruptPending
volatile PUCHAR ReceiveBuffer
NDIS_PHYSICAL_ADDRESS ReceiveDescriptorsPa
UCHAR MacAddress[IEEE_802_ADDR_LENGTH]
_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
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value
_Must_inspect_result_ _In_ WDFIORESREQLIST _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFIORESLIST * ResourceList
_Must_inspect_result_ _In_ ULONG Flags