Home
last modified time | relevance | path

Searched refs:trw (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/jni/
Dandroid_net_NetUtils.cpp241 struct tcp_repair_window trw = {}; in android_net_utils_getTcpRepairWindow() local
242 socklen_t size = sizeof(trw); in android_net_utils_getTcpRepairWindow()
245 int rc = getsockopt(fd, IPPROTO_TCP, TCP_REPAIR_WINDOW, &trw, &size); in android_net_utils_getTcpRepairWindow()
265 return env->NewObject(class_TcpRepairWindow, ctor, trw.snd_wl1, trw.snd_wnd, trw.max_window, in android_net_utils_getTcpRepairWindow()
266 trw.rcv_wnd, trw.rcv_wup, tcpinfo.tcpi_rcv_wscale); in android_net_utils_getTcpRepairWindow()
/frameworks/base/services/core/java/com/android/server/connectivity/
DTcpKeepaliveController.java134 final TcpRepairWindow trw; in switchToRepairMode() local
196 trw = NetworkUtils.getTcpRepairWindow(fd); in switchToRepairMode()
197 tcpDetails.rcvWnd = trw.rcvWnd; in switchToRepairMode()
198 tcpDetails.rcvWndScale = trw.rcvWndScale; in switchToRepairMode()