#include "ntddk.h"#include "ntiologc.h"#include "ndis.h"#include "debug.h"#include "packet.h"Go to the source code of this file.
Defines | |
| #define | NUM_NDIS_MEDIA (sizeof MediumArray / sizeof MediumArray[0]) |
Functions | |
| void | PacketItoa (UINT n, PUCHAR buf) |
| NTSTATUS | NPF_Open (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp) |
| Opens a new instance of the driver. More... | |
| VOID | NPF_OpenAdapterComplete (IN NDIS_HANDLE ProtocolBindingContext, IN NDIS_STATUS Status, IN NDIS_STATUS OpenErrorStatus) |
| Ends the opening of an adapter. More... | |
| NTSTATUS | NPF_Close (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp) |
| Closes an instance of the driver. More... | |
| VOID | NPF_CloseAdapterComplete (IN NDIS_HANDLE ProtocolBindingContext, IN NDIS_STATUS Status) |
| Ends the closing of an adapter. More... | |
| VOID | NPF_BindAdapter (OUT PNDIS_STATUS Status, IN NDIS_HANDLE BindContext, IN PNDIS_STRING DeviceName, IN PVOID SystemSpecific1, IN PVOID SystemSpecific2) |
| Callback for NDIS BindAdapterHandler. Not used by NPF. More... | |
| VOID | NPF_UnbindAdapter (OUT PNDIS_STATUS Status, IN NDIS_HANDLE ProtocolBindingContext, IN NDIS_HANDLE UnbindContext) |
| Callback for NDIS UnbindAdapterHandler. More... | |
| VOID | NPF_ResetComplete (IN NDIS_HANDLE ProtocolBindingContext, IN NDIS_STATUS Status) |
| Ends a reset of the adapter. More... | |
Variables | |
| NDIS_MEDIUM | MediumArray [] |
| ULONG | NamedEventsCounter = 0 |
| time_conv | G_Start_Time |
| Global start time. Used as an absolute reference for timestamp conversion. More... | |
| UINT | n_Opened_Instances = 0 |
| NDIS_SPIN_LOCK | Opened_Instances_Lock |
|
|
Definition at line 38 of file Openclos.c. Referenced by NPF_Open. |
|
||||||||||||
|
Definition at line 43 of file Openclos.c. Referenced by NPF_Open. |
|
|
Initial value: {
0,
{0, 0},
}
Definition at line 55 of file Openclos.c. Referenced by NPF_CloseAdapterComplete, and NPF_OpenAdapterComplete. |
|
|
Initial value: {
NdisMedium802_3,
NdisMediumWan,
NdisMediumFddi,
NdisMediumArcnet878_2,
NdisMediumAtm,
NdisMedium802_5
}Definition at line 29 of file Openclos.c. Referenced by NPF_Open. |
|
|
Definition at line 60 of file Openclos.c. Referenced by NPF_CloseAdapterComplete, and NPF_OpenAdapterComplete. |
|
|
Definition at line 40 of file Openclos.c. Referenced by NPF_Open. |
|
|
Definition at line 62 of file Openclos.c. Referenced by NPF_CloseAdapterComplete, and NPF_OpenAdapterComplete. |
documentation. Copyright (c) 2002 Politecnico di Torino. All rights reserved.