Lines Matching refs:addrlen
233 const struct sockaddr *sa, socklen_t addrlen, in gni_host_inet_name() argument
334 const struct sockaddr *sa, socklen_t addrlen, in gni_host_inet_numeric() argument
376 const struct sockaddr *sa, socklen_t addrlen, in gni_host_inet() argument
382 (tmpbuf, sa, addrlen, host, hostlen, flags); in gni_host_inet()
391 (tmpbuf, sa, addrlen, host, hostlen, flags); in gni_host_inet()
397 const struct sockaddr *sa, socklen_t addrlen, in gni_host_local() argument
416 const struct sockaddr *sa, socklen_t addrlen, in gni_host() argument
423 return gni_host_inet (tmpbuf, sa, addrlen, host, hostlen, flags); in gni_host()
426 return gni_host_local (tmpbuf, sa, addrlen, host, hostlen, flags); in gni_host()
436 const struct sockaddr *sa, socklen_t addrlen, in gni_serv_inet() argument
473 const struct sockaddr *sa, socklen_t addrlen, in gni_serv_local() argument
484 const struct sockaddr *sa, socklen_t addrlen, in gni_serv() argument
491 return gni_serv_inet (tmpbuf, sa, addrlen, serv, servlen, flags); in gni_serv()
493 return gni_serv_local (tmpbuf, sa, addrlen, serv, servlen, flags); in gni_serv()
500 getnameinfo (const struct sockaddr *sa, socklen_t addrlen, char *host, in getnameinfo() argument
508 if (sa == NULL || addrlen < sizeof (sa_family_t)) in getnameinfo()
517 if (addrlen < (socklen_t) offsetof (struct sockaddr_un, sun_path)) in getnameinfo()
521 if (addrlen < sizeof (struct sockaddr_in)) in getnameinfo()
525 if (addrlen < sizeof (struct sockaddr_in6)) in getnameinfo()
537 int result = gni_host (&tmpbuf, sa, addrlen, host, hostlen, flags); in getnameinfo()
547 int result = gni_serv (&tmpbuf, sa, addrlen, serv, servlen, flags); in getnameinfo()