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
nifi
351325b7f4 minor cleanup of example (changed to use uiplib to parse IPv6 address) 2010-06-01 13:31:23 +00:00
nvt-se
2fd414b22f Support fragmentation testing. 2010-04-30 22:20:41 +00:00
nifi
4c26783948 Updated for new for new uIPv6 APIs. Also fixed compiler warning. 2010-04-20 22:32:19 +00:00
joxe
fd3b773eb4 updated for new uIPv6 APIs 2010-04-17 21:22:39 +00:00
zhitao
30875da288 a little faster autoconfiguration 2009-10-16 15:13:25 +00:00
nvt-se
d86ee2c665 changed address setup slightly. 2009-04-10 16:51:16 +00:00
nvt-se
73d5025e04 changed udp examples into a client and a server, added multi-hop routing,
clarified the code.
2009-04-09 21:35:38 +00:00