/bionic/libc/netbsd/net/ |
getnameinfo.c | 115 int getnameinfo(const struct sockaddr* sa, socklen_t salen, char* host, size_t hostlen, char* serv, size_t servlen, int flags) 120 return getnameinfo_inet(sa, salen, host, hostlen, 124 return getnameinfo_link(sa, salen, host, hostlen, 229 getnameinfo_inet(sa, salen, host, hostlen, serv, servlen, flags) 231 socklen_t salen; 256 if (sa->sa_len != salen) 269 if (salen != afd->a_socklen) 538 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,
|
/development/tools/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/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...] |
/external/chromium/third_party/libevent/ |
http.c | 106 fake_getnameinfo(const struct sockaddr *sa, size_t salen, char *host, [all...] |
/external/ipsec-tools/src/libipsec/ |
pfkey.c | 2290 u_int salen = sysdep_sa_len(local); local [all...] |
/external/valgrind/main/coregrind/m_syswrap/ |
syswrap-generic.c | 936 struct vki_sockaddr *sa, UInt salen ) 944 if ( sa == NULL || salen == 0 ) return; 984 PRE_MEM_READ( outmsg, (Addr) sa, salen ); [all...] |