Lines Matching refs:family
109 family, addr = random.choice([
113 socketpair = net_test.CreateSocketPair(family, socktype, addr)
134 family = s.getsockopt(net_test.SOL_SOCKET, net_test.SO_DOMAIN)
135 self.assertEqual(diag_msg.family, family)
340 self.assertTrue(all(d.family == AF_INET for d, _ in v4socks))
345 self.assertTrue(all(d.family == AF_INET6 for d, _ in v6socks))
409 family = net_test.GetAddressFamily(version)
410 s = socket(family, SOCK_DGRAM, 0)
791 family = {4: AF_INET, 5: AF_INET6, 6: AF_INET6}[version]
792 s = net_test.Socket(family, SOCK_STREAM, IPPROTO_TCP)
948 family = {4: AF_INET, 5: AF_INET6, 6: AF_INET6}[version]
985 family = {4: AF_INET, 5: AF_INET6, 6: AF_INET6}[version]
986 s = net_test.UDPSocket(family)
1083 family, addr = random.choice([
1087 s1, s2 = net_test.CreateSocketPair(family, SOCK_STREAM, addr)
1128 for family, addr in testcases:
1130 server = socket(family, SOCK_STREAM, 0)
1138 client = socket(family, SOCK_STREAM, 0)
1158 s = socket(family, SOCK_DGRAM, 0)
1166 s = socket(family, SOCK_STREAM, IPPROTO_SCTP)