![]() |
FD.io VPP
v19.08-27-gf4dcae4
Vector Packet Processing
|
Include dependency graph for quic.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | quic_ctx_ |
| struct | quic_session_cache_ |
| struct | quic_stream_data_ |
| struct | quic_worker_ctx_ |
| struct | quic_main_ |
Macros | |
| #define | QUIC_DEBUG 0 |
| #define | QUIC_TSTAMP_RESOLUTION 0.001 /* QUIC tick resolution (1ms) */ |
| #define | QUIC_TIMER_HANDLE_INVALID ((u32) ~0) |
| #define | QUIC_SESSION_INVALID ((u32) ~0 - 1) |
| #define | QUIC_MAX_PACKET_SIZE 1280 |
| #define | QUIC_INT_MAX 0x3FFFFFFFFFFFFFFF |
| #define | QUIC_FIFO_SIZE (64 << 10) |
| #define | QUIC_SEND_PACKET_VEC_SIZE 16 |
| #define | QUICLY_QUIC_BIT 0x40 |
| #define | QUICLY_PACKET_TYPE_INITIAL (QUICLY_LONG_HEADER_BIT | QUICLY_QUIC_BIT | 0) |
| #define | QUICLY_PACKET_TYPE_0RTT (QUICLY_LONG_HEADER_BIT | QUICLY_QUIC_BIT | 0x10) |
| #define | QUICLY_PACKET_TYPE_HANDSHAKE (QUICLY_LONG_HEADER_BIT | QUICLY_QUIC_BIT | 0x20) |
| #define | QUICLY_PACKET_TYPE_RETRY (QUICLY_LONG_HEADER_BIT | QUICLY_QUIC_BIT | 0x30) |
| #define | QUICLY_PACKET_TYPE_BITMASK 0xf0 |
| #define | QUIC_ERROR_FULL_FIFO 0xff10 |
| #define | QUIC_APP_ERROR_CLOSE_NOTIFY QUICLY_ERROR_FROM_APPLICATION_ERROR_CODE(0) |
| #define | QUIC_APP_ALLOCATION_ERROR QUICLY_ERROR_FROM_APPLICATION_ERROR_CODE(0x1) |
| #define | QUIC_APP_ACCEPT_NOTIFY_ERROR QUICLY_ERROR_FROM_APPLICATION_ERROR_CODE(0x2) |
| #define | QUIC_APP_CONNECT_NOTIFY_ERROR QUICLY_ERROR_FROM_APPLICATION_ERROR_CODE(0x3) |
| #define | QUIC_DBG(_lvl, _fmt, _args...) |
Typedefs | |
| typedef enum quic_ctx_conn_state_ | quic_ctx_conn_state_t |
| typedef enum quic_ctx_flags_ | quic_ctx_flags_t |
| typedef struct quic_ctx_ | quic_ctx_t |
| typedef enum quic_crypto_engine_ | quic_crypto_engine_t |
| typedef struct quic_session_cache_ | quic_session_cache_t |
| typedef struct quic_stream_data_ | quic_stream_data_t |
| typedef struct quic_worker_ctx_ | quic_worker_ctx_t |
| typedef struct quic_main_ | quic_main_t |
Functions | |
| STATIC_ASSERT (offsetof(quic_ctx_t, _qctx_end_marker)<=TRANSPORT_CONN_ID_LEN,"connection data must be less than TRANSPORT_CONN_ID_LEN bytes") | |
| STATIC_ASSERT (offsetof(quic_ctx_t, _sctx_end_marker)<=TRANSPORT_CONN_ID_LEN,"connection data must be less than TRANSPORT_CONN_ID_LEN bytes") | |
| #define QUIC_APP_ACCEPT_NOTIFY_ERROR QUICLY_ERROR_FROM_APPLICATION_ERROR_CODE(0x2) |
| #define QUIC_APP_ALLOCATION_ERROR QUICLY_ERROR_FROM_APPLICATION_ERROR_CODE(0x1) |
| #define QUIC_APP_CONNECT_NOTIFY_ERROR QUICLY_ERROR_FROM_APPLICATION_ERROR_CODE(0x3) |
| #define QUIC_APP_ERROR_CLOSE_NOTIFY QUICLY_ERROR_FROM_APPLICATION_ERROR_CODE(0) |
| #define QUIC_TSTAMP_RESOLUTION 0.001 /* QUIC tick resolution (1ms) */ |
| #define QUICLY_PACKET_TYPE_0RTT (QUICLY_LONG_HEADER_BIT | QUICLY_QUIC_BIT | 0x10) |
| #define QUICLY_PACKET_TYPE_HANDSHAKE (QUICLY_LONG_HEADER_BIT | QUICLY_QUIC_BIT | 0x20) |
| #define QUICLY_PACKET_TYPE_INITIAL (QUICLY_LONG_HEADER_BIT | QUICLY_QUIC_BIT | 0) |
| #define QUICLY_PACKET_TYPE_RETRY (QUICLY_LONG_HEADER_BIT | QUICLY_QUIC_BIT | 0x30) |
| typedef enum quic_crypto_engine_ quic_crypto_engine_t |
| typedef enum quic_ctx_conn_state_ quic_ctx_conn_state_t |
| typedef enum quic_ctx_flags_ quic_ctx_flags_t |
| typedef struct quic_ctx_ quic_ctx_t |
| typedef struct quic_main_ quic_main_t |
| typedef struct quic_session_cache_ quic_session_cache_t |
| typedef struct quic_stream_data_ quic_stream_data_t |
| typedef struct quic_worker_ctx_ quic_worker_ctx_t |
| enum quic_crypto_engine_ |
| enum quic_ctx_conn_state_ |
| enum quic_ctx_flags_ |
| STATIC_ASSERT | ( | offsetof(quic_ctx_t, _qctx_end_marker)<= | TRANSPORT_CONN_ID_LEN, |
| "connection data must be less than TRANSPORT_CONN_ID_LEN bytes" | |||
| ) |
| STATIC_ASSERT | ( | offsetof(quic_ctx_t, _sctx_end_marker)<= | TRANSPORT_CONN_ID_LEN, |
| "connection data must be less than TRANSPORT_CONN_ID_LEN bytes" | |||
| ) |