Home
last modified time | relevance | path

Searched refs:client6 (Results 1 – 3 of 3) sorted by relevance

/system/netd/tests/
Dsock_diag_test.cpp86 sockaddr_in6 client46, client6; in TEST_F() local
87 socklen_t clientlen = std::max(sizeof(client46), sizeof(client6)); in TEST_F()
89 int accepted6 = accept(listensocket, (sockaddr *) &client6, &clientlen); in TEST_F()
99 port, ntohs(client46.sin6_port), ntohs(client6.sin6_port)); in TEST_F()
133 seenClient6 |= (msg->id.idiag_sport == client6.sin6_port); in TEST_F()
Dbinder_test.cpp629 struct sockaddr_in6 client6 = { .sin6_family = AF_INET6, .sin6_addr = sTun.srcAddr() }; in fakeRemoteSocketPair() local
630 ASSERT_EQ(0, bind(*clientSocket, (struct sockaddr *) &client6, sizeof(client6))); in fakeRemoteSocketPair()
632 ASSERT_EQ(0, getsockname(*clientSocket, (struct sockaddr *) &client6, &addrlen)); in fakeRemoteSocketPair()
638 ASSERT_EQ(0, memcmp(&client6, &server6, sizeof(client6))); in fakeRemoteSocketPair()
/system/netd/server/
DSockDiagTest.cpp94 sockaddr_in6 client46, client6; in TEST_F() local
95 socklen_t clientlen = std::max(sizeof(client46), sizeof(client6)); in TEST_F()
99 listensocket, (sockaddr *) &client6, &clientlen, SOCK_CLOEXEC); in TEST_F()
108 port, ntohs(client46.sin6_port), ntohs(client6.sin6_port)); in TEST_F()
135 seenClient6 |= (msg->id.idiag_sport == client6.sin6_port); in TEST_F()