Searched refs:shouldDestroy (Results 1 – 2 of 2) sorted by relevance
/system/netd/server/ |
D | SockDiag.cpp | 206 int SockDiag::readDiagMsg(uint8_t proto, const SockDiag::DestroyFilter& shouldDestroy) { in readDiagMsg() argument 207 NetlinkDumpCallback callback = [this, proto, shouldDestroy] (nlmsghdr *nlh) { in readDiagMsg() 209 if (shouldDestroy(proto, msg)) { in readDiagMsg() 380 auto shouldDestroy = [uid, excludeLoopback] (uint8_t, const inet_diag_msg *msg) { in destroySockets() local 393 if (int ret = readDiagMsg(proto, shouldDestroy)) { in destroySockets() 411 auto shouldDestroy = [&] (uint8_t, const inet_diag_msg *msg) { in destroySockets() local 422 if (int ret = destroyLiveSockets(shouldDestroy, "UID", iov, ARRAY_SIZE(iov))) { in destroySockets() 511 auto shouldDestroy = [&] (uint8_t, const inet_diag_msg *msg) { in destroySocketsLackingPermission() local 515 if (int ret = destroyLiveSockets(shouldDestroy, "permission change", iov, ARRAY_SIZE(iov))) { in destroySocketsLackingPermission()
|
D | NetlinkHandler.cpp | 154 bool shouldDestroy = gCtls->netCtrl.removeInterfaceAddress(ifaceIndex, address); in onEvent() local 155 if (shouldDestroy) { in onEvent()
|