haproxy/include/haproxy/quic_pacing-t.h
Ilia Shipitsin 78b849b839 CLEANUP: assorted typo fixes in the code and comments
code, comments and doc actually.
2025-04-02 11:12:20 +02:00

16 lines
495 B
C

#ifndef _HAPROXY_QUIC_PACING_T_H
#define _HAPROXY_QUIC_PACING_T_H
#include <haproxy/api-t.h>
#include <haproxy/quic_cc-t.h>
struct quic_pacer {
const struct quic_cc *cc; /* Congestion controller algo used for this connection */
ullong cur; /* Nanosecond timestamp of the last credit reloading */
uint credit; /* Number of packets which can be emitted in a single burst */
int last_sent; /* Number of datagrams sent during last paced emission */
};
#endif /* _HAPROXY_QUIC_PACING_T_H */