Home
last modified time | relevance | path

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

/external/chromium_org/third_party/webrtc/base/
Dasyncudpsocket.cc18 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 …]
Dasyncudpsocket.h22 class AsyncUDPSocket : public AsyncPacketSocket {
27 static AsyncUDPSocket* Create(AsyncSocket* socket,
31 static AsyncUDPSocket* Create(SocketFactory* factory,
33 explicit AsyncUDPSocket(AsyncSocket* socket);
34 virtual ~AsyncUDPSocket();
Dnatserver.h76 TransEntry(const SocketAddressPair& r, AsyncUDPSocket* s, NAT* nat);
83 AsyncUDPSocket* socket;
101 AsyncUDPSocket* server_socket_;
Dasyncudpsocket_unittest.cc29 udp_socket_(new AsyncUDPSocket(socket_)), in AsyncUdpSocketTest()
43 scoped_ptr<AsyncUDPSocket> udp_socket_;
Dnatserver.cc72 server_socket_ = AsyncUDPSocket::Create(internal, internal_addr); in NATServer()
147 AsyncUDPSocket* socket = AsyncUDPSocket::Create(external_, external_ip_); in Translate()
166 const SocketAddressPair& r, AsyncUDPSocket* s, NAT* nat) in TransEntry()
Dvirtualsocket_unittest.cc31 : thread(th), socket(new AsyncUDPSocket(s)), in Sender()
63 scoped_ptr<AsyncUDPSocket> socket;
74 : thread(th), socket(new AsyncUDPSocket(s)), bandwidth(bw), done(false), in Receiver()
116 scoped_ptr<AsyncUDPSocket> socket;
161 TestClient* client1 = new TestClient(new AsyncUDPSocket(socket)); in BasicTest()
164 TestClient* client2 = new TestClient(new AsyncUDPSocket(socket2)); in BasicTest()
177 client2 = new TestClient(AsyncUDPSocket::Create(ss_, empty)); in BasicTest()
746 TestClient* client1 = new TestClient(new AsyncUDPSocket(socket)); in CrossFamilyDatagramTest()
750 TestClient* client2 = new TestClient(new AsyncUDPSocket(socket2)); in CrossFamilyDatagramTest()
Dtestclient_unittest.cc27 TestClient client(new AsyncUDPSocket(socket)); in TestUdpInternal()
Dnat_unittest.cc35 AsyncUDPSocket* socket = AsyncUDPSocket::Create(factory, local_addr); in CreateTestClient()
Dthread_unittest.cc54 : socket_(AsyncUDPSocket::Create(socket, addr)), in SocketClient()
77 AsyncUDPSocket* socket_;
Dsocket_unittest.cc877 new TestClient(AsyncUDPSocket::Create(ss_, addr1))); in UdpInternal()
879 new TestClient(AsyncUDPSocket::Create(ss_, empty))); in UdpInternal()
891 client2.reset(new TestClient(AsyncUDPSocket::Create(ss_, empty))); in UdpInternal()
918 new TestClient(AsyncUDPSocket::Create(ss_, empty))); in UdpReadyToSend()
/external/chromium_org/third_party/libjingle/source/talk/examples/relayserver/
Drelayserver_main.cc55 rtc::scoped_ptr<rtc::AsyncUDPSocket> int_socket( in main()
56 rtc::AsyncUDPSocket::Create(pthMain->socketserver(), int_addr)); in main()
63 rtc::scoped_ptr<rtc::AsyncUDPSocket> ext_socket( in main()
64 rtc::AsyncUDPSocket::Create(pthMain->socketserver(), ext_addr)); in main()
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
Drelayport_unittest.cc107 rtc::AsyncUDPSocket* ext_socket = in SetUp()
129 rtc::AsyncUDPSocket* internal_udp_socket = in TestConnectUdp()
232 rtc::AsyncUDPSocket* CreateAsyncUdpSocket(const SocketAddress addr) { in CreateAsyncUdpSocket()
235 rtc::AsyncUDPSocket* packet_socket = in CreateAsyncUdpSocket()
236 rtc::AsyncUDPSocket::Create(socket, addr); in CreateAsyncUdpSocket()
Dteststunserver.h44 udp_socket_(rtc::AsyncUDPSocket::Create(socket_, addr)), in TestStunServer()
49 rtc::AsyncUDPSocket* udp_socket_;
Dstunserver.h42 explicit StunServer(rtc::AsyncUDPSocket* socket);
73 rtc::scoped_ptr<rtc::AsyncUDPSocket> socket_;
Dstunserver_unittest.cc52 rtc::AsyncUDPSocket::Create(ss_.get(), server_addr))); in SetUp()
54 rtc::AsyncUDPSocket::Create(ss_.get(), client_addr))); in SetUp()
Dtestrelayserver.h51 server_.AddInternalSocket(rtc::AsyncUDPSocket::Create( in TestRelayServer()
53 server_.AddExternalSocket(rtc::AsyncUDPSocket::Create( in TestRelayServer()
Drelayserver_unittest.cc74 rtc::AsyncUDPSocket::Create(ss_, server_int_addr)); in SetUp()
76 rtc::AsyncUDPSocket::Create(ss_, server_ext_addr)); in SetUp()
79 rtc::AsyncUDPSocket::Create(ss_, client1_addr))); in SetUp()
81 rtc::AsyncUDPSocket::Create(ss_, client2_addr))); in SetUp()
Dstunserver.cc35 StunServer::StunServer(rtc::AsyncUDPSocket* socket) : socket_(socket) { in StunServer()
Dtestturnserver.h94 server_.AddInternalSocket(rtc::AsyncUDPSocket::Create( in AddInternalSocket()
Dbasicpacketsocketfactory.cc78 return new rtc::AsyncUDPSocket(socket); in CreateUdpSocket()
/external/chromium_org/third_party/libjingle/source/talk/examples/stunserver/
Dstunserver_main.cc53 rtc::AsyncUDPSocket* server_socket = in main()
54 rtc::AsyncUDPSocket::Create(pthMain->socketserver(), server_addr); in main()
/external/chromium_org/third_party/libjingle/source/talk/examples/turnserver/
Dturnserver_main.cc81 rtc::AsyncUDPSocket* int_socket = in main()
82 rtc::AsyncUDPSocket::Create(main->socketserver(), int_addr); in main()