Searched refs:shouldDestroy (Results 1 – 2 of 2) sorted by relevance
/system/netd/server/ |
D | SockDiag.cpp | 222 int SockDiag::readDiagMsg(uint8_t proto, const SockDiag::DestroyFilter& shouldDestroy) { in readDiagMsg() argument 223 NetlinkDumpCallback callback = [this, proto, shouldDestroy] (nlmsghdr *nlh) { in readDiagMsg() 225 if (shouldDestroy(proto, msg)) { in readDiagMsg() 322 auto shouldDestroy = [ifindex](uint8_t, const inet_diag_msg* msg) { in destroySockets() local 326 return readDiagMsg(proto, shouldDestroy); in destroySockets() 403 auto shouldDestroy = [uid, excludeLoopback] (uint8_t, const inet_diag_msg *msg) { in destroySockets() local 416 if (int ret = readDiagMsg(proto, shouldDestroy)) { in destroySockets() 434 auto shouldDestroy = [&] (uint8_t, const inet_diag_msg *msg) { in destroySockets() local 446 if (int ret = destroyLiveSockets(shouldDestroy, "UID", iov, ARRAY_SIZE(iov))) { in destroySockets() 535 auto shouldDestroy = [&] (uint8_t, const inet_diag_msg *msg) { in destroySocketsLackingPermission() local [all …]
|
D | NetlinkHandler.cpp | 142 bool shouldDestroy = gCtls->netCtrl.removeInterfaceAddress(ifaceIndex, address); in onEvent() local 143 if (shouldDestroy) { in onEvent()
|