Home
last modified time | relevance | path

Searched refs:remote_addr (Results 1 – 25 of 61) 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.h90 const rtc::SocketAddress& remote_addr,
94 const rtc::SocketAddress& remote_addr,
101 const rtc::SocketAddress& remote_addr,
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.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()
Dasyncstuntcpsocket.cc87 rtc::SocketAddress remote_addr(GetRemoteAddress()); in ProcessInput() local
111 SignalReadPacket(this, data, expected_pkt_len, remote_addr, in ProcessInput()
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()
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,
/external/chromium-trace/catapult/third_party/Paste/paste/
Dtranslogger.py82 remote_addr = '-'
84 remote_addr = environ['HTTP_X_FORWARDED_FOR']
86 remote_addr = environ['REMOTE_ADDR']
88 'REMOTE_ADDR': remote_addr,
/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()
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()
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 …]
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/chromium-trace/catapult/dashboard/dashboard/
Dtesting_common.py31 def __init__(self, remote_addr=None): argument
33 self.remote_addr = remote_addr
136 def PatchDatastoreHooksRequest(self, remote_addr=None): argument
144 mock.MagicMock(return_value=FakeRequestObject(remote_addr)))
Dpost_data_handler.py31 if not whitelist or self.request.remote_addr in whitelist:
45 'IP address %s not in IP whitelist!' % self.request.remote_addr, 403)
/external/chromium-trace/catapult/third_party/Paste/paste/auth/
Dauth_tkt.py309 remote_addr = environ['REMOTE_ADDR']
313 remote_addr = '0.0.0.0'
318 self.secret, cookie_value, remote_addr, self.digest_algo)
355 remote_addr = environ['REMOTE_ADDR']
357 remote_addr = '0.0.0.0'
361 remote_addr,
/external/chromium-trace/catapult/third_party/Paste/tests/
Dtest_grantip.py27 def doit(remote_addr): argument
28 res = app.get('/', extra_environ={'REMOTE_ADDR': remote_addr})
/external/curl/lib/
Dtftp.c136 struct Curl_sockaddr_storage remote_addr; member
614 (struct sockaddr *)&state->remote_addr, in tftp_rx()
639 (struct sockaddr *)&state->remote_addr, in tftp_rx()
665 (struct sockaddr *)&state->remote_addr, in tftp_rx()
679 (struct sockaddr *)&state->remote_addr, in tftp_rx()
738 (struct sockaddr *)&state->remote_addr, in tftp_tx()
771 (struct sockaddr *)&state->remote_addr, in tftp_tx()
797 (struct sockaddr *)&state->remote_addr, in tftp_tx()
814 (struct sockaddr *)&state->remote_addr, in tftp_tx()
1097 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/chromium-trace/catapult/third_party/WebOb/docs/pycon2011/
Drequest_table.rst47 remote_addr remote_addr
/external/lldb/include/lldb/Expression/
DIRExecutionUnit.h434 lldb::addr_t remote_addr = LLDB_INVALID_ADDRESS) :
437 m_remote_addr (remote_addr) in m_name()

123