Quantum Secure Tunneling Protocol 1.0.0.0a (A1)
A three-party quantum secure encrypted tunneling protocol
qstp_network_packet Struct Reference

The QSTP network packet structure. More...

#include <qstp.h>

Data Fields

uint8_t flag
 
uint32_t msglen
 
uint64_t sequence
 
uint64_t utctime
 
uint8_t * pmessage
 

Detailed Description

The QSTP network packet structure.

This structure encapsulates the header and payload of a QSTP network packet.

Field Documentation

◆ flag

uint8_t flag

The packet flag

◆ msglen

uint32_t msglen

The message length in bytes

◆ pmessage

uint8_t* pmessage

Pointer to the packet's message buffer

◆ sequence

uint64_t sequence

The packet sequence number

◆ utctime

uint64_t utctime

The UTC time when the packet was created (in seconds)


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