PacketX


Namespaces

namespace  PacketXLib

Classes

interface  IPktXAdapter
 Adapter class default interface. More...
interface  IPktXAdapterCollection
 AdapterCollection class default interface. More...
interface  IPktXPacket
 Packet class default interface. More...
interface  IPktXPacketCollection
 PacketCollection class default interface. More...
interface  IPktXStatistics
 Statistics class default interface. More...
interface  IPktXStatisticsCollection
 StatisticsCollection class default interface. More...
interface  IPktXFactory
 Factory class default interface. More...
interface  IPktXPacketX
 PacketX class default interface. More...
interface  _IPktXPacketXEvents
 PacketX class events. More...
interface  IPktXPacketXCtrl
 PacketXCtrl class default interface. More...
interface  _IPktXPacketXCtrlEvents
 PacketXCtrl class events. More...
interface  IPktXPacketSink
 PacketSink class default interface. More...

Typedefs

typedef enum Mode PktXMode
typedef enum PacketType PktXPacketType
typedef enum LinkType PktXLinkType
typedef enum ProtocolType PktXProtocolType

Enumerations

enum  Mode { PktXModeCapture = 1, PktXModeStatistics = 2 }
enum  PacketType {
  PktXPacketTypeDirected = 0x0001, PktXPacketTypeMulticast = 0x0002, PktXPacketTypeAllMulticast = 0x0004, PktXPacketTypeBroadcast = 0x0008,
  PktXPacketTypeSourceRouting = 0x0010, PktXPacketTypePromiscuous = 0x0020, PktXPacketTypeSmt = 0x0040, PktXPacketTypeAllLocal = 0x0080,
  PktXPacketTypeMacFrame = 0x8000, PktXPacketTypeFunctional = 0x4000, PktXPacketTypeAllFunctional = 0x2000, PktXPacketTypeGroup = 0x1000
}
enum  LinkType {
  PktXLinkTypeNone = 0, PktXLinkType802_3 = 1, PktXLinkType802_5 = 2, PktXLinkTypeFddi = 3,
  PktXLinkTypeWan = 4, PktXLinkTypeLocalTalk = 5, PktXLinkTypeDix = 6, PktXLinkTypeArcnetRaw = 7,
  PktXLinkTypeArcnet878_2 = 8, PktXLinkTypeAtm = 9, PktXLinkTypeWirelessWan = 10
}
enum  ProtocolType {
  PktXProtocolTypeNone = 0, PktXProtocolTypeEthernet = 1, PktXProtocolTypeIP = 2, PktXProtocolTypeUDP = 3,
  PktXProtocolTypeTCP = 4
}

Detailed Description

Windows packet capture library that integrates WinPcap packet capture API with ActiveX scripting and programming languages. Implements framework of COM classes that hide the details of WinPcap packet capture process.

Typedef Documentation

PktXLinkType

Adapter link type. Identifies the physical medium type.

Note:
Use the IPktXAdapter::LinkType property to read the link type information.
See also:
LinkType
Examples:
Capture.cs.

PktXMode

Adapter capture mode. You can configure the adapter to capture packets or collect network statistics.

Note:
Use the IPktXAdapter::Mode property to change the capture mode of the adapter object.
See also:
Mode.
Examples:
Capture.cs.

PktXPacketType

Adapter hardware filter flags. You can define the hardware level packet filter by the combination of packet type flags.

Note:
Use the IPktXAdapter::HWFilter property to change the adapter hardware filter.
See also:
PacketType
Examples:
Capture.cs.

PktXProtocolType

Protocol type identificator.

Note:
Use the IPktXPacket::Protocol property to read the decoded protocol information. The built-in decoding engine does recognize only the basic LAN encapsulation beginning with Ethrenet header followed by IP, TCP or UDP protocols.
See also:
ProtocolType
Examples:
Decode.cs.


Enumeration Type Documentation

enum LinkType

Adapter link type. Identifies the physical medium type.

Note:
Use the IPktXAdapter::LinkType property to read the link type information.
Enumerator:
PktXLinkTypeNone  Invalid link type.
PktXLinkType802_3  Ethernet (802.3).
PktXLinkType802_5  Token Ring (802.5).
PktXLinkTypeFddi  FDDI.
PktXLinkTypeWan  WAN.
PktXLinkTypeLocalTalk  LocalTalk.
PktXLinkTypeDix  DIX.
PktXLinkTypeArcnetRaw  ARCNET (raw).
PktXLinkTypeArcnet878_2  ARCNET (878.2).
PktXLinkTypeAtm  ATM.
PktXLinkTypeWirelessWan  Various types of wireless media.

enum Mode

Adapter capture mode. You can configure the adapter to capture packets or collect network statistics.

Note:
Use the IPktXAdapter::Mode property to change the capture mode of the adapter object.
Enumerator:
PktXModeCapture  Captured packets are returned as _IPktXPacketXEvents::OnPacket events.
PktXModeStatistics  Statistics are returned periodically as _IPktXPacketXEvents::OnStatistics events.

enum PacketType

Adapter hardware filter flags. You can define the hardware level packet filter by the combination of packet type flags.

Note:
Use the IPktXAdapter::HWFilter property to change the adapter hardware filter.
Enumerator:
PktXPacketTypeDirected  Directed packets contain a destination address equal to the station address of the NIC.
PktXPacketTypeMulticast  Multicast address packets sent to addresses in the multicast address list.
PktXPacketTypeAllMulticast  All multicast address packets, not just the ones enumerated in the multicast address list.
PktXPacketTypeBroadcast  Broadcast packets.
PktXPacketTypeSourceRouting  All source routing packets.
PktXPacketTypePromiscuous  Specifies all packets.
PktXPacketTypeSmt  SMT packets that an FDDI NIC receives.
PktXPacketTypeAllLocal  All packets sent by installed protocols.
PktXPacketTypeMacFrame  NIC driver frames that a Token Ring NIC receives.
PktXPacketTypeFunctional  Functional address packets sent to addresses included in the current functional address.
PktXPacketTypeAllFunctional  All functional address packets, not just the ones in the current functional address.
PktXPacketTypeGroup  Packets sent to the current group address.

enum ProtocolType

Protocol type identificator.

Note:
Use the IPktXPacket::Protocol property to read the decoded protocol information. The built-in decoding engine does recognize only the basic LAN encapsulation beginning with Ethrenet header followed by IP, TCP or UDP protocols.
Enumerator:
PktXProtocolTypeNone  Invalid frame.
PktXProtocolTypeEthernet  Ethernet frame.
PktXProtocolTypeIP  Internet Protocol (IP) packet.
PktXProtocolTypeUDP  User Datagram Protocol (UDP) packet.
PktXProtocolTypeTCP  Transmission Control Protocol (TCP) packet.


Copyright © 2000-2007 beeSync. All rights reserved.