ngtcp2_conn_get_cwnd_left

Synopsis

#include <ngtcp2/ngtcp2.h>

uint64_t ngtcp2_conn_get_cwnd_left(ngtcp2_conn *conn)

ngtcp2_conn_get_cwnd_left() returns the cwnd minus the number of bytes in flight on the current path. If the former is smaller than the latter, this function returns 0.