Skip to main content

Module header

Module header 

Source
Expand description

Fixed header for ELARA wire protocol

Fixed header is 30 bytes:

  • Byte 0: Version (4 bits) + Crypto Suite (4 bits)
  • Byte 1: Flags
  • Bytes 2-3: Header length (LE)
  • Bytes 4-11: Session ID (LE)
  • Bytes 12-19: Node ID (LE)
  • Byte 20: Packet class
  • Byte 21: Representation profile
  • Bytes 22-25: Time hint (LE, signed)
  • Bytes 26-29: Seq/Window (LE)

Structs§

FixedHeader
Fixed header structure

Enums§

CryptoSuite
Crypto suite identifiers

Constants§

FIXED_HEADER_SIZE
Fixed header size in bytes
WIRE_VERSION
Current wire protocol version