Commit graph

6 commits

Author SHA1 Message Date
oliverschmidt 842c6a018a The recent global change regarding htons allowed to remove this hack :-) 2010-10-19 20:30:47 +00:00
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 3c68862599 Make wpcapslip compile with current uip headers 2009-04-29 11:56:14 +00:00
adamdunkels 38f0ac4a36 Made wpcapslip work with IPv6 enabled. Added -l option to turn on logging. 2008-06-19 07:52:28 +00:00
adamdunkels 57f2dfa743 Decrease TTL for forwarded packets 2008-02-24 21:14:25 +00:00
adamdunkels f38255b80f A hack for tunneling IP packets from a pcap device to SLIP under MS Windows. Essentially a combination of the wpcap driver and the tunslip tool. 2008-02-07 09:39:35 +00:00