Lines Matching refs:bsdAddrLen

254 …ess (const deSocketAddress* address, int bsdAddrBufSize, struct sockaddr* bsdAddr, int* bsdAddrLen)  in deSocketAddressToBsdAddress()  argument
285 *bsdAddrLen = (int)result->ai_addrlen; in deSocketAddressToBsdAddress()
293 if (*bsdAddrLen < (int)sizeof(struct sockaddr_in)) in deSocketAddressToBsdAddress()
299 if (*bsdAddrLen < (int)sizeof(struct sockaddr_in6)) in deSocketAddressToBsdAddress()
322 *bsdAddrLen = sizeof(struct sockaddr_in); in deSocketAddressToBsdAddress()
339 *bsdAddrLen = sizeof(struct sockaddr_in6); in deSocketAddressToBsdAddress()
475 int bsdAddrLen; in deSocket_listen() local
481 if (!deSocketAddressToBsdAddress(address, (int)sizeof(bsdAddrBuf), bsdAddr, &bsdAddrLen)) in deSocket_listen()
498 if (bind(sock->handle, bsdAddr, bsdAddrLen) != 0) in deSocket_listen()
523 int bsdAddrLen = (int)sizeof(bsdAddrBuf); in deSocket_accept() local
525 socklen_t bsdAddrLen = (socklen_t)sizeof(bsdAddrBuf); in deSocket_accept() local
528 deMemset(bsdAddr, 0, (int)bsdAddrLen); in deSocket_accept()
531 newFd = accept(sock->handle, bsdAddr, &bsdAddrLen); in deSocket_accept()
533 newFd = accept(sock->handle, bsdAddr, (socklen_t*)&bsdAddrLen); in deSocket_accept()
555 deBsdAddressToSocketAddress(clientAddress, bsdAddr, (int)bsdAddrLen); in deSocket_accept()
564 int bsdAddrLen; in deSocket_connect() local
567 if (!deSocketAddressToBsdAddress(address, (int)sizeof(bsdAddrBuf), bsdAddr, &bsdAddrLen)) in deSocket_connect()
576 if (connect(sock->handle, bsdAddr, bsdAddrLen) != 0) in deSocket_connect()