ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
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 822 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 824 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 826 of file packet.h.


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