Searched refs:tcptype (Results 1 – 9 of 9) sorted by relevance
137 const std::string& tcptype() const { return tcptype_; } in tcptype() function138 void set_tcptype(const std::string& tcptype) { tcptype_ = tcptype; } in set_tcptype() argument
50 "tcptype"
125 if ((address.tcptype() == TCPTYPE_ACTIVE_STR && in CreateConnection()127 (address.tcptype().empty() && address.address().port() == 0)) { in CreateConnection()
262 const std::string& tcptype, in AddAddress() argument269 RTC_DCHECK(!tcptype.empty()); in AddAddress()279 c.set_tcptype(tcptype); in AddAddress()
378 const std::string& tcptype,
795 void VerifySavedTcpCandidates(int endpoint, const std::string& tcptype) { in VerifySavedTcpCandidates() argument799 EXPECT_EQ(candidate.tcptype(), tcptype); in VerifySavedTcpCandidates()800 if (candidate.tcptype() == TCPTYPE_ACTIVE_STR) { in VerifySavedTcpCandidates()802 } else if (candidate.tcptype() == TCPTYPE_PASSIVE_STR) { in VerifySavedTcpCandidates()805 FAIL() << "Unknown tcptype: " << candidate.tcptype(); in VerifySavedTcpCandidates()1822 EXPECT_EQ(RemoteCandidate(ep1_ch1())->tcptype(), "passive"); in TEST_F()1823 EXPECT_EQ(LocalCandidate(ep1_ch1())->tcptype(), "active"); in TEST_F()1824 EXPECT_EQ(RemoteCandidate(ep2_ch1())->tcptype(), "active"); in TEST_F()1825 EXPECT_EQ(LocalCandidate(ep2_ch1())->tcptype(), "passive"); in TEST_F()
1141 std::string tcptype; in ParseCandidate() local1144 tcptype = fields[++current_position]; in ParseCandidate()1147 if (tcptype != cricket::TCPTYPE_ACTIVE_STR && in ParseCandidate()1148 tcptype != cricket::TCPTYPE_PASSIVE_STR && in ParseCandidate()1149 tcptype != cricket::TCPTYPE_SIMOPEN_STR) { in ParseCandidate()1160 tcptype = cricket::TCPTYPE_PASSIVE_STR; in ParseCandidate()1202 candidate->set_tcptype(tcptype); in ParseCandidate()1993 !candidate.tcptype().empty()) { in BuildCandidate()1994 os << kTcpCandidateType << " " << candidate.tcptype() << " "; in BuildCandidate()
39 (cand.tcptype() == cricket::TCPTYPE_ACTIVE_STR || port == 0)) { in VerifyCandidate()
2426 jcandidate.candidate().tcptype()); in TEST_F()