@node ntohl, cpu @subheading Syntax @example #include unsigned long ntohl(unsigned long val); @end example @subheading Description This function converts from network formatted longs to host formatted longs. For the i386 and higher processors, this means that the bytes are swapped from 1234 order to 4321 order. @subheading Return Value The host-order value. @subheading Portability @portability !ansi, !posix @subheading Example @example ip = ntohl(packet.ipaddr); @end example