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 d9d3f7b6b5 Bugfix: don't send packets if they are shorter than the link layer header length 2010-04-05 21:05:56 +00:00
joxe 890eb830e8 ipv6 bridge between 802.15.4 and ethernet - over USB/SLIP - use with sliptap6 2009-05-08 12:49:36 +00:00