From: Frédéric Lécaille Date: Mon, 24 Apr 2023 14:25:29 +0000 (+0200) Subject: CLEANUP: quic: No more used q_buf structure X-Git-Tag: v2.8-dev11~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d19a02a40ef9832097dd520453baae885570575f;p=thirdparty%2Fhaproxy.git CLEANUP: quic: No more used q_buf structure This definition is no more used. Should be backported to 2.7. --- diff --git a/include/haproxy/quic_conn-t.h b/include/haproxy/quic_conn-t.h index 9bd9119147..366ff344b9 100644 --- a/include/haproxy/quic_conn-t.h +++ b/include/haproxy/quic_conn-t.h @@ -521,20 +521,6 @@ struct quic_crypto_buf { size_t sz; }; -/* QUIC buffer structure used to build outgoing packets. */ -struct q_buf { - /* Points to the data in this buffer. */ - unsigned char *area; - /* Points to the current position to write into this buffer. */ - unsigned char *pos; - /* Point to the end of this buffer past one. */ - const unsigned char *end; - /* The number of data bytes in this buffer. */ - size_t data; - /* The list of packets attached to this buffer which have not been already sent. */ - struct list pkts; -}; - /* Crypto data stream (one by encryption level) */ struct quic_cstream { struct {