Profishark API
2.3.12.0
|
Manage filters. More...
Data Structures | |
struct | ProfisharkApiDpiFilter |
DPI filter configuration. More... | |
struct | ProfisharkApiPacketFilter |
Packet filter configuration. More... | |
Enumerations | |
enum | ProfisharkApiPacketFilterFlags { ProfisharkApiPacketFilterFlags_isIPV6 = 0x1, ProfisharkApiPacketFilterFlags_dstMacEnabled = 0x2, ProfisharkApiPacketFilterFlags_srcMacEnabled = 0x4, ProfisharkApiPacketFilterFlags_dstIpEnabled = 0x8, ProfisharkApiPacketFilterFlags_srcIpEnabled = 0x10, ProfisharkApiPacketFilterFlags_dstPortEnabled = 0x20, ProfisharkApiPacketFilterFlags_srcPortEnabled = 0x40 } |
Flags that enable of disable filters fields. More... | |
enum | ProfisharkApiPacketFilterMode { ProfisharkApiPacketFilterMode_macIsOr = 0x1, ProfisharkApiPacketFilterMode_ipIsOr = 0x2, ProfisharkApiPacketFilterMode_portIsOr = 0x4 } |
Modes defining the comportement of packet filter fields. More... | |
Functions | |
PROFISHARKAPI_API ProfisharkAPIRet | ProfisharkAPISetDpiFilter (ProfisharkApiDeviceHandle handle, ProfisharkApiDpiFilter filter) |
Set DPI filter configuration. More... | |
PROFISHARKAPI_API ProfisharkAPIRet | ProfisharkAPIGetDpiFilter (ProfisharkApiDeviceHandle handle, ProfisharkApiDpiFilter &filter) |
Get DPI filter configuration. More... | |
PROFISHARKAPI_API ProfisharkAPIRet | ProfisharkAPISaveDpiFilter (ProfisharkApiDeviceHandle handle) |
Save DPI filter configuration. More... | |
PROFISHARKAPI_API ProfisharkAPIRet | ProfisharkAPISetPacketFilter (ProfisharkApiDeviceHandle handle, ProfisharkApiPacketFilter filter) |
Set packet filter configuration. More... | |
PROFISHARKAPI_API ProfisharkAPIRet | ProfisharkAPIGetPacketFilter (ProfisharkApiDeviceHandle handle, ProfisharkApiPacketFilter &filter) |
Get packet filter configuration. More... | |
PROFISHARKAPI_API ProfisharkAPIRet | ProfisharkAPISavePacketFilter (ProfisharkApiDeviceHandle handle) |
Save packet filter configuration. More... | |
Manage filters.
Flags that enable of disable filters fields.
Modes defining the comportement of packet filter fields.
PROFISHARKAPI_API ProfisharkAPIRet ProfisharkAPIGetDpiFilter | ( | ProfisharkApiDeviceHandle | handle, |
ProfisharkApiDpiFilter & | filter | ||
) |
Get DPI filter configuration.
handle | a handle to the device | |
[out] | filter | a ProfisharkApiDpiFilter that will hold the dpi filter configuration |
ProfisharkAPIRet_Success | on success |
ProfisharkAPIRet_NoDev | if the device does not exist |
PROFISHARKAPI_API ProfisharkAPIRet ProfisharkAPIGetPacketFilter | ( | ProfisharkApiDeviceHandle | handle, |
ProfisharkApiPacketFilter & | filter | ||
) |
Get packet filter configuration.
handle | a handle to the device | |
[out] | filter | a ProfisharkApiPacketFilter that will hold the packet filter configuration |
ProfisharkAPIRet_Success | on success |
ProfisharkAPIRet_NoDev | if the device does not exist |
PROFISHARKAPI_API ProfisharkAPIRet ProfisharkAPISaveDpiFilter | ( | ProfisharkApiDeviceHandle | handle | ) |
Save DPI filter configuration.
handle | a handle to the device |
ProfisharkAPIRet_Success | on success |
ProfisharkAPIRet_NoDev | if the device does not exist |
PROFISHARKAPI_API ProfisharkAPIRet ProfisharkAPISavePacketFilter | ( | ProfisharkApiDeviceHandle | handle | ) |
Save packet filter configuration.
handle | a handle to the device |
ProfisharkAPIRet_Success | on success |
ProfisharkAPIRet_NoDev | if the device does not exist |
PROFISHARKAPI_API ProfisharkAPIRet ProfisharkAPISetDpiFilter | ( | ProfisharkApiDeviceHandle | handle, |
ProfisharkApiDpiFilter | filter | ||
) |
Set DPI filter configuration.
handle | a handle to the device |
filter | a ProfisharkApiDpiFilter holding dpi filter configuration |
ProfisharkAPIRet_Success | on success |
ProfisharkAPIRet_NoDev | if the device does not exist |
PROFISHARKAPI_API ProfisharkAPIRet ProfisharkAPISetPacketFilter | ( | ProfisharkApiDeviceHandle | handle, |
ProfisharkApiPacketFilter | filter | ||
) |
Set packet filter configuration.
handle | a handle to the device |
filter | a ProfisharkApiPacketFilter holding packet filter configuration |
ProfisharkAPIRet_Success | on success |
ProfisharkAPIRet_NoDev | if the device does not exist |