Home
last modified time | relevance | path

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

/bionic/libc/dns/net/
Dgetnameinfo.c106 int getnameinfo(const struct sockaddr* sa, socklen_t salen, char* host, size_t hostlen, in getnameinfo() argument
109 return android_getnameinfofornet(sa, salen, host, hostlen, serv, servlen, flags, in getnameinfo()
114 size_t hostlen, char* serv, size_t servlen, int flags, unsigned netid, in android_getnameinfofornet() argument
120 return getnameinfo_inet(sa, salen, host, hostlen, in android_getnameinfofornet()
123 return getnameinfo_local(sa, salen, host, hostlen, in android_getnameinfofornet()
137 char *host, socklen_t hostlen, char *serv, socklen_t servlen, in getnameinfo_local() argument
150 if (host && hostlen > 0) in getnameinfo_local()
152 MIN((socklen_t) sizeof(sun->sun_path) + 1, hostlen)); in getnameinfo_local()
163 char *host, socklen_t hostlen, in getnameinfo_inet() argument
266 if (host == NULL || hostlen == 0) { in getnameinfo_inet()
[all …]