Commit Graph

8 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
joxe
71d5c5f3c1 removed servreg_hack from the rpl-udp example 2010-10-18 13:43:41 +00:00
adamdunkels
237398a74b Rewrote the code to use the servreg-hack module, so that clients can look up the IP address of the collector node. 2010-06-15 19:02:00 +00:00
joxe
293f08e9c7 added support for experimental RPL prefix based autoconf 2010-05-25 20:19:16 +00:00
nvt-se
07a2179953 simplified 2010-05-24 15:43:18 +00:00
nvt-se
dbd710626a Added optional server replies. 2010-05-21 13:45:50 +00:00
joxe
b54f410bc8 minor cleanup 2010-05-04 14:40:52 +00:00
nvt-se
d751238747 Added an example of using UDP over an RPL-enabled IPv6 network 2010-04-30 15:52:48 +00:00