diff options
author | 2019-10-04 15:27:03 +0000 | |
---|---|---|
committer | 2019-10-18 14:36:57 +0000 | |
commit | 7fc3d97b82fdec65ff4fb5b6dbfd8b85bf9b0098 (patch) | |
tree | 0aef7eacc4533f449813c9507b0b134dbb476d69 /src/plugins/quic/quic.h | |
parent | f864498309fb771f6a4ded95d72e343535570774 (diff) |
quic: make quic fifo size configurable via cli
Type: feature
Depends-On: I8d71078a9ed42326e19453ea10008c6bb6992c52
Change-Id: I6d6ac649094ef4bee2aed311915dd58f11972e79
Signed-off-by: MathiasRaoul <mathias.raoul@gmail.com>
(cherry picked from commit 00078b991365db97edf919567ca8b169ffd9b3e4)
Diffstat (limited to 'src/plugins/quic/quic.h')
-rw-r--r-- | src/plugins/quic/quic.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/quic/quic.h b/src/plugins/quic/quic.h index 777820ee2c2..58dea5c4eff 100644 --- a/src/plugins/quic/quic.h +++ b/src/plugins/quic/quic.h @@ -38,7 +38,7 @@ #define QUIC_MAX_PACKET_SIZE 1280 #define QUIC_INT_MAX 0x3FFFFFFFFFFFFFFF -#define QUIC_FIFO_SIZE (64 << 10) +#define QUIC_DEFAULT_FIFO_SIZE (64 << 10) #define QUIC_SEND_PACKET_VEC_SIZE 16 /* Taken from quicly.c */ @@ -181,6 +181,9 @@ typedef struct quic_main_ quicly_context_t quicly_ctx; ptls_handshake_properties_t hs_properties; quicly_cid_plaintext_t next_cid; + + u64 udp_fifo_size; + u64 udp_fifo_prealloc; } quic_main_t; #endif /* __included_quic_h__ */ |