Home
last modified time | relevance | path

Searched refs:ProtocolAddress (Results 1 – 14 of 14) sorted by relevance

/external/webrtc/webrtc/p2p/base/
Drelayport_unittest.cc70 void OnConnectFailure(const cricket::ProtocolAddress* addr) { in OnConnectFailure()
74 void OnSoftTimeout(const cricket::ProtocolAddress* addr) { in OnSoftTimeout()
112 cricket::ProtocolAddress(kRelayUdpAddr, cricket::PROTO_UDP)); in TestConnectUdp()
114 cricket::ProtocolAddress(kRelayTcpAddr, cricket::PROTO_TCP)); in TestConnectUdp()
138 cricket::ProtocolAddress fake_protocol_address = in TestConnectTcp()
139 cricket::ProtocolAddress(kRelayUdpAddr, cricket::PROTO_UDP); in TestConnectTcp()
147 cricket::ProtocolAddress(fake_protocol_address)); in TestConnectTcp()
149 cricket::ProtocolAddress(kRelayTcpAddr, cricket::PROTO_TCP)); in TestConnectTcp()
171 cricket::ProtocolAddress fake_protocol_address = in TestConnectSslTcp()
172 cricket::ProtocolAddress(kRelayTcpAddr, cricket::PROTO_TCP); in TestConnectSslTcp()
[all …]
Drelayport.h51 void AddServerAddress(const ProtocolAddress& addr);
52 void AddExternalAddress(const ProtocolAddress& addr);
68 const ProtocolAddress * ServerAddress(size_t index) const;
72 sigslot::signal1<const ProtocolAddress*> SignalConnectFailure;
73 sigslot::signal1<const ProtocolAddress*> SignalSoftTimeout;
108 std::deque<ProtocolAddress> server_addr_;
109 std::vector<ProtocolAddress> external_addr_;
Drelayport.cc30 RelayConnection(const ProtocolAddress* protocol_address,
36 const ProtocolAddress* protocol_address() { in protocol_address()
68 const ProtocolAddress* protocol_address_;
211 void RelayPort::AddServerAddress(const ProtocolAddress& addr) { in AddServerAddress()
223 void RelayPort::AddExternalAddress(const ProtocolAddress& addr) { in AddExternalAddress()
225 for (std::vector<ProtocolAddress>::iterator it = external_addr_.begin(); in AddExternalAddress()
238 std::vector<ProtocolAddress>::iterator iter; in SetReady()
254 const ProtocolAddress * RelayPort::ServerAddress(size_t index) const { in ServerAddress()
403 RelayConnection::RelayConnection(const ProtocolAddress* protocol_address, in RelayConnection()
470 const ProtocolAddress* ra = port()->ServerAddress(server_index_); in Connect()
[all …]
Dturnport.h49 const ProtocolAddress& server_address, in Create()
65 const ProtocolAddress& server_address, in Create()
76 const ProtocolAddress& server_address() const { return server_address_; } in server_address()
162 const ProtocolAddress& server_address,
175 const ProtocolAddress& server_address,
253 ProtocolAddress server_address_;
Dturnport_unittest.cc72 static const cricket::ProtocolAddress kTurnUdpProtoAddr(
74 static const cricket::ProtocolAddress kTurnTcpProtoAddr(
76 static const cricket::ProtocolAddress kTurnUdpIPv6ProtoAddr(
214 const cricket::ProtocolAddress& server_address) { in CreateTurnPort()
220 const cricket::ProtocolAddress& server_address) { in CreateTurnPort()
237 const cricket::ProtocolAddress& server_address, in CreateTurnPortWithOrigin()
252 const cricket::ProtocolAddress& server_address) { in CreateSharedTurnPort()
327 cricket::ProtocolAddress(kTurnIntAddr, protocol_type)); in TestTurnAlternateServer()
352 cricket::ProtocolAddress(kTurnIntAddr, protocol_type)); in TestTurnAlternateServerV4toV6()
368 cricket::ProtocolAddress(kTurnIntAddr, protocol_type)); in TestTurnAlternateServerPingPong()
[all …]
Dportallocator.h89 typedef std::vector<ProtocolAddress> PortList;
102 ProtocolAddress(rtc::SocketAddress(address, port), proto, secure)); in RelayServerConfig()
Dport.h99 struct ProtocolAddress { struct
104 ProtocolAddress(const rtc::SocketAddress& a, ProtocolType p) in ProtocolAddress() argument
106 ProtocolAddress(const rtc::SocketAddress& a, ProtocolType p, bool sec) in ProtocolAddress() argument
Dturnport.cc188 const ProtocolAddress& server_address, in TurnPort()
220 const ProtocolAddress& server_address, in TurnPort()
622 server_address_ = ProtocolAddress(address, server_address_.proto, in SetAlternateServer()
Dport_unittest.cc509 username_, password_, ProtocolAddress( in CreateTurnPort()
519 port->AddServerAddress(ProtocolAddress(addrs[int_proto], int_proto)); in CreateGturnPort()
2128 cricket::ProtocolAddress(kRelayUdpIntAddr, cricket::PROTO_UDP)); in TEST_F()
2195 cricket::ProtocolAddress(kRelayUdpIntAddr, cricket::PROTO_UDP)); in TEST_F()
Dp2ptransportchannel_unittest.cc848 cricket::ProtocolAddress(kTurnUdpIntAddr, cricket::PROTO_UDP, false)); in ConfigureEndpoints()
/external/webrtc/webrtc/p2p/client/
Dhttpportallocator.cc208 relay_config.ports.push_back(ProtocolAddress(address, PROTO_UDP)); in ReceiveSessionResponse()
212 relay_config.ports.push_back(ProtocolAddress(address, PROTO_TCP)); in ReceiveSessionResponse()
216 relay_config.ports.push_back(ProtocolAddress(address, PROTO_SSLTCP)); in ReceiveSessionResponse()
Dportallocator_unittest.cc169 cricket::ProtocolAddress(kTurnUdpIntAddr, cricket::PROTO_UDP, false)); in AddTurnServers()
173 cricket::ProtocolAddress(kTurnTcpIntAddr, cricket::PROTO_TCP, false)); in AddTurnServers()
340 bool HasRelayAddress(const cricket::ProtocolAddress& proto_addr) { in HasRelayAddress()
400 EXPECT_TRUE(HasRelayAddress(cricket::ProtocolAddress( in TEST_F()
402 EXPECT_TRUE(HasRelayAddress(cricket::ProtocolAddress( in TEST_F()
404 EXPECT_TRUE(HasRelayAddress(cricket::ProtocolAddress( in TEST_F()
1104 turn_server.ports.push_back(cricket::ProtocolAddress( in TEST_F()
Dbasicportallocator.cc110 config.ports.push_back(ProtocolAddress(relay_address_udp, PROTO_UDP)); in BasicPortAllocator()
113 config.ports.push_back(ProtocolAddress(relay_address_tcp, PROTO_TCP)); in BasicPortAllocator()
116 config.ports.push_back(ProtocolAddress(relay_address_ssl, PROTO_SSLTCP)); in BasicPortAllocator()
/external/webrtc/talk/app/webrtc/
Dwebrtcsession_unittest.cc1438 cricket::ProtocolAddress(kTurnUdpIntAddr, cricket::PROTO_UDP, false)); in ConfigureAllocatorWithTurn()