Commit graph

6 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
nvt-se a0226e2418 switched all users of cfs_seek(x,y) to cfs_seek(x,y,CFS_SEEK_SET) 2009-02-27 14:28:02 +00:00
ksb 7c8665fb89 Padded struct codeprop_tcphdr to 4 bytes, to get around different
alignment on different platforms.
2007-03-18 13:15:00 +00:00
fros4943 93714fc39f updated reference to "elfloader-tmp" 2006-12-18 15:17:47 +00:00
nifi cb3f6db77e fixed compiler warnings 2006-07-06 14:55:21 +00:00
adamdunkels d36939f5ae Simple program for loading a Contiki ELF binary over the network 2006-06-18 07:44:36 +00:00