ReactOS 0.4.16-dev-306-g647d351
afilter.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _ARC_BUFFER_LIST
 
struct  _ARC_PROTOCOL_HEADER
 
struct  _ARC_PACKET_HEADER
 
struct  _ARC_PACKET
 
struct  _ARC_BINDING_INFO
 
struct  _ARC_FILTER
 

Macros

#define ARC_RECEIVE_BUFFERS   64
 
#define ARCNET_ADDRESS_LEN   1
 
#define ARC_PROTOCOL_HEADER_SIZE   (sizeof(ARC_PROTOCOL_HEADER))
 
#define ARC_MAX_FRAME_SIZE   504
 
#define ARC_MAX_ADDRESS_IDS   256
 
#define ARC_MAX_FRAME_HEADER_SIZE   6
 
#define ARC_MAX_PACKET_SIZE   576
 
#define ARC_FILTER_MAX_OPENS   (sizeof(ULONG) * 8)
 
#define ARC_IS_BROADCAST(Address)   (BOOLEAN)(!(Address))
 
#define ARC_QUERY_FILTER_CLASSES(Filter)   ((Filter)->CombinedPacketFilter)
 
#define ARC_QUERY_PACKET_FILTER(Filter, NdisFilterHandle)    (((PARC_BINDING_INFO)(NdisFilterHandle))->PacketFilters)
 

Typedefs

typedef ULONG MASK
 
typedef ULONGPMASK
 
typedef struct _ARC_BUFFER_LIST ARC_BUFFER_LIST
 
typedef struct _ARC_BUFFER_LISTPARC_BUFFER_LIST
 
typedef struct _ARC_PROTOCOL_HEADER ARC_PROTOCOL_HEADER
 
typedef struct _ARC_PROTOCOL_HEADERPARC_PROTOCOL_HEADER
 
typedef struct _ARC_PACKET_HEADER ARC_PACKET_HEADER
 
typedef struct _ARC_PACKET_HEADERPARC_PACKET_HEADER
 
typedef struct _ARC_PACKET ARC_PACKET
 
typedef struct _ARC_PACKETPARC_PACKET
 
typedef struct _ARC_BINDING_INFO ARC_BINDING_INFO
 
typedef struct _ARC_BINDING_INFOPARC_BINDING_INFO
 
typedef struct _ARC_FILTER ARC_FILTER
 
typedef struct _ARC_FILTERPARC_FILTER
 

Functions

BOOLEAN NTAPI ArcCreateFilter (IN struct _NDIS_MINIPORT_BLOCK *Miniport, IN UCHAR AdapterAddress, OUT PARC_FILTER *Filter)
 
VOID NTAPI ArcDeleteFilter (IN PARC_FILTER Filter)
 
BOOLEAN NTAPI ArcNoteFilterOpenAdapter (IN PARC_FILTER Filter, IN NDIS_HANDLE NdisBindingHandle, OUT PNDIS_HANDLE NdisFilterHandle)
 
NDIS_STATUS NTAPI ArcDeleteFilterOpenAdapter (IN PARC_FILTER Filter, IN NDIS_HANDLE NdisFilterHandle, IN PNDIS_REQUEST NdisRequest)
 
NDIS_STATUS NTAPI ArcFilterAdjust (IN PARC_FILTER Filter, IN NDIS_HANDLE NdisFilterHandle, IN PNDIS_REQUEST NdisRequest, IN UINT FilterClasses, IN BOOLEAN Set)
 
VOID NTAPI ArcFilterDprIndicateReceiveComplete (IN PARC_FILTER Filter)
 
VOID NTAPI ArcFilterDprIndicateReceive (IN PARC_FILTER Filter, IN PUCHAR pRawHeader, IN PUCHAR pData, IN UINT Length)
 
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 ArcFreeNdisPacket (IN PARC_PACKET Packet)
 
VOID NTAPI ArcFilterDoIndication (IN PARC_FILTER Filter, IN PARC_PACKET Packet)
 
VOID NTAPI ArcDestroyPacket (IN PARC_FILTER Filter, IN PARC_PACKET Packet)
 

Macro Definition Documentation

◆ ARC_FILTER_MAX_OPENS

#define ARC_FILTER_MAX_OPENS   (sizeof(ULONG) * 8)

Definition at line 37 of file afilter.h.

◆ ARC_IS_BROADCAST

#define ARC_IS_BROADCAST (   Address)    (BOOLEAN)(!(Address))

Definition at line 39 of file afilter.h.

◆ ARC_MAX_ADDRESS_IDS

#define ARC_MAX_ADDRESS_IDS   256

Definition at line 34 of file afilter.h.

◆ ARC_MAX_FRAME_HEADER_SIZE

#define ARC_MAX_FRAME_HEADER_SIZE   6

Definition at line 35 of file afilter.h.

◆ ARC_MAX_FRAME_SIZE

#define ARC_MAX_FRAME_SIZE   504

Definition at line 33 of file afilter.h.

◆ ARC_MAX_PACKET_SIZE

#define ARC_MAX_PACKET_SIZE   576

Definition at line 36 of file afilter.h.

◆ ARC_PROTOCOL_HEADER_SIZE

#define ARC_PROTOCOL_HEADER_SIZE   (sizeof(ARC_PROTOCOL_HEADER))

Definition at line 32 of file afilter.h.

◆ ARC_QUERY_FILTER_CLASSES

#define ARC_QUERY_FILTER_CLASSES (   Filter)    ((Filter)->CombinedPacketFilter)

Definition at line 41 of file afilter.h.

◆ ARC_QUERY_PACKET_FILTER

#define ARC_QUERY_PACKET_FILTER (   Filter,
  NdisFilterHandle 
)     (((PARC_BINDING_INFO)(NdisFilterHandle))->PacketFilters)

Definition at line 42 of file afilter.h.

◆ ARC_RECEIVE_BUFFERS

#define ARC_RECEIVE_BUFFERS   64

Definition at line 30 of file afilter.h.

◆ ARCNET_ADDRESS_LEN

#define ARCNET_ADDRESS_LEN   1

Definition at line 31 of file afilter.h.

Typedef Documentation

◆ ARC_BINDING_INFO

◆ ARC_BUFFER_LIST

◆ ARC_FILTER

◆ ARC_PACKET

◆ ARC_PACKET_HEADER

◆ ARC_PROTOCOL_HEADER

◆ MASK

typedef ULONG MASK

Definition at line 45 of file afilter.h.

◆ PARC_BINDING_INFO

◆ PARC_BUFFER_LIST

◆ PARC_FILTER

◆ PARC_PACKET

◆ PARC_PACKET_HEADER

◆ PARC_PROTOCOL_HEADER

◆ PMASK

typedef ULONG * PMASK

Definition at line 45 of file afilter.h.

Function Documentation

◆ ArcCreateFilter()

BOOLEAN NTAPI ArcCreateFilter ( IN struct _NDIS_MINIPORT_BLOCK Miniport,
IN UCHAR  AdapterAddress,
OUT PARC_FILTER Filter 
)

◆ ArcDeleteFilter()

VOID NTAPI ArcDeleteFilter ( IN PARC_FILTER  Filter)

◆ ArcDeleteFilterOpenAdapter()

NDIS_STATUS NTAPI ArcDeleteFilterOpenAdapter ( IN PARC_FILTER  Filter,
IN NDIS_HANDLE  NdisFilterHandle,
IN PNDIS_REQUEST  NdisRequest 
)

◆ ArcDestroyPacket()

VOID NTAPI ArcDestroyPacket ( IN PARC_FILTER  Filter,
IN PARC_PACKET  Packet 
)

◆ ArcFilterAdjust()

NDIS_STATUS NTAPI ArcFilterAdjust ( IN PARC_FILTER  Filter,
IN NDIS_HANDLE  NdisFilterHandle,
IN PNDIS_REQUEST  NdisRequest,
IN UINT  FilterClasses,
IN BOOLEAN  Set 
)

◆ ArcFilterDoIndication()

VOID NTAPI ArcFilterDoIndication ( IN PARC_FILTER  Filter,
IN PARC_PACKET  Packet 
)

◆ ArcFilterDprIndicateReceive()

VOID NTAPI ArcFilterDprIndicateReceive ( IN PARC_FILTER  Filter,
IN PUCHAR  pRawHeader,
IN PUCHAR  pData,
IN UINT  Length 
)

Definition at line 20 of file 30stubs.c.

25{
27}
#define UNIMPLEMENTED
Definition: ntoskrnl.c:15

◆ ArcFilterDprIndicateReceiveComplete()

VOID NTAPI ArcFilterDprIndicateReceiveComplete ( IN PARC_FILTER  Filter)

Definition at line 35 of file 30stubs.c.

37{
39}

◆ ArcFilterTransferData()

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 
)

◆ ArcFreeNdisPacket()

VOID NTAPI ArcFreeNdisPacket ( IN PARC_PACKET  Packet)

◆ ArcNoteFilterOpenAdapter()

BOOLEAN NTAPI ArcNoteFilterOpenAdapter ( IN PARC_FILTER  Filter,
IN NDIS_HANDLE  NdisBindingHandle,
OUT PNDIS_HANDLE  NdisFilterHandle 
)