Searched refs:socketpair (Results 1 – 2 of 2) sorted by relevance
/kernel/tests/net/test/ |
D | tcp_nuke_addr_test.py | 86 def CheckNukeAddrUnsupported(self, socketpair, addr): argument 87 s1, s2 = socketpair 93 self.assertSocketsNotClosed(socketpair) 98 def assertSocketsNotClosed(self, socketpair): argument 99 for sock in socketpair:
|
D | sock_diag_test.py | 113 socketpair = net_test.CreateSocketPair(family, socktype, addr) 114 sport, dport = (socketpair[0].getsockname()[1], 115 socketpair[1].getsockname()[1]) 116 socketpairs[(addr, sport, dport)] = socketpair 125 def assertSocketsClosed(self, socketpair): argument 126 for sock in socketpair: 195 for socketpair in list(self.socketpairs.values()): 196 for s in socketpair: 205 socketpair = net_test.CreateSocketPair(AF_INET6, SOCK_STREAM, 207 for sock in socketpair: [all …]
|