/external/webrtc/p2p/base/ |
D | turn_port_unittest.cc | 90 cricket::PROTO_UDP); 96 cricket::PROTO_UDP); 300 RTC_CHECK(server_address.proto == PROTO_UDP); in CreateSharedTurnPort() 374 case PROTO_UDP: in TimeToConnect() 537 AF_INET, protocol_type == PROTO_UDP ? SOCK_DGRAM : SOCK_STREAM)); in TestTurnAlternateServerLoopback() 559 if (protocol_type == PROTO_UDP) { in TestTurnAlternateServerLoopback() 607 PrepareTurnAndUdpPorts(PROTO_UDP); in TestDestroyTurnConnection() 777 TestReconstructedServerUrl(PROTO_UDP, "turn:99.99.99.3:3478?transport=udp"); in TEST_F() 781 turn_server_.AddInternalSocket(kTurnUdpIPv6IntAddr, PROTO_UDP); in TEST_F() 785 PROTO_UDP, in TEST_F() [all …]
|
D | turn_server_unittest.cc | 54 TurnServerConnection connection1(socket2->GetLocalAddress(), PROTO_UDP, in TEST_F() 56 TurnServerConnection connection2(socket2->GetLocalAddress(), PROTO_UDP, in TEST_F() 58 TurnServerConnection connection3(socket1->GetLocalAddress(), PROTO_UDP, in TEST_F()
|
D | test_turn_server.h | 56 ProtocolType int_protocol = PROTO_UDP, 95 if (proto == cricket::PROTO_UDP) {
|
D | port_unittest.cc | 185 virtual ProtocolType GetProtocol() const { return PROTO_UDP; } in GetProtocol() 434 auto port2 = CreateRelayPort(kLocalAddr2, proto, PROTO_UDP); in TestLocalToRelay() 464 auto port2 = CreateRelayPort(kLocalAddr2, proto, PROTO_UDP); in TestStunToRelay() 573 case PROTO_UDP: in RelayName() 1081 TestLocalToRelay(PROTO_UDP); in TEST_F() 1106 TestStunToRelay(NAT_OPEN_CONE, PROTO_UDP); in TEST_F() 1131 TestStunToRelay(NAT_ADDR_RESTRICTED, PROTO_UDP); in TEST_F() 1157 TestStunToRelay(NAT_PORT_RESTRICTED, PROTO_UDP); in TEST_F() 1184 TestStunToRelay(NAT_SYMMETRIC, PROTO_UDP); in TEST_F() 1681 CreateTurnPort(kLocalAddr1, nat_socket_factory1(), PROTO_UDP, PROTO_UDP); in TEST_F() [all …]
|
D | port_interface.h | 35 PROTO_UDP, enumerator
|
D | turn_port.cc | 68 RTC_DCHECK(proto == PROTO_UDP); in GetRelayPreference() 374 if (server_address_.proto == PROTO_UDP) { in PrepareAddress() 385 if (server_address_.proto == PROTO_UDP && !SharedSocket()) { in CreateTurnClientSocket() 958 if (server_address().proto == PROTO_UDP) { in OnMessage() 1027 DispatchPacket(data_attr->bytes(), data_attr->length(), ext_addr, PROTO_UDP, in HandleDataIndication() 1070 PROTO_UDP, packet_time_us); in HandleChannelData() 1309 case PROTO_UDP: in ReconstructedServerUrl()
|
D | port_allocator_unittest.cc | 88 cricket::PROTO_UDP, false}; 91 cricket::PROTO_UDP, false};
|
D | regathering_controller_unittest.cc | 70 cricket::ProtocolAddress(kTurnUdpIntAddr, cricket::PROTO_UDP)); in InitializeAndGatherOnce()
|
D | stun_port.cc | 357 return PROTO_UDP; in GetProtocol() 409 Port::OnReadPacket(data, size, remote_addr, PROTO_UDP); in OnReadPacket()
|
D | turn_server.h | 47 TurnServerConnection() : proto_(PROTO_UDP), socket_(NULL) {} in TurnServerConnection()
|
D | p2p_transport_channel_unittest.cc | 163 cricket::ProtocolAddress(turn_server_udp, cricket::PROTO_UDP)); in CreateBasicPortAllocator() 3445 port->SignalUnknownAddress(port, rtc::SocketAddress("1.1.1.1", 1), PROTO_UDP, in TEST_F() 3616 port->SignalUnknownAddress(port, rtc::SocketAddress("1.1.1.1", 1), PROTO_UDP, in TEST_F() 3623 port->SignalUnknownAddress(port, rtc::SocketAddress("3.3.3.3", 1), PROTO_UDP, in TEST_F() 3842 port->SignalUnknownAddress(port, rtc::SocketAddress("1.1.1.1", 1), PROTO_UDP, in TEST_F() 3866 port->SignalUnknownAddress(port, rtc::SocketAddress("3.3.3.3", 3), PROTO_UDP, in TEST_F() 3878 port->SignalUnknownAddress(port, rtc::SocketAddress("4.4.4.4", 4), PROTO_UDP, in TEST_F() 3893 port->SignalUnknownAddress(port, rtc::SocketAddress("5.5.5.5", 5), PROTO_UDP, in TEST_F() 3940 port->SignalUnknownAddress(port, rtc::SocketAddress("3.3.3.3", 3), PROTO_UDP, in TEST_F()
|
D | port.cc | 43 case cricket::ProtocolType::PROTO_UDP: in ConvertProtocolTypeToPacketInfoProtocolType()
|
D | turn_server.cc | 554 if (iter != server_sockets_.end() && iter->second != cricket::PROTO_UDP) { in OnAllocationDestroyed()
|
/external/webrtc/p2p/client/ |
D | basic_port_allocator_unittest.cc | 116 port->GetProtocol() == cricket::PROTO_UDP)) { in CheckStunKeepaliveIntervalOfAllReadyPorts() 225 turn_server.ports.push_back(ProtocolAddress(udp_turn, PROTO_UDP)); in CreateTurnServers() 573 turn_server_.AddInternalSocket(kTurnUdpIntIPv6Addr, PROTO_UDP); in TestIPv6TurnPortPrunesIPv4TurnPort() 597 EXPECT_EQ(1, CountPorts(ports_, "local", PROTO_UDP, kClientAddr)); in TestIPv6TurnPortPrunesIPv4TurnPort() 598 EXPECT_EQ(1, CountPorts(ports_, "local", PROTO_UDP, kClientIPv6Addr)); in TestIPv6TurnPortPrunesIPv4TurnPort() 599 EXPECT_EQ(1, CountPorts(ports_, "relay", PROTO_UDP, kClientIPv6Addr)); in TestIPv6TurnPortPrunesIPv4TurnPort() 600 EXPECT_EQ(0, CountPorts(ports_, "relay", PROTO_UDP, kClientAddr)); in TestIPv6TurnPortPrunesIPv4TurnPort() 638 EXPECT_EQ(1, CountPorts(ports_, "local", PROTO_UDP, kClientAddr)); in TestTurnPortPrunesWithUdpAndTcpPorts() 641 CountPorts(ports_, "relay", PROTO_UDP, kClientAddr)); in TestTurnPortPrunesWithUdpAndTcpPorts() 663 turn_server_.AddInternalSocket(kTurnUdpIntIPv6Addr, PROTO_UDP); in TestEachInterfaceHasItsOwnTurnPorts() [all …]
|
D | basic_port_allocator.cc | 56 case cricket::PROTO_UDP: in GetProtocolPriority() 508 (port->Type() == LOCAL_PORT_TYPE && port->GetProtocol() == PROTO_UDP)) { in SetStunKeepaliveIntervalForReadyPorts() 1299 p.port()->GetProtocol() == PROTO_UDP && in DisableEquivalentPhases() 1518 relay_port->proto == PROTO_UDP) { in CreateTurnPort() 1552 relay_port->proto == PROTO_UDP && udp_socket_) { in CreateTurnPort() 1671 ServerAddresses turn_servers = GetRelayServerAddresses(PROTO_UDP); in StunServers()
|
/external/webrtc/pc/ |
D | ice_server_parsing_unittest.cc | 87 EXPECT_EQ(cricket::PROTO_UDP, turn_servers_[0].ports[0].proto); in TEST_F() 123 EXPECT_EQ(cricket::PROTO_UDP, turn_servers_[0].ports[0].proto); in TEST_F() 195 EXPECT_EQ(cricket::PROTO_UDP, turn_servers_[0].ports[0].proto); in TEST_F()
|
D | peer_connection_factory_unittest.cc | 295 kTurnPassword, cricket::PROTO_UDP); in TEST_F() 326 kTurnPassword, cricket::PROTO_UDP); in TEST_F() 351 kTurnPassword, cricket::PROTO_UDP); in TEST_F() 449 kTurnPassword, cricket::PROTO_UDP); in TEST_F()
|
D | ice_server_parsing.cc | 154 cricket::ProtocolType turn_transport_type = cricket::PROTO_UDP; in ParseIceServerUrl() 171 (turn_transport_type != cricket::PROTO_UDP && in ParseIceServerUrl()
|
D | peer_connection_rampup_tests.cc | 358 CreateTurnServer(cricket::ProtocolType::PROTO_UDP); in TEST_F()
|
D | webrtc_sdp.cc | 1092 case cricket::PROTO_UDP: in ParseCandidate()
|
D | peer_connection_integrationtest.cc | 1444 cricket::ProtocolType type = cricket::ProtocolType::PROTO_UDP, in CreateTurnServer()
|
/external/webrtc/examples/turnserver/ |
D | turnserver_main.cc | 90 server.AddInternalSocket(int_socket, cricket::PROTO_UDP); in main()
|