Commit graph

42 commits

Author SHA1 Message Date
5a077ac884 Always update a route's nexthop as soon as the current nexthop is deleted (and clean up the route update code a bit) 2014-03-18 18:33:25 +01:00
2d6ec74c73 Update copyright years 2014-03-18 18:03:17 +01:00
3af74a4b53 Add GMRF debug calls 2014-03-18 17:56:29 +01:00
0587bef25e Compile options, -Wextra fixes 2014-03-18 16:56:06 +01:00
7efd6c82cb There is no reason to keep a hello seqno for each interface separately 2013-08-04 13:58:09 +02:00
ef586cf976 Send triggered updates 2013-08-04 01:59:28 +02:00
4b79b85e4e Don't purge route entries before the purge timeout has passed 2013-08-04 01:51:06 +02:00
8c43958511 Delete nexthop entries when a neighbour is reset 2013-08-04 01:20:18 +02:00
a8873733dc Cleanup nexthop maintenance logic 2013-08-04 00:48:53 +02:00
dc9ac724cb Fix update request timeout handling 2013-08-03 17:27:07 +02:00
1d092504e4 Update nexthop last update time when the first retract has been received 2013-08-03 17:25:02 +02:00
43ff1c3ed5 Re-enable wildcard route requests for new neighbours
They had been disabled in the last commit by accident.
2013-08-03 03:24:46 +02:00
b63b1bef96 Add a neighbour packet timeout to prevent new neighbours to be purged right after a route request has been received 2013-08-03 03:18:54 +02:00
48f77c26dc Add gp_babel_since helper 2013-08-03 03:08:04 +02:00
8ca5dead7f Add TODO comment 2013-08-03 03:07:32 +02:00
707c703e4f Implement proper handling of route requests 2013-08-03 02:25:37 +02:00
f29e37138a Simplify basic protocol, rename announces to routes, begin implementing route request handling 2013-08-01 21:07:59 +02:00
45a3ff5a4f Implement handling of seqno requests 2013-07-29 23:50:39 +02:00
94e334a1fe Adapt to new gmrf API 2013-07-29 02:11:47 +02:00
a6fa92d1c8 Send announce and seqno requests 2013-03-26 05:39:11 +01:00
79c6fd3f14 Fix handling of announces without payload 2013-03-26 04:06:55 +01:00
3dbdeacfdb Add hop count field to seqno request TLV 2013-03-26 02:54:35 +01:00
58e54934db Print neighbor address when hellos are received 2013-03-26 02:24:10 +01:00
47bd032564 Initial nexthop maintenance implementation
Mostly taken from the FFD project, and quite incomplete.
2013-03-24 03:45:16 +01:00
0af36311e1 Add nexthop data structure and receive updates 2013-03-24 02:54:17 +01:00
a5d0293827 Remove newline from log message 2013-03-24 02:24:31 +01:00
14f32dfc31 Add sending of updates 2013-03-24 02:17:05 +01:00
13b755cd43 Add data structures and functions for announcements 2013-03-22 03:45:38 +01:00
8fe8ed1942 Save maximum length in packet buffers 2013-03-21 20:34:51 +01:00
ca758c85d2 Handle node ID TLVs 2013-03-21 19:56:49 +01:00
4f7bd1e439 Rename alloca_packet() to gp_babel_packet_alloca() 2013-03-21 05:07:10 +01:00
2d369f16e4 Implement ACK request handling 2013-03-21 03:07:51 +01:00
e099bddc24 Add alloca_packet() macro 2013-03-21 02:01:41 +01:00
de428f0b8f Move send functions to a new source file 2013-03-20 00:36:31 +01:00
b7ad864ec8 Move packet handling to a separate source file 2013-03-19 04:21:03 +01:00
5d068fa244 Add gp_babel_packet_size() function 2013-03-19 03:44:27 +01:00
415606c736 Add maintenance function 2013-03-19 00:20:02 +01:00
2b3fe33c07 Implement hello and IHU sending and receiving 2013-03-18 23:56:48 +01:00
27389a5a61 Add TLV handling code 2013-03-18 20:59:37 +01:00
a9713337b6 Print messages when an interface is added 2013-03-18 19:31:47 +01:00
e0893410a5 Add periodic task 2013-03-18 19:11:20 +01:00
70284a4ff2 Basic GMRF API implementation 2013-03-18 17:14:11 +01:00