ascii-chat 0.11.33
Video chat in your terminal
Loading...
Searching...
No Matches
auth_failure_packet_t Struct Reference

Authentication failure packet structure. More...

#include <include/ascii-chat/network/packet/packet.h>

Data Fields

uint8_t reason_flags
 Bitmask of auth_failure_reason_t values indicating failure causes.
 
uint8_t reserved [7]
 Reserved bytes for future use (must be zero)
 

Detailed Description

Authentication failure packet structure.

Sent by server to client when authentication fails during crypto handshake. Contains reason flags explaining why authentication was rejected.

Definition at line 782 of file packet.h.

Field Documentation

◆ reason_flags

uint8_t auth_failure_packet_t::reason_flags

Bitmask of auth_failure_reason_t values indicating failure causes.

Definition at line 784 of file packet.h.

Referenced by crypto_handshake_client_complete(), crypto_handshake_server_auth_challenge(), and crypto_handshake_server_complete().

◆ reserved

uint8_t auth_failure_packet_t::reserved[7]

Reserved bytes for future use (must be zero)

Definition at line 786 of file packet.h.


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