/external/qemu/ |
migration-tcp.c | 136 socklen_t addrlen = sizeof(addr); local 142 c = accept(s, (struct sockaddr *)&addr, &addrlen);
|
/development/samples/ToyVpn/server/linux/ |
ToyVpnServer.cpp | 109 socklen_t addrlen; local 111 addrlen = sizeof(addr); 113 (sockaddr *)&addr, &addrlen); 121 connect(tunnel, (sockaddr *)&addr, addrlen);
|
/external/chromium/net/websockets/ |
websocket_throttle_unittest.cc | 39 int addrlen = sizeof(struct sockaddr_in); local 40 addrinfo->ai_addrlen = addrlen; 41 addrinfo->ai_addr = reinterpret_cast<sockaddr*>(new char[addrlen]); 42 memset(addrinfo->ai_addr, 0, sizeof(addrlen));
|
/external/dropbear/ |
svr-tcpfwd.c | 141 unsigned int addrlen; local 148 bindaddr = buf_getstring(ses.payload, &addrlen); 149 if (addrlen > MAX_IP_LEN) { 150 TRACE(("addr len too long: %d", addrlen)) 176 unsigned int addrlen; local 182 bindaddr = buf_getstring(ses.payload, &addrlen); 183 if (addrlen > MAX_IP_LEN) { 184 TRACE(("addr len too long: %d", addrlen))
|
/external/iputils/ninfod/ |
ninfod.h | 62 socklen_t addrlen; member in struct:packetcontext
|
/external/linux-tools-perf/util/ui/browsers/ |
map.c | 50 u8 addrlen; member in struct:map_browser 62 mb->addrlen, sym->start, mb->addrlen, sym->end, 65 width = self->width - ((mb->addrlen * 2) + 4); 154 mb.addrlen = snprintf(tmp, sizeof(tmp), "%" PRIx64, maxaddr);
|
/art/runtime/jdwp/ |
jdwp_socket.cc | 214 socklen_t addrlen; local 223 addrlen = sizeof(addr); 225 sock = accept(listenSock, &addr.addrPlain, &addrlen); 429 socklen_t addrlen; local 431 tmpSock = accept(listenSock, &addr.addrPlain, &addrlen);
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
socket_test.cc | 160 socklen_t addrlen = 4; local 162 EXPECT_LT(ki_recvfrom(123, NULL, len, 0, &addr, &addrlen), 0); 166 EXPECT_LT(ki_recvfrom(-1, buf, len, 0, &addr, &addrlen), 0); 168 EXPECT_LT(ki_recvfrom(0, buf, len, 0, &addr, &addrlen), 0); 199 socklen_t addrlen = 4; local 201 EXPECT_LT(ki_sendto(123, NULL, len, 0, &addr, addrlen), 0); 203 EXPECT_LT(ki_sendto(-1, buf, len, 0, &addr, addrlen), 0); 205 EXPECT_LT(ki_sendto(0, buf, len, 0, &addr, addrlen), 0);
|
/external/clang/test/Analysis/ |
casts.c | 22 socklen_t addrlen = sizeof(storage); local 23 getsockname(sock, sockaddr, &addrlen);
|
/external/qemu/slirp/ |
socket.c | 447 socklen_t addrlen = sizeof(struct sockaddr_in); local 457 (struct sockaddr *)&addr, &addrlen); 503 (struct sockaddr *)&addr, &addrlen); 600 socklen_t addrlen = sizeof(addr); local 652 getsockname(s,(struct sockaddr *)&addr,&addrlen);
|
misc.c | 252 socklen_t addrlen = sizeof(addr); local 284 bind(s, (struct sockaddr *)&addr, addrlen) < 0 || 310 getsockname(s, (struct sockaddr *)&addr, &addrlen); 319 ret = connect(s, (struct sockaddr *)&addr, addrlen); 386 so->s = accept(s, (struct sockaddr *)&addr, &addrlen);
|
tcp_subr.c | 435 socklen_t addrlen = sizeof(struct sockaddr_in); local 452 closesocket(accept(inso->s,(struct sockaddr *)&addr,&addrlen)); 465 if ((s = accept(inso->s,(struct sockaddr *)&addr,&addrlen)) < 0) { 633 socklen_t addrlen = sizeof(struct sockaddr_in); local 651 (struct sockaddr *)&addr, &addrlen) == 0) [all...] |
udp.c | 407 socklen_t addrlen = sizeof(addr); local 448 if (getsockname(so->s, (struct sockaddr *)&addr, &addrlen) < 0) 526 addrlen = sizeof(addr); 529 &addrlen); 618 if (getsockname(so->s, (struct sockaddr *)&addr, &addrlen) < 0) 634 socklen_t addrlen = sizeof(struct sockaddr_in), opt = 1; local 648 if (bind(so->s,(struct sockaddr *)&addr, addrlen) < 0) { 655 getsockname(so->s,(struct sockaddr *)&addr,&addrlen);
|
/system/core/libnl_2/ |
netlink.c | 251 socklen_t addrlen; local 268 addrlen = sizeof(addr); 269 getsockname(sk->s_fd, &addr, &addrlen);
|
/art/jdwpspy/ |
Net.cpp | 366 socklen_t addrlen; local 374 addrlen = sizeof(addr); 376 sock = accept(netState->listenSock, (sockaddr*) &addr, &addrlen);
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
macasyncsocket.cc | 52 socklen_t addrlen = sizeof(addr); local 54 reinterpret_cast<sockaddr*>(&addr), &addrlen); 68 socklen_t addrlen = sizeof(addr); local 70 reinterpret_cast<sockaddr*>(&addr), &addrlen);
|
/external/chromium_org/third_party/openssl/openssl/crypto/bio/ |
b_sock.c | 633 socklen_t addrlen; local 708 addrlen = res->ai_addrlen <= (socklen_t)sizeof(server) ? 711 memcpy(&server, res->ai_addr, (size_t)addrlen); 723 addrlen = (socklen_t)sizeof(server.sa_in); 757 if (bind(s,&server.sa,addrlen) == -1) 792 ii=connect(cs,&client.sa,addrlen);
|
/external/chromium_org/tools/android/forwarder2/ |
socket.cc | 180 socklen_t addrlen = 0; local 186 addrlen = sizeof(addr.addr4); 190 addrlen = sizeof(addr.addr6); 193 if (getsockname(socket_, addr_ptr, &addrlen) != 0) {
|
/external/iptables/libipq/ |
libipq.c | 127 unsigned int addrlen; local 135 addrlen = sizeof(h->peer); 168 (struct sockaddr *)&h->peer, &addrlen); 173 if (addrlen != sizeof(h->peer)) {
|
/external/openssh/ |
canohost.c | 250 socklen_t addrlen; local 255 addrlen = sizeof(addr); 259 if (getpeername(sock, (struct sockaddr *)&addr, &addrlen) 263 if (getsockname(sock, (struct sockaddr *)&addr, &addrlen) 270 addrlen = sizeof(struct sockaddr_in6); 272 ipv64_normalise_mapped(&addr, &addrlen); 275 if ((r = getnameinfo((struct sockaddr *)&addr, addrlen, ntop,
|
/external/openssl/crypto/bio/ |
b_sock.c | 633 socklen_t addrlen; local 708 addrlen = res->ai_addrlen <= (socklen_t)sizeof(server) ? 711 memcpy(&server, res->ai_addr, (size_t)addrlen); 723 addrlen = (socklen_t)sizeof(server.sa_in); 757 if (bind(s,&server.sa,addrlen) == -1) 792 ii=connect(cs,&client.sa,addrlen);
|
/external/wpa_supplicant_8/wpa_supplicant/ |
ctrl_iface_udp.c | 34 socklen_t addrlen; member in struct:wpa_ctrl_dst 63 dst->addrlen = fromlen; 395 dst->addrlen);
|
ctrl_iface_unix.c | 40 socklen_t addrlen; member in struct:wpa_ctrl_dst 76 dst->addrlen = fromlen; 93 if (fromlen == dst->addrlen && 120 if (fromlen == dst->addrlen && 609 (u8 *) dst->addr.sun_path, dst->addrlen - 612 msg.msg_namelen = dst->addrlen; 624 dst->addrlen);
|
/dalvik/vm/jdwp/ |
JdwpSocket.cpp | 347 socklen_t addrlen; local 355 addrlen = sizeof(addr); 357 sock = accept(netState->listenSock, &addr.addrPlain, &addrlen); 738 socklen_t addrlen; local 741 &addrlen);
|
/external/chromium/net/socket/ |
tcp_client_socket_libevent.cc | 556 socklen_t addrlen = sizeof(source_address); local 558 socket_, reinterpret_cast<struct sockaddr*>(&source_address), &addrlen);
|