#include <stdarg.h>
#include "ntddk.h"
#include <ntiologc.h>
#include <ndis.h>
#include "debug.h"
#include "packet.h"
#include "win_bpf.h"
#include "tme.h"
#include "time_calls.h"
Go to the source code of this file.
Functions | |
NTSTATUS | NPF_Read (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp) |
Function that serves the user's reads. | |
NDIS_STATUS | NPF_tap (IN NDIS_HANDLE ProtocolBindingContext, IN NDIS_HANDLE MacReceiveContext, IN PVOID HeaderBuffer, IN UINT HeaderBufferSize, IN PVOID LookaheadBuffer, IN UINT LookaheadBufferSize, IN UINT PacketSize) |
Callback invoked by NDIS when a packet arrives from the network. | |
VOID | NPF_TransferDataComplete (IN NDIS_HANDLE ProtocolBindingContext, IN PNDIS_PACKET pPacket, IN NDIS_STATUS Status, IN UINT BytesTransfered) |
Ends the transfer of a packet. | |
VOID | NPF_ReceiveComplete (IN NDIS_HANDLE ProtocolBindingContext) |
Callback function that signals the end of a packet reception. | |
Variables | |
time_conv | G_Start_Time |
Global start time. Used as an absolute reference for timestamp conversion. | |
ULONG | NCpu |
|
Global start time. Used as an absolute reference for timestamp conversion.
Definition at line 44 of file Read.c. Referenced by NPF_CloseAdapterComplete(), NPF_IoControl(), NPF_OpenAdapterComplete(), NPF_Read(), NPF_tap(), and NPF_TransferDataComplete(). |
|
Definition at line 46 of file Read.c. Referenced by DriverEntry(), NPF_IoControl(), NPF_Read(), and NPF_tap(). |
documentation. Copyright (c) 2002-2003 Politecnico di Torino. All rights reserved.