Lines Matching refs:bsdAddrLen
280 …SocketAddress* address, size_t bsdAddrBufSize, struct sockaddr* bsdAddr, NativeSocklen* bsdAddrLen) in deSocketAddressToBsdAddress() argument
311 *bsdAddrLen = (NativeSocklen)result->ai_addrlen; in deSocketAddressToBsdAddress()
319 if (*bsdAddrLen < (NativeSocklen)sizeof(struct sockaddr_in)) in deSocketAddressToBsdAddress()
325 if (*bsdAddrLen < (NativeSocklen)sizeof(struct sockaddr_in6)) in deSocketAddressToBsdAddress()
348 *bsdAddrLen = (NativeSocklen)sizeof(struct sockaddr_in); in deSocketAddressToBsdAddress()
365 *bsdAddrLen = (NativeSocklen)sizeof(struct sockaddr_in6); in deSocketAddressToBsdAddress()
501 NativeSocklen bsdAddrLen; in deSocket_listen() local
507 if (!deSocketAddressToBsdAddress(address, sizeof(bsdAddrBuf), bsdAddr, &bsdAddrLen)) in deSocket_listen()
524 if (bind(sock->handle, bsdAddr, (NativeSocklen)bsdAddrLen) != 0) in deSocket_listen()
548 NativeSocklen bsdAddrLen = (NativeSocklen)sizeof(bsdAddrBuf); in deSocket_accept() local
550 deMemset(bsdAddr, 0, (size_t)bsdAddrLen); in deSocket_accept()
552 newFd = accept(sock->handle, bsdAddr, &bsdAddrLen); in deSocket_accept()
573 deBsdAddressToSocketAddress(clientAddress, bsdAddr, (int)bsdAddrLen); in deSocket_accept()
582 NativeSocklen bsdAddrLen; in deSocket_connect() local
585 if (!deSocketAddressToBsdAddress(address, sizeof(bsdAddrBuf), bsdAddr, &bsdAddrLen)) in deSocket_connect()
594 if (connect(sock->handle, bsdAddr, bsdAddrLen) != 0) in deSocket_connect()