Lines Matching refs:socklen_t
80 socklen_t a_addrlen;
81 socklen_t a_socklen;
99 static int getnameinfo_inet(const struct sockaddr *, socklen_t, char *,
100 socklen_t, char *, socklen_t, int, unsigned, unsigned);
103 socklen_t, int);
106 static int getnameinfo_local(const struct sockaddr *, socklen_t, char *,
107 socklen_t, char *, socklen_t, int);
113 int getnameinfo(const struct sockaddr* sa, socklen_t salen, char* host, size_t hostlen, in getnameinfo()
120 int android_getnameinfofornet(const struct sockaddr* sa, socklen_t salen, char* host, in android_getnameinfofornet()
143 getnameinfo_local(const struct sockaddr *sa, socklen_t salen, in getnameinfo_local()
144 char *host, socklen_t hostlen, char *serv, socklen_t servlen, in getnameinfo_local()
150 if (salen < (socklen_t) offsetof(struct sockaddr_un, sun_path)) { in getnameinfo_local()
159 MIN((socklen_t) sizeof(sun->sun_path) + 1, hostlen)); in getnameinfo_local()
169 getnameinfo_inet(const struct sockaddr* sa, socklen_t salen, in getnameinfo_inet()
170 char *host, socklen_t hostlen, in getnameinfo_inet()
171 char *serv, socklen_t servlen, in getnameinfo_inet()
364 socklen_t hostlen, int flags) in ip6_parsenumeric()