Home
last modified time | relevance | path

Searched refs:hostlen (Results 1 – 1 of 1) sorted by relevance

/bionic/libc/dns/net/
Dgetnameinfo.c109 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()
117 size_t hostlen, char* serv, size_t servlen, int flags, unsigned netid, 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()
155 MIN((socklen_t) sizeof(sun->sun_path) + 1, hostlen)); in getnameinfo_local()
166 char *host, socklen_t hostlen, in getnameinfo_inet() argument
269 if (host == NULL || hostlen == 0) { in getnameinfo_inet()
[all …]