Home
last modified time | relevance | path

Searched refs:remote_addr (Results 1 – 25 of 65) sorted by relevance

123

/external/webrtc/webrtc/p2p/base/
Dstunserver.cc28 const rtc::SocketAddress& remote_addr, in OnPacket() argument
43 OnBindingRequest(&msg, remote_addr); in OnPacket()
47 SendErrorResponse(msg, remote_addr, 600, "Operation Not Supported"); in OnPacket()
52 StunMessage* msg, const rtc::SocketAddress& remote_addr) { in OnBindingRequest() argument
54 GetStunBindReqponse(msg, remote_addr, &response); in OnBindingRequest()
55 SendResponse(response, remote_addr); in OnBindingRequest()
83 const rtc::SocketAddress& remote_addr, in GetStunBindReqponse() argument
95 mapped_addr->SetAddress(remote_addr); in GetStunBindReqponse()
Dteststunserver.h42 const rtc::SocketAddress& remote_addr) override { in OnBindingRequest() argument
44 StunServer::OnBindingRequest(msg, remote_addr); in OnBindingRequest()
48 SendResponse(response, remote_addr); in OnBindingRequest()
Dstunserver.h33 const rtc::SocketAddress& remote_addr,
57 const rtc::SocketAddress& remote_addr,
Drelayserver.cc56 const rtc::SocketAddress& remote_addr, int error_code, in SendStunError() argument
78 SendStun(err_msg, socket, remote_addr); in SendStunError()
183 const rtc::SocketAddress& remote_addr, in OnInternalPacket() argument
187 rtc::SocketAddressPair ap(remote_addr, socket->GetLocalAddress()); in OnInternalPacket()
228 const rtc::SocketAddress& remote_addr, in OnExternalPacket() argument
232 rtc::SocketAddressPair ap(remote_addr, socket->GetLocalAddress()); in OnExternalPacket()
296 const char* bytes, size_t size, const rtc::SocketAddress& remote_addr, in HandleStun() argument
310 SendStunError(*msg, socket, remote_addr, 432, "Missing Username", ""); in HandleStun()
Dturnport.h99 const rtc::SocketAddress& remote_addr, in HandleIncomingPacket() argument
101 OnReadPacket(socket, data, size, remote_addr, packet_time); in HandleIncomingPacket()
106 const rtc::SocketAddress& remote_addr,
226 const rtc::SocketAddress& remote_addr,
Drelayserver.h90 const rtc::SocketAddress& remote_addr,
94 const rtc::SocketAddress& remote_addr,
101 const rtc::SocketAddress& remote_addr,
Dstunport.cc320 const rtc::SocketAddress& remote_addr, in OnReadPacket() argument
323 ASSERT(!remote_addr.IsUnresolvedIP()); in OnReadPacket()
329 if (server_addresses_.find(remote_addr) != server_addresses_.end()) { in OnReadPacket()
334 if (Connection* conn = GetConnection(remote_addr)) { in OnReadPacket()
337 Port::OnReadPacket(data, size, remote_addr, PROTO_UDP); in OnReadPacket()
Dasyncstuntcpsocket.cc87 rtc::SocketAddress remote_addr(GetRemoteAddress()); in ProcessInput() local
111 SignalReadPacket(this, data, expected_pkt_len, remote_addr, in ProcessInput()
Dstunport.h92 const rtc::SocketAddress& remote_addr, in HandleIncomingPacket() argument
95 OnReadPacket(socket, data, size, remote_addr, packet_time); in HandleIncomingPacket()
141 const rtc::SocketAddress& remote_addr,
Dtcpport.h97 const rtc::SocketAddress& remote_addr,
163 const rtc::SocketAddress& remote_addr,
Dtcpport.cc285 const rtc::SocketAddress& remote_addr, in OnReadPacket() argument
287 Port::OnReadPacket(data, size, remote_addr, PROTO_TCP); in OnReadPacket()
472 const rtc::SocketAddress& remote_addr, in OnReadPacket() argument
Drelayport.cc145 const rtc::SocketAddress& remote_addr,
393 const rtc::SocketAddress& remote_addr, in OnReadPacket() argument
396 if (Connection* conn = GetConnection(remote_addr)) { in OnReadPacket()
399 Port::OnReadPacket(data, size, remote_addr, proto); in OnReadPacket()
684 const rtc::SocketAddress& remote_addr, in OnReadPacket() argument
/external/webrtc/webrtc/base/
Dnatsocketfactory.cc24 const SocketAddress& remote_addr) { in PackAddressForNAT() argument
25 const IPAddress& ip = remote_addr.ipaddr(); in PackAddressForNAT()
30 *(reinterpret_cast<uint16_t*>(&buf[2])) = HostToNetwork16(remote_addr.port()); in PackAddressForNAT()
49 SocketAddress* remote_addr) { in UnpackAddressFromNAT() argument
57 *remote_addr = SocketAddress(IPAddress(*v4addr), port); in UnpackAddressFromNAT()
62 *remote_addr = SocketAddress(IPAddress(*v6addr), port); in UnpackAddressFromNAT()
169 SocketAddress remote_addr; in RecvFrom() local
173 int result = socket_->RecvFrom(buf_, size_, &remote_addr); in RecvFrom()
175 ASSERT(remote_addr == server_addr_); in RecvFrom()
Dvirtualsocketserver.cc336 SocketAddress remote_addr(listen_queue_->front()); in Accept() local
337 int result = socket->InitiateConnect(remote_addr, false); in Accept()
343 socket->CompleteConnect(remote_addr, false); in Accept()
345 *paddr = remote_addr; in Accept()
733 const SocketAddress& remote_addr, in Connect() argument
736 VirtualSocket* remote = LookupBinding(remote_addr); in Connect()
739 << socket->GetLocalAddress() << " and " << remote_addr; in Connect()
747 LOG(LS_INFO) << "No one listening at " << remote_addr; in Connect()
764 const SocketAddress& remote_addr) { in SendUdp() argument
771 VirtualSocket* recipient = LookupBinding(remote_addr); in SendUdp()
[all …]
Dasyncudpsocket.cc105 SocketAddress remote_addr; in OnReadEvent() local
106 int len = socket_->RecvFrom(buf_, size_, &remote_addr); in OnReadEvent()
120 SignalReadPacket(this, buf_, static_cast<size_t>(len), remote_addr, in OnReadEvent()
Dnatserver.cc182 const SocketAddress& remote_addr, const PacketTime& packet_time) { in OnExternalUDPPacket() argument
190 if (ShouldFilterOut(iter->second, remote_addr)) { in OnExternalUDPPacket()
191 LOG(LS_INFO) << "Packet from " << remote_addr.ToSensitiveString() in OnExternalUDPPacket()
201 remote_addr); in OnExternalUDPPacket()
Dtestclient.cc122 size_t size, const SocketAddress& remote_addr, in OnPacket() argument
125 packets_->push_back(new Packet(remote_addr, buf, size)); in OnPacket()
Dnatsocketfactory.h161 const SocketAddress& remote_addr);
163 SocketAddress* remote_addr);
/external/mtpd/
Dpptp.c348 static struct in_addr get_local_addr(struct in_addr remote_addr) in get_local_addr() argument
355 addr.sin_addr = remote_addr; in get_local_addr()
386 struct in_addr remote_addr; /* server IP address */ in create_pppox_pptp() local
389 remote_addr = get_addr_by_name(remote_name); in create_pppox_pptp()
390 local_addr = get_local_addr(remote_addr); in create_pppox_pptp()
400 dst.sa_addr.pptp.sin_addr = remote_addr; in create_pppox_pptp()
/external/kernel-headers/original/uapi/rdma/
Dvmw_pvrdma-abi.h238 __aligned_u64 remote_addr; member
243 __aligned_u64 remote_addr; member
250 __aligned_u64 remote_addr; member
Drdma_user_rxe.h81 __aligned_u64 remote_addr; member
86 __aligned_u64 remote_addr; member
/external/curl/lib/
Dtftp.c137 struct Curl_sockaddr_storage remote_addr; member
624 (struct sockaddr *)&state->remote_addr, in tftp_rx()
649 (struct sockaddr *)&state->remote_addr, in tftp_rx()
675 (struct sockaddr *)&state->remote_addr, in tftp_rx()
689 (struct sockaddr *)&state->remote_addr, in tftp_rx()
749 (struct sockaddr *)&state->remote_addr, in tftp_tx()
794 (struct sockaddr *)&state->remote_addr, in tftp_tx()
820 (struct sockaddr *)&state->remote_addr, in tftp_tx()
837 (struct sockaddr *)&state->remote_addr, in tftp_tx()
1121 memcpy(&state->remote_addr, &fromaddr, fromlen); in tftp_receive_packet()
/external/autotest/client/common_lib/feedback/
Dtester_feedback_client.py24 def __init__(self, test_name, dut_name, remote_addr): argument
33 self._remote_addr = remote_addr
/external/python/cpython3/Lib/asyncio/
Dbase_events.py1144 local_addr=None, remote_addr=None, *, argument
1153 if (local_addr or remote_addr or
1157 opts = dict(local_addr=local_addr, remote_addr=remote_addr,
1168 if not (local_addr or remote_addr):
1173 for addr in (local_addr, remote_addr):
1177 (local_addr, remote_addr)), )
1181 for idx, addr in ((0, local_addr), (1, remote_addr)):
1202 (remote_addr and addr_pair[1] is None))]
1231 if remote_addr:
1255 local_addr, remote_addr, transport, protocol)
[all …]
/external/tensorflow/tensorflow/contrib/verbs/
Dgrpc_verbs_service.cc135 rmr.remote_addr = mr.remote_addr(); in GetRemoteAddressSync()

123