Home
last modified time | relevance | path

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

/kernel/tests/net/test/
Dforwarding_test.py124 sockets = self.ReadProcNetSocket("tcp6")
128 sockets = [s for s in sockets if s[0] == mysrc and s[1] == mydst]
129 self.assertEqual(1, len(sockets))
130 self.assertEqual("%02X" % self.TCP_TIME_WAIT, sockets[0][2])
Dsock_diag_test.py216 sockets = self.sock_diag.DumpAllInetSockets(proto, NO_BYTECODE)
217 self.assertGreaterEqual(len(sockets), NUM_SOCKETS)
221 for diag_msg, unused_attrs in sockets:
308 sockets = self.sock_diag.DumpAllInetSockets(IPPROTO_TCP, bytecode)
309 self.assertEqual(1, len(sockets))
312 self.assertEqual(diag_msg.Pack(), sockets[0][0].Pack())
1065 def assertFoundSockets(self, infos, sockets): argument
1067 for s in sockets:
1171 sockets = self.sock_diag.DumpAllInetSockets(IPPROTO_SCTP, NO_BYTECODE)
1172 self.assertEqual(1, len(sockets))
[all …]
Dsock_diag.py315 sockets = []
318 sockets += self.Dump(diag_req, bytecode)
320 return sockets
Drun_net_test.sh444 -smp 4,sockets=4,cores=1,threads=1 \