// pktmonclntk.h
VOID PktMonClntHeaderInfoDrop(
PKTMON_COMPONENT_CONTEXT *CompContext,
PKTMON_PACKET_TYPE PacketType,
PKTMON_PACKET_HEADER_INFORMATION *PacketHeaderInformation,
PKTMON_DIRECTION Direction,
INT DropReason,
INT LocationCode,
PKTMON_PACKET_CONTEXT_IN *Context
);
View the official Windows Driver Kit DDI referenceNo description available.
The PktMonClntHeaderInfoDrop function logs that a network packet was dropped.
CompContextPointer to the PKTMON_COMPONENT_CONTEXT structure that holds the context for the component.
PacketTypeThe type of packet being logged. This must be one of the values defined in the PKTMON_PACKET_TYPE enumeration.
PacketHeaderInformationPointer to a PKTMON_PACKET_HEADER_INFORMATION structure containing the packet header information.
DirectionIndicates the packet direction. Each component reports packets in two directions only, IN or OUT. Must be one of the values from PKTMON_DIRECTION enumeration.
DropReasonInteger that indicates the reason for the packet to be dropped.
| Value | Usage |
|---|---|
| 0 - 0x7FFFFFFF | Reserved for Microsoft. |
| 0x80000000 - 0xFFFFFFFF | Free to be used. |
LocationCodeInteger that indicates the location where the packet was dropped.
| Value | Usage |
|---|---|
| 0 - 0x7FFFFFFF | Free to be used. |
| 0x80000000 - 0xFFFFFFFF | Reserved for Microsoft. |
ContextPointer to a PKTMON_PACKET_CONTEXT_IN structure containing the packet context. Can be NULL.