Closed yurivict closed 3 years ago
Also:
/usr/ports/net/wangle/work/wangle-2020.05.25.00/wangle/acceptor/TransportInfo.cpp:36:30: error: no member named 'tcpi_srtt' in 'tcp_info'; did you mean 'tcpi_rtt'?
rtt = microseconds(tcpinfo.tcpi_srtt * 1000);
^~~~~~~~~
tcpi_rtt
/usr/include/netinet/tcp.h:299:12: note: 'tcpi_rtt' declared here
u_int32_t tcpi_rtt; /* Smoothed RTT in usecs. */
^
/usr/ports/net/wangle/work/wangle-2020.05.25.00/wangle/acceptor/TransportInfo.cpp:40:17: error: no member named 'tcpi_maxseg' in 'tcp_info'
mss = tcpinfo.tcpi_maxseg;
~~~~~~~ ^
I'll put up a patch for this soon, but you can just tweak the ifdefs and add one to use __tcpi_retransmits instead.
OS: FreeBSD 12.1 Version: 2020.05.25.00 clang-9