]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - net/batman-adv/main.c
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)
commita3285a8f20dace536ecc6a2f349150ea1d0bb391
treed4cd1de827c780d4226d5f9b2f5018d5edd6a4ed
parent737a2a229774ef983ef783149384bae3e3aa38ac
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