batman-adv: implement batadv_tt_entries
authorAntonio Quartulli <antonio@open-mesh.com>
Tue, 28 May 2013 11:14:27 +0000 (13:14 +0200)
committerAntonio Quartulli <antonio@meshcoding.com>
Sat, 12 Oct 2013 15:17:11 +0000 (17:17 +0200)
Implement batadv_tt_entries() to get the number of entries
fitting in a given amount of bytes. This computation is done
several times in the code and therefore it is useful to have
an helper function.

Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

No differences found