Searched refs:bsdAddr (Results 1 – 1 of 1) sorted by relevance
254 …ess (const deSocketAddress* address, int bsdAddrBufSize, struct sockaddr* bsdAddr, int* bsdAddrLen) in deSocketAddressToBsdAddress() argument256 deMemset(bsdAddr, 0, bsdAddrBufSize); in deSocketAddressToBsdAddress()287 deMemcpy(bsdAddr, result->ai_addr, (int)result->ai_addrlen); in deSocketAddressToBsdAddress()291 if (bsdAddr->sa_family == AF_INET) in deSocketAddressToBsdAddress()295 ((struct sockaddr_in*)bsdAddr)->sin_port = htons((deUint16)address->port); in deSocketAddressToBsdAddress()297 else if (bsdAddr->sa_family == AF_INET6) in deSocketAddressToBsdAddress()301 ((struct sockaddr_in6*)bsdAddr)->sin6_port = htons((deUint16)address->port); in deSocketAddressToBsdAddress()310 struct sockaddr_in* addr4 = (struct sockaddr_in*)bsdAddr; in deSocketAddressToBsdAddress()328 struct sockaddr_in6* addr6 = (struct sockaddr_in6*)bsdAddr; in deSocketAddressToBsdAddress()347 void deBsdAddressToSocketAddress (deSocketAddress* address, const struct sockaddr* bsdAddr, int add… in deBsdAddressToSocketAddress() argument[all …]