Profishark API
2.3.12.0
|
Profishark device features. More...
#include <ProfisharkAPI.h>
Profishark device features.
ProfisharkAPIState DisablePortA |
When Enabled, all traffic from port A is dropped
ProfisharkAPIState DisablePortB |
When Enabled, all traffic from port B is dropped
ProfisharkAPIState EnableTimestamps |
When Enabled, add timestamps to captured packets
ProfisharkAPIState ForcePPSGeneration |
When Enabled, force PPS generation even if GPS signal is not locked (only available if Gps is defined in ProfisharkApiDeviceOptions)
uint8_t HWFirmwareId |
Id of the selected HW firmware. Changes to this value are only applied on reset. Must be in [0..3]
ProfisharkAPIState InlineMode |
When Disabled, ports act in span mode (only available if SpanMode is defined in ProfisharkApiDeviceOptions)
ProfisharkAPIState KeepCRC32Field |
When Enabled, the CRC32 field of ethernet packets is preserved
ProfisharkAPIState Loopback |
When Enabled, ports are in loopback mode (only available if Loopback is defined in ProfisharkApiDeviceOptions)
ProfisharkAPITimestampMoment PortATimestampMoment |
Defines when the timestamp is applied to packets from port A (only available if Gps is defined in ProfisharkApiDeviceOptions)
ProfisharkAPITimestampMoment PortBTimestampMoment |
Defines when the timestamp is applied to packets from port B (only available if Gps is defined in ProfisharkApiDeviceOptions)
uint16_t PPSCompensation |
PPS cable length compensation. This is the number of nanoseconds with a resolution of 2^-32 (i.e. 0x0001 means -0.23283064365386962890625ns) (only available if Gps is defined in ProfisharkApiDeviceOptions)
ProfisharkAPIState PPSOutput |
When Enabled, the PPS port acts as output
ProfisharkAPIState Slicing |
When Enabled, all captured packets are truncated
uint16_t SlicingLength |
Length of the sliced packets. Available only on Profishark 10G and when Slicing is enabled
ProfisharkAPIState StatisticsOnly |
The Profishark driver does not transfer data to ndis. It only generates statistics.
ProfisharkAPITimeSource TimeInitSource |
Select source for the time information at startup (only available if Gps is defined in ProfisharkApiDeviceOptions). Only ProfisharkAPITimeSource_System, ProfisharkAPITimeSource_RTC, ProfisharkAPITimeSource_GPS and ProfisharkAPITimeSource_None are accepted
ProfisharkAPIState TransmitCrcErrors |
When Enabled, packets with CRC errors are captured, otherwise they are dropped
ProfisharkAPIState WaitForSync |
When Enabled, wait for the timestamping mechanism to be synchronized with PPS time before starting (only available if Gps is defined in ProfisharkApiDeviceOptions)