Searched refs:excludeLoopback (Results 1 – 3 of 3) sorted by relevance
/system/netd/server/ |
D | SockDiag.h | 75 int destroySockets(uint8_t proto, uid_t uid, bool excludeLoopback); 78 bool excludeLoopback); 82 bool excludeLoopback);
|
D | SockDiag.cpp | 395 int SockDiag::destroySockets(uint8_t proto, const uid_t uid, bool excludeLoopback) { in destroySockets() argument 399 auto shouldDestroy = [uid, excludeLoopback] (uint8_t, const inet_diag_msg *msg) { in destroySockets() 402 !(excludeLoopback && isLoopbackSocket(msg)); in destroySockets() 426 bool excludeLoopback) { in destroySockets() argument 434 !(excludeLoopback && isLoopbackSocket(msg)) && in destroySockets() 465 bool excludeLoopback) { in destroySocketsLackingPermission() argument 532 return msg != nullptr && !(excludeLoopback && isLoopbackSocket(msg)); in destroySocketsLackingPermission()
|
D | SockDiagTest.cpp | 378 bool excludeLoopback = (mode == UID_EXCLUDE_LOOPBACK); in destroySockets() local 379 ret = mSd.destroySockets(IPPROTO_TCP, CLOSE_UID, excludeLoopback); in destroySockets() 386 bool excludeLoopback = (mode == UIDRANGE_EXCLUDE_LOOPBACK); in destroySockets() local 391 ret = mSd.destroySockets(uidRanges, skipUids, excludeLoopback); in destroySockets()
|