suricata
ModbusTransaction_ Struct Reference

#include <app-layer-modbus.h>

Collaboration diagram for ModbusTransaction_:

Public Member Functions

 TAILQ_ENTRY (ModbusTransaction_) next
 

Data Fields

struct ModbusState_modbus
 
uint64_t tx_num
 
uint16_t transactionId
 
uint16_t length
 
uint8_t unit_id
 
uint8_t function
 
uint8_t category
 
uint8_t type
 
uint8_t replied
 
union {
   uint16_t   subFunction
 
   uint8_t   mei
 
   struct {
      struct {
         uint16_t   address
 
         uint16_t   quantity
 
      }   read
 
      struct {
         uint16_t   address
 
         uint16_t   quantity
 
         uint8_t   count
 
      }   write
 
   } 
 
}; 
 
uint16_t * data
 
AppLayerDecoderEventsdecoder_events
 
DetectEngineStatede_state
 
AppLayerTxData tx_data
 

Detailed Description

Definition at line 86 of file app-layer-modbus.h.

Member Function Documentation

◆ TAILQ_ENTRY()

ModbusTransaction_::TAILQ_ENTRY ( ModbusTransaction_  )

Field Documentation

◆ @16

union { ... }

◆ address

uint16_t ModbusTransaction_::address

Definition at line 103 of file app-layer-modbus.h.

◆ category

uint8_t ModbusTransaction_::category

Definition at line 94 of file app-layer-modbus.h.

◆ count

uint8_t ModbusTransaction_::count

Definition at line 109 of file app-layer-modbus.h.

◆ data

uint16_t* ModbusTransaction_::data

to store data to write, bit is converted in 16bits.

Definition at line 113 of file app-layer-modbus.h.

◆ de_state

DetectEngineState* ModbusTransaction_::de_state

Definition at line 116 of file app-layer-modbus.h.

◆ decoder_events

AppLayerDecoderEvents* ModbusTransaction_::decoder_events

per tx events

Definition at line 115 of file app-layer-modbus.h.

◆ function

uint8_t ModbusTransaction_::function

Definition at line 93 of file app-layer-modbus.h.

◆ length

uint16_t ModbusTransaction_::length

Definition at line 91 of file app-layer-modbus.h.

◆ mei

uint8_t ModbusTransaction_::mei

Definition at line 100 of file app-layer-modbus.h.

◆ modbus

struct ModbusState_* ModbusTransaction_::modbus

Definition at line 87 of file app-layer-modbus.h.

◆ quantity

uint16_t ModbusTransaction_::quantity

Definition at line 104 of file app-layer-modbus.h.

◆ read

struct { ... } ModbusTransaction_::read

◆ replied

uint8_t ModbusTransaction_::replied

bool indicating request is replied to.

Definition at line 96 of file app-layer-modbus.h.

◆ subFunction

uint16_t ModbusTransaction_::subFunction

Definition at line 99 of file app-layer-modbus.h.

◆ transactionId

uint16_t ModbusTransaction_::transactionId

Definition at line 90 of file app-layer-modbus.h.

◆ tx_data

AppLayerTxData ModbusTransaction_::tx_data

Definition at line 117 of file app-layer-modbus.h.

◆ tx_num

uint64_t ModbusTransaction_::tx_num

internal: id

Definition at line 89 of file app-layer-modbus.h.

◆ type

uint8_t ModbusTransaction_::type

Definition at line 95 of file app-layer-modbus.h.

◆ unit_id

uint8_t ModbusTransaction_::unit_id

Definition at line 92 of file app-layer-modbus.h.

◆ write

struct { ... } ModbusTransaction_::write

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