PcapPlusPlus  Next
pcpp::modbus_header Struct Reference

#include <ModbusLayer.h>

Public Attributes

uint16_t transactionId
 For synchronization between messages of server and client.
 
uint16_t protocolId
 0 for Modbus/TCP
 
uint16_t length
 Number of remaining bytes in this frame starting from the unit id.
 
uint8_t unitId
 Unit identifier.
 
uint8_t functionCode
 Function code.
 

Detailed Description

MODBUS Application Protocol header