summaryrefslogtreecommitdiff
path: root/net/batman-adv/routing.h
diff options
context:
space:
mode:
authorMarek Lindner <lindner_marek@yahoo.de>2012-03-01 07:35:17 (GMT)
committerAntonio Quartulli <ordex@autistici.org>2012-05-11 08:08:10 (GMT)
commitffa995e036bef734ea40cbbccda574d1df3a8a58 (patch)
tree396d7c202f1b0d82dce905e7d70c32708886f404 /net/batman-adv/routing.h
parent75cd33f86396c446f84c4bb620be70c36a2a54f6 (diff)
downloadlinux-ffa995e036bef734ea40cbbccda574d1df3a8a58.tar.xz
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> Acked-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de> Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Diffstat (limited to 'net/batman-adv/routing.h')
0 files changed, 0 insertions, 0 deletions