Lines Matching refs:infos
675 infos = self.sock_diag.Dump(diag_req, "")
677 for diag_msg, attrs in infos),
678 "Expected to find FIN_WAIT2 socket in %s" % infos)
1065 def assertFoundSockets(self, infos, sockets): argument
1069 for info in infos:
1078 for i in infos:
1091 infos = self.FilterEstablishedSockets(0x1234, 0xffff)
1092 self.assertFoundSockets(infos, [s1])
1094 infos = self.FilterEstablishedSockets(0x1234, 0xfffe)
1095 self.assertFoundSockets(infos, [s1, s2])
1097 infos = self.FilterEstablishedSockets(0x1235, 0xffff)
1098 self.assertFoundSockets(infos, [s2])
1100 infos = self.FilterEstablishedSockets(0x0, 0x0)
1101 self.assertFoundSockets(infos, [s1, s2])
1103 infos = self.FilterEstablishedSockets(0xfff0000, 0xf0fed00)
1104 self.assertEqual(0, len(infos))