Home
last modified time | relevance | path

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

/system/netd/server/
DSockDiag.cpp224 int SockDiag::readDiagMsg(uint8_t proto, const SockDiag::DestroyFilter& shouldDestroy) { in readDiagMsg() argument
225 NetlinkDumpCallback callback = [this, proto, shouldDestroy] (nlmsghdr *nlh) { in readDiagMsg()
227 if (shouldDestroy(proto, msg)) { in readDiagMsg()
324 auto shouldDestroy = [ifindex](uint8_t, const inet_diag_msg* msg) { in destroySockets() local
328 return readDiagMsg(proto, shouldDestroy); in destroySockets()
407 auto shouldDestroy = [uid, excludeLoopback] (uint8_t, const inet_diag_msg *msg) { in destroySockets() local
420 if (int ret = readDiagMsg(proto, shouldDestroy)) { in destroySockets()
438 auto shouldDestroy = [&] (uint8_t, const inet_diag_msg *msg) { in destroySockets() local
450 if (int ret = destroyLiveSockets(shouldDestroy, "UID", iov, ARRAY_SIZE(iov))) { in destroySockets()
539 auto shouldDestroy = [&] (uint8_t, const inet_diag_msg *msg) { in destroySocketsLackingPermission() local
[all …]
DNetlinkHandler.cpp145 bool shouldDestroy = gCtls->netCtrl.removeInterfaceAddress(ifaceIndex, address); in onEvent() local
146 if (shouldDestroy) { in onEvent()