From: Christopher Faulet Date: Thu, 4 Sep 2025 10:19:46 +0000 (+0200) Subject: OPTIM: tcpcheck: Reorder tcpchek_connect structure fields to fill holes X-Git-Tag: v3.3-dev9~208 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f9a6ae727cc4972c5358198f67982f8a3b7fe481;p=thirdparty%2Fhaproxy.git OPTIM: tcpcheck: Reorder tcpchek_connect structure fields to fill holes Thanks to this patch, two 4-bytes holes are now filled in the tcpchek_connect structure. --- diff --git a/include/haproxy/tcpcheck-t.h b/include/haproxy/tcpcheck-t.h index c660cd477..290a73584 100644 --- a/include/haproxy/tcpcheck-t.h +++ b/include/haproxy/tcpcheck-t.h @@ -128,9 +128,9 @@ struct tcpcheck_connect { struct lf_expr *sni_fmt; /* log-format string used for SNI. if defined, point on the following HTTP host header value */ char *alpn; /* ALPN to use for the SSL connection */ int alpn_len; /* ALPN string length */ - const struct mux_proto_list *mux_proto; /* the mux to use for all outgoing connections (specified by the "proto" keyword) */ uint16_t options; /* options when setting up a new connection */ uint16_t port; /* port to connect to */ + const struct mux_proto_list *mux_proto; /* the mux to use for all outgoing connections (specified by the "proto" keyword) */ struct sample_expr *port_expr; /* sample expr to determine the port, may be NULL */ struct sockaddr_storage addr; /* the address to the connect */ };