/external/webrtc/webrtc/base/ |
D | asyncudpsocket.cc | 18 AsyncUDPSocket* AsyncUDPSocket::Create( in Create() 26 return new AsyncUDPSocket(owned_socket.release()); in Create() 29 AsyncUDPSocket* AsyncUDPSocket::Create(SocketFactory* factory, in Create() 38 AsyncUDPSocket::AsyncUDPSocket(AsyncSocket* socket) in AsyncUDPSocket() function in rtc::AsyncUDPSocket 45 socket_->SignalReadEvent.connect(this, &AsyncUDPSocket::OnReadEvent); in AsyncUDPSocket() 46 socket_->SignalWriteEvent.connect(this, &AsyncUDPSocket::OnWriteEvent); in AsyncUDPSocket() 49 AsyncUDPSocket::~AsyncUDPSocket() { in ~AsyncUDPSocket() 53 SocketAddress AsyncUDPSocket::GetLocalAddress() const { in GetLocalAddress() 57 SocketAddress AsyncUDPSocket::GetRemoteAddress() const { in GetRemoteAddress() 61 int AsyncUDPSocket::Send(const void *pv, size_t cb, in Send() [all …]
|
D | asyncudpsocket.h | 22 class AsyncUDPSocket : public AsyncPacketSocket { 27 static AsyncUDPSocket* Create(AsyncSocket* socket, 31 static AsyncUDPSocket* Create(SocketFactory* factory, 33 explicit AsyncUDPSocket(AsyncSocket* socket); 34 ~AsyncUDPSocket() override;
|
D | natserver.h | 90 TransEntry(const SocketAddressPair& r, AsyncUDPSocket* s, NAT* nat); 97 AsyncUDPSocket* socket; 114 AsyncUDPSocket* udp_server_socket_;
|
D | asyncudpsocket_unittest.cc | 29 udp_socket_(new AsyncUDPSocket(socket_)), in AsyncUdpSocketTest() 43 scoped_ptr<AsyncUDPSocket> udp_socket_;
|
D | natserver.cc | 133 udp_server_socket_ = AsyncUDPSocket::Create(internal, internal_udp_addr); in NATServer() 210 AsyncUDPSocket* socket = AsyncUDPSocket::Create(external_, external_ip_); in Translate() 229 const SocketAddressPair& r, AsyncUDPSocket* s, NAT* nat) in TransEntry()
|
D | virtualsocket_unittest.cc | 32 socket(new AsyncUDPSocket(s)), in Sender() 66 scoped_ptr<AsyncUDPSocket> socket; 78 socket(new AsyncUDPSocket(s)), in Receiver() 126 scoped_ptr<AsyncUDPSocket> socket; 174 TestClient* client1 = new TestClient(new AsyncUDPSocket(socket)); in TestDefaultRoute() 182 TestClient* client2 = new TestClient(new AsyncUDPSocket(socket2)); in TestDefaultRoute() 205 TestClient* client1 = new TestClient(new AsyncUDPSocket(socket)); in BasicTest() 208 TestClient* client2 = new TestClient(new AsyncUDPSocket(socket2)); in BasicTest() 221 client2 = new TestClient(AsyncUDPSocket::Create(ss_, empty)); in BasicTest() 796 TestClient* client1 = new TestClient(new AsyncUDPSocket(socket)); in CrossFamilyDatagramTest() [all …]
|
D | testclient_unittest.cc | 26 TestClient client(new AsyncUDPSocket(socket)); in TestUdpInternal()
|
D | nat_unittest.cc | 36 AsyncUDPSocket* socket = AsyncUDPSocket::Create(factory, local_addr); in CreateTestClient()
|
D | socket_unittest.cc | 878 new TestClient(AsyncUDPSocket::Create(ss_, addr1))); in UdpInternal() 880 new TestClient(AsyncUDPSocket::Create(ss_, empty))); in UdpInternal() 892 client2.reset(new TestClient(AsyncUDPSocket::Create(ss_, empty))); in UdpInternal() 919 new TestClient(AsyncUDPSocket::Create(ss_, empty))); in UdpReadyToSend()
|
D | thread_unittest.cc | 53 : socket_(AsyncUDPSocket::Create(socket, addr)), in SocketClient() 76 AsyncUDPSocket* socket_;
|
/external/webrtc/webrtc/examples/relayserver/ |
D | relayserver_main.cc | 38 rtc::scoped_ptr<rtc::AsyncUDPSocket> int_socket( in main() 39 rtc::AsyncUDPSocket::Create(pthMain->socketserver(), int_addr)); in main() 46 rtc::scoped_ptr<rtc::AsyncUDPSocket> ext_socket( in main() 47 rtc::AsyncUDPSocket::Create(pthMain->socketserver(), ext_addr)); in main()
|
/external/webrtc/webrtc/p2p/base/ |
D | teststunserver.h | 27 rtc::AsyncUDPSocket* udp_socket = in Create() 28 rtc::AsyncUDPSocket::Create(socket, addr); in Create() 39 explicit TestStunServer(rtc::AsyncUDPSocket* socket) : StunServer(socket) {} in TestStunServer()
|
D | relayport_unittest.cc | 81 rtc::AsyncUDPSocket* ext_socket = in SetUp() 103 rtc::AsyncUDPSocket* internal_udp_socket = in TestConnectUdp() 206 rtc::AsyncUDPSocket* CreateAsyncUdpSocket(const SocketAddress addr) { in CreateAsyncUdpSocket() 209 rtc::AsyncUDPSocket* packet_socket = in CreateAsyncUdpSocket() 210 rtc::AsyncUDPSocket::Create(socket, addr); in CreateAsyncUdpSocket()
|
D | stunserver.h | 25 explicit StunServer(rtc::AsyncUDPSocket* socket); 61 rtc::scoped_ptr<rtc::AsyncUDPSocket> socket_;
|
D | stunserver_unittest.cc | 35 rtc::AsyncUDPSocket::Create(ss_.get(), server_addr))); in SetUp() 37 rtc::AsyncUDPSocket::Create(ss_.get(), client_addr))); in SetUp()
|
D | testrelayserver.h | 34 server_.AddInternalSocket(rtc::AsyncUDPSocket::Create( in TestRelayServer() 36 server_.AddExternalSocket(rtc::AsyncUDPSocket::Create( in TestRelayServer()
|
D | relayserver_unittest.cc | 52 rtc::AsyncUDPSocket::Create(ss_.get(), server_int_addr)); in SetUp() 54 rtc::AsyncUDPSocket::Create(ss_.get(), server_ext_addr)); in SetUp() 57 rtc::AsyncUDPSocket::Create(ss_.get(), client1_addr))); in SetUp() 59 rtc::AsyncUDPSocket::Create(ss_.get(), client2_addr))); in SetUp()
|
D | stunserver.cc | 18 StunServer::StunServer(rtc::AsyncUDPSocket* socket) : socket_(socket) { in StunServer()
|
D | testturnserver.h | 77 server_.AddInternalSocket(rtc::AsyncUDPSocket::Create( in AddInternalSocket()
|
D | basicpacketsocketfactory.cc | 63 return new rtc::AsyncUDPSocket(socket); in CreateUdpSocket()
|
/external/webrtc/webrtc/examples/stunserver/ |
D | stunserver_main.cc | 36 rtc::AsyncUDPSocket* server_socket = in main() 37 rtc::AsyncUDPSocket::Create(pthMain->socketserver(), server_addr); in main()
|
/external/webrtc/webrtc/examples/turnserver/ |
D | turnserver_main.cc | 64 rtc::AsyncUDPSocket* int_socket = in main() 65 rtc::AsyncUDPSocket::Create(main->socketserver(), int_addr); in main()
|