Constants
All constants are accessible through the callback.PCAPFilter.Constants class.
Uninstall drivers and helper DLLs from previous component versions (e.g., 2017).
NOTE: This functionality is only available in Windows.
This flag does not remove the old PnP driver (VPnpBus) from the system because that driver is not versioned. Use the installer DLL of the old version and its Uninstall() function if you need to uninstall the PnP driver.
Keep the driver's current start type setting in the registry.
If this flag is not set (default), the installation logic will reset the driver's start type setting in the Windows registry to the default value.
Setting this flag causes the installation logic to preserve the current value, which may be necessary if the user (or the application itself) set it previously.
Install files when their version is the same as the version of already installed files.
If this flag is not set (default), the installation logic will overwrite the existing file only if the version number of the file being installed is larger than the version of the file being overwritten. Setting this flag causes the installation logic to overwrite the file even when it has the same version.
Whether the driver should require the controller process to have elevated or system privileges.
If this flag is set, the driver will verify that the controller process is a system service or is running with elevated privileges anytime a rule-related operation is performed. If the controller process does not meet these requirements, the operation will be denied.
The packet is dropped (discarded).
The packet is captured with the possibility to modify it in the event handler.
The Packet event is fired for captured packets with an option to modify the packet contents and send the modified packet.
The driver asynchronously notifies about the packet, not taking any specific action in regard to it.
The NotifyPacket event is fired for captured packets.
The packet should be dropped (discarded).
The packet should be sent further.
The packet has been modified and the modified variant should be sent.
The Buffer parameter of the Packet event contains modified data that should be sent instead of the original packet.
Outgoing packets are processed.
In the events, indicates that the packet is outgoing.
Incoming packets are processed.
In the events, indicates that the packet is incoming.
All packets are processed.
The adapter is an Ethernet one.
The adapter is a localhost loopback
An IP packet.
The type (v4 or v6) of the packet is not defined.
An IPv4 packet
An IPv6 packet
An Ethernet packet
Uninstall modules from previous product versions.
Uninstall modules from the current product version.
Uninstall modules from all product versions.
The specified module is not present on the system.
The specified module is in the Stopped state.
The specified module is loaded and running.
Install Flags
INSTALL_REMOVE_OLD_VERSIONS
Value: 0x00000001
INSTALL_KEEP_START_TYPE
Value: 0x00000002
NOTE: This functionality is only available in Windows.
INSTALL_OVERWRITE_SAME_VERSION
Value: 0x00000004
NOTE: This functionality is only available in Windows.
INSTALL_FORCE_APP_PERMISSION_CHECK
Value: 0x00020000
After installation, the effects of this flag can be changed using the ForceAppPermissionCheck configuration setting.
Packet Rule Actions
RULE_ACTION_DROP
Value: 0x01
RULE_ACTION_CAPTURE
Value: 0x02
RULE_ACTION_NOTIFY
Value: 0x03
Packet Event Actions
PACKET_ACTION_DROP
Value: 0x01
PACKET_ACTION_SEND
Value: 0x02
PACKET_ACTION_SEND_MODIFIED
Value: 0x03
Packet directions
PACKET_DIRECTION_OUTGOING
Value: 0x00
PACKET_DIRECTION_INCOMING
Value: 0x01
PACKET_DIRECTION_ANY
Value: 0x02
Link types
LINK_ETHERNET
Value: 0x00
LINK_LOOPBACK
Value: 0x01
Packet types
DLT_RAW
Value: 12
DLT_IPV4
Value: 228
DLT_IPV6
Value: 229
DLT_EN10MB
Value: 1
Uninstall Version Flags
UNINSTALL_VERSION_PREVIOUS
Value: 0x00000001
UNINSTALL_VERSION_CURRENT
Value: 0x00000002
UNINSTALL_VERSION_ALL
Value: 0x00000003
Module Status Flags
MODULE_STATUS_NOT_PRESENT
Value: 0x00000000
MODULE_STATUS_STOPPED
Value: 0x00000001
MODULE_STATUS_RUNNING
Value: 0x00000004