D | getnameinfo.c | 109 int getnameinfo(const struct sockaddr* sa, socklen_t salen, char* host, size_t hostlen, in getnameinfo() argument 112 return android_getnameinfofornet(sa, salen, host, hostlen, serv, servlen, flags, in getnameinfo() 116 int android_getnameinfofornet(const struct sockaddr* sa, socklen_t salen, char* host, in android_getnameinfofornet() argument 123 return getnameinfo_inet(sa, salen, host, hostlen, in android_getnameinfofornet() 126 return getnameinfo_local(sa, salen, host, hostlen, in android_getnameinfofornet() 140 char *host, socklen_t hostlen, char *serv, socklen_t servlen, in getnameinfo_local() argument 153 if (host && hostlen > 0) in getnameinfo_local() 154 strlcpy(host, sun->sun_path, in getnameinfo_local() 166 char *host, socklen_t hostlen, in getnameinfo_inet() argument 269 if (host == NULL || hostlen == 0) { in getnameinfo_inet() [all …]
|