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

The QSTP socket connection state structure. More...

#include <qstp.h>

Data Fields

qsc_socket target
 
qsc_rcs_state rxcpr
 
qsc_rcs_state txcpr
 
uint64_t rxseq
 
uint64_t txseq
 
uint32_t cid
 
qstp_flags exflag
 
bool receiver
 

Detailed Description

The QSTP socket connection state structure.

This structure maintains the state of an active QSTP connection, including socket information, cipher states for receive and transmit channels, sequence numbers, and connection flags.

Field Documentation

◆ cid

uint32_t cid

The connection instance count

◆ exflag

qstp_flags exflag

The key exchange (KEX) position flag

◆ receiver

bool receiver

Flag indicating if the connection was initialized in listener mode

◆ rxcpr

qsc_rcs_state rxcpr

The receive channel cipher state

◆ rxseq

uint64_t rxseq

The receive channel packet sequence number

◆ target

qsc_socket target

The target socket structure

◆ txcpr

qsc_rcs_state txcpr

The transmit channel cipher state

◆ txseq

uint64_t txseq

The transmit channel packet sequence number


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