]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit16c10e37010d53780e7d109f451e45f562be3149
tree652acbdcf0bc309de8e69ab76ca233d5a9c652a7
parenta00b94b8b6ace87ca4ccdee95acb4215a912953a
batman-adv: turn tt commit code into routing protocol agnostic API

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