diff options
author | Hugo Landau <hlandau@openssl.org> | 2023-11-09 10:27:14 +0000 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2023-12-21 08:12:00 +0000 |
commit | ef95d8ddcaaa95ef4f2a072767fffcc1ca0f095e (patch) | |
tree | 7074cb3dee2e5d1e3f5df55182ec29841efe9efd /include | |
parent | 56f98283827ec57c794e849d0bdf3dd90f740805 (diff) | |
download | openssl-ef95d8ddcaaa95ef4f2a072767fffcc1ca0f095e.tar.gz |
QUIC QRX: Remove legacy DEMUX-QRX routing code
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22674)
Diffstat (limited to 'include')
-rw-r--r-- | include/internal/quic_record_rx.h | 36 |
1 files changed, 1 insertions, 35 deletions
diff --git a/include/internal/quic_record_rx.h b/include/internal/quic_record_rx.h index c4ed5a71d3..cc2d6e94d8 100644 --- a/include/internal/quic_record_rx.h +++ b/include/internal/quic_record_rx.h @@ -28,7 +28,7 @@ typedef struct ossl_qrx_args_st { OSSL_LIB_CTX *libctx; const char *propq; - /* Demux to receive datagrams from. */ + /* Demux which owns the URXEs passed to us. */ QUIC_DEMUX *demux; /* Length of connection IDs used in short-header packets in bytes. */ @@ -67,40 +67,6 @@ void ossl_qrx_set_msg_callback_arg(OSSL_QRX *qrx, void *msg_callback_arg); /* - * DCID Management - * =============== - */ - -/* - * Adds a given DCID to the QRX. The QRX will register the DCID with the demuxer - * so that incoming packets with that DCID are passed to the given QRX. Multiple - * DCIDs may be associated with a QRX at any one time. You will need to add at - * least one DCID after instantiating the QRX. A zero-length DCID is a valid - * input to this function. This function fails if the DCID is already - * registered. - * - * TODO(QUIC SERVER): DEPRECATED in favour of explicit routing by QUIC_PORT with - * reference to QUIC_LCIDM. To be removed. - * - * Returns 1 on success or 0 on error. - */ -int ossl_qrx_add_dst_conn_id(OSSL_QRX *qrx, - const QUIC_CONN_ID *dst_conn_id); - -/* - * Remove a DCID previously registered with ossl_qrx_add_dst_conn_id. The DCID - * is unregistered from the demuxer. Fails if the DCID is not registered with - * the demuxer. - * - * TODO(QUIC SERVER): DEPRECATED in favour of explicit routing by QUIC_PORT with - * reference to QUIC_LCIDM. To be removed. - * - * Returns 1 on success or 0 on error. - */ -int ossl_qrx_remove_dst_conn_id(OSSL_QRX *qrx, - const QUIC_CONN_ID *dst_conn_id); - -/* * Secret Management * ================= * |