Commit Graph

3 Commits

Author SHA1 Message Date
adamdunkels
5585d72c86 A simple but substantial change: uIP used the htons()/HTONS() macro
functions for converting between host and network byte order. These
names are the de facto standard names for this functionality because
of the original BSD TCP/IP implementation. But they cause problems for
uIP/Contiki: some platforms define these names themselves (Mac OS,
most notably), causing compilation problems for Contiki on those
platforms.

This commit changes all htons to uip_htons instead. Same goes for
htonl, ntohs, and ntohl. All-caps versions as well.
2010-10-19 18:29:03 +00:00
adamdunkels
abfe686c6d Updated to latest uIP API 2006-10-09 11:55:30 +00:00
adamdunkels
0e2a28da94 A set of simple example programs for the ESB platform 2006-06-18 07:48:48 +00:00