Edit

Share via


Packet Monitor (Pktmon) reference

This section covers Pktmon functions.

In this section

Topic Description
PacketMonitorAddCaptureConstraint This function is used to apply constraints to packets which are reported by packet monitor.
PacketMonitorAddSingleDataSourceToSession Adds a DataSource to a PacketMonitor Session.
PacketMonitorAttachOutputToSession This function is used to attach output to an existing session.
PacketMonitorCloseRealtimeStream Used to close a handle to an already created Packet Monitor Real Time Stream Object.
PacketMonitorCloseSessionHandle Closes handle to previously created session object.
PacketMonitorCreateLiveSession Creates an independent Packet Monitor session.
PacketMonitorCreateRealtimeStream Sets up the packet streaming capability inside Packet Monitor.
PacketMonitorEnumDataSources Retrieves list of Data Sources from within Windows networking stack which are registered with Pktmon to report packet flows/drops.
PacketMonitorInitialize Initializes the handle to packet monitor.
PacketMonitorSetSessionActive Activate or deactivate a packet monitor session.
PacketMonitorUninitialize Close handle to Pktmon.