/system/core/libnetutils/ |
ifc_utils.c | 252 size_t addrlen; local 284 addrlen = INET_ADDRLEN; 288 addrlen = INET6_ADDRLEN; 310 rta->rta_len = RTA_LENGTH(addrlen); 311 req.n.nlmsg_len = NLMSG_ALIGN(req.n.nlmsg_len) + RTA_LENGTH(addrlen); 312 memcpy(RTA_DATA(rta), addr, addrlen); local
|
/external/openssh/ |
sshconnect.c | 244 socklen_t addrlen, int *timeoutp) 254 result = connect(sockfd, serv_addr, addrlen); 259 rc = connect(sockfd, serv_addr, addrlen); 635 socklen_t addrlen; local 639 addrlen = 0; 642 addrlen = sizeof(struct sockaddr_in); 645 addrlen = sizeof(struct sockaddr_in6); 648 addrlen = sizeof(struct sockaddr); 658 if (getnameinfo(hostaddr, addrlen, [all...] |
channels.c | 1137 u_int have, need, i, found, nmethods, addrlen, af; local 1183 addrlen = 4; 1187 addrlen = p[sizeof(s5_req)]; 1191 addrlen = 16; 1198 need = sizeof(s5_req) + addrlen + 2; 1206 buffer_get(&c->input, (char *)&dest_addr, addrlen); 1208 dest_addr[addrlen] = '\0'; 1214 if (addrlen >= NI_MAXHOST) { 1318 socklen_t addrlen; local 1451 socklen_t addrlen; local 1502 socklen_t addrlen; local 1893 socklen_t addrlen; local [all...] |
/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/qemu/slirp/ |
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);
|
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);
|
/system/core/adb/ |
jdwp_service.c | 453 socklen_t addrlen; local 475 addrlen = (pathlen + sizeof(addr.sun_family)); 477 if (bind(s, (struct sockaddr*)&addr, addrlen) < 0) { 516 socklen_t addrlen = sizeof(addr); local 521 s = adb_socket_accept( control->listen_socket, &addr, &addrlen );
|
/external/iproute2/doc/ |
api-ip6-flowlabels.tex | 190 struct sockaddr *addr, int *addrlen) 196 struct msghdr msg = { addr, *addrlen, 205 *addrlen = msg.msg_namelen;
|
/external/iputils/ninfod/ |
ninfod.c | 313 p->addrlen = msgh.msg_namelen; 350 msgh.msg_namelen = p->addrlen; 738 p->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);
|
/external/chromium/third_party/libevent/ |
evdns.c | 269 socklen_t addrlen; /* length of addr */ member in struct:server_request 954 /* a DNS client (addr,addrlen), and if it's well-formed, call the corresponding */ 957 request_parse(u8 *packet, int length, struct evdns_server_port *port, struct sockaddr *addr, socklen_t addrlen) 983 memcpy(&server_req->addr, addr, addrlen); 984 server_req->addrlen = addrlen; 1172 socklen_t addrlen = sizeof(ss); local 1199 socklen_t addrlen; local [all...] |
/external/chromium_org/third_party/libevent/ |
evdns.c | 269 socklen_t addrlen; /* length of addr */ member in struct:server_request 954 /* a DNS client (addr,addrlen), and if it's well-formed, call the corresponding */ 957 request_parse(u8 *packet, int length, struct evdns_server_port *port, struct sockaddr *addr, socklen_t addrlen) 983 memcpy(&server_req->addr, addr, addrlen); 984 server_req->addrlen = addrlen; 1172 socklen_t addrlen = sizeof(ss); local 1199 socklen_t addrlen; local [all...] |
/external/chromium_org/tools/android/forwarder/ |
forwarder.cc | 345 socklen_t addrlen = sizeof(addr); local 346 if (getsockname(socket_, reinterpret_cast<sockaddr*>(&addr), &addrlen)
|
/external/valgrind/main/coregrind/m_syswrap/ |
syswrap-arm-linux.c | 423 int addrlen); */ 434 /* int accept(int s, struct sockaddr *addr, int *addrlen); */ 441 /*int accept(int s, struct sockaddr *add, int *addrlen, int flags)*/ 483 struct sockaddr *serv_addr, int addrlen ); */ 584 int addrlen); */ 593 /* int accept(int s, struct sockaddr *addr, int *addrlen); */ 594 /* int accept4(int s, struct sockaddr *addr, int *addrlen, int flags); */ 703 int, sockfd, struct sockaddr *, serv_addr, int, addrlen); 712 int, s, struct sockaddr *, addr, int, *addrlen); 729 int, s, struct sockaddr *, addr, int, *addrlen, int, flags) [all...] |
syswrap-ppc64-linux.c | 482 int addrlen); */ 493 /* int accept(int s, struct sockaddr *addr, int *addrlen); */ 500 /* int accept4(int s, struct sockaddr *addr, int *addrlen, int flags); */ 542 struct sockaddr *serv_addr, int addrlen ); */ 643 int addrlen); */ 652 /* int accept(int s, struct sockaddr *addr, int *addrlen); */ 653 /* int accept4(int s, struct sockaddr *addr, int *addrlen, int flags); */ [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
win32socketserver.cc | 291 socklen_t addrlen = sizeof(addr); local 293 &addrlen); 306 socklen_t addrlen = sizeof(addr); local 308 &addrlen);
|
/external/chromium_org/third_party/npapi/npspy/extern/nspr/md/ |
_sunos4.h | 132 extern int accept (int s, struct sockaddr *addr, int *addrlen);
|
/external/iputils/ |
arping.c | 695 unsigned int addrlen; local 700 addrlen = v->value[SYSFS_DEVATTR_ADDR_LEN].ulong; 701 m = malloc(addrlen); 703 for (i = 0; i < addrlen; i++) {
|
/external/wpa_supplicant_8/hostapd/ |
ctrl_iface.c | 42 socklen_t addrlen; member in struct:wpa_ctrl_dst 62 dst->addrlen = fromlen; 81 if (fromlen == dst->addrlen && 114 if (fromlen == dst->addrlen && [all...] |
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
kernel_proxy.cc | 1360 socklen_t* addrlen) { 1366 if (NULL == buf || NULL == addrlen) { 1379 error = handle->RecvFrom(buf, len, flags, addr, addrlen, &out_len); 1430 socklen_t addrlen) { 1449 error = handle->SendTo(buf, len, flags, addr, addrlen, &out_len); [all...] |
/external/ppp/pppd/plugins/rp-pppoe/ |
if.c | 74 void dlunitdatareq(int fd, u_char *addrp, int addrlen, u_long minpri, u_long maxpri, u_char *datap, int datalen); 805 void dlunitdatareq(int fd, u_char *addrp, int addrlen, u_long minpri, u_long maxpri, u_char *datap, int datalen) 814 dlp->unitdata_req.dl_dest_addr_length = addrlen; 819 (void) memcpy(OFFADDR(dlp, sizeof (dl_unitdata_req_t)), addrp, addrlen); local 822 ctl.len = sizeof (dl_unitdata_req_t) + addrlen;
|
/external/valgrind/main/coregrind/ |
m_libcfile.c | 711 Int my_connect ( Int sockfd, struct vki_sockaddr_in* serv_addr, Int addrlen ); 893 Int my_connect ( Int sockfd, struct vki_sockaddr_in* serv_addr, Int addrlen ) 901 args[2] = addrlen; 908 res = VG_(do_syscall3)(__NR_connect, sockfd, (UWord)serv_addr, addrlen); 914 sockfd, (UWord)serv_addr, addrlen); [all...] |
/external/netperf/ |
nettest_sdp.c | 1573 netperf_socklen_t addrlen; local 1916 netperf_socklen_t addrlen; local 3000 netperf_socklen_t addrlen; local [all...] |
nettest_sctp.c | 1067 int addrlen; local 2228 int addrlen; local 3269 int addrlen; local 4324 int addrlen; local [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
physicalsocketserver.cc | 148 socklen_t addrlen = sizeof(addr); local 149 int result = ::getsockname(s_, (sockaddr*)&addr, &addrlen); 152 ASSERT(addrlen == sizeof(addr)); 163 socklen_t addrlen = sizeof(addr); local 164 int result = ::getpeername(s_, (sockaddr*)&addr, &addrlen); 167 ASSERT(addrlen == sizeof(addr)); [all...] |