Lines Matching refs:deUint16
223 static deUint16 deHostToNetworkOrder16 (deUint16 v)
232 static deUint16 deNetworkToHostOrder16 (deUint16 v)
241 DE_STATIC_ASSERT(sizeof(((struct sockaddr_in*)DE_NULL)->sin_port) == sizeof(deUint16));
242 DE_STATIC_ASSERT(sizeof(((struct sockaddr_in6*)DE_NULL)->sin6_port) == sizeof(deUint16));
321 ((struct sockaddr_in*)bsdAddr)->sin_port = deHostToNetworkOrder16((deUint16)address->port);
327 ((struct sockaddr_in6*)bsdAddr)->sin6_port = deHostToNetworkOrder16((deUint16)address->port);
344 addr4->sin_port = deHostToNetworkOrder16((deUint16)address->port);
362 addr6->sin6_port = deHostToNetworkOrder16((deUint16)address->port);
383 deSocketAddress_setPort(address, (int)deNetworkToHostOrder16((deUint16)addr4->sin_port));
398 deSocketAddress_setPort(address, (int)deNetworkToHostOrder16((deUint16)addr6->sin6_port));