Searched refs:sock_len (Results 1 – 1 of 1) sorted by relevance
235 socklen_t sock_len; in addr2str() local239 if (af == AF_INET) sock_len = sizeof(struct sockaddr_in); in addr2str()240 else sock_len = sizeof(struct sockaddr_in6); in addr2str()243 … if (!getnameinfo(rp->ai_addr, sock_len, hbuf, sizeof(hbuf), sbuf, sizeof(sbuf), NI_NUMERICSERV)) in addr2str()