3es  0.7
tes::PacketHeader Struct Reference

The header for an incoming 3ES data packet. More...

#include <3espacketheader.h>

Public Attributes

uint32_t marker
 Marker bytes. Identifies the packet start.
 
uint16_t versionMajor
 PacketHeader major version number. May be used to control decoding.
 
uint16_t versionMinor
 PacketHeader minor version number. More...
 
uint16_t routingId
 Identifies the main packet receiver.
 
uint16_t messageId
 Identifies the message ID or message type.
 
uint16_t payloadSize
 Size of the payload following this header. More...
 
uint8_t payloadOffset
 Offset from the end of this header to the payload.
 
uint8_t flags
 PacketFlag values.
 

Detailed Description

The header for an incoming 3ES data packet.

All packet data, including payload bytes, must be in network endian which is big endian.

A two byte CRC value is to appear immediately after the PacketHeader header and payload.

Member Data Documentation

◆ payloadSize

uint16_t tes::PacketHeader::payloadSize

Size of the payload following this header.

◆ versionMinor

uint16_t tes::PacketHeader::versionMinor

PacketHeader minor version number.

May be used to control decoding.


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