2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS WinSock 2 DLL
5 * PURPOSE: Legacy BSD sockets APIs
6 * PROGRAMMERS: Casper S. Hornstrup (chorns@users.sourceforge.net)
8 * CSH 15/06-2001 Created
18 htonl(IN ULONG hostlong
)
20 return DH2N(hostlong
);
29 htons(IN USHORT hostshort
)
31 return WH2N(hostshort
);
40 ntohl(IN ULONG netlong
)
51 ntohs(IN USHORT netshort
)
53 return WN2H(netshort
);