summaryrefslogtreecommitdiff
path: root/include/internal/quic_record_rx.h
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2022-11-22 13:28:24 +0000
committerHugo Landau <hlandau@openssl.org>2023-01-19 13:17:39 +0000
commit4e392f601db9a5a131d0db8fa3fa2e3808d2770a (patch)
tree553bcfd079560ea88ce6b27e0c6c81df6fb4b567 /include/internal/quic_record_rx.h
parentb83cf3fcf1149326f215cffd37f5c9725a4b61de (diff)
downloadopenssl-new-4e392f601db9a5a131d0db8fa3fa2e3808d2770a.tar.gz
QUIC QRX: (Server support) Add support for manual URXE injection
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19734)
Diffstat (limited to 'include/internal/quic_record_rx.h')
-rw-r--r--include/internal/quic_record_rx.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/internal/quic_record_rx.h b/include/internal/quic_record_rx.h
index a72fb24972..95c0fa5635 100644
--- a/include/internal/quic_record_rx.h
+++ b/include/internal/quic_record_rx.h
@@ -322,6 +322,15 @@ int ossl_qrx_set_early_validation_cb(OSSL_QRX *qrx,
void *cb_arg);
/*
+ * Forcibly injects a URXE which has been issued by the DEMUX into the QRX for
+ * processing. This can be used to pass a received datagram to the QRX if it
+ * would not be correctly routed to the QRX via standard DCID-based routing; for
+ * example, when handling an incoming Initial packet which is attempting to
+ * establish a new connection.
+ */
+void ossl_qrx_inject_urxe(OSSL_QRX *qrx, QUIC_URXE *e);
+
+/*
* Key Update (RX)
* ===============
*