From: Amaury Denoyelle Date: Wed, 12 Nov 2025 15:58:46 +0000 (+0100) Subject: MINOR: quic: try to clarify quic_conn CIDs fields direction X-Git-Tag: v3.3-dev14~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49edaca513075d070c2b4941f76ae34ed69a1bd2;p=thirdparty%2Fhaproxy.git MINOR: quic: try to clarify quic_conn CIDs fields direction quic_conn has two fields named and . It may cause confusion as it is not obvious how these fields are related to the connection direction. Try to improve this by extending the documentation of these two fields. --- diff --git a/include/haproxy/quic_conn-t.h b/include/haproxy/quic_conn-t.h index 9fe7b69f7..84c9b68f7 100644 --- a/include/haproxy/quic_conn-t.h +++ b/include/haproxy/quic_conn-t.h @@ -292,9 +292,13 @@ struct qcc_app_ops; size_t max_udp_payload; \ /* First DCID used by client on its Initial packet. */ \ struct quic_cid odcid; \ - /* DCID of our endpoint - not updated when a new DCID is used */ \ + /* Peer chosen CID, used as dest for packets sent from our endpoint \ + * - not updated when a new DCID is used \ + */ \ struct quic_cid dcid; \ - /* first SCID of our endpoint - not updated when a new SCID is used */ \ + /* Local CID used to dispatch received datagrams to this endpoint \ + * - not updated when a new SCID is used \ + */ \ struct quic_cid scid; \ /* tree of quic_connection_id - used to match a received packet DCID \ * with a connection \