/external/openssh/openbsd-compat/ |
bindresvport.c | 61 socklen_t salen; local 68 if (getsockname(sd, sa, &salen) == -1) 72 memset(&myaddr, 0, salen); 78 salen = sizeof(struct sockaddr_in); 82 salen = sizeof(struct sockaddr_in6); 100 error = bind(sd, sa, salen);
|
rresvport.c | 64 socklen_t salen; local 71 salen = sizeof(struct sockaddr_in); 75 salen = sizeof(struct sockaddr_in6); 90 if (bind(s, sa, salen) >= 0)
|
port-aix.c | 410 sshaix_getnameinfo(const struct sockaddr *sa, size_t salen, char *host, 427 return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags);
|
fake-rfc2553.c | 47 int getnameinfo(const struct sockaddr *sa, size_t salen, char *host,
|
/bionic/libc/netbsd/net/ |
getnameinfo.c | 119 int getnameinfo(const struct sockaddr* sa, socklen_t salen, char* host, size_t hostlen, char* serv, size_t servlen, int flags) 124 return getnameinfo_inet(sa, salen, host, hostlen, 128 return getnameinfo_link(sa, salen, host, hostlen, 245 getnameinfo_inet(sa, salen, host, hostlen, serv, servlen, flags) 247 socklen_t salen; 272 if (sa->sa_len != salen) 285 if (salen != afd->a_socklen) 556 getnameinfo_link(const struct sockaddr *sa, socklen_t salen,
|
/external/tcpdump/missing/ |
getnameinfo.c | 100 getnameinfo(sa, salen, host, hostlen, serv, servlen, flags) 102 size_t salen; 124 if (sa->sa_len != salen) 137 if (salen != afd->a_socklen)
|
/external/tcpdump/ |
print-isakmp.c | 257 int salen; local 290 salen = sa->sa_len; 294 salen = sizeof(struct sockaddr_in6); 296 salen = sizeof(struct sockaddr); 298 salen = sizeof(struct sockaddr); 301 if (memcmp(&ss, &cookiecache[i].iaddr, salen) == 0) 307 salen = sa->sa_len; 311 salen = sizeof(struct sockaddr_in6); 313 salen = sizeof(struct sockaddr); 315 salen = sizeof(struct sockaddr) [all...] |
/external/ppp/pppd/plugins/radius/ |
sendserver.c | 203 int salen; local 328 salen = sizeof (saremote); 331 (int) 0, &saremote, &salen);
|
/external/dropbear/ |
fake-rfc2553.c | 46 int getnameinfo(const struct sockaddr *sa, size_t salen, char *host,
|
/external/qemu/ |
sockets.c | 978 socklen_t salen; local 980 if (sock_address_to_bsd(to, &sa, &salen) < 0) 983 SOCKET_CALL(sendto(fd, buf, buflen, 0, sa.sa, salen)); 996 socklen_t salen = sizeof(sa); local 999 QSOCKET_CALL(ret,recvfrom(fd,buf,len,0,sa.sa,&salen)); 1003 if (sock_address_from_bsd(from, &sa, salen) < 0) [all...] |
vnc.c | 51 socklen_t salen) { 58 if ((err = getnameinfo((struct sockaddr *)sa, salen, 80 socklen_t salen; local 82 salen = sizeof(sa); 83 if (getsockname(fd, (struct sockaddr*)&sa, &salen) < 0) 86 return addr_to_string(format, &sa, salen); 91 socklen_t salen; local 93 salen = sizeof(sa); 94 if (getpeername(fd, (struct sockaddr*)&sa, &salen) < 0) 97 return addr_to_string(format, &sa, salen); [all...] |
vnc-android.c | 66 if ((err = getnameinfo((struct sockaddr *)sa, salen, [all...] |
/sdk/emulator/opengl/tests/event_injector/ |
sockets.c | 983 socklen_t salen; local 985 if (sock_address_to_bsd(to, &sa, &salen) < 0) 988 SOCKET_CALL(sendto(fd, buf, buflen, 0, sa.sa, salen)); 1001 socklen_t salen = sizeof(sa); local 1004 QSOCKET_CALL(ret,recvfrom(fd,buf,len,0,sa.sa,&salen)); 1008 if (sock_address_from_bsd(from, &sa, salen) < 0) [all...] |
/external/chromium/third_party/libevent/ |
http.c | 106 fake_getnameinfo(const struct sockaddr *sa, size_t salen, char *host, [all...] |
/bionic/libc/netbsd/resolv/ |
res_send.c | 161 socklen_t salen, int sec); 915 connect_with_timeout(int sock, const struct sockaddr *nsap, socklen_t salen, int sec) 924 res = connect(sock, nsap, salen); [all...] |
/external/valgrind/main/coregrind/m_syswrap/ |
syswrap-generic.c | 938 struct vki_sockaddr *sa, UInt salen ) 946 if ( sa == NULL || salen == 0 ) return; 986 PRE_MEM_READ( outmsg, (Addr) sa, salen ); [all...] |