]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: quic: Export qc_send_app_pkts()
authorFrédéric Lécaille <flecaille@haproxy.com>
Fri, 25 Feb 2022 16:46:07 +0000 (17:46 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 4 Mar 2022 16:00:12 +0000 (17:00 +0100)
This is at least to make this function be callable by the mux.

include/haproxy/xprt_quic.h
src/xprt_quic.c

index 8d2119c86cd5acf2b075c3adc691280132876329..51b05578d18b6cb4edc95ec7a61c670289d9808e 100644 (file)
@@ -1197,6 +1197,7 @@ struct task *quic_lstnr_dghdlr(struct task *t, void *ctx, unsigned int state);
 int quic_lstnr_dgram_dispatch(unsigned char *buf, size_t len, void *owner,
                               struct sockaddr_storage *saddr,
                               struct quic_dgram *new_dgram, struct list *dgrams);
+int qc_send_app_pkts(struct quic_conn *qc, struct list *frms);
 
 #endif /* USE_QUIC */
 #endif /* _HAPROXY_XPRT_QUIC_H */
index a7e45f72e27d508fe5b324bbdc3d085d849facc4..ddbfe972df044f9356eb6a46525e2deeefa6e953 100644 (file)
@@ -3278,7 +3278,7 @@ static int qc_qel_may_rm_hp(struct quic_conn *qc, struct quic_enc_level *qel)
 }
 
 /* Sends application level packets from <qc> QUIC connection */
-static int qc_send_app_pkts(struct quic_conn *qc, struct list *frms)
+int qc_send_app_pkts(struct quic_conn *qc, struct list *frms)
 {
        int ret;
        struct qring *qr;