batman-adv: turn tt commit code into routing protocol agnostic API
authorMarek Lindner <lindner_marek@yahoo.de>
Sun, 6 May 2012 20:22:05 +0000 (04:22 +0800)
committerAntonio Quartulli <ordex@autistici.org>
Mon, 18 Jun 2012 16:01:05 +0000 (18:01 +0200)
Prior to this patch the translation table code made assumptions about how
the routing protocol works and where its buffers are stored (to directly
modify them).
Each protocol now calls the tt code with the relevant pointers, thereby
abstracting the code.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Acked-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
net/batman-adv/bat_iv_ogm.c
net/batman-adv/send.c
net/batman-adv/translation-table.c
net/batman-adv/translation-table.h
net/batman-adv/types.h

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge