summaryrefslogtreecommitdiffstats
path: root/src/plugins/quic/quic.h
diff options
context:
space:
mode:
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>2019-10-01 13:04:59 +0200
committerDave Wallace <dwallacelf@gmail.com>2019-10-07 13:22:27 +0000
commit1dc90824ff2ff38af2274d674f3922e3a2e60811 (patch)
treebcd7b3476243f03360a8b9d7fd0703643082f38d /src/plugins/quic/quic.h
parent56f62afe634101231b0d05479dbc9a5afd45d9e2 (diff)
quic: Refactor naming & clibs
Type: refactor Change-Id: I067fc7dbcc0985277df01384d9dcdb0bdf62fba5 Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Diffstat (limited to 'src/plugins/quic/quic.h')
-rw-r--r--src/plugins/quic/quic.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/plugins/quic/quic.h b/src/plugins/quic/quic.h
index 58dea5c4eff..d26ad37a01b 100644
--- a/src/plugins/quic/quic.h
+++ b/src/plugins/quic/quic.h
@@ -163,6 +163,21 @@ typedef struct quic_worker_ctx_
u32 *opening_ctx_pool;
} quic_worker_ctx_t;
+typedef struct quic_rx_packet_ctx_
+{
+ quicly_decoded_packet_t packet;
+ u8 data[QUIC_MAX_PACKET_SIZE];
+ u32 ctx_index;
+ u32 thread_index;
+} quic_rx_packet_ctx_t;
+
+typedef struct quicly_ctx_data_
+{
+ quicly_context_t quicly_ctx;
+ char cid_key[17];
+ ptls_context_t ptls_ctx;
+} quicly_ctx_data_t;
+
typedef struct quic_main_
{
u32 app_index;