nes-proj/platform/netsim
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
..
dev Updated to new sensors API 2010-02-23 18:43:43 +00:00
net Moved the modules packetbuf, queuebuf, and packetqueue from net/rime to net/, since they are not Rime-specific 2010-06-14 19:19:16 +00:00
contiki-conf.h Updated to new MAC api 2010-02-18 23:10:06 +00:00
contiki-esb.h Make netsim more like the esb target 2006-10-10 15:58:31 +00:00
contiki-main.c In contrast to Cygwin 1.5 Cygwin 1.7 doesn't allow to get __argc out of thin air anymore. Instead of finding a workaround I opted to remove the whole command line checking here which was added so revisions ago. The reasoning: 2010-04-21 20:27:28 +00:00
contiki-main.h
display.c Updated netsim to new netstack API 2010-02-23 18:44:08 +00:00
display.h Added display of radio status: a green ring appears around nodes with their radio turned on. Added a command that prints out a .fig file that shows the current network setup (press the 'd' key). 2008-05-14 19:22:57 +00:00
ether.c A simple but substantial change: uIP used the htons()/HTONS() macro 2010-10-19 18:29:03 +00:00
ether.h Added display of radio status: a green ring appears around nodes with their radio turned on. Added a command that prints out a .fig file that shows the current network setup (press the 'd' key). 2008-05-14 19:22:57 +00:00
init.c
init.h Fixed compiler warnings to make code compile with gcc's -pedantic switch 2007-11-17 18:01:00 +00:00
loader-arch.h
main.c Use the uip-over-mesh network gateway functionality 2008-11-09 12:30:32 +00:00
Makefile.netsim Changed the name of the 'serial' module to 'serial-line' to signify that the module is about lines of data from the serial port, not individual bytes, and to make sdcc happy 2009-03-17 15:56:32 +00:00
netsim-init.c Added uip-over-mesh, bugfixes, printing of statistics, renamed init() function to netsim_init() 2007-03-22 18:59:34 +00:00
node-id.h
node.c Made netsim gateway ip addr on Windows/Cygwin configurable at the command line. 2008-01-04 23:23:29 +00:00
node.h Added hack for letting nodes signal that they are 'done'. The simulator exits when all nodes are done. Fixed random initialization so that it is different for all nodes. 2006-10-23 09:01:06 +00:00
nodes.c Added display of radio status: a green ring appears around nodes with their radio turned on. Added a command that prints out a .fig file that shows the current network setup (press the 'd' key). 2008-05-14 19:22:57 +00:00
nodes.h Added display of radio status: a green ring appears around nodes with their radio turned on. Added a command that prints out a .fig file that shows the current network setup (press the 'd' key). 2008-05-14 19:22:57 +00:00
random.c Fixed compiler warnings to make code compile with gcc's -pedantic switch 2007-11-17 18:01:00 +00:00
random.h
sensor.c
sensor.h
symbols.c