Edit

Share via


PktMonClntHeaderInfoLog function (pktmonclntk.h)

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

Syntax

void PktMonClntHeaderInfoLog(
  PKTMON_EDGE_CONTEXT              *EdgeContext,
  PKTMON_PACKET_HEADER_INFORMATION *PacketHeaderInformation,
  PKTMON_DIRECTION                 Direction,
  PKTMON_PACKET_CONTEXT_IN         *Context
);

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.

Return value

None

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.

Requirements

Requirement Value
Header pktmonclntk.h