Home
last modified time | relevance | path

Searched refs:bsdAddr (Results 1 – 1 of 1) sorted by relevance

/external/deqp/framework/delibs/deutil/
DdeSocket.c280 …(const deSocketAddress* address, size_t bsdAddrBufSize, struct sockaddr* bsdAddr, NativeSocklen* b… in deSocketAddressToBsdAddress() argument
282 deMemset(bsdAddr, 0, bsdAddrBufSize); in deSocketAddressToBsdAddress()
313 deMemcpy(bsdAddr, result->ai_addr, (size_t)result->ai_addrlen); in deSocketAddressToBsdAddress()
317 if (bsdAddr->sa_family == AF_INET) in deSocketAddressToBsdAddress()
321 ((struct sockaddr_in*)bsdAddr)->sin_port = deHostToNetworkOrder16((deUint16)address->port); in deSocketAddressToBsdAddress()
323 else if (bsdAddr->sa_family == AF_INET6) in deSocketAddressToBsdAddress()
327 ((struct sockaddr_in6*)bsdAddr)->sin6_port = deHostToNetworkOrder16((deUint16)address->port); in deSocketAddressToBsdAddress()
336 struct sockaddr_in* addr4 = (struct sockaddr_in*)bsdAddr; in deSocketAddressToBsdAddress()
354 struct sockaddr_in6* addr6 = (struct sockaddr_in6*)bsdAddr; in deSocketAddressToBsdAddress()
373 void deBsdAddressToSocketAddress (deSocketAddress* address, const struct sockaddr* bsdAddr, int add… in deBsdAddressToSocketAddress() argument
[all …]