Searched refs:server6 (Results 1 – 4 of 4) sorted by relevance
/system/netd/tests/ |
D | netd_client_test.cpp | 40 static const sockaddr_in6 server6 = { in checkNetworkConnectivity() local 44 int ret = connect(sock, reinterpret_cast<const sockaddr*>(&server6), sizeof(server6)); in checkNetworkConnectivity()
|
D | sock_diag_test.cpp | 81 sockaddr_in6 server6 = { .sin6_family = AF_INET6, .sin6_port = htons(port) }; in TEST_F() local 84 ASSERT_EQ(0, connect(v6socket, (sockaddr *) &server6, sizeof(server6))) in TEST_F()
|
D | binder_test.cpp | 958 struct sockaddr_in6 server6 = { .sin6_family = AF_INET6, .sin6_addr = sTun.dstAddr() }; in fakeRemoteSocketPair() local 959 ASSERT_EQ(0, bind(*serverSocket, (struct sockaddr *) &server6, sizeof(server6))); in fakeRemoteSocketPair() 961 socklen_t addrlen = sizeof(server6); in fakeRemoteSocketPair() 962 ASSERT_EQ(0, getsockname(*serverSocket, (struct sockaddr *) &server6, &addrlen)); in fakeRemoteSocketPair() 968 ASSERT_EQ(0, connect(*clientSocket, (struct sockaddr *) &server6, sizeof(server6))); in fakeRemoteSocketPair() 972 accept4(*serverSocket, (struct sockaddr*)&server6, &addrlen, SOCK_CLOEXEC)); in fakeRemoteSocketPair() 975 ASSERT_EQ(0, memcmp(&client6, &server6, sizeof(client6))); in fakeRemoteSocketPair()
|
/system/netd/server/ |
D | SockDiagTest.cpp | 89 sockaddr_in6 server6 = { .sin6_family = AF_INET6, .sin6_port = htons(port) }; in TEST_F() local 92 ASSERT_EQ(0, connect(v6socket, (sockaddr *) &server6, sizeof(server6))) in TEST_F()
|