Home
last modified time | relevance | path

Searched refs:tcpinfo (Results 1 – 4 of 4) sorted by relevance

/aosp12/system/netd/server/
H A DTcpSocketMonitor.cpp79 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()
146 tcpInfoPrint(dw, mark, sockinfo, tcpinfo, tcpinfoLen); in dump()
207 const struct tcp_info *tcpinfo, in poll()
212 updateSocketStats(now, mark, sockinfo, tcpinfo, tcpinfoLen); in poll()
280 const struct tcp_info *tcpinfo, in updateSocketStats() argument
285 .sent = TCPINFO_GET(tcpinfo, tcpi_segs_out, tcpinfoLen, 0), in updateSocketStats()
286 .lost = TCPINFO_GET(tcpinfo, tcpi_lost, tcpinfoLen, 0), in updateSocketStats()
[all …]
H A DSockDiag.cpp237 struct tcp_info *tcpinfo = nullptr; in readDiagMsgWithTcpInfo() local
244 tcpinfo = reinterpret_cast<struct tcp_info*>(RTA_DATA(attr)); in readDiagMsgWithTcpInfo()
253 tcpInfoReader(mark, msg, tcpinfo, tcpinfoLength); in readDiagMsgWithTcpInfo()
H A DTcpSocketMonitor.h90 const struct tcp_info *tcpinfo, uint32_t tcpinfoLen) REQUIRES(mLock);
/aosp12/packages/modules/Connectivity/framework/jni/
H A Dandroid_net_NetworkUtils.cpp224 struct tcp_info tcpinfo = {}; in android_net_utils_getTcpRepairWindow() local
229 rc = getsockopt(fd, IPPROTO_TCP, TCP_INFO, &tcpinfo, &tcpinfo_size); in android_net_utils_getTcpRepairWindow()
239 trw.rcv_wnd, trw.rcv_wup, tcpinfo.tcpi_rcv_wscale); in android_net_utils_getTcpRepairWindow()