The branch, api_changes has been created at 32e18f1e584f873e5267e71197f760def67ee8b1 (commit)
- Shortlog ------------------------------------------------------------ commit 32e18f1e584f873e5267e71197f760def67ee8b1 Author: Marek Lindner lindner_marek@yahoo.de Date: Sun Feb 26 16:28:37 2012 +0800
batman-adv: register batman ogm receive function during protocol init
The B.A.T.M.A.N. IV OGM receive function still was hard-coded although it is a routing protocol specific function. This patch takes advantage of the dynamic packet handler registration to remove the hard-coded function calls.
Signed-off-by: Marek Lindner lindner_marek@yahoo.de
commit 4e72f345a8af5ad23b9f0a45bb1abe6f93d91270 Author: Marek Lindner lindner_marek@yahoo.de Date: Sun Feb 26 16:10:56 2012 +0800
batman-adv: introduce packet type handler array for incoming packets
The packet handler array replaces the growing switch statement, thus dealing with incoming packets in a more efficient way. It also adds to possibility to register packet handlers on the fly.
Signed-off-by: Marek Lindner lindner_marek@yahoo.de
commit 7e908532758166e59bdd03d50e9680c506c97cec Author: Marek Lindner lindner_marek@yahoo.de Date: Sun Jan 29 21:20:32 2012 +0800
batman-adv: introduce is_single_hop_neigh variable to increase readability
Signed-off-by: Marek Lindner lindner_marek@yahoo.de
-----------------------------------------------------------------------