Home
last modified time | relevance | path

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

/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/
DInetDiagMessage.java312 InetDiagMessage diagMsg) throws InterruptedIOException, ErrnoException { in sendNetlinkDestroyRequest() argument
315 diagMsg.inetDiagMsg.id, in sendNetlinkDestroyRequest()
316 diagMsg.inetDiagMsg.idiag_family, in sendNetlinkDestroyRequest()
321 1 << diagMsg.inetDiagMsg.idiag_state in sendNetlinkDestroyRequest()
343 Consumer<InetDiagMessage> handleNlDumpMsg = (diagMsg) -> { in processNetlinkDumpAndDestroySockets()
344 if (filter.test(diagMsg)) { in processNetlinkDumpAndDestroySockets()
346 sendNetlinkDestroyRequest(destroyFd, proto, diagMsg); in processNetlinkDumpAndDestroySockets()
351 Log.e(TAG, "Failed to destroy socket: diagMsg=" + diagMsg + ", " + e); in processNetlinkDumpAndDestroySockets()
458 (diagMsg) -> !exemptUids.contains(diagMsg.inetDiagMsg.idiag_uid) in destroyLiveTcpSockets()
459 && containsUid(diagMsg, ranges) in destroyLiveTcpSockets()
[all …]
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DAutomaticOnOffKeepaliveTracker.java800 final InetDiagMessage diagMsg = (InetDiagMessage) nlMsg; in isAnyTcpSocketConnectedForFamily() local
801 if (isTargetTcpSocket(diagMsg, networkMark, networkMask)) { in isAnyTcpSocketConnectedForFamily()
805 diagMsg.inetDiagMsg.idiag_uid, in isAnyTcpSocketConnectedForFamily()
806 diagMsg.inetDiagMsg.id.remSocketAddress, in isAnyTcpSocketConnectedForFamily()
807 diagMsg.inetDiagMsg.id.cookie)); in isAnyTcpSocketConnectedForFamily()
827 private boolean isTargetTcpSocket(@NonNull InetDiagMessage diagMsg, in isTargetTcpSocket() argument
829 final int mark = readSocketDataAndReturnMark(diagMsg); in isTargetTcpSocket()
833 private int readSocketDataAndReturnMark(@NonNull InetDiagMessage diagMsg) { in readSocketDataAndReturnMark() argument
836 for (StructNlAttr attr : diagMsg.nlAttrs) { in readSocketDataAndReturnMark()