Lines Matching refs:addrlen
134 const struct sockaddr *dest_addr, socklen_t addrlen) in safe_sendto() argument
139 rval = sendto(sockfd, buf, len, flags, dest_addr, addrlen); in safe_sendto()
145 tst_sock_addr(dest_addr, addrlen, res, sizeof(res)), in safe_sendto()
146 addrlen); in safe_sendto()
205 int sockfd, const struct sockaddr *addr, socklen_t addrlen) in safe_connect() argument
210 rval = connect(sockfd, addr, addrlen); in safe_connect()
215 sockfd, tst_sock_addr(addr, addrlen, buf, in safe_connect()
216 sizeof(buf)), addrlen); in safe_connect()
224 socklen_t *addrlen) in safe_getsockname() argument
229 rval = getsockname(sockfd, addr, addrlen); in safe_getsockname()
234 sockfd, tst_sock_addr(addr, *addrlen, buf, in safe_getsockname()
235 sizeof(buf)), *addrlen); in safe_getsockname()