From: Marek Lindner Date: Thu, 1 Mar 2012 07:35:17 +0000 (+0800) Subject: batman-adv: introduce packet type handler array for incoming packets X-Git-Tag: v3.5-rc1~109^2~106^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffa995e036bef734ea40cbbccda574d1df3a8a58;p=pandora-kernel.git 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 Acked-by: Simon Wunderlich Signed-off-by: Antonio Quartulli --- Reading git-diff-tree failed