Searched refs:tcptype (Results 1 – 7 of 7) sorted by relevance
156 const std::string& tcptype() const { return tcptype_; } in tcptype() function157 void set_tcptype(const std::string& tcptype){ in set_tcptype() argument158 tcptype_ = tcptype; in set_tcptype()
132 if (address.tcptype() == TCPTYPE_ACTIVE_STR || in CreateConnection()133 (address.tcptype().empty() && address.address().port() == 0)) { in CreateConnection()
279 (cand.tcptype() == TCPTYPE_ACTIVE_STR || port == 0)) { in VerifyCandidate()
230 const std::string& tcptype, in AddAddress() argument236 ASSERT(!tcptype.empty()); in AddAddress()245 c.set_tcptype(tcptype); in AddAddress()
656 void VerifySavedTcpCandidates(int endpoint, const std::string& tcptype) { in VerifySavedTcpCandidates() argument659 EXPECT_EQ(data->candidate.tcptype(), tcptype); in VerifySavedTcpCandidates()660 if (data->candidate.tcptype() == cricket::TCPTYPE_ACTIVE_STR) { in VerifySavedTcpCandidates()662 } else if (data->candidate.tcptype() == cricket::TCPTYPE_PASSIVE_STR) { in VerifySavedTcpCandidates()665 FAIL() << "Unknown tcptype: " << data->candidate.tcptype(); in VerifySavedTcpCandidates()
313 const std::string& tcptype,
1058 std::string tcptype; in ParseCandidate() local1061 tcptype = fields[++current_position]; in ParseCandidate()1064 if (tcptype != cricket::TCPTYPE_ACTIVE_STR && in ParseCandidate()1065 tcptype != cricket::TCPTYPE_PASSIVE_STR && in ParseCandidate()1066 tcptype != cricket::TCPTYPE_SIMOPEN_STR) { in ParseCandidate()1103 candidate->set_tcptype(tcptype); in ParseCandidate()1770 os << kTcpCandidateType << " " << it->tcptype() << " "; in BuildCandidate()