batman-adv: add bat_orig_print API function
authorAntonio Quartulli <antonio@open-mesh.com>
Mon, 2 Sep 2013 10:15:03 +0000 (12:15 +0200)
committerAntonio Quartulli <antonio@meshcoding.com>
Wed, 23 Oct 2013 13:33:10 +0000 (15:33 +0200)
commit737a2a229774ef983ef783149384bae3e3aa38ac
treeef2aa375749d3a3f1c2fe52f2fb0897ba2f88d1a
parentbbad0a5e3691cb3976d7a4815c47d9b7bb244731
batman-adv: add bat_orig_print API function

Each routing protocol has its own metric and private
variables, therefore it is useful to introduce a new API
for originator information printing.

This API needs to be implemented by each protocol in order
to provide its specific originator table output.

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/originator.c
net/batman-adv/types.h