]> 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)
commitd9b044f5d8a309c143757705ce39e1910fcaf3cc
tree652acbdcf0bc309de8e69ab76ca233d5a9c652a7
parentf17ed70aa213316edd42596e1098195c09cd9344
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