PQS: Post Quantum Shell 1.0.0.0a (A1)
A quantum safe shell application
pqs_network_packet Struct Reference

Represents a network packet in the PQS protocol. More...

#include <pqs.h>

Data Fields

uint8_t flag
 
uint32_t msglen
 
uint64_t sequence
 
uint64_t utctime
 
uint8_t * pmessage
 

Detailed Description

Represents a network packet in the PQS protocol.

The packet contains a flag indicating its type, the length of the payload, a sequence number, a timestamp, and a pointer to the message buffer.

Field Documentation

◆ flag

uint8_t flag

The packet flag

◆ msglen

uint32_t msglen

The length in bytes of the message payload

◆ 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 timestamp when the packet was created (in seconds)


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