Lines Matching defs:port2
371 Port* port2 = CreateUdpPort(kLocalAddr2);
372 TestConnectivity("udp", port1, "udp", port2, true, true, true, true);
377 Port* port2 = CreateStunPort(kLocalAddr2, &nat_socket_factory2_);
378 TestConnectivity("udp", port1, StunName(ntype), port2,
384 Port* port2 = CreateRelayPort(kLocalAddr2, rtype, proto, PROTO_UDP);
385 TestConnectivity("udp", port1, RelayName(rtype, proto), port2,
391 Port* port2 = CreateUdpPort(kLocalAddr2);
392 TestConnectivity(StunName(ntype), port1, "udp", port2,
399 Port* port2 = CreateStunPort(kLocalAddr2, &nat_socket_factory2_);
400 TestConnectivity(StunName(ntype1), port1, StunName(ntype2), port2,
408 Port* port2 = CreateRelayPort(kLocalAddr2, rtype, proto, PROTO_UDP);
409 TestConnectivity(StunName(ntype), port1, RelayName(rtype, proto), port2,
414 Port* port2 = CreateTcpPort(kLocalAddr2);
415 TestConnectivity("tcp", port1, "tcp", port2, true, false, true, true);
419 Port* port2 = CreateRelayPort(kLocalAddr2, rtype, proto, PROTO_TCP);
420 TestConnectivity("tcp", port1, RelayName(rtype, proto), port2,
425 Port* port2 = CreateRelayPort(kLocalAddr2, rtype, proto, PROTO_SSLTCP);
426 TestConnectivity("ssltcp", port1, RelayName(rtype, proto), port2,
540 // This does all the work and then deletes |port1| and |port2|.
542 const char* name2, Port* port2,
631 const char* name2, Port* port2,
636 port2->set_component(cricket::ICE_CANDIDATE_COMPONENT_DEFAULT);
639 TestChannel ch1(port1, port2);
640 TestChannel ch2(port2, port1);
1087 UDPPort* port2 = CreateUdpPort(kLocalAddr2);
1088 port2->SetIceRole(cricket::ICEROLE_CONTROLLED);
1089 port2->SetIceTiebreaker(kTiebreaker2);
1090 ASSERT_EQ(cricket::ICEPROTO_RFC5245, port2->IceProtocol());
1092 TestConnectivity("udp", port1, "udp", port2, true, true, true, true);
2308 UDPPort* port2 = CreateUdpPort(kLocalAddr2);
2311 TestChannel ch1(port1, port2);
2312 TestChannel ch2(port2, port1);
2377 UDPPort* port2 = CreateUdpPort(kLocalAddr2);
2380 TestChannel ch1(port1, port2);
2381 TestChannel ch2(port2, port1);
2475 UDPPort* port2 = CreateUdpPort(kLocalAddr2);
2476 port2->SetIceRole(cricket::ICEROLE_CONTROLLED);
2477 port2->SetIceTiebreaker(kTiebreaker2);
2480 TestChannel ch1(port1, port2);
2481 TestChannel ch2(port2, port1);
2499 UDPPort* port2 = CreateUdpPort(kLocalAddr2);
2500 ConnectToSignalDestroyed(port2);
2501 port2->set_timeout_delay(10); // milliseconds
2502 port2->SetIceRole(cricket::ICEROLE_CONTROLLED);
2503 port2->SetIceTiebreaker(kTiebreaker2);
2509 port2->set_component(cricket::ICE_CANDIDATE_COMPONENT_DEFAULT);
2512 TestChannel ch1(port1, port2);
2513 TestChannel ch2(port2, port1);