Searched refs:server6 (Results 1 – 4 of 4) sorted by relevance
/system/netd/tests/ |
D | netd_client_test.cpp | 43 static const sockaddr_in6 server6 = { in checkNetworkConnectivity() local 47 int ret = connect(sock, reinterpret_cast<const sockaddr*>(&server6), sizeof(server6)); in checkNetworkConnectivity()
|
D | sock_diag_test.cpp | 80 sockaddr_in6 server6 = { .sin6_family = AF_INET6, .sin6_port = htons(port) }; in TEST_F() local 83 ASSERT_EQ(0, connect(v6socket, (sockaddr *) &server6, sizeof(server6))) in TEST_F()
|
D | binder_test.cpp | 621 struct sockaddr_in6 server6 = { .sin6_family = AF_INET6, .sin6_addr = sTun.dstAddr() }; in fakeRemoteSocketPair() local 622 ASSERT_EQ(0, bind(*serverSocket, (struct sockaddr *) &server6, sizeof(server6))); in fakeRemoteSocketPair() 624 socklen_t addrlen = sizeof(server6); in fakeRemoteSocketPair() 625 ASSERT_EQ(0, getsockname(*serverSocket, (struct sockaddr *) &server6, &addrlen)); in fakeRemoteSocketPair() 631 ASSERT_EQ(0, connect(*clientSocket, (struct sockaddr *) &server6, sizeof(server6))); in fakeRemoteSocketPair() 635 accept4(*serverSocket, (struct sockaddr*)&server6, &addrlen, SOCK_CLOEXEC)); in fakeRemoteSocketPair() 638 ASSERT_EQ(0, memcmp(&client6, &server6, sizeof(client6))); in fakeRemoteSocketPair()
|
/system/netd/server/ |
D | SockDiagTest.cpp | 88 sockaddr_in6 server6 = { .sin6_family = AF_INET6, .sin6_port = htons(port) }; in TEST_F() local 91 ASSERT_EQ(0, connect(v6socket, (sockaddr *) &server6, sizeof(server6))) in TEST_F()
|