Lines Matching refs:addrlen
87 socklen_t addrlen = sizeof(ss); in tst_getsockport() local
90 safe_getsockname(file, lineno, NULL, sockfd, sa, &addrlen); in tst_getsockport()
184 const struct sockaddr *dest_addr, socklen_t addrlen) in safe_sendto() argument
189 rval = sendto(sockfd, buf, len, flags, dest_addr, addrlen); in safe_sendto()
195 tst_sock_addr(dest_addr, addrlen, res, sizeof(res)), in safe_sendto()
196 addrlen); in safe_sendto()
300 int sockfd, const struct sockaddr *addr, socklen_t addrlen) in safe_connect() argument
305 rval = connect(sockfd, addr, addrlen); in safe_connect()
310 sockfd, tst_sock_addr(addr, addrlen, buf, in safe_connect()
311 sizeof(buf)), addrlen); in safe_connect()
319 socklen_t *addrlen) in safe_getsockname() argument
324 rval = getsockname(sockfd, addr, addrlen); in safe_getsockname()
329 sockfd, tst_sock_addr(addr, *addrlen, buf, in safe_getsockname()
330 sizeof(buf)), *addrlen); in safe_getsockname()