[Babel-users] I cannot find the " DSDV, AODV" algorithm in the code
Ali Mezgani
ali.mezgani at gmail.com
Fri Feb 19 15:25:21 GMT 2021
Juliuz,
Code is lost whenever you need help call your old student Mezgani Ali.
Aka Jussieu promotion 2005.
Regards,
On Fri, 19 Feb 2021 at 14:05 Juliusz Chroboczek <jch at irif.fr> wrote:
> > I am studying the code of babeld, but I cannot find the "
> DSDV,
> > AODV" algorithm in the code. could somebody help me? or tell me the
> > bellman-ford algorithm the locate or the code's function.
>
> The BF algorithm is in the function route_changed. It is called in three
> places:
>
> - update_route, which is called whenever we receive an update for a route,
> - update_route_metric, which is called whenever a route's metric changes
> for reasons unrelated to an update,
> - retract_neighbour_routes, which is called when a neighbour is lost.
>
> The DSDV-like bit is in the function route_feasible.
>
> -- Juliusz
>
> _______________________________________________
> Babel-users mailing list
> Babel-users at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/babel-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/babel-users/attachments/20210219/ff726448/attachment.html>
More information about the Babel-users
mailing list