Lines Matching refs:tcpinfo
79 const struct tcp_info *tcpinfo, uint32_t tcpinfoLen) { in tcpInfoPrint() argument
96 TCPINFO_GET(tcpinfo, tcpi_rtt, tcpinfoLen, 0) / 1000.0, in tcpInfoPrint()
97 TCPINFO_GET(tcpinfo, tcpi_segs_out, tcpinfoLen, 0), in tcpInfoPrint()
98 TCPINFO_GET(tcpinfo, tcpi_lost, tcpinfoLen, 0)); in tcpInfoPrint()
145 const struct tcp_info *tcpinfo, uint32_t tcpinfoLen) { in dump() argument
146 tcpInfoPrint(dw, mark, sockinfo, tcpinfo, tcpinfoLen); in dump()
207 const struct tcp_info *tcpinfo, in poll()
209 if (sockinfo == nullptr || tcpinfo == nullptr || tcpinfoLen == 0 || mark.intValue == 0) { in poll()
212 updateSocketStats(now, mark, sockinfo, tcpinfo, tcpinfoLen); in poll()
280 const struct tcp_info *tcpinfo, in updateSocketStats() argument
282 int32_t lastAck = TCPINFO_GET(tcpinfo, tcpi_last_ack_recv, tcpinfoLen, 0); in updateSocketStats()
283 int32_t lastSent = TCPINFO_GET(tcpinfo, tcpi_last_data_sent, tcpinfoLen, 0); in updateSocketStats()
285 .sent = TCPINFO_GET(tcpinfo, tcpi_segs_out, tcpinfoLen, 0), in updateSocketStats()
286 .lost = TCPINFO_GET(tcpinfo, tcpi_lost, tcpinfoLen, 0), in updateSocketStats()
287 .rttUs = TCPINFO_GET(tcpinfo, tcpi_rtt, tcpinfoLen, 0), in updateSocketStats()