Home
last modified time | relevance | path

Searched refs:SendTo (Results 1 – 25 of 73) sorted by relevance

123

/external/webrtc/rtc_base/
Dnat_unittest.cc93 in->SendTo(buf, len, out[0]->address()); in TestSend()
98 in->SendTo(buf, len, out[i]->address()); in TestSend()
147 in->SendTo(buf, len, out[0]->address()); in TestRecv()
151 out[1]->SendTo(buf, len, trans_addr); in TestRecv()
154 out[2]->SendTo(buf, len, trans_addr); in TestRecv()
157 out[3]->SendTo(buf, len, trans_addr); in TestRecv()
213 int sent = client->SendTo(buf, len, server->GetLocalAddress()); in TestConnectivity()
Dasync_socket.cc48 int AsyncSocketAdapter::SendTo(const void* pv, in SendTo() function in rtc::AsyncSocketAdapter
51 return socket_->SendTo(pv, cb, addr); in SendTo()
Dvirtual_socket_unittest.cc202 EXPECT_EQ(6, client1->SendTo("bizbaz", 6, client2_addr)); in TestDefaultSourceAddress()
208 EXPECT_EQ(3, client2->SendTo("foo", 3, client1_addr)); in TestDefaultSourceAddress()
226 EXPECT_EQ(3, client2->SendTo("foo", 3, server_addr)); in BasicTest()
230 EXPECT_EQ(6, client1->SendTo("bizbaz", 6, client2_addr)); in BasicTest()
240 EXPECT_EQ(3, client2->SendTo("foo", 3, server_addr)); in BasicTest()
246 EXPECT_EQ(6, client1->SendTo("bizbaz", 6, next_client2_addr)); in BasicTest()
829 EXPECT_EQ(3, client2->SendTo("foo", 3, bound_server_addr)); in CrossFamilyDatagramTest()
832 EXPECT_EQ(6, client1->SendTo("bizbaz", 6, client2_addr)); in CrossFamilyDatagramTest()
836 EXPECT_EQ(-1, client2->SendTo("foo", 3, bound_server_addr)); in CrossFamilyDatagramTest()
1033 EXPECT_EQ(-1, client1->SendTo("foo", 3, socket2->GetLocalAddress())); in TEST_F()
[all …]
Dsocket_unittest.cc691 EXPECT_EQ(3, socket1->SendTo("foo", 3, socket1->GetLocalAddress())); in DeleteInReadCallbackInternal()
692 EXPECT_EQ(3, socket2->SendTo("bar", 3, socket1->GetLocalAddress())); in DeleteInReadCallbackInternal()
968 EXPECT_EQ(3, client2->SendTo("foo", 3, addr1)); in UdpInternal()
972 EXPECT_EQ(6, client1->SendTo("bizbaz", 6, addr2)); in UdpInternal()
981 EXPECT_EQ(3, client2->SendTo("foo", 3, addr1)); in UdpInternal()
986 EXPECT_EQ(6, client1->SendTo("bizbaz", 6, addr4)); in UdpInternal()
1023 int ret = client->SendTo(test_packet.get(), test_packet_size, test_addr); in UdpReadyToSend()
1092 socket->SendTo("foo", 3, address); in SocketRecvTimestamp()
1104 socket->SendTo("bar", 3, address); in SocketRecvTimestamp()
1131 client2->SendTo("foo", 3, address); in UdpSocketRecvTimestampUseRtcEpoch()
[all …]
Dasync_udp_socket.cc76 int AsyncUDPSocket::SendTo(const void* pv, in SendTo() function in rtc::AsyncUDPSocket
83 int ret = socket_->SendTo(pv, cb, addr); in SendTo()
Dfirewall_socket_server.cc53 return SendTo(pv, cb, GetRemoteAddress()); in Send()
55 int SendTo(const void* pv, size_t cb, const SocketAddress& addr) override { in SendTo() function in rtc::FirewallSocket
65 return AsyncSocketAdapter::SendTo(pv, cb, addr); in SendTo()
Dtest_client.cc56 int TestClient::SendTo(const char* buf, in SendTo() function in rtc::TestClient
60 return socket_->SendTo(buf, size, dest, options); in SendTo()
Dnat_socket_factory.cc130 return SendTo(data, size, remote_addr_); in Send()
133 int SendTo(const void* data, in SendTo() function in rtc::NATSocket
138 return socket_->SendTo(data, size, addr); in SendTo()
146 int result = socket_->SendTo(buf.get(), encoded_size, server_addr_); in SendTo()
Dnat_server.cc181 iter->second->socket->SendTo(buf + length, size - length, dest_addr, options); in OnInternalUDPPacket()
210 udp_server_socket_->SendTo(real_buf.get(), size + addrlength, in OnExternalUDPPacket()
Dasync_udp_socket.h50 int SendTo(const void* pv,
Dasync_socket.h36 int SendTo(const void* pv, size_t cb, const SocketAddress& addr) override;
Dtest_client_unittest.cc49 EXPECT_EQ(3, client.SendTo("foo", 3, addr)); in TestUdpInternal()
Dtest_client.h73 int SendTo(const char* buf, size_t size, const SocketAddress& dest);
Dasync_tcp_socket.h44 int SendTo(const void* pv,
/external/cronet/net/socket/
Dudp_server_socket.cc59 int UDPServerSocket::SendTo(IOBuffer* buf, in SendTo() function in net::UDPServerSocket
63 return socket_.SendTo(buf, buf_len, address, std::move(callback)); in SendTo()
Ddatagram_server_socket.h53 virtual int SendTo(IOBuffer* buf,
Dudp_server_socket.h38 int SendTo(IOBuffer* buf,
/external/webrtc/test/network/
Dfake_network_socket_server.cc52 int SendTo(const void* pv,
165 return SendTo(pv, cb, remote_addr_); in Send()
168 int FakeNetworkSocket::SendTo(const void* pv, in SendTo() function in webrtc::test::FakeNetworkSocket
/external/openthread/src/core/net/
Dudp6.hpp268 Error SendTo(Message &aMessage, const MessageInfo &aMessageInfo);
514 Error SendTo(SocketHandle &aSocket, Message &aMessage, const MessageInfo &aMessageInfo);
Dudp6.cpp120 Error Udp::Socket::SendTo(Message &aMessage, const MessageInfo &aMessageInfo) in SendTo() function in ot::Ip6::Udp::Socket
122 return Get<Udp>().SendTo(*this, aMessage, aMessageInfo); in SendTo()
333 Error Udp::SendTo(SocketHandle &aSocket, Message &aMessage, const MessageInfo &aMessageInfo) in SendTo() function in ot::Ip6::Udp
/external/cronet/net/tools/quic/
Dquic_simple_server_packet_writer.cc60 rv = socket_->SendTo( in WritePacket()
/external/webrtc/p2p/base/
Dport_interface.h92 virtual int SendTo(const void* data,
Dstun_server.cc83 if (socket_->SendTo(buf.Data(), buf.Length(), addr, options) < 0) in SendResponse()
Dstun_port.cc320 int UDPPort::SendTo(const void* data, in SendTo() function in cricket::UDPPort
327 int sent = socket_->SendTo(data, size, addr, modified_options); in SendTo()
631 if (socket_->SendTo(data, size, sreq->server_addr(), options) < 0) { in OnSendPacket()
/external/cronet/net/dns/
Dmock_mdns_socket_factory.h38 int SendTo(IOBuffer* buf,

123