Searched refs:destroySockets (Results 1 – 6 of 6) sorted by relevance
/system/netd/server/ |
D | SockDiag.h | 73 int destroySockets(const char* addrstr, int ifindex); 75 int destroySockets(uint8_t proto, uid_t uid, bool excludeLoopback); 77 int destroySockets(const UidRanges& uidRanges, const std::set<uid_t>& skipUids, 94 int destroySockets(uint8_t proto, int family, const char* addrstr, int ifindex);
|
D | SockDiag.cpp | 309 int SockDiag::destroySockets(uint8_t proto, int family, const char* addrstr, int ifindex) { in destroySockets() function in android::net::SockDiag 325 int SockDiag::destroySockets(const char* addrstr, int ifindex) { in destroySockets() function in android::net::SockDiag 333 if (int ret = destroySockets(IPPROTO_TCP, AF_INET, addrstr, ifindex)) { in destroySockets() 338 if (int ret = destroySockets(IPPROTO_TCP, AF_INET6, addrstr, ifindex)) { in destroySockets() 395 int SockDiag::destroySockets(uint8_t proto, const uid_t uid, bool excludeLoopback) { in destroySockets() function in android::net::SockDiag 425 int SockDiag::destroySockets(const UidRanges& uidRanges, const std::set<uid_t>& skipUids, in destroySockets() function in android::net::SockDiag
|
D | SockDiagTest.cpp | 368 int destroySockets() { in destroySockets() function in android::net::SockDiagMicroBenchmarkTest 373 ret = mSd.destroySockets("::1", 0 /* ifindex */); in destroySockets() 379 ret = mSd.destroySockets(IPPROTO_TCP, CLOSE_UID, excludeLoopback); in destroySockets() 391 ret = mSd.destroySockets(uidRanges, skipUids, excludeLoopback); in destroySockets() 495 destroySockets(); in TEST_P()
|
D | NetlinkHandler.cpp | 162 int ret = sd.destroySockets(addrstr, destroyIfaceIndex); in onEvent()
|
D | NetdNativeService.cpp | 462 int err = sd.destroySockets(uidRanges, std::set<uid_t>(skipUids.begin(), skipUids.end()), in socketDestroy()
|
/system/netd/tests/ |
D | sock_diag_test.cpp | 217 int ret = sd.destroySockets("::1"); in TEST_F()
|