Commit Graph

72 Commits

Author SHA1 Message Date
julienabeille
632a3585f5 Modification to tapdev for IPv6 support 2008-10-14 09:47:15 +00:00
adamdunkels
9d7c81d4ed Added missing IPBUF definition needed for IPv6 2008-06-23 19:53:16 +00:00
adamdunkels
d094fe254f Fixed problems with IPv6-enabled Windows XP 2008-06-23 19:52:44 +00:00
oliverschmidt
b96c9deebc Added "usual" comments. 2008-01-04 21:53:32 +00:00
oliverschmidt
67af780c93 Made include paths consistent. 2007-11-27 20:54:10 +00:00
oliverschmidt
689e0f077a Added some info on the wpcap driver. 2007-11-27 13:06:55 +00:00
oliverschmidt
b8b6b6239e Allow to build both with Cygwin and VC++. 2007-11-17 21:33:53 +00:00
oliverschmidt
eb3fda68c7 Source reformatting only. 2007-11-17 20:00:42 +00:00
adamdunkels
1e1e44a3f8 Fixed compiler warnings to make code compile with gcc's -pedantic switch 2007-11-17 18:01:00 +00:00
oliverschmidt
63a6493e5c Made tapdev and wpcap driver similiar making up a "driver template". 2007-08-10 14:59:59 +00:00
oliverschmidt
6ab3a6d1e3 Fixed copy&paste bug. 2007-05-26 22:51:38 +00:00
oliverschmidt
1629c207b5 That PROCESS_EXITHANDLER() thing was after all kind of overengineered... 2007-05-23 22:13:29 +00:00
oliverschmidt
0bf8c95b79 Made use of exit handler. 2007-05-22 22:01:03 +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
274afdb55c Made driver compilable with both Cygwin and VC++ (and usable for platform/win32 by using logging API). 2007-04-11 00:21:28 +00:00
oliverschmidt
9cc1871810 Fixed stupid bug. I have no idea how I didn't run into this one for months ! The development platforms have 400-600 bytes buffer size. So every incoming 1500 packet overwrote ~ 1000 bytes of uIP variables. And this happens very easily as every packet coming in for the Windows IP stack is seen by uIP as well (and discarded because of the wrong IP address). 2007-04-08 20:06:56 +00:00
oliverschmidt
e37d79e4a3 Don't rely on gcc's auto-import feature. 2007-04-07 00:27:22 +00:00
oliverschmidt
e5d3453a79 Minor code formatting change. 2007-04-05 19:42:47 +00:00
oliverschmidt
be08e76366 Now that Contiki has a htonl() we need the same workaround here that we already have for htons(). 2007-04-05 19:41:02 +00:00
oliverschmidt
5bceecfbb0 Added Cygwin networking support using WinPcap. 2007-04-01 21:05:17 +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