Home
last modified time | relevance | path

Searched refs:inetDiagMsg (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/netlink/
DInetDiagSocketTest.java376 final InetDiagMessage inetDiagMsg = (InetDiagMessage) msg; in assertInetDiagMsg1() local
378 assertNlMsgHdr(inetDiagMsg.getHeader(), in assertInetDiagMsg1()
384 assertEquals(AF_INET6, inetDiagMsg.inetDiagMsg.idiag_family); in assertInetDiagMsg1()
385 assertEquals(1, inetDiagMsg.inetDiagMsg.idiag_state); in assertInetDiagMsg1()
386 assertEquals(2, inetDiagMsg.inetDiagMsg.idiag_timer); in assertInetDiagMsg1()
387 assertEquals(255, inetDiagMsg.inetDiagMsg.idiag_retrans); in assertInetDiagMsg1()
388 assertInetDiagSockId(inetDiagMsg.inetDiagMsg.id, in assertInetDiagMsg1()
393 assertEquals(4, inetDiagMsg.inetDiagMsg.idiag_expires); in assertInetDiagMsg1()
394 assertEquals(5, inetDiagMsg.inetDiagMsg.idiag_rqueue); in assertInetDiagMsg1()
395 assertEquals(6, inetDiagMsg.inetDiagMsg.idiag_wqueue); in assertInetDiagMsg1()
[all …]
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/
DInetDiagMessage.java159 public StructInetDiagMsg inetDiagMsg; field in InetDiagMessage
165 inetDiagMsg = new StructInetDiagMsg(); in InetDiagMessage()
175 msg.inetDiagMsg = StructInetDiagMsg.parse(byteBuffer); in parse()
176 if (msg.inetDiagMsg == null) { in parse()
219 return ((InetDiagMessage) nlMsg).inetDiagMsg.idiag_uid; in lookupUidByFamily()
315 diagMsg.inetDiagMsg.id, in sendNetlinkDestroyRequest()
316 diagMsg.inetDiagMsg.idiag_family, in sendNetlinkDestroyRequest()
321 1 << diagMsg.inetDiagMsg.idiag_state in sendNetlinkDestroyRequest()
372 return msg.inetDiagMsg.idiag_uid == Process.SHELL_UID; in isAdbSocket()
381 if (range.contains(msg.inetDiagMsg.idiag_uid)) { in containsUid()
[all …]
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/
DTcpSocketTracker.java374 final StructInetDiagMsg inetDiagMsg = StructInetDiagMsg.parse(bytes); in parseMessage() local
375 if (inetDiagMsg == null) { in parseMessage()
379 inetDiagMsg.idiag_uid, inetDiagMsg.id.cookie, in parseMessage()
380 inetDiagMsg.id.remSocketAddress.getPort()); in parseMessage()
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DSkDestroyListener.java70 final StructInetDiagSockId sockId = ((InetDiagMessage) nlMsg).inetDiagMsg.id; in processNetlinkMessage()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DAutomaticOnOffKeepaliveTracker.java805 diagMsg.inetDiagMsg.idiag_uid, in isAnyTcpSocketConnectedForFamily()
806 diagMsg.inetDiagMsg.id.remSocketAddress, in isAnyTcpSocketConnectedForFamily()
807 diagMsg.inetDiagMsg.id.cookie)); in isAnyTcpSocketConnectedForFamily()