Commit Graph

47 Commits

Author SHA1 Message Date
adamdunkels
81dfaf575c Updated API 2007-05-22 21:09:19 +00:00
adamdunkels
6357c240c0 Added rtimer, ethernode rime initialization 2007-05-22 21:08:57 +00:00
adamdunkels
770632e079 Removed redundant file 2007-05-22 20:49:39 +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
237b1617b5 Factored out setup directory search path for source files into Makefile.include.
- Search target specific directories before CPU specific directories.
- Search CPU specific directories before generic directories.

Note: I checked several builds but nevertheless one or the other might need some additional adjustsments. Sorry for the inconvenience.
2007-05-13 08:41:11 +00:00
oliverschmidt
4fd1e3ece0 Added signed 32 bit data type. 2007-05-12 20:58:12 +00:00
oliverschmidt
4bf1ecc20e Made endianess configuration actually work. 2007-04-11 00:25:38 +00:00
adamdunkels
c24044e80c Made text appear lower to the right, made window larger to accommodate all nodes 2007-04-02 17:58:43 +00:00
adamdunkels
05692681a7 Stats are already printed during exit() 2007-04-02 10:03:35 +00:00
oliverschmidt
5bceecfbb0 Added Cygwin networking support using WinPcap. 2007-04-01 21:05:17 +00:00
adamdunkels
e6301c6221 Moved tapdev*.[ch] from platform/netsim/net and platform/minimal-net/net to cpu/native/net 2007-03-31 18:49:37 +00:00
adamdunkels
8e45418649 Made sure that two packets sent consecutively from the same node do not interfere with each other 2007-03-31 18:47:27 +00:00
adamdunkels
3908b238c1 Added debug output 2007-03-29 22:26:33 +00:00
adamdunkels
3abd973edb Added route addition and removal when starting and exiting 2007-03-29 22:26:17 +00:00
adamdunkels
78043e4d24 Set an appropriate IP node address 2007-03-29 22:25:39 +00:00
adamdunkels
8935ccb74f Removed reliance on a large uIP buffer configuration. Now internally uses 2048 bytes buffers regardless of uIP buffer size 2007-03-29 22:25:25 +00:00
adamdunkels
4a3f6b5e97 Put the correct tapdev_output() function in the tapdev netif 2007-03-29 22:24:47 +00:00
adamdunkels
39b5f9e81f Added Rime buffer size, reduced uIP buffer size so that IP packets can be tunneled over Rime's mesh routing 2007-03-29 22:24:21 +00:00
adamdunkels
b83dd79b1d Removed stuff that was already in cpu/native/Makefile.native 2007-03-29 22:23:49 +00:00
adamdunkels
227a3fa633 Removed old rt-arch and replaced it with rtimer-arch in cpu/native 2007-03-28 20:21:42 +00:00
adamdunkels
1dea784225 Set IP addess to match the setting in the ifconfig in net/tapdev.c 2007-03-28 20:15:39 +00:00
adamdunkels
9917b2fba4 Removed tapdev-drv 2007-03-28 20:15:15 +00:00
adamdunkels
846d8eb92b Removed tapdev-drv, removed reliance on x86 platform 2007-03-28 20:14:59 +00:00
adamdunkels
af1c78dbe0 Replaced with tapdev-service.c 2007-03-28 20:14:11 +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
5b35ae82c7 Made netsim compile under MS Windows / cygwin 2007-03-23 12:23:38 +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
b2174f1010 Initialization file for setting up a lattice network 2007-03-21 09:07:15 +00:00
adamdunkels
45e2b19940 Architecture-specific code for the real-time module, for the native and netsim platforms 2007-03-19 00:26:54 +00:00
adamdunkels
f856806909 Fixed compiler warning 2007-03-15 21:59:10 +00:00
adamdunkels
79f04d8dcd Updated to latest rim input/output function names 2007-03-15 21:58:37 +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
bc8016543a Make netsim more like the esb target 2006-10-10 15:58:31 +00:00
adamdunkels
5a5b964b2e UPdated to latest hc.c API 2006-10-09 11:56:49 +00:00
adamdunkels
0e8cdd9e8e Added radio signal strength simulation 2006-10-06 08:25:30 +00:00
adamdunkels
58b7f8de5b Added a hack for setting a text label on each simulated node 2006-09-26 22:10:12 +00:00
adamdunkels
15aba3d619 Cleanup 2006-09-26 22:09:26 +00:00
oliverschmidt
62fa3b8c01 Changed the Contiki Interface declaration macros from CCI/CLI to CCIF/CLIF because of already existing macros: Both CCI and CLI :-( 2006-08-15 14:46:33 +00:00
bg-
a99f0ca352 * More uip_ipaddr_t fixes. 2006-08-14 14:01:02 +00:00
oliverschmidt
48609fb3a3 Added defines for declaring functions/data which are part of the CCI (Contiki Core Interface) and CLI (Contiki Loadable Interface). Both defines are empty for all platforms but the upcoming Win32 port. 2006-08-13 15:06:08 +00:00
nifi
51f38adaf4 removed unused constants (BEEP_ON/BEEP_OFF) 2006-07-07 06:38:53 +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