Lines Matching refs:addrlen
1014 socklen_t addrlen;
1016 if (sock_address_to_bsd(address, &addr, &addrlen) < 0)
1019 SOCKET_CALL(connect(fd,addr.sa,addrlen));
1026 socklen_t addrlen;
1028 if (sock_address_to_bsd(address, &addr, &addrlen) < 0)
1031 SOCKET_CALL(bind(fd, addr.sa, addrlen));
1038 socklen_t addrlen = sizeof(addr);
1041 QSOCKET_CALL(ret, getsockname(fd, addr.sa, &addrlen));
1045 return sock_address_from_bsd(address, &addr, addrlen);
1052 socklen_t addrlen = sizeof(addr);
1055 QSOCKET_CALL(ret, getpeername(fd, addr.sa, &addrlen));
1059 return sock_address_from_bsd(address, &addr, addrlen);
1072 socklen_t addrlen = sizeof(addr);
1075 QSOCKET_CALL(ret, accept(fd, addr.sa, &addrlen));
1080 if (sock_address_from_bsd(address, &addr, addrlen) < 0) {