23#ifndef _ARC_FILTER_DEFS_
24#define _ARC_FILTER_DEFS_
30#define ARC_RECEIVE_BUFFERS 64
31#define ARCNET_ADDRESS_LEN 1
32#define ARC_PROTOCOL_HEADER_SIZE (sizeof(ARC_PROTOCOL_HEADER))
33#define ARC_MAX_FRAME_SIZE 504
34#define ARC_MAX_ADDRESS_IDS 256
35#define ARC_MAX_FRAME_HEADER_SIZE 6
36#define ARC_MAX_PACKET_SIZE 576
37#define ARC_FILTER_MAX_OPENS (sizeof(ULONG) * 8)
39#define ARC_IS_BROADCAST(Address) (BOOLEAN)(!(Address))
41#define ARC_QUERY_FILTER_CLASSES(Filter) ((Filter)->CombinedPacketFilter)
42#define ARC_QUERY_PACKET_FILTER(Filter, NdisFilterHandle) \
43 (((PARC_BINDING_INFO)(NdisFilterHandle))->PacketFilters)
struct _ARC_FILTER ARC_FILTER
VOID NTAPI ArcFilterDprIndicateReceive(IN PARC_FILTER Filter, IN PUCHAR pRawHeader, IN PUCHAR pData, IN UINT Length)
struct _ARC_PROTOCOL_HEADER ARC_PROTOCOL_HEADER
struct _ARC_BINDING_INFO ARC_BINDING_INFO
BOOLEAN NTAPI ArcNoteFilterOpenAdapter(IN PARC_FILTER Filter, IN NDIS_HANDLE NdisBindingHandle, OUT PNDIS_HANDLE NdisFilterHandle)
VOID NTAPI ArcFreeNdisPacket(IN PARC_PACKET Packet)
struct _ARC_BINDING_INFO * PARC_BINDING_INFO
#define ARCNET_ADDRESS_LEN
NDIS_STATUS NTAPI ArcFilterAdjust(IN PARC_FILTER Filter, IN NDIS_HANDLE NdisFilterHandle, IN PNDIS_REQUEST NdisRequest, IN UINT FilterClasses, IN BOOLEAN Set)
NDIS_STATUS NTAPI ArcFilterTransferData(IN PARC_FILTER Filter, IN NDIS_HANDLE MacReceiveContext, IN UINT ByteOffset, IN UINT BytesToTransfer, OUT PNDIS_PACKET Packet, OUT PUINT BytesTransfered)
VOID NTAPI ArcFilterDprIndicateReceiveComplete(IN PARC_FILTER Filter)
struct _ARC_PROTOCOL_HEADER * PARC_PROTOCOL_HEADER
BOOLEAN NTAPI ArcCreateFilter(IN struct _NDIS_MINIPORT_BLOCK *Miniport, IN UCHAR AdapterAddress, OUT PARC_FILTER *Filter)
VOID NTAPI ArcDeleteFilter(IN PARC_FILTER Filter)
VOID NTAPI ArcFilterDoIndication(IN PARC_FILTER Filter, IN PARC_PACKET Packet)
VOID NTAPI ArcDestroyPacket(IN PARC_FILTER Filter, IN PARC_PACKET Packet)
struct _ARC_BUFFER_LIST ARC_BUFFER_LIST
struct _ARC_PACKET_HEADER ARC_PACKET_HEADER
NDIS_STATUS NTAPI ArcDeleteFilterOpenAdapter(IN PARC_FILTER Filter, IN NDIS_HANDLE NdisFilterHandle, IN PNDIS_REQUEST NdisRequest)
struct _ARC_PACKET_HEADER * PARC_PACKET_HEADER
struct _ARC_FILTER * PARC_FILTER
struct _ARC_PACKET ARC_PACKET
struct _ARC_BUFFER_LIST * PARC_BUFFER_LIST
struct _ARC_PACKET * PARC_PACKET
IN PDCB IN PCCB IN VBO IN OUT PULONG OUT PDIRENT OUT PBCB OUT PVBO ByteOffset
_Must_inspect_result_ _In_opt_ PFLT_FILTER Filter
_Must_inspect_result_ _In_ NDIS_HANDLE NdisBindingHandle
_In_ NDIS_HANDLE _In_ PNDIS_PACKET Packet
_In_opt_ NDIS_HANDLE _In_opt_ NDIS_HANDLE _Inout_ PNDIS_REQUEST NdisRequest
_In_ ULONG _In_ ULONG _In_ ULONG Length
PNDIS_OPEN_BLOCK NdisBindingHandle
struct _ARC_BINDING_INFO * NextOpen
struct _ARC_BUFFER_LIST * Next
struct _NDIS_MINIPORT_BLOCK * Miniport
PARC_BINDING_INFO OpenList
NDIS_HANDLE ReceiveBufferPool
UINT OldCombinedPacketFilter
UINT CombinedPacketFilter
PARC_PACKET OutstandingPackets
PARC_BUFFER_LIST FreeBufferList
PARC_BUFFER_LIST FirstBuffer
NDIS_PACKET TmpNdisPacket
PARC_BUFFER_LIST LastBuffer
struct _ARC_PACKET * Next
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData