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 | 66 socketpair = net_test.CreateSocketPair(family, socktype, addr) 67 sport, dport = (socketpair[0].getsockname()[1], 68 socketpair[1].getsockname()[1]) 69 socketpairs[(addr, sport, dport)] = socketpair 78 def assertSocketsClosed(self, socketpair): argument 79 for sock in socketpair: 130 for socketpair in self.socketpairs.values(): 131 for s in socketpair: 140 socketpair = net_test.CreateSocketPair(AF_INET6, SOCK_STREAM, 142 for sock in socketpair: [all …]
|