|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
QUIC implementation for Zephyr. More...
Go to the source code of this file.
Data Structures | |
| struct | net_stats_quic |
| Quic statistics. More... | |
| struct | net_stats_quic_global |
| Quic global statistics. More... | |
Macros | |
| #define | ZSOCK_SOL_QUIC 284 |
| QUIC socket option level for getsockopt/setsockopt. | |
Enumerations | |
| enum | quic_stream_direction { QUIC_STREAM_BIDIRECTIONAL = 0x00 , QUIC_STREAM_UNIDIRECTIONAL = 0x02 } |
| Stream direction. More... | |
| enum | quic_stream_initiator { QUIC_STREAM_CLIENT = 0x00 , QUIC_STREAM_SERVER = 0x01 } |
| Stream initiator. More... | |
| enum | { ZSOCK_QUIC_SO_STREAM_TYPE = 1 , ZSOCK_QUIC_SO_CERT_CHAIN_ADD = 2 , ZSOCK_QUIC_SO_CERT_CHAIN_DEL = 3 , ZSOCK_QUIC_SO_STOP_SENDING_CODE = 4 } |
| QUIC socket options for use with getsockopt/setsockopt at ZSOCK_SOL_QUIC level. More... | |
Functions | |
| int | quic_connection_open (const struct net_sockaddr *remote_addr, const struct net_sockaddr *local_addr) |
| Creates a new QUIC connection socket. | |
| int | quic_connection_close (int sock) |
| Closes the QUIC socket. | |
| int | quic_stream_open (int connection_sock, enum quic_stream_initiator initiator, enum quic_stream_direction direction, uint8_t priority) |
| Creates a new QUIC stream socket. | |
| int | quic_stream_close (int sock) |
| Closes the QUIC stream socket. | |
| bool | quic_is_stream_socket (int sock) |
| Checks if the given socket is a QUIC stream socket. | |
| bool | quic_is_connection_socket (int sock) |
| Checks if the given socket is a QUIC connection socket. | |
| int | quic_stream_get_id (int sock, uint64_t *stream_id) |
| Return the stream id associated with the given QUIC stream socket. | |
QUIC implementation for Zephyr.