#include <Packet32.h>
Data Fields | |
HANDLE | hFile |
Handle to an open instance of the NPF driver. | |
CHAR | SymbolicLink [MAX_LINK_NAME_LENGTH] |
A string containing the name of the network adapter currently opened. | |
int | NumWrites |
HANDLE | ReadEvent |
UINT | ReadTimeOut |
This structure is the most important for the functioning of packet.dll, but the great part of its fields should be ignored by the user, since the library offers functions that avoid to cope with low-level parameters
Definition at line 194 of file Packet32.h.
|
Handle to an open instance of the NPF driver.
For internal use only.
Definition at line 195 of file Packet32.h. Referenced by main(), PacketCloseAdapter(), PacketGetStats(), PacketGetStatsEx(), PacketIsDumpEnded(), PacketOpenAdapter(), PacketReceivePacket(), PacketRequest(), PacketSendPacket(), PacketSendPackets(), PacketSetBpf(), PacketSetBuff(), PacketSetDumpLimits(), PacketSetDumpName(), PacketSetMinToCopy(), PacketSetMode(), PacketSetNumWrites(), PacketSetReadEvt(), and PacketSetReadTimeout(). |
|
For internal use only. Number of times a packets written on this adapter will be repeated on the wire. Definition at line 197 of file Packet32.h. Referenced by PacketOpenAdapter(). |
|
A notification event associated with the read calls on the adapter. It can be passed to standard Win32 functions (like WaitForSingleObject or WaitForMultipleObjects) to wait until the driver's buffer contains some data. It is particularly useful in GUI applications that need to wait concurrently on several events. In Windows NT/2000 the PacketSetMinToCopy() function can be used to define the minimum amount of data in the kernel buffer that will cause the event to be signalled. Definition at line 199 of file Packet32.h. Referenced by PacketCloseAdapter(), PacketGetReadEvent(), PacketIsDumpEnded(), PacketReceivePacket(), and PacketSetReadEvt(). |
|
For internal use only. The amount of time after which a read on the driver will be released and ReadEvent will be signaled, also if no packets were captured Definition at line 207 of file Packet32.h. Referenced by PacketReceivePacket(), PacketSetReadEvt(), and PacketSetReadTimeout(). |
|
A string containing the name of the network adapter currently opened.
For internal use only.
Definition at line 196 of file Packet32.h. Referenced by PacketOpenAdapter(). |
documentation. Copyright (c) 2002-2003 Politecnico di Torino. All rights reserved.