Commit Graph

21 Commits

Author SHA1 Message Date
adamdunkels
a725de0f79 Reimplemented waiting with select() instead of nanosleep(). Let's see if Linux compiles this code now... 2007-11-28 12:54:41 +00:00
adamdunkels
4eae027dd3 Changed usleep() to nanosleep() 2007-11-26 23:28:33 +00:00
adamdunkels
1e1e44a3f8 Fixed compiler warnings to make code compile with gcc's -pedantic switch 2007-11-17 18:01:00 +00:00
nifi
a6d827fa1f moved initialization of ctimer to allow MAC layer to use ctimers 2007-11-15 13:07:42 +00:00
zhitao
ff006a5103 keep in synch with the Rime abstraction 2007-10-25 08:26:49 +00:00
adamdunkels
6357c240c0 Added rtimer, ethernode rime initialization 2007-05-22 21:08:57 +00:00
oliverschmidt
a22d2ecfef Changed packet drivers from services to plain processes.
Now tcpip_output() is a function pointer that is supposed to be set via the macro tcpip_set_outputfunc(). Packet drivers do so on process startup.

Thus if there are several packet drivers in a Contiki system the one started last is the one actually used. This behaviour is especially useful for the 'IP forwarding' "meta" packet driver.
2007-05-20 21:41:31 +00:00
oliverschmidt
d4528e427f Changed Contiki File System (cfs) from a service to a plain library.
This change means that one needs to select _ONE_ cfs implementation at Contiki library link time. But this doesn't appear to be an issue as all platforms have their "favorite" implementation anyway.
2007-05-19 21:16:08 +00:00
oliverschmidt
5bceecfbb0 Added Cygwin networking support using WinPcap. 2007-04-01 21:05:17 +00:00
adamdunkels
4a3f6b5e97 Put the correct tapdev_output() function in the tapdev netif 2007-03-29 22:24:47 +00:00
adamdunkels
9917b2fba4 Removed tapdev-drv 2007-03-28 20:15:15 +00:00
oliverschmidt
342e720cfd - Moved all ARP handling to service wrapper (and narrowed interface to low level code).
- Adjusted packet forwarding to moving all ARP handling to service wrapper.

- Unified general coding/formatting style.
2007-03-27 21:47:17 +00:00
adamdunkels
a34f6afe22 CFS RAM started 2007-03-22 23:59:26 +00:00
adamdunkels
1b762247fa Added uip-over-mesh, bugfixes, printing of statistics, renamed init() function to netsim_init() 2007-03-22 18:59:34 +00:00
adamdunkels
03f847d280 Added rime include 2007-03-15 21:58:13 +00:00
adamdunkels
9d030483ff Removed ethernode uIP driver from the main code 2007-03-14 00:32:30 +00:00
adamdunkels
4477d81be4 Added Rime driver for the netsim ethernode layer, renamed init.c to netsim-init.c 2007-03-13 13:07:47 +00:00
adamdunkels
c67ce1c1b0 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
adamdunkels
0e8cdd9e8e Added radio signal strength simulation 2006-10-06 08:25:30 +00:00
bg-
a99f0ca352 * More uip_ipaddr_t fixes. 2006-08-14 14:01:02 +00:00
adamdunkels
c9e808d638 Import of the contiki-2.x development code from the SICS internal CVS server 2006-06-17 22:41:10 +00:00