From af3560fa0a60bd27c6dd5163033ebbe9b18fd6c8 Mon Sep 17 00:00:00 2001 From: Amaury Denoyelle Date: Mon, 11 May 2026 09:45:30 +0200 Subject: [PATCH] REORG: mux_quic: use newer qcm prefix for legacy qmux files This patch is the first one of the renaming serie, affecting the QUIC MUX module. The objective is to remove older "qmux" naming which was used as a generic identifier. Now it should be restricted to the QMux experimental protocol. A new "qcm" naming will replace the generic usage. The current patch renames the files themselves. Token "qmux" is replaced by the new "qcm" identifier. Makefile and include statements are adjusted as required. --- Makefile | 2 +- include/haproxy/{qmux_http.h => qcm_http.h} | 6 +++--- include/haproxy/{qmux_trace.h => qcm_trace.h} | 6 +++--- src/h3.c | 2 +- src/hq_interop.c | 4 ++-- src/mux_quic.c | 4 ++-- src/mux_quic_qstrm.c | 2 +- src/{qmux_http.c => qcm_http.c} | 4 ++-- src/{qmux_trace.c => qcm_trace.c} | 2 +- 9 files changed, 16 insertions(+), 16 deletions(-) rename include/haproxy/{qmux_http.h => qcm_http.h} (81%) rename include/haproxy/{qmux_trace.h => qcm_trace.h} (97%) rename src/{qmux_http.c => qcm_http.c} (97%) rename src/{qmux_trace.c => qcm_trace.c} (99%) diff --git a/Makefile b/Makefile index 8a4aedb09..d909357e7 100644 --- a/Makefile +++ b/Makefile @@ -667,7 +667,7 @@ OPTIONS_OBJS += src/mux_quic.o src/h3.o src/quic_rx.o src/quic_tx.o \ src/quic_cc_bbr.o src/quic_retry.o \ src/cfgparse-quic.o src/xprt_quic.o src/quic_token.o \ src/quic_ack.o src/qpack-dec.o src/quic_cc_newreno.o \ - src/qmux_http.o src/qmux_trace.o src/quic_rules.o \ + src/qcm_http.o src/qcm_trace.o src/quic_rules.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 \ diff --git a/include/haproxy/qmux_http.h b/include/haproxy/qcm_http.h similarity index 81% rename from include/haproxy/qmux_http.h rename to include/haproxy/qcm_http.h index e016be354..85de625eb 100644 --- a/include/haproxy/qmux_http.h +++ b/include/haproxy/qcm_http.h @@ -1,5 +1,5 @@ -#ifndef _HAPROXY_MUX_QUIC_HTTP_H -#define _HAPROXY_MUX_QUIC_HTTP_H +#ifndef _HAPROXY_QCM_HTTP_H +#define _HAPROXY_QCM_HTTP_H #ifdef USE_QUIC @@ -17,4 +17,4 @@ size_t qcs_http_reset_buf(struct qcs *qcs, struct buffer *buf, size_t count); #endif /* USE_QUIC */ -#endif /* _HAPROXY_MUX_QUIC_HTTP_H */ +#endif /* _HAPROXY_QCM_HTTP_H */ diff --git a/include/haproxy/qmux_trace.h b/include/haproxy/qcm_trace.h similarity index 97% rename from include/haproxy/qmux_trace.h rename to include/haproxy/qcm_trace.h index c8fdfde5d..00066851f 100644 --- a/include/haproxy/qmux_trace.h +++ b/include/haproxy/qcm_trace.h @@ -1,5 +1,5 @@ -#ifndef _HAPROXY_QMUX_TRACE_H -#define _HAPROXY_QMUX_TRACE_H +#ifndef _HAPROXY_QCM_TRACE_H +#define _HAPROXY_QCM_TRACE_H #ifdef USE_QUIC @@ -77,4 +77,4 @@ void qmux_dump_qcs_info(struct buffer *msg, const struct qcs *qcs); #endif /* USE_QUIC */ -#endif /* _HAPROXY_QMUX_TRACE_H */ +#endif /* _HAPROXY_QCM_TRACE_H */ diff --git a/src/h3.c b/src/h3.c index ce5734ed5..b311e98b7 100644 --- a/src/h3.c +++ b/src/h3.c @@ -33,7 +33,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/src/hq_interop.c b/src/hq_interop.c index 37298550d..c1fc5c23d 100644 --- a/src/hq_interop.c +++ b/src/hq_interop.c @@ -8,8 +8,8 @@ #include #include #include -#include -#include +#include +#include #include #include diff --git a/src/mux_quic.c b/src/mux_quic.c index 7a1500db8..af300bc79 100644 --- a/src/mux_quic.c +++ b/src/mux_quic.c @@ -15,8 +15,8 @@ #include #include #include -#include -#include +#include +#include #include #include #include diff --git a/src/mux_quic_qstrm.c b/src/mux_quic_qstrm.c index 7d53d7676..de57a3bcb 100644 --- a/src/mux_quic_qstrm.c +++ b/src/mux_quic_qstrm.c @@ -8,7 +8,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/src/qmux_http.c b/src/qcm_http.c similarity index 97% rename from src/qmux_http.c rename to src/qcm_http.c index a752b8f33..962ebc8bc 100644 --- a/src/qmux_http.c +++ b/src/qcm_http.c @@ -1,8 +1,8 @@ -#include +#include #include #include -#include +#include /* QUIC MUX rcv_buf operation using HTX data. Received data from stream * will be transferred as HTX in . Output buffer is expected to be of diff --git a/src/qmux_trace.c b/src/qcm_trace.c similarity index 99% rename from src/qmux_trace.c rename to src/qcm_trace.c index 0016bf5c9..88f3a305f 100644 --- a/src/qmux_trace.c +++ b/src/qcm_trace.c @@ -1,4 +1,4 @@ -#include +#include #include #include