Searched refs:SockDiag (Results 1 – 9 of 9) sorted by relevance
/system/netd/server/ |
D | SockDiag.cpp | 72 bool SockDiag::open() { in open() 94 int SockDiag::sendDumpRequest(uint8_t proto, uint8_t family, uint32_t states, in sendDumpRequest() 126 int SockDiag::sendDumpRequest(uint8_t proto, uint8_t family, uint32_t states) { in sendDumpRequest() 133 int SockDiag::sendDumpRequest(uint8_t proto, uint8_t family, const char *addrstr) { in sendDumpRequest() 204 int SockDiag::readDiagMsg(uint8_t proto, SockDiag::DumpCallback callback) { in readDiagMsg() 239 int SockDiag::sockDestroy(uint8_t proto, const inet_diag_msg *msg) { in sockDestroy() 267 int SockDiag::destroySockets(uint8_t proto, int family, const char *addrstr) { in destroySockets() 281 int SockDiag::destroySockets(const char *addrstr) { in destroySockets() 303 int SockDiag::destroyLiveSockets(DumpCallback destroyFilter) { in destroyLiveSockets() 322 int SockDiag::destroySockets(uint8_t proto, const uid_t uid) { in destroySockets() [all …]
|
D | SockDiag.h | 32 class SockDiag { 46 SockDiag() : mSock(-1), mWriteSock(-1), mSocketsDestroyed(0) {} in SockDiag() function 48 virtual ~SockDiag() { closeSocks(); } in ~SockDiag()
|
D | Android.mk | 99 SockDiag.cpp \ 138 SockDiagTest.cpp SockDiag.cpp \
|
D | VirtualNetwork.cpp | 52 SockDiag sd; in maybeCloseSockets()
|
D | SockDiagTest.cpp | 142 SockDiag sd; in TEST_F() 202 SockDiag mSd;
|
D | NetdNativeService.cpp | 160 SockDiag sd; in socketDestroy()
|
D | NetlinkHandler.cpp | 83 SockDiag sd; in onEvent()
|
/system/extras/tests/net_test/ |
D | sock_diag.py | 101 class SockDiag(netlink.NetlinkSocket): class 255 return SockDiag.GetRawAddress(diag_msg.family, diag_msg.id.src) 260 return SockDiag.GetRawAddress(diag_msg.family, diag_msg.id.dst) 271 padded = SockDiag.RawAddress(addr) 296 src = SockDiag.PaddedAddress(src) 297 dst = SockDiag.PaddedAddress(dst) 333 n = SockDiag()
|
D | sock_diag_test.py | 67 self.sock_diag = sock_diag.SockDiag()
|