Profishark API  2.3.12.0
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

◆ DisablePortA

ProfisharkAPIState DisablePortA

When Enabled, all traffic from port A is dropped

◆ DisablePortB

ProfisharkAPIState DisablePortB

When Enabled, all traffic from port B is dropped

◆ EnableTimestamps

ProfisharkAPIState EnableTimestamps

When Enabled, add timestamps to captured packets

◆ ForcePPSGeneration

ProfisharkAPIState ForcePPSGeneration

When Enabled, force PPS generation even if GPS signal is not locked (only available if Gps is defined in ProfisharkApiDeviceOptions)

◆ HWFirmwareId

uint8_t HWFirmwareId

Id of the selected HW firmware. Changes to this value are only applied on reset. Must be in [0..3]

◆ InlineMode

ProfisharkAPIState InlineMode

When Disabled, ports act in span mode (only available if SpanMode is defined in ProfisharkApiDeviceOptions)

◆ KeepCRC32Field

ProfisharkAPIState KeepCRC32Field

When Enabled, the CRC32 field of ethernet packets is preserved

◆ Loopback

When Enabled, ports are in loopback mode (only available if Loopback is defined in ProfisharkApiDeviceOptions)

◆ PortATimestampMoment

ProfisharkAPITimestampMoment PortATimestampMoment

Defines when the timestamp is applied to packets from port A (only available if Gps is defined in ProfisharkApiDeviceOptions)

◆ PortBTimestampMoment

ProfisharkAPITimestampMoment PortBTimestampMoment

Defines when the timestamp is applied to packets from port B (only available if Gps is defined in ProfisharkApiDeviceOptions)

◆ PPSCompensation

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)

◆ PPSOutput

ProfisharkAPIState PPSOutput

When Enabled, the PPS port acts as output

◆ Slicing

When Enabled, all captured packets are truncated

◆ SlicingLength

uint16_t SlicingLength

Length of the sliced packets. Available only on Profishark 10G and when Slicing is enabled

◆ StatisticsOnly

ProfisharkAPIState StatisticsOnly

The Profishark driver does not transfer data to ndis. It only generates statistics.

◆ TimeInitSource

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

◆ TransmitCrcErrors

ProfisharkAPIState TransmitCrcErrors

When Enabled, packets with CRC errors are captured, otherwise they are dropped

◆ WaitForSync

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: