Edit

Share via


PKTMON_COMPONENT_CONTEXT structure (pktmonclntk.h)

The PKTMON_COMPONENT_CONTEXT structure holds the context for the component.

Syntax

typedef struct _PKTMON_COMPONENT_CONTEXT {
  LIST_ENTRY            ListLink;
  LIST_ENTRY            EdgeList;
  LONG                  EdgeCount;
  HANDLE                CompHandle;
  PKTMON_COMPONENT_TYPE CompType;
  PKTMON_PACKET_TYPE    PacketType;
  INT                   FlowEnabled : 1;
  INT                   DropEnabled : 1;
} PKTMON_COMPONENT_CONTEXT;

Members

ListLink

A LIST_ENTRY structure that links this component to the list of components belonging to this client.

EdgeList

The list of edges for this component. An edge represents a pair of entry/exit points for a component. Use EdgeList to track all the edge contexts that belong to a component and to access these edge contexts.

EdgeCount

The number of entries in EdgeList.

CompHandle

The handle for the component.

CompType

The type of the component.

PacketType

The type of packet being handled by the component.

FlowEnabled

Indicates if flow logging is enabled.

DropEnabled

Indicates if dropped packet logging is enabled.

Remarks

This structure should be zero-initialized before PktMonClntComponentRegister is called and PktMonClntComponentRegister will fill in the structure as needed.

Requirements

Requirement Value
Header pktmonclntk.h

See also