commit | c43c981e50f47bdd0f1eb400dc30ff13472c7be6 | [log] [tgz] |
---|---|---|
author | Antonio Quartulli <antonio@open-mesh.com> | Mon Sep 02 12:15:05 2013 +0200 |
committer | Antonio Quartulli <antonio@meshcoding.com> | Wed Oct 23 15:33:11 2013 +0200 |
tree | a824da57cc62888cff0d73203d4d321adf636e0a | |
parent | a3285a8f20dace536ecc6a2f349150ea1d0bb391 [diff] |
batman-adv: add bat_neigh_is_equiv_or_better API function Each routing protocol has its own metric semantic and therefore is the protocol itself the only component able to compare two metrics to check their "similarity". This new API allows each routing protocol to implement its own logic and make the external code protocol agnostic. Signed-off-by: Antonio Quartulli <antonio@open-mesh.com> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>