ngtcp2_path_storage_init

Synopsis

#include <ngtcp2/ngtcp2.h>

void ngtcp2_path_storage_init(ngtcp2_path_storage *ps, const ngtcp2_sockaddr *local_addr, ngtcp2_socklen local_addrlen, const ngtcp2_sockaddr *remote_addr, ngtcp2_socklen remote_addrlen, void *user_data)

ngtcp2_path_storage_init() initializes ps with the given arguments. This function copies local_addr and remote_addr.