Home
last modified time | relevance | path

Searched refs:server6 (Results 1 – 2 of 2) sorted by relevance

/system/netd/tests/
Dbinder_test.cpp301 struct sockaddr_in6 server6 = { .sin6_family = AF_INET6 }; in socketpair() local
302 ASSERT_EQ(0, bind(*serverSocket, (struct sockaddr *) &server6, sizeof(server6))); in socketpair()
304 socklen_t addrlen = sizeof(server6); in socketpair()
305 ASSERT_EQ(0, getsockname(*serverSocket, (struct sockaddr *) &server6, &addrlen)); in socketpair()
310 ASSERT_EQ(0, connect(*clientSocket, (struct sockaddr *) &server6, sizeof(server6))); in socketpair()
313 *acceptedSocket = accept(*serverSocket, (struct sockaddr *) &server6, &addrlen); in socketpair()
316 ASSERT_EQ(0, memcmp(&client6, &server6, sizeof(client6))); in socketpair()
/system/netd/server/
DSockDiagTest.cpp77 sockaddr_in6 server6 = { .sin6_family = AF_INET6, .sin6_port = htons(port) }; in TEST_F() local
80 ASSERT_EQ(0, connect(v6socket, (sockaddr *) &server6, sizeof(server6))) in TEST_F()