Home
last modified time | relevance | path

Searched refs:SockDiag (Results 1 – 9 of 9) sorted by relevance

/system/netd/server/
DSockDiag.cpp72 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 …]
DSockDiag.h32 class SockDiag {
46 SockDiag() : mSock(-1), mWriteSock(-1), mSocketsDestroyed(0) {} in SockDiag() function
48 virtual ~SockDiag() { closeSocks(); } in ~SockDiag()
DAndroid.mk99 SockDiag.cpp \
138 SockDiagTest.cpp SockDiag.cpp \
DVirtualNetwork.cpp52 SockDiag sd; in maybeCloseSockets()
DSockDiagTest.cpp142 SockDiag sd; in TEST_F()
202 SockDiag mSd;
DNetdNativeService.cpp160 SockDiag sd; in socketDestroy()
DNetlinkHandler.cpp83 SockDiag sd; in onEvent()
/system/extras/tests/net_test/
Dsock_diag.py101 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()
Dsock_diag_test.py67 self.sock_diag = sock_diag.SockDiag()