Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
quic_peer_close Struct Reference

How the peer closed the connection, see ZSOCK_QUIC_SO_PEER_CLOSE. More...

#include <zephyr/net/quic.h>

Data Fields

uint64_t error_code
 Error code carried by the CONNECTION_CLOSE frame.
uint64_t frame_type
 Type of the frame that caused a transport error, 0 when unknown.
bool application
 Whether the peer closed with an error of the application protocol (frame type 0x1d) rather than a transport error (frame type 0x1c).

Detailed Description

How the peer closed the connection, see ZSOCK_QUIC_SO_PEER_CLOSE.

Field Documentation

◆ application

bool quic_peer_close::application

Whether the peer closed with an error of the application protocol (frame type 0x1d) rather than a transport error (frame type 0x1c).

◆ error_code

uint64_t quic_peer_close::error_code

Error code carried by the CONNECTION_CLOSE frame.

◆ frame_type

uint64_t quic_peer_close::frame_type

Type of the frame that caused a transport error, 0 when unknown.

Only set for a transport close.


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