Home
last modified time | relevance | path

Searched refs:PROTO_UDP (Results 1 – 22 of 22) sorted by relevance

/external/webrtc/p2p/base/
Dturn_port_unittest.cc90 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 …]
Dturn_server_unittest.cc54 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()
Dtest_turn_server.h56 ProtocolType int_protocol = PROTO_UDP,
95 if (proto == cricket::PROTO_UDP) {
Dport_unittest.cc185 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 …]
Dport_interface.h35 PROTO_UDP, enumerator
Dturn_port.cc68 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()
Dport_allocator_unittest.cc88 cricket::PROTO_UDP, false};
91 cricket::PROTO_UDP, false};
Dregathering_controller_unittest.cc70 cricket::ProtocolAddress(kTurnUdpIntAddr, cricket::PROTO_UDP)); in InitializeAndGatherOnce()
Dstun_port.cc357 return PROTO_UDP; in GetProtocol()
409 Port::OnReadPacket(data, size, remote_addr, PROTO_UDP); in OnReadPacket()
Dturn_server.h47 TurnServerConnection() : proto_(PROTO_UDP), socket_(NULL) {} in TurnServerConnection()
Dp2p_transport_channel_unittest.cc163 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()
Dport.cc43 case cricket::ProtocolType::PROTO_UDP: in ConvertProtocolTypeToPacketInfoProtocolType()
Dturn_server.cc554 if (iter != server_sockets_.end() && iter->second != cricket::PROTO_UDP) { in OnAllocationDestroyed()
/external/webrtc/p2p/client/
Dbasic_port_allocator_unittest.cc116 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 …]
Dbasic_port_allocator.cc56 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/
Dice_server_parsing_unittest.cc87 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()
Dpeer_connection_factory_unittest.cc295 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()
Dice_server_parsing.cc154 cricket::ProtocolType turn_transport_type = cricket::PROTO_UDP; in ParseIceServerUrl()
171 (turn_transport_type != cricket::PROTO_UDP && in ParseIceServerUrl()
Dpeer_connection_rampup_tests.cc358 CreateTurnServer(cricket::ProtocolType::PROTO_UDP); in TEST_F()
Dwebrtc_sdp.cc1092 case cricket::PROTO_UDP: in ParseCandidate()
Dpeer_connection_integrationtest.cc1444 cricket::ProtocolType type = cricket::ProtocolType::PROTO_UDP, in CreateTurnServer()
/external/webrtc/examples/turnserver/
Dturnserver_main.cc90 server.AddInternalSocket(int_socket, cricket::PROTO_UDP); in main()