Home
last modified time | relevance | path

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

/system/netd/tests/
Dsock_diag_test.cpp69 int v6socket = socket(AF_INET6, SOCK_STREAM, 0); in TEST_F() local
72 ASSERT_NE(-1, v6socket) << "Failed to open IPv6 socket"; in TEST_F()
83 ASSERT_EQ(0, connect(v6socket, (sockaddr *) &server6, sizeof(server6))) in TEST_F()
175 close(v6socket); in TEST_F()
/system/netd/server/
DSockDiagTest.cpp78 int v6socket = socket(AF_INET6, SOCK_STREAM | SOCK_CLOEXEC, 0); in TEST_F() local
79 ASSERT_NE(-1, v6socket) << "Failed to open IPv6 socket: " << strerror(errno); in TEST_F()
91 ASSERT_EQ(0, connect(v6socket, (sockaddr *) &server6, sizeof(server6))) in TEST_F()
177 close(v6socket); in TEST_F()
DTrafficControllerTest.cpp349 int v6socket = setUpSocketAndTag(AF_INET6, &sockCookie, TEST_TAG, TEST_UID, TEST_UID); in TEST_F() local
351 ASSERT_EQ(0, mTc.untagSocket(v6socket)); in TEST_F()
376 int v6socket = setUpSocketAndTag(AF_INET6, &sockCookie, TEST_TAG, TEST_UID, TEST_UID2); in TEST_F() local
378 EXPECT_EQ(0, mTc.untagSocket(v6socket)); in TEST_F()