commit | 298e6e685bbdacc781b64a94e0d215f78db5dc13 | [log] [tgz] |
---|---|---|
author | Antonio Quartulli <antonio@open-mesh.com> | Tue May 28 13:14:27 2013 +0200 |
committer | Antonio Quartulli <antonio@meshcoding.com> | Sat Oct 12 17:17:11 2013 +0200 |
tree | 7703698a0a2d72b09a358d07a9014a8d906a3602 | |
parent | 56a5ca8409072d9d982d0904f60a4a6096d2dec0 [diff] |
batman-adv: implement batadv_tt_entries 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>