Manage device features.
More...
Manage device features.
◆ ProfisharkAPITimestampMoment
Defines when the timestamp information is added to the packet.
Enumerator |
---|
ProfisharkAPITimestampMoment_Capture | Timestamp is applied at capture (default)
|
ProfisharkAPITimestampMoment_Ingress | Timestamp is applied on packet ingress
|
ProfisharkAPITimestampMoment_Egress | Timestamp is applied on packet egress
|
◆ ProfisharkAPIGetDeviceFeatures()
Get device features.
- Parameters
-
- Return values
-
ProfisharkAPIRet_Success | on success |
ProfisharkAPIRet_NoDev | if the device does not exist |
◆ ProfisharkAPIGetDevicePortsSpeed()
Get network ports supported speeds.
- Parameters
-
- Return values
-
ProfisharkAPIRet_Success | on success |
ProfisharkAPIRet_NoDev | if the device does not exist |
◆ ProfisharkAPIGetHwFirmwaresDesc()
Get the name corresponding to a HW firmware id.
- Parameters
-
- Return values
-
ProfisharkAPIRet_Success | on success |
ProfisharkAPIRet_NoDev | if the device does not exist |
◆ ProfisharkAPIRestartDevice()
Restart the device.
- Parameters
-
handle | a handle to the device |
- Return values
-
ProfisharkAPIRet_Success | on success |
ProfisharkAPIRet_NoDev | if the device does not exist |
◆ ProfisharkAPISaveDeviceFeatures()
Save device features and ports speed to EEPROM.
- Parameters
-
handle | a handle to the device |
- Return values
-
ProfisharkAPIRet_Success | on success |
ProfisharkAPIRet_NoDev | if the device does not exist |
◆ ProfisharkAPISetDeviceFeatures()
Set device features.
- Parameters
-
- Return values
-
ProfisharkAPIRet_Success | on success |
ProfisharkAPIRet_NoDev | if the device does not exist |
ProfisharkAPIRet_InvalidFirmware | if the selected HW firmware id is not valid |
◆ ProfisharkAPISetDevicePortsSpeed()
Set network ports supported speeds.
- Parameters
-
- Return values
-
ProfisharkAPIRet_Success | on success |
ProfisharkAPIRet_NoDev | if the device does not exist |