ngtcp2_conn_get_path_max_udp_payload_size¶
Synopsis¶
#include <ngtcp2/ngtcp2.h>
-
size_t ngtcp2_conn_get_path_max_udp_payload_size(ngtcp2_conn *conn)¶
ngtcp2_conn_get_path_max_udp_payload_size()returns the maximum UDP payload size for the current path. Ifngtcp2_settings.no_udp_payload_size_shapingis set to nonzero, this function is equivalent tongtcp2_conn_get_max_udp_payload_size(). Otherwise, it returns the maximum UDP payload size that is probed for the current path.