next up previous contents
Next: Checksum Up: Utility Routines Previous: Panic Conditions

Byte Order: ntohs, ntohl, htons, and htonl

         

The byte order functions are the same as the Unix functions.

 
		u_short 		ntohs(u_short n)

u_long ntohl(u_long n)

u_short htons(u_short n)

u_long htonl(u_long n)



Larry Peterson
Mon Feb 5 16:32:40 MST 1996