PktMonClntHeaderInfoLog - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// pktmonclntk.h

VOID PktMonClntHeaderInfoLog(
  PKTMON_EDGE_CONTEXT              *EdgeContext,
  PKTMON_PACKET_HEADER_INFORMATION *PacketHeaderInformation,
  PKTMON_DIRECTION                 Direction,
  PKTMON_PACKET_CONTEXT_IN         *Context
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-pktmonclntk-pktmonclntheaderinfolog)

Description

The PktMonClntHeaderInfoLog function logs that a network packet has flowed through, as opposed to being dropped.

Parameters

EdgeContext

Pointer to a PKTMON_EDGE_CONTEXT structure which holds the edge context.

PacketHeaderInformation

Pointer to a PKTMON_PACKET_HEADER_INFORMATION structure containing the packet header information.

Direction

Indicates the packet direction. Each component reports packets in two directions only, IN or OUT. Must be one of the values from PKTMON_DIRECTION enumeration.

Context

Pointer to a PKTMON_PACKET_CONTEXT_IN structure containing the packet context, which can represent a piece of data that is meaningful to the component, like a connection ID for example. Can be NULL.

Remarks

Like PktMonClntNblLog, PktMonClntHeaderInfoLog is also used for packet logging but does not require NBLs. PktMonClntHeaderInfoLog is useful when packet metadata needs to be logged.

See also