Home
last modified time | relevance | path

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

/system/extras/tests/tcp_nuke_addr/
Dtcp_nuke_addr_test.cpp70 void killSockets(sockaddr_in listenaddr, int intervalMs, android::RWLock *lock) { in killSockets() argument
73 listenaddr.sin_port = 0; in killSockets()
75 memcpy(&ifr.ifr_addr, &listenaddr, sizeof(listenaddr)); in killSockets()
91 void connectLoop(sockaddr_in listenaddr, int listensock, in connectLoop() argument
101 if (connect(s, (sockaddr *) &listenaddr, sizeof(listenaddr)) == -1) PERROR_EXIT("connect"); in connectLoop()