NtEventSensor_s

Reference Documentation

product_line_custom
Napatech SmartNIC
category
Reference Information
struct NtEventSensor_s

Event sensor change information

Definition at line 220 of file stream_event.h.

Data Fields

enum NtSensorSource_e

source

The source of the sensor (the port or adapter on which the sensor resides) More...

int

sourceIndex

The source index - the adapter number or port number where the sensor resides. More...

int

sensorIndex

enum NtEventSensor_e

action

Whether the alarm is entered or exited. More...

int

value

The value that triggered the event. More...

enum NtAdapterType_e

adapterType

The adapter type triggering the event. More...

Field Documenation

enum NtSensorSource_e source

The source of the sensor (the port or adapter on which the sensor resides)

Definition at line 213 of file stream_event.h.

Referenced by DumpSensor(), and GetSensorData().

int sourceIndex

The source index - the adapter number or port number where the sensor resides.

Definition at line 222 of file stream_event.h.

Referenced by GetSensorData().

int sensorIndex
The sensor index - the index of the sensor within the group of sensors. Each adapter or port has a different number and sensor type.

Definition at line 223 of file stream_event.h.

Referenced by GetSensorData().

enum NtEventSensor_e action

Whether the alarm is entered or exited.

Definition at line 223 of file stream_event.h.

Referenced by DumpSensor().

int value

The value that triggered the event.

Definition at line 231 of file stream_event.h.

Referenced by DumpSensor().

enum NtAdapterType_e adapterType

The adapter type triggering the event.

Definition at line 231 of file stream_event.h.