Go to the source code of this file.
|
enum | quic_error_t { QUIC_N_ERROR
} |
|
enum | quic_ctx_conn_state_ {
QUIC_CONN_STATE_OPENED,
QUIC_CONN_STATE_HANDSHAKE,
QUIC_CONN_STATE_READY,
QUIC_CONN_STATE_PASSIVE_CLOSING,
QUIC_CONN_STATE_PASSIVE_CLOSING_APP_CLOSED,
QUIC_CONN_STATE_PASSIVE_CLOSING_QUIC_CLOSED,
QUIC_CONN_STATE_ACTIVE_CLOSING
} |
|
enum | quic_packet_type_ {
QUIC_PACKET_TYPE_NONE,
QUIC_PACKET_TYPE_RECEIVE,
QUIC_PACKET_TYPE_MIGRATE,
QUIC_PACKET_TYPE_ACCEPT,
QUIC_PACKET_TYPE_RESET,
QUIC_PACKET_TYPE_DROP
} |
|
enum | quic_ctx_flags_ { QUIC_F_IS_STREAM = (1 << 0),
QUIC_F_IS_LISTENER = (1 << 1)
} |
|
◆ QUIC_APP_ACCEPT_NOTIFY_ERROR
#define QUIC_APP_ACCEPT_NOTIFY_ERROR QUICLY_ERROR_FROM_APPLICATION_ERROR_CODE(0x2) |
◆ QUIC_APP_ALLOCATION_ERROR
#define QUIC_APP_ALLOCATION_ERROR QUICLY_ERROR_FROM_APPLICATION_ERROR_CODE(0x1) |
◆ QUIC_APP_CONNECT_NOTIFY_ERROR
#define QUIC_APP_CONNECT_NOTIFY_ERROR QUICLY_ERROR_FROM_APPLICATION_ERROR_CODE(0x3) |
◆ QUIC_APP_ERROR_CLOSE_NOTIFY
#define QUIC_APP_ERROR_CLOSE_NOTIFY QUICLY_ERROR_FROM_APPLICATION_ERROR_CODE(0) |
◆ QUIC_ASSERT
#define QUIC_ASSERT |
( |
|
truth | ) |
|
Value:do { \
QUIC_ERR ("ASSERT(%s) failed", # truth); \
} while (0)
Definition at line 86 of file quic.h.
◆ QUIC_DBG
#define QUIC_DBG |
( |
|
_lvl, |
|
|
|
_fmt, |
|
|
|
_args... |
|
) |
| |
◆ QUIC_DEBUG
◆ QUIC_DECRYPT_PACKET_ERROR
#define QUIC_DECRYPT_PACKET_ERROR 2 |
◆ QUIC_DECRYPT_PACKET_NOTOFFLOADED
#define QUIC_DECRYPT_PACKET_NOTOFFLOADED 1 |
◆ QUIC_DECRYPT_PACKET_OK
#define QUIC_DECRYPT_PACKET_OK 0 |
◆ QUIC_DEFAULT_CONN_TIMEOUT
#define QUIC_DEFAULT_CONN_TIMEOUT (30 * 1000) /* 30 seconds */ |
◆ QUIC_DEFAULT_FIFO_SIZE
#define QUIC_DEFAULT_FIFO_SIZE (64 << 10) |
◆ QUIC_ERR
#define QUIC_ERR |
( |
|
_fmt, |
|
|
|
_args... |
|
) |
| |
Value:do { \
clib_warning ("QUIC-ERR: " _fmt, ##_args); \
} while (0)
Definition at line 93 of file quic.h.
◆ quic_error
#define quic_error |
( |
|
n, |
|
|
|
s |
|
) |
| QUIC_ERROR_##n, |
◆ QUIC_ERROR_FULL_FIFO
#define QUIC_ERROR_FULL_FIFO 0xff10 |
◆ QUIC_INT_MAX
#define QUIC_INT_MAX 0x3FFFFFFFFFFFFFFF |
◆ QUIC_IV_LEN
◆ QUIC_MAX_COALESCED_PACKET
#define QUIC_MAX_COALESCED_PACKET 4 |
◆ QUIC_MAX_PACKET_SIZE
#define QUIC_MAX_PACKET_SIZE 1280 |
◆ QUIC_RCV_MAX_BATCH_PACKETS
#define QUIC_RCV_MAX_BATCH_PACKETS 16 |
◆ QUIC_SEND_MAX_BATCH_PACKETS
#define QUIC_SEND_MAX_BATCH_PACKETS 16 |
◆ QUIC_SEND_PACKET_VEC_SIZE
#define QUIC_SEND_PACKET_VEC_SIZE 16 |
◆ QUIC_SESSION_INVALID
#define QUIC_SESSION_INVALID ((u32) ~0 - 1) |
◆ QUIC_TIMER_HANDLE_INVALID
#define QUIC_TIMER_HANDLE_INVALID ((u32) ~0) |
◆ QUIC_TSTAMP_RESOLUTION
#define QUIC_TSTAMP_RESOLUTION 0.001 /* QUIC tick resolution (1ms) */ |
◆ QUICLY_PACKET_TYPE_0RTT
#define QUICLY_PACKET_TYPE_0RTT (QUICLY_LONG_HEADER_BIT | QUICLY_QUIC_BIT | 0x10) |
◆ QUICLY_PACKET_TYPE_BITMASK
#define QUICLY_PACKET_TYPE_BITMASK 0xf0 |
◆ QUICLY_PACKET_TYPE_HANDSHAKE
#define QUICLY_PACKET_TYPE_HANDSHAKE (QUICLY_LONG_HEADER_BIT | QUICLY_QUIC_BIT | 0x20) |
◆ QUICLY_PACKET_TYPE_INITIAL
#define QUICLY_PACKET_TYPE_INITIAL (QUICLY_LONG_HEADER_BIT | QUICLY_QUIC_BIT | 0) |
◆ QUICLY_PACKET_TYPE_RETRY
#define QUICLY_PACKET_TYPE_RETRY (QUICLY_LONG_HEADER_BIT | QUICLY_QUIC_BIT | 0x30) |
◆ QUICLY_QUIC_BIT
#define QUICLY_QUIC_BIT 0x40 |
◆ quic_crypto_batch_ctx_t
◆ quic_crypto_context_data_t
◆ quic_ctx_conn_state_t
◆ quic_ctx_flags_t
◆ quic_ctx_t
◆ quic_encrypt_cb_ctx
◆ quic_main_t
◆ quic_packet_type_t
◆ quic_rx_packet_ctx_t
◆ quic_session_cache_t
◆ quic_stream_data_t
◆ quic_worker_ctx_t
◆ quic_ctx_conn_state_
Enumerator |
---|
QUIC_CONN_STATE_OPENED | |
QUIC_CONN_STATE_HANDSHAKE | |
QUIC_CONN_STATE_READY | |
QUIC_CONN_STATE_PASSIVE_CLOSING | |
QUIC_CONN_STATE_PASSIVE_CLOSING_APP_CLOSED | |
QUIC_CONN_STATE_PASSIVE_CLOSING_QUIC_CLOSED | |
QUIC_CONN_STATE_ACTIVE_CLOSING | |
Definition at line 110 of file quic.h.
◆ quic_ctx_flags_
Enumerator |
---|
QUIC_F_IS_STREAM | |
QUIC_F_IS_LISTENER | |
Definition at line 131 of file quic.h.
◆ quic_error_t
◆ quic_packet_type_
Enumerator |
---|
QUIC_PACKET_TYPE_NONE | |
QUIC_PACKET_TYPE_RECEIVE | |
QUIC_PACKET_TYPE_MIGRATE | |
QUIC_PACKET_TYPE_ACCEPT | |
QUIC_PACKET_TYPE_RESET | |
QUIC_PACKET_TYPE_DROP | |
Definition at line 121 of file quic.h.
◆ STATIC_ASSERT() [1/2]
◆ STATIC_ASSERT() [2/2]
◆ quic_input_node
(constructor) VLIB_REGISTER_NODE (quic_input_node)
Definition at line 2936 of file quic.c.