osd-contiki/platform/netsim
oliverschmidt 5640f89259 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:
The WinPcap driver presumes to be obligatory for the application. Therefore it quits the whole application if it can't initialize successfully.

In former times the WinPcap driver required a cmdline parameter to initialize properly. The netsim target presumably doesn't consider the WinPcap driver obligatory for its applications so it checks the cmdline and starts the WinPcap driver only if it finds the WinPcap cmdline parameter present. Thus it prevents the WinPcap driver from failing to initialize which brings down the whole application.

However recently the WinPcap driver was changed to just use some default value if its cmdline parameter isn't found. So there's no more need to keep WinPcap from starting just to make sure it doesn't bring down the whole application. The presumption behind all this reasoning is that a WinPcap driver running with some (potentially wrong) default isn't worse than a WinPcap driver not running at all.
2010-04-21 20:27:28 +00:00
..
dev Updated to new sensors API 2010-02-23 18:43:43 +00:00
net Updated netsim to new netstack API 2010-02-23 18:44:08 +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 Import of the contiki-2.x development code from the SICS internal CVS server 2006-06-17 22:41:10 +00:00
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 Updated netsim to new netstack API 2010-02-23 18:44:08 +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 Import of the contiki-2.x development code from the SICS internal CVS server 2006-06-17 22:41:10 +00:00
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 Import of the contiki-2.x development code from the SICS internal CVS server 2006-06-17 22:41:10 +00:00
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 Import of the contiki-2.x development code from the SICS internal CVS server 2006-06-17 22:41:10 +00:00
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 Import of the contiki-2.x development code from the SICS internal CVS server 2006-06-17 22:41:10 +00:00
sensor.c Import of the contiki-2.x development code from the SICS internal CVS server 2006-06-17 22:41:10 +00:00
sensor.h Import of the contiki-2.x development code from the SICS internal CVS server 2006-06-17 22:41:10 +00:00
symbols.c Import of the contiki-2.x development code from the SICS internal CVS server 2006-06-17 22:41:10 +00:00