Edit

Share via


PktMonClntNblLog function (pktmonclntk.h)

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

Syntax

void PktMonClntNblLog(
  PKTMON_EDGE_CONTEXT              *EdgeContext,
  PNET_BUFFER_LIST                 NetBufferList,
  PKTMON_PACKET_TYPE               PacketType,
  PKTMON_PACKET_HEADER_INFORMATION *PacketHeaderInformation,
  BOOLEAN                          UseOnlyFirstNbl,
  PKTMON_DIRECTION                 Direction
);

Parameters

EdgeContext

Pointer to the PKTMON_EDGE_CONTEXT structure that holds the edge context. The EdgeContext parameter identifies the edge at which the action was taken.

NetBufferList

Pointer to the NET_BUFFER_LIST structure.

PacketType

The type of packet being logged. This must be one of the values defined in the PKTMON_PACKET_TYPE enumeration.

PacketHeaderInformation

Pointer to the PKTMON_PACKET_HEADER_INFORMATION structure containing the packet header information. Can be NULL.

UseOnlyFirstNbl

When TRUE, indicates that only the first NBL in NetBufferList should be used. Otherwise, all NBLs are used.

Direction

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

Return value

None

Requirements

Requirement Value
Header pktmonclntk.h

See also