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 | 378 int SockDiag::destroySockets(uint8_t proto, const uid_t uid, bool excludeLoopback) { in destroySockets() argument 382 auto shouldDestroy = [uid, excludeLoopback] (uint8_t, const inet_diag_msg *msg) { in destroySockets() 385 !(excludeLoopback && isLoopbackSocket(msg)); in destroySockets() 409 bool excludeLoopback) { in destroySockets() argument 417 !(excludeLoopback && isLoopbackSocket(msg)); in destroySockets() 447 bool excludeLoopback) { in destroySocketsLackingPermission() argument 514 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()
|