Commit graph

78 commits

Author SHA1 Message Date
oliverschmidt 0564cc50fd Splitted POSIX based cfs implementation to avoid pulling in potentially large POSIX directory I/O functions without needing them at all. 2007-12-21 01:36:01 +00:00
adamdunkels d6c597cf0b Added missing sys/select.h include 2007-11-28 14:16:12 +00:00
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
oliverschmidt 20d395e9b6 Added user feedback on IP configuration. 2007-11-25 15:00:32 +00:00
oliverschmidt f52ae57d99 Declare strcasecmp here as it isn't part of C99. 2007-11-18 00:46:26 +00:00
oliverschmidt 062e2a1ce4 Removed compiler warning. 2007-11-17 20:13:54 +00:00
oliverschmidt a300c31d7e Removed explicit shut down of network driver as it easily results in endless recursions on errors while network driver initialisation. 2007-05-23 22:01:14 +00:00
oliverschmidt a7dba4cc4f Explicitly shut down network driver. 2007-05-22 21:19:34 +00:00
oliverschmidt 5f3296e943 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:29:39 +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 8f0753c402 Link in and start the POSIX file system to make the telnet-server example 'ls' command generally work. Typically it will complain about not finding 'cfs-root/.' 2007-04-13 23:08:52 +00:00
oliverschmidt 4bf1ecc20e Made endianess configuration actually work. 2007-04-11 00:25:38 +00:00
oliverschmidt 2edc0246a3 Removed unnecessary directory reference. 2007-04-10 21:02:59 +00:00
oliverschmidt 01b9b31952 Moved wpcap*.[ch] from platform/minimal-net/net to cpu/native/net. 2007-04-01 20:39:05 +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 9da9650ff5 Removed stuff that was already in cpu/native/Makefile.native, and included it 2007-03-29 22:23:31 +00:00
oliverschmidt 571b956400 Added missing adjustment to recent change on moving all ARP handling to service wrappers. 2007-03-27 21:19:35 +00:00
oliverschmidt 1ca96b614a - Removed unnecessary PROCESS_POLLHANDLER(pollhandler()) as pollhandler is explicitly called.
- Moved all ARP handling to service wrappers (and narrowed interface to low level code).

- Unified general coding/formatting style.
2007-03-27 20:41:10 +00:00
oliverschmidt 8f160a3286 Added Cygwin networking support using WinPcap. 2007-03-26 02:53:54 +00:00
adamdunkels a9698f32fa Updated LD=gcc 2007-03-25 17:21:10 +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
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
bg- 9009d8dc06 More uip_ipaddr_t fixes. 2006-08-10 19:22:23 +00:00
adamdunkels 212625f65c Architecture specific code for the LEDs API 2006-06-17 22:55:44 +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