Lines Matching refs:tcpinfo
78 const struct tcp_info *tcpinfo, uint32_t tcpinfoLen) { in tcpInfoPrint() argument
95 TCPINFO_GET(tcpinfo, tcpi_rtt, tcpinfoLen, 0) / 1000.0, in tcpInfoPrint()
96 TCPINFO_GET(tcpinfo, tcpi_segs_out, tcpinfoLen, 0), in tcpInfoPrint()
97 TCPINFO_GET(tcpinfo, tcpi_lost, tcpinfoLen, 0)); in tcpInfoPrint()
144 const struct tcp_info *tcpinfo, uint32_t tcpinfoLen) { in dump() argument
145 tcpInfoPrint(dw, mark, sockinfo, tcpinfo, tcpinfoLen); in dump()
206 const struct tcp_info *tcpinfo, in poll()
208 if (sockinfo == nullptr || tcpinfo == nullptr || tcpinfoLen == 0 || mark.intValue == 0) { in poll()
211 updateSocketStats(now, mark, sockinfo, tcpinfo, tcpinfoLen); in poll()
279 const struct tcp_info *tcpinfo, in updateSocketStats() argument
281 int32_t lastAck = TCPINFO_GET(tcpinfo, tcpi_last_ack_recv, tcpinfoLen, 0); in updateSocketStats()
282 int32_t lastSent = TCPINFO_GET(tcpinfo, tcpi_last_data_sent, tcpinfoLen, 0); in updateSocketStats()
284 .sent = TCPINFO_GET(tcpinfo, tcpi_segs_out, tcpinfoLen, 0), in updateSocketStats()
285 .lost = TCPINFO_GET(tcpinfo, tcpi_lost, tcpinfoLen, 0), in updateSocketStats()
286 .rttUs = TCPINFO_GET(tcpinfo, tcpi_rtt, tcpinfoLen, 0), in updateSocketStats()