]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: add bat_neigh_cmp API function
authorAntonio Quartulli <antonio@open-mesh.com>
Mon, 2 Sep 2013 10:15:04 +0000 (12:15 +0200)
committerAntonio Quartulli <antonio@meshcoding.com>
Wed, 23 Oct 2013 13:33:10 +0000 (15:33 +0200)
commitaffdccdce886254593c4e119393007a297c1b95d
treed4cd1de827c780d4226d5f9b2f5018d5edd6a4ed
parent23d2edeff651d1350fb51cd0d91a362c2294af43
batman-adv: add bat_neigh_cmp API function

This new API allows to compare the two neighbours based on
the metric avoiding the user to deal with any routing
algorithm specific detail

Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
net/batman-adv/bat_iv_ogm.c
net/batman-adv/main.c
net/batman-adv/types.h