summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-08-09 17:46:32 +0100
committerHugo Landau <hlandau@openssl.org>2023-09-01 10:45:34 +0100
commit617b459ddfabe5c2fbfc28808126999d936218fe (patch)
tree5803ed62c8266371a841ccd5edaf7a60891664ba /include
parent51e671e204ede3a56c3e1c38d834240020800dfa (diff)
QUIC CHANNEL: Introduce concept of (non-)addressed mode
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21715)
Diffstat (limited to 'include')
-rw-r--r--include/internal/quic_txp.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/internal/quic_txp.h b/include/internal/quic_txp.h
index 09d552ef04..b2dbb85f92 100644
--- a/include/internal/quic_txp.h
+++ b/include/internal/quic_txp.h
@@ -128,7 +128,10 @@ int ossl_quic_tx_packetiser_set_cur_dcid(OSSL_QUIC_TX_PACKETISER *txp,
int ossl_quic_tx_packetiser_set_cur_scid(OSSL_QUIC_TX_PACKETISER *txp,
const QUIC_CONN_ID *scid);
-/* Change the destination L4 address the TXP uses to send datagrams. */
+/*
+ * Change the destination L4 address the TXP uses to send datagrams. Specify
+ * NULL (or AF_UNSPEC) to disable use of addressed mode.
+ */
int ossl_quic_tx_packetiser_set_peer(OSSL_QUIC_TX_PACKETISER *txp,
const BIO_ADDR *peer);