Searched refs:dst6 (Results 1 – 2 of 2) sorted by relevance
/system/netd/tests/ |
D | tun_interface.cpp | 61 sockaddr_in6 dst6 = { .sin6_family = AF_INET6, .sin6_addr = mDstAddr, }; in init() local 64 getnameinfo((sockaddr *) &dst6, sizeof(dst6), dstStr, sizeof(dstStr), nullptr, 0, flags)) { in init()
|
D | binder_test.cpp | 3343 const sockaddr_in6 dst6 = { in sendIPv6PacketFromUid() local 3348 if (doConnect && connect(testSocket, (sockaddr*)&dst6, sizeof(dst6)) == -1) return false; in sendIPv6PacketFromUid() 3360 checkDataReceived(testSocket, tunFd, (sockaddr*)&dst6, sizeof(dst6)); in sendIPv6PacketFromUid() 3372 const sockaddr_in6 dst6 = { in sendIPv6PacketFromUidFail() local 3378 if (connect(s, (sockaddr*)&dst6, sizeof(dst6)) == 0) return false; in sendIPv6PacketFromUidFail() 3390 if (sendto(s, "foo", sizeof("foo"), 0, (sockaddr*)&dst6, sizeof(dst6)) == 0) return false; in sendIPv6PacketFromUidFail() 3501 const sockaddr_in6 dst6 = { in createIpv6SocketAndCheckMark() local 3509 EXPECT_EQ((type == SOCK_STREAM) ? -1 : 0, connect(sockFd, (sockaddr*)&dst6, sizeof(dst6))); in createIpv6SocketAndCheckMark()
|