Searched refs:sockaddrlen (Results 1 – 1 of 1) sorted by relevance
1516 socklen_t sockaddrlen; in sock_getmyinfo() local1519 sockaddrlen = sizeof(struct sockaddr_storage); in sock_getmyinfo()1521 if (getsockname(sock, (struct sockaddr *) &mysockaddr, &sockaddrlen) == -1) in sock_getmyinfo()1581 socklen_t sockaddrlen; in sock_getascii_addrport() local1588 sockaddrlen = sizeof(struct sockaddr_in); in sock_getascii_addrport()1590 sockaddrlen = sizeof(struct sockaddr_in6); in sock_getascii_addrport()1592 sockaddrlen = sizeof(struct sockaddr_storage); in sock_getascii_addrport()1606 …if (getnameinfo((struct sockaddr *) sockaddr, sockaddrlen, address, addrlen, port, portlen, flags)… in sock_getascii_addrport()