Home
last modified time | relevance | path

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

/packages/modules/Connectivity/framework/jni/
Dandroid_net_NetworkUtils.cpp214 struct tcp_repair_window trw = {}; in android_net_utils_getTcpRepairWindow() local
215 socklen_t size = sizeof(trw); in android_net_utils_getTcpRepairWindow()
218 int rc = getsockopt(fd, IPPROTO_TCP, TCP_REPAIR_WINDOW, &trw, &size); in android_net_utils_getTcpRepairWindow()
238 return env->NewObject(class_TcpRepairWindow, ctor, trw.snd_wl1, trw.snd_wnd, trw.max_window, in android_net_utils_getTcpRepairWindow()
239 trw.rcv_wnd, trw.rcv_wup, tcpinfo.tcpi_rcv_wscale); in android_net_utils_getTcpRepairWindow()
/packages/modules/Connectivity/service/src/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()