Lines Matching refs:doConnect
3338 bool doConnect = true) { in sendIPv6PacketFromUid() argument
3348 if (doConnect && connect(testSocket, (sockaddr*)&dst6, sizeof(dst6)) == -1) return false; in sendIPv6PacketFromUid()
3356 doConnect ? "true" : "false")); in sendIPv6PacketFromUid()
3357 if (doConnect) { in sendIPv6PacketFromUid()
3366 bool sendIPv6PacketFromUidFail(uid_t uid, const in6_addr& dstAddr, Fwmark* fwmark, bool doConnect, in sendIPv6PacketFromUidFail() argument
3377 if (doConnect) { in sendIPv6PacketFromUidFail()
3388 doConnect ? "true" : "false")); in sendIPv6PacketFromUidFail()
3389 if (!doConnect) { in sendIPv6PacketFromUidFail()
4055 const bool doConnect = (selectionMode != UNCONNECTED_SOCKET); in expectPacketSentOnNetId() local
4056 EXPECT_TRUE(sendIPv6PacketFromUid(uid, V6_ADDR, &fwmark, fd, doConnect)); in expectPacketSentOnNetId()
4077 const bool doConnect = (selectionMode != UNCONNECTED_SOCKET); in expectUnreachableError() local
4078 EXPECT_TRUE(sendIPv6PacketFromUidFail(uid, V6_ADDR, &fwmark, doConnect, ENETUNREACH)); in expectUnreachableError()