Commit graph

11 commits

Author SHA1 Message Date
adamdunkels
fe30886b37 Added functionality for decaying routes: when a packet is sent over a route, it is decayed. If the route is not refreshed within four packets (with the route_refresh() function, which is called when a new packet arrives), the route is dropped. A route can be decayed at most once per second 2009-05-10 21:08:01 +00:00
adamdunkels
c83c5c4c55 Removed automatic refresh of routes from the route_lookup() function and moved it into an explicit route_refresh() function. The previous behaviour was dangerous, since it meant that even bad routes that someone was looking for were considered fresh. Now such routes time out if they are not explictily refreshed (e.g., on a packet reception) 2009-05-04 11:23:30 +00:00
adamdunkels
21e0900d18 Made constant addresses const 2009-03-23 16:22:02 +00:00
adamdunkels
d99ca27820 Changed all occurences of u8_t and u16_t to uint8_t and uint16_t 2008-02-24 22:05:27 +00:00
adamdunkels
40d6216ec9 Added API for reading the routing table 2008-01-08 07:58:23 +00:00
adamdunkels
758411d06d Cleaned up #includes to avoid cyclic dependencies - the Rime includes no longer depend on rime.h 2007-12-17 09:14:08 +00:00
adamdunkels
0650a014b5 Documentation updates 2007-03-31 18:31:27 +00:00
adamdunkels
f3872aac48 Make route lifetime dynamically configurable 2007-03-25 12:03:59 +00:00
oliverschmidt
e552140425 Added missing prototype. 2007-03-24 13:54:05 +00:00
adamdunkels
5af2430f95 Added automatic timeouts 2007-03-22 17:34:43 +00:00
adamdunkels
cc60843e8b New Rime module: mesh, a mesh routing protocol 2007-03-15 19:52:51 +00:00