#include "stdarg.h"
#include "ntddk.h"
#include "ntiologc.h"
#include "ndis.h"
#include "debug.h"
#include "packet.h"
Go to the source code of this file.
Functions | |
NTSTATUS | NPF_Write (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp) |
Writes a raw packet to the network. | |
INT | NPF_BufferedWrite (IN PIRP Irp, IN PCHAR UserBuff, IN ULONG UserBuffSize, BOOLEAN Sync) |
Writes a buffer of raw packets to the network. | |
VOID | NPF_SendComplete (IN NDIS_HANDLE ProtocolBindingContext, IN PNDIS_PACKET pPacket, IN NDIS_STATUS Status) |
Ends a send operation. |
|
Writes a buffer of raw packets to the network.
Definition at line 147 of file Write.c. References _OPEN_INSTANCE::AdapterHandle, _OPEN_INSTANCE::Bound, sf_pkthdr::caplen, _OPEN_INSTANCE::MaxFrameSize, NPF_SendComplete(), _OPEN_INSTANCE::PacketPool, RESERVED, and sf_pkthdr::ts. Referenced by NPF_IoControl(). |
|
Ends a send operation.
Definition at line 312 of file Write.c. References _OPEN_INSTANCE::Multiple_Write_Counter, _OPEN_INSTANCE::Nwrites, RESERVED, and _OPEN_INSTANCE::WriteEvent. Referenced by DriverEntry(), NPF_BufferedWrite(), and NPF_Write(). |
|
Writes a raw packet to the network.
Definition at line 45 of file Write.c. References _OPEN_INSTANCE::AdapterHandle, _OPEN_INSTANCE::Bound, EXIT_FAILURE, _OPEN_INSTANCE::MaxFrameSize, _OPEN_INSTANCE::Multiple_Write_Counter, NPF_SendComplete(), _OPEN_INSTANCE::Nwrites, _OPEN_INSTANCE::PacketPool, RESERVED, and _OPEN_INSTANCE::WriteEvent. Referenced by DriverEntry(). |
documentation. Copyright (c) 2002-2003 Politecnico di Torino. All rights reserved.