Lines Matching defs:addressp
575 isc__socket_getpeername(isc_socket_t *sock, isc_sockaddr_t *addressp);
577 isc__socket_getsockname(isc_socket_t *sock, isc_sockaddr_t *addressp);
6125 isc__socket_getpeername(isc_socket_t *sock0, isc_sockaddr_t *addressp) {
6130 REQUIRE(addressp != NULL);
6135 *addressp = sock->peer_address;
6147 isc__socket_getsockname(isc_socket_t *sock0, isc_sockaddr_t *addressp) {
6154 REQUIRE(addressp != NULL);
6165 len = sizeof(addressp->type);
6166 if (getsockname(sock->fd, &addressp->type.sa, (void *)&len) < 0) {
6173 addressp->length = (unsigned int)len;