<div dir="auto">Juliuz,</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Code is lost whenever you need help call your old student Mezgani Ali.</div><div dir="auto"><br></div><div dir="auto">Aka Jussieu promotion 2005.</div><div dir="auto"><br></div><div dir="auto">Regards,</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 19 Feb 2021 at 14:05 Juliusz Chroboczek <<a href="mailto:jch@irif.fr">jch@irif.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">>               I am studying the code of babeld, but I cannot find the " DSDV,<br>
>     AODV" algorithm in the code. could somebody help me? or tell me the<br>
>     bellman-ford algorithm  the locate or the code's function.<br>
<br>
The BF algorithm is in the function route_changed.  It is called in three places:<br>
<br>
 - update_route, which is called whenever we receive an update for a route,<br>
 - update_route_metric, which is called whenever a route's metric changes<br>
   for reasons unrelated to an update,<br>
 - retract_neighbour_routes, which is called when a neighbour is lost.<br>
<br>
The DSDV-like bit is in the function route_feasible.<br>
<br>
-- Juliusz<br>
<br>
_______________________________________________<br>
Babel-users mailing list<br>
<a href="mailto:Babel-users@alioth-lists.debian.net" target="_blank">Babel-users@alioth-lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/babel-users" rel="noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/babel-users</a></blockquote></div></div>