Commit Graph

2 Commits

Author SHA1 Message Date
oliverschmidt a250698b71 Improved samle code. 2007-05-22 21:03:03 +00:00
oliverschmidt 080ecc5488 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-21 22:29:13 +00:00