Home
last modified time | relevance | path

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

/external/chromium/third_party/libjingle/source/talk/p2p/base/
Dstunserver.cc48 const talk_base::SocketAddress& remote_addr) { in OnPacket() argument
56 SendErrorResponse(msg, remote_addr, 400, "Bad Request"); in OnPacket()
73 OnBindingRequest(&msg, remote_addr); in OnPacket()
77 OnAllocateRequest(&msg, remote_addr); in OnPacket()
81 SendErrorResponse(msg, remote_addr, 600, "Operation Not Supported"); in OnPacket()
86 StunMessage* msg, const talk_base::SocketAddress& remote_addr) { in OnBindingRequest() argument
95 mapped_addr->SetPort(remote_addr.port()); in OnBindingRequest()
96 mapped_addr->SetIP(remote_addr.ip()); in OnBindingRequest()
117 SendResponse(response, remote_addr); in OnBindingRequest()
Dstunport.cc206 const talk_base::SocketAddress& remote_addr) { in OnReadPacket() argument
214 if (remote_addr == server_addr_ || remote_addr == server_addr2_) { in OnReadPacket()
219 if (Connection* conn = GetConnection(remote_addr)) { in OnReadPacket()
222 Port::OnReadPacket(data, size, remote_addr); in OnReadPacket()
Dudpport.cc108 const talk_base::SocketAddress& remote_addr) { in OnReadPacket() argument
110 if (Connection* conn = GetConnection(remote_addr)) { in OnReadPacket()
113 Port::OnReadPacket(data, size, remote_addr); in OnReadPacket()
Dudpport.h76 const talk_base::SocketAddress& remote_addr, bool payload);
84 const talk_base::SocketAddress& remote_addr);
Drelayserver.cc74 const talk_base::SocketAddress& remote_addr, int error_code, in SendStunError() argument
94 SendStun(err_msg, socket, remote_addr); in SendStunError()
196 const talk_base::SocketAddress& remote_addr) { in OnInternalPacket() argument
201 remote_addr, socket->GetLocalAddress(&allocated)); in OnInternalPacket()
243 const talk_base::SocketAddress& remote_addr) { in OnExternalPacket() argument
248 remote_addr, socket->GetLocalAddress(&allocated)); in OnExternalPacket()
313 const char* bytes, size_t size, const talk_base::SocketAddress& remote_addr, in HandleStun() argument
320 SendStunError(*msg, socket, remote_addr, 400, "Bad Request", ""); in HandleStun()
328 SendStunError(*msg, socket, remote_addr, 432, "Missing Username", ""); in HandleStun()
Drelayserver.h106 const talk_base::SocketAddress& remote_addr);
109 const talk_base::SocketAddress& remote_addr);
115 const talk_base::SocketAddress& remote_addr,
Dtcpport.h99 const talk_base::SocketAddress& remote_addr);
131 const talk_base::SocketAddress& remote_addr);
Dtcpport.cc172 const talk_base::SocketAddress& remote_addr) { in OnReadPacket() argument
173 Port::OnReadPacket(data, size, remote_addr); in OnReadPacket()
257 const talk_base::SocketAddress& remote_addr) { in OnReadPacket() argument
Drelayport.cc159 const talk_base::SocketAddress& remote_addr);
365 const talk_base::SocketAddress& remote_addr) { in OnReadPacket() argument
366 if (Connection* conn = GetConnection(remote_addr)) { in OnReadPacket()
369 Port::OnReadPacket(data, size, remote_addr); in OnReadPacket()
646 const talk_base::SocketAddress& remote_addr) { in OnReadPacket() argument
Dstunserver.h50 const talk_base::SocketAddress& remote_addr);
Dstunport.h96 const talk_base::SocketAddress& remote_addr);
Drelayport.h100 const talk_base::SocketAddress& remote_addr);
Dport.h144 Connection* GetConnection(const talk_base::SocketAddress& remote_addr);
Dport.cc163 Connection* Port::GetConnection(const talk_base::SocketAddress& remote_addr) { in GetConnection() argument
164 AddressMap::const_iterator iter = connections_.find(remote_addr); in GetConnection()
/external/bluetooth/bluez/tools/
Dppporc.c113 struct sockaddr_rc remote_addr, local_addr; in create_connection() local
127 memset(&remote_addr, 0, sizeof(remote_addr)); in create_connection()
128 remote_addr.rc_family = AF_BLUETOOTH; in create_connection()
129 bacpy(&remote_addr.rc_bdaddr, bdaddr); in create_connection()
130 remote_addr.rc_channel = channel; in create_connection()
131 if ((err = connect(fd, (struct sockaddr *)&remote_addr, sizeof(remote_addr))) < 0) { in create_connection()
/external/chromium/third_party/libjingle/source/talk/base/
Dasyncudpsocket.cc111 SocketAddress remote_addr; in OnReadEvent() local
112 int len = socket_->RecvFrom(buf_, size_, &remote_addr); in OnReadEvent()
126 SignalReadPacket(this, buf_, (size_t)len, remote_addr); in OnReadEvent()
Dasynctcpsocket.cc174 SocketAddress remote_addr(GetRemoteAddress()); in ProcessInput() local
187 SignalReadPacket(this, data + PKT_LEN_SIZE, pkt_len, remote_addr); in ProcessInput()
/external/chromium/net/tools/flip_server/
Dacceptor_thread.cc84 struct sockaddr_in *remote_addr) { in HandleConnection() argument
103 std::string remote_ip = inet_ntoa(remote_addr->sin_addr); in HandleConnection()
Dacceptor_thread.h65 void HandleConnection(int server_fd, struct sockaddr_in *remote_addr);
/external/netperf/
Dnetlib.h548 extern int dl_connect(int fd, unsigned char *remote_addr, int remote_addr_len);
Dnetlib.c3682 dl_connect(int fd, unsigned char *remote_addr, int remote_addr_len) in dl_connect() argument
3705 bcopy (remote_addr, in dl_connect()
3752 dl_accept(fd, remote_addr, remote_addr_len) in dl_accept() argument
3754 unsigned char *remote_addr;
Dnettest_bsd.c6284 struct sockaddr_storage remote_addr; in recv_udp_stream() local
6479 remote_addrlen = sizeof(remote_addr); in recv_udp_stream()
6482 (struct sockaddr*)&remote_addr, &remote_addrlen); in recv_udp_stream()
6496 (struct sockaddr*)&remote_addr, in recv_udp_stream()
/external/clang/www/demo/
Dindex.cgi443 $ip = $c->remote_addr();
/external/ppp/pppd/
Dsys-solaris.c239 static u_int32_t remote_addr; /* IP address of peer */ variable
2007 remote_addr = h;
2031 remote_addr = 0;
2713 && rp->ipRouteNextHop != remote_addr)