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
 
uint32_t logged
 
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
 

Detailed Description

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

Member Function Documentation

ModbusTransaction_::TAILQ_ENTRY ( ModbusTransaction_  )

Field Documentation

union { ... }
uint16_t ModbusTransaction_::address

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

uint8_t ModbusTransaction_::category

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

Referenced by DetectEngineInspectModbus().

uint8_t ModbusTransaction_::count

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

uint16_t* ModbusTransaction_::data

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

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

Referenced by RegisterModbusParsers().

DetectEngineState* ModbusTransaction_::de_state

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

AppLayerDecoderEvents* ModbusTransaction_::decoder_events

per tx events

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

uint8_t ModbusTransaction_::function

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

Referenced by DetectEngineInspectModbus(), and RegisterModbusParsers().

uint16_t ModbusTransaction_::length

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

uint32_t ModbusTransaction_::logged

flags indicating which loggers have logged

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

uint8_t ModbusTransaction_::mei

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

struct ModbusState_* ModbusTransaction_::modbus

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

uint16_t ModbusTransaction_::quantity

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

struct { ... } ModbusTransaction_::read

Referenced by RegisterModbusParsers().

uint8_t ModbusTransaction_::replied

bool indicating request is replied to.

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

uint16_t ModbusTransaction_::subFunction

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

Referenced by DetectEngineInspectModbus(), and RegisterModbusParsers().

uint16_t ModbusTransaction_::transactionId

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

uint64_t ModbusTransaction_::tx_num

internal: id

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

uint8_t ModbusTransaction_::type

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

Referenced by DetectEngineInspectModbus().

uint8_t ModbusTransaction_::unit_id

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

Referenced by DetectEngineInspectModbus().

struct { ... } ModbusTransaction_::write

Referenced by RegisterModbusParsers().


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