]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: mux_quic: rename qstrm files to qmux
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 11 May 2026 08:27:01 +0000 (10:27 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 13 May 2026 14:15:48 +0000 (16:15 +0200)
This is a follow-up on the QUIC MUX renaming process. Now most of "qmux"
generic usages as been replaced in favor of "qcm" naming. The next part
of the renaming is to replace "qstrm" naming with "qmux" for stuffs
related to the new QMux protocol specifically.

This is first applied on filenames. As with the previous renaming,
Makefile and include statements are updated as well to prevent
compilation issues.

Makefile
include/haproxy/qcm_qmux.h [moved from include/haproxy/mux_quic_qstrm.h with 55% similarity]
include/haproxy/xprt_qmux.h [moved from include/haproxy/xprt_qstrm.h with 75% similarity]
src/mux_quic.c
src/qcm_qmux.c [moved from src/mux_quic_qstrm.c with 99% similarity]
src/xprt_qmux.c [moved from src/xprt_qstrm.c with 99% similarity]

index d909357e79fa69637a761259e678f1d61cf05905..22c4321d1d2f3e14325052cf87fb76d324908f6f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -671,7 +671,7 @@ OPTIONS_OBJS += src/mux_quic.o src/h3.o src/quic_rx.o src/quic_tx.o \
                 src/quic_cc_nocc.o src/quic_cc.o src/quic_pacing.o     \
                 src/h3_stats.o src/quic_stats.o src/qpack-enc.o                \
                 src/qpack-tbl.o src/quic_cc_drs.o src/quic_fctl.o      \
-                src/quic_enc.o src/mux_quic_qstrm.o src/xprt_qstrm.o   \
+                src/quic_enc.o src/qcm_qmux.o src/xprt_qmux.o          \
                 src/mpring.o
 endif
 
similarity index 55%
rename from include/haproxy/mux_quic_qstrm.h
rename to include/haproxy/qcm_qmux.h
index 6b81f3e65dfae5ce1e32ecabb0073d9d57c1d69a..350ffc771154eefb28448851258e808ffbc6a642 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef _HAPROXY_MUX_QUIC_QSTRM_H
-#define _HAPROXY_MUX_QUIC_QSTRM_H
+#ifndef _HAPROXY_QCM_QMUX_H
+#define _HAPROXY_QCM_QMUX_H
 
 #include <haproxy/mux_quic.h>
 
@@ -7,4 +7,4 @@ int qcc_qstrm_recv(struct qcc *qcc);
 
 int qcc_qstrm_send_frames(struct qcc *qcc, struct list *frms);
 
-#endif /* _HAPROXY_MUX_QUIC_QSTRM_H */
+#endif /* _HAPROXY_QCM_QMUX_H */
similarity index 75%
rename from include/haproxy/xprt_qstrm.h
rename to include/haproxy/xprt_qmux.h
index 96618f6359bf43b24251fa3609bd7ea6718c9b78..e88351eef2517ad616c0dd7efdb794bb8c294386 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef _HAPROXY_XPRT_QSTRM_H
-#define _HAPROXY_XPRT_QSTRM_H
+#ifndef _HAPROXY_XPRT_QMUX_H
+#define _HAPROXY_XPRT_QMUX_H
 
 #include <stddef.h>
 
@@ -11,4 +11,4 @@ const struct quic_transport_params *xprt_qstrm_rparams(const void *context);
 
 size_t xprt_qstrm_xfer_rxbuf(void *context, struct buffer *out);
 
-#endif /* _HAPROXY_XPRT_QSTRM_H */
+#endif /* _HAPROXY_XPRT_QMUX_H */
index 91a47c7316b40544941dd5bb3f6a3292e90597c3..cf79dcca36d93b711ddb6a70a091a9d4a7ec95b7 100644 (file)
 #include <haproxy/global-t.h>
 #include <haproxy/h3.h>
 #include <haproxy/list.h>
-#include <haproxy/mux_quic_qstrm.h>
 #include <haproxy/ncbuf.h>
 #include <haproxy/pool.h>
 #include <haproxy/proxy.h>
 #include <haproxy/qcm_http.h>
+#include <haproxy/qcm_qmux.h>
 #include <haproxy/qcm_trace.h>
 #include <haproxy/quic_conn.h>
 #include <haproxy/quic_enc.h>
@@ -34,7 +34,7 @@
 #include <haproxy/stconn.h>
 #include <haproxy/time.h>
 #include <haproxy/trace.h>
-#include <haproxy/xprt_qstrm.h>
+#include <haproxy/xprt_qmux.h>
 #include <haproxy/xref.h>
 
 DECLARE_TYPED_POOL(pool_head_qcc, "qcc", struct qcc);
similarity index 99%
rename from src/mux_quic_qstrm.c
rename to src/qcm_qmux.c
index de57a3bcb3466d3791afa7df6f0f0f364f4ff6e7..b7ad83bb2d8629d7945d7a7f813c03c68ea6c3b7 100644 (file)
@@ -1,4 +1,4 @@
-#include <haproxy/mux_quic_qstrm.h>
+#include <haproxy/qcm_qmux.h>
 
 #include <haproxy/api.h>
 #include <haproxy/buf.h>
similarity index 99%
rename from src/xprt_qstrm.c
rename to src/xprt_qmux.c
index bdcaf84593d20f934112d98407715cbed8c1e299..42e12c7784aee727ea2f7d01653df182859615f4 100644 (file)
@@ -1,4 +1,4 @@
-#include <haproxy/xprt_qstrm.h>
+#include <haproxy/xprt_qmux.h>
 
 #include <haproxy/api.h>
 #include <haproxy/buf.h>
@@ -7,8 +7,8 @@
 #include <haproxy/fd.h>
 #include <haproxy/global.h>
 #include <haproxy/mux_quic.h>
-#include <haproxy/mux_quic_qstrm.h>
 #include <haproxy/pool.h>
+#include <haproxy/qcm_qmux.h>
 #include <haproxy/quic_frame.h>
 #include <haproxy/quic_tp-t.h>