diff options
author | Hugo Landau <hlandau@openssl.org> | 2022-11-22 13:28:24 +0000 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2023-01-19 13:17:39 +0000 |
commit | 4e392f601db9a5a131d0db8fa3fa2e3808d2770a (patch) | |
tree | 553bcfd079560ea88ce6b27e0c6c81df6fb4b567 /include/internal/quic_record_rx.h | |
parent | b83cf3fcf1149326f215cffd37f5c9725a4b61de (diff) | |
download | openssl-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.h | 9 |
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) * =============== * |