|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Resumable QUIC client session state. More...
#include <zephyr/net/quic.h>
Data Fields | |
| uint16_t | version |
| Structure format version, must be QUIC_SESSION_STATE_VERSION. | |
| uint16_t | cipher_suite |
| TLS 1.3 cipher suite associated with the resumable state. | |
| uint32_t | ticket_lifetime |
| Ticket lifetime in seconds from NewSessionTicket. | |
| uint32_t | ticket_age_add |
| Random ticket_age_add value from NewSessionTicket. | |
| uint32_t | max_early_data_size |
| Early-data allowance from NewSessionTicket: 0 when 0-RTT is not permitted, otherwise the RFC 9001 4.6.1 sentinel 0xffffffff (in QUIC the actual early-data limit is governed by transport parameters). | |
| uint64_t | issue_time_ms |
| Local monotonic timestamp in milliseconds when the ticket was received. | |
| uint16_t | ticket_len |
| Length of the opaque ticket identity. | |
| uint16_t | psk_len |
| Length of the derived resumption PSK. | |
| uint8_t | ticket [256U] |
| Opaque ticket identity from NewSessionTicket. | |
| uint8_t | psk [48U] |
| Derived resumption PSK used for the next resumed handshake. | |
| struct quic_session_transport_params | transport_params |
| Remembered peer transport parameters associated with the ticket. | |
Resumable QUIC client session state.
The structure is exported with getsockopt() and imported with setsockopt() using ZSOCK_QUIC_SO_SESSION_STATE on a connection socket.
| uint16_t quic_session_state::cipher_suite |
TLS 1.3 cipher suite associated with the resumable state.
| uint64_t quic_session_state::issue_time_ms |
Local monotonic timestamp in milliseconds when the ticket was received.
| uint32_t quic_session_state::max_early_data_size |
Early-data allowance from NewSessionTicket: 0 when 0-RTT is not permitted, otherwise the RFC 9001 4.6.1 sentinel 0xffffffff (in QUIC the actual early-data limit is governed by transport parameters).
| uint8_t quic_session_state::psk[48U] |
Derived resumption PSK used for the next resumed handshake.
| uint16_t quic_session_state::psk_len |
Length of the derived resumption PSK.
| uint8_t quic_session_state::ticket[256U] |
Opaque ticket identity from NewSessionTicket.
| uint32_t quic_session_state::ticket_age_add |
Random ticket_age_add value from NewSessionTicket.
| uint16_t quic_session_state::ticket_len |
Length of the opaque ticket identity.
| uint32_t quic_session_state::ticket_lifetime |
Ticket lifetime in seconds from NewSessionTicket.
| struct quic_session_transport_params quic_session_state::transport_params |
Remembered peer transport parameters associated with the ticket.
| uint16_t quic_session_state::version |
Structure format version, must be QUIC_SESSION_STATE_VERSION.