Home
last modified time | relevance | path

Searched refs:tcptype (Results 1 – 7 of 7) sorted by relevance

/external/webrtc/webrtc/p2p/base/
Dcandidate.h156 const std::string& tcptype() const { return tcptype_; } in tcptype() function
157 void set_tcptype(const std::string& tcptype){ in set_tcptype() argument
158 tcptype_ = tcptype; in set_tcptype()
Dtcpport.cc132 if (address.tcptype() == TCPTYPE_ACTIVE_STR || in CreateConnection()
133 (address.tcptype().empty() && address.address().port() == 0)) { in CreateConnection()
Dtransport.cc279 (cand.tcptype() == TCPTYPE_ACTIVE_STR || port == 0)) { in VerifyCandidate()
Dport.cc230 const std::string& tcptype, in AddAddress() argument
236 ASSERT(!tcptype.empty()); in AddAddress()
245 c.set_tcptype(tcptype); in AddAddress()
Dp2ptransportchannel_unittest.cc656 void VerifySavedTcpCandidates(int endpoint, const std::string& tcptype) { in VerifySavedTcpCandidates() argument
659 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()
Dport.h313 const std::string& tcptype,
/external/webrtc/talk/app/webrtc/
Dwebrtcsdp.cc1058 std::string tcptype; in ParseCandidate() local
1061 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()