Quantum Secure Tunneling Protocol 1.0.0.0a (A1)
A three-party quantum secure encrypted tunneling protocol
|
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 |
The QSTP network packet structure.
This structure encapsulates the header and payload of a QSTP network packet.
uint8_t flag |
The packet flag
uint32_t msglen |
The message length in bytes
uint8_t* pmessage |
Pointer to the packet's message buffer
uint64_t sequence |
The packet sequence number
uint64_t utctime |
The UTC time when the packet was created (in seconds)