Profishark API  2.3.12.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ProfisharkAPIDeviceFeatures Struct Reference

Profishark device features. More...

#include <ProfisharkAPI.h>

Data Fields

ProfisharkAPIState TransmitCrcErrors
 
ProfisharkAPIState KeepCRC32Field
 
ProfisharkAPIState DisablePortA
 
ProfisharkAPIState DisablePortB
 
ProfisharkAPIState Slicing
 
ProfisharkAPIState InlineMode
 
ProfisharkAPIState Loopback
 
ProfisharkAPIState EnableTimestamps
 
ProfisharkAPIState ForcePPSGeneration
 
ProfisharkAPITimeSource TimeInitSource
 
ProfisharkAPIState WaitForSync
 
ProfisharkAPIState PPSOutput
 
uint16_t PPSCompensation
 
ProfisharkAPITimestampMoment PortATimestampMoment
 
ProfisharkAPITimestampMoment PortBTimestampMoment
 
ProfisharkAPIState StatisticsOnly
 
uint16_t SlicingLength
 
uint8_t HWFirmwareId
 

Detailed Description

Profishark device features.

Field Documentation

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

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

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)


The documentation for this struct was generated from the following file: