Home
last modified time | relevance | path

Searched refs:socket_factory (Results 1 – 16 of 16) sorted by relevance

/external/webrtc/webrtc/p2p/base/
Dbasicpacketsocketfactory.cc38 SocketFactory* socket_factory) in BasicPacketSocketFactory() argument
40 socket_factory_(socket_factory) { in BasicPacketSocketFactory()
52 socket_factory()->CreateAsyncSocket( in CreateUdpSocket()
78 socket_factory()->CreateAsyncSocket(local_address.family(), in CreateServerTcpSocket()
112 socket_factory()->CreateAsyncSocket(local_address.family(), SOCK_STREAM); in CreateClientTcpSocket()
200 SocketFactory* BasicPacketSocketFactory::socket_factory() { in socket_factory() function in rtc::BasicPacketSocketFactory
Dbasicpacketsocketfactory.h26 explicit BasicPacketSocketFactory(SocketFactory* socket_factory);
50 SocketFactory* socket_factory();
Dport_unittest.cc467 PacketSocketFactory* socket_factory) { in CreateUdpPort() argument
468 return UDPPort::Create(main_, socket_factory, &network_, addr.ipaddr(), 0, in CreateUdpPort()
475 PacketSocketFactory* socket_factory) { in CreateTcpPort() argument
476 return TCPPort::Create(main_, socket_factory, &network_, in CreateTcpPort()
498 PacketSocketFactory* socket_factory, in CreateTurnPort() argument
500 return CreateTurnPort(addr, socket_factory, in CreateTurnPort()
504 PacketSocketFactory* socket_factory, in CreateTurnPort() argument
507 return TurnPort::Create(main_, socket_factory, &network_, in CreateTurnPort()
1422 FakePacketSocketFactory socket_factory; in TEST_F() local
1424 socket_factory.set_next_udp_socket(socket); in TEST_F()
[all …]
Dtcpport.cc105 socket_ = socket_factory()->CreateServerTcpSocket( in Init()
489 socket_.reset(port()->socket_factory()->CreateClientTcpSocket( in CreateOutgoingTcpSocket()
Dstunport.cc217 socket_ = socket_factory()->CreateUdpSocket( in Init()
363 resolver_.reset(new AddressResolver(socket_factory())); in ResolveStunAddress()
Dturnport.cc322 socket_ = socket_factory()->CreateUdpSocket( in CreateTurnClientSocket()
331 socket_ = socket_factory()->CreateClientTcpSocket( in CreateTurnClientSocket()
636 resolver_ = socket_factory()->CreateAsyncResolver(); in ResolveTurnAddress()
Drelayport.cc490 socket = port_->socket_factory()->CreateUdpSocket( in Connect()
496 socket = port_->socket_factory()->CreateClientTcpSocket( in Connect()
Dport.h152 rtc::PacketSocketFactory* socket_factory() const { return factory_; } in socket_factory() function
/external/webrtc/webrtc/p2p/stunprober/
Dstunprober_unittest.cc58 void StartProbing(rtc::PacketSocketFactory* socket_factory, in StartProbing() argument
65 new StunProber(socket_factory, rtc::Thread::Current(), networks)); in StartProbing()
86 rtc::scoped_ptr<rtc::BasicPacketSocketFactory> socket_factory( in RunProber() local
99 StartProbing(socket_factory.get(), addrs, networks, shared_mode, 3, in RunProber()
Dmain.cc122 rtc::scoped_ptr<rtc::BasicPacketSocketFactory> socket_factory( in main() local
129 new StunProber(socket_factory.get(), rtc::Thread::Current(), networks); in main()
Dstunprober.h100 StunProber(rtc::PacketSocketFactory* socket_factory,
Dstunprober.cc230 StunProber::StunProber(rtc::PacketSocketFactory* socket_factory, in StunProber() argument
234 socket_factory_(socket_factory), in StunProber()
/external/webrtc/webrtc/p2p/client/
Dbasicportallocator.cc70 rtc::PacketSocketFactory* socket_factory) in BasicPortAllocator() argument
72 socket_factory_(socket_factory), in BasicPortAllocator()
89 rtc::PacketSocketFactory* socket_factory, in BasicPortAllocator() argument
92 socket_factory_(socket_factory), in BasicPortAllocator()
151 socket_factory_(allocator->socket_factory()), in BasicPortAllocatorSession()
729 udp_socket_.reset(session_->socket_factory()->CreateUdpSocket( in Init()
884 session_->network_thread(), session_->socket_factory(), network_, in CreateUDPPorts()
889 session_->network_thread(), session_->socket_factory(), network_, ip_, in CreateUDPPorts()
923 session_->socket_factory(), in CreateTCPPorts()
953 session_->socket_factory(), in CreateStunPorts()
[all …]
Dbasicportallocator.h28 rtc::PacketSocketFactory* socket_factory);
31 rtc::PacketSocketFactory* socket_factory,
61 rtc::PacketSocketFactory* socket_factory() { return socket_factory_; } in socket_factory() function
106 rtc::PacketSocketFactory* socket_factory() { return socket_factory_; } in socket_factory() function
Dhttpportallocator.cc81 rtc::PacketSocketFactory* socket_factory, in HttpPortAllocatorBase() argument
83 : BasicPortAllocator(network_manager, socket_factory), agent_(user_agent) { in HttpPortAllocatorBase()
Dhttpportallocator.h46 rtc::PacketSocketFactory* socket_factory,