]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: Split batadv_priv in sub-structures for features
authorSven Eckelmann <sven@narfation.org>
Sun, 15 Jul 2012 20:26:51 +0000 (22:26 +0200)
committerAntonio Quartulli <ordex@autistici.org>
Thu, 23 Aug 2012 12:20:13 +0000 (14:20 +0200)
commitd92acfcf3ca187a14b40fc0a063ff8b026777932
treea070c2e9316365424e4d08e2fa50e5a28729670d
parent2e6d1997bce3f6386acea25f676da49c9507493f
batman-adv: Split batadv_priv in sub-structures for features

The structure batadv_priv grows everytime a new feature is introduced. It gets
hard to find the parts of the struct that belongs to a specific feature. This
becomes even harder by the fact that not every feature uses a prefix in the
member name.

The variables for bridge loop avoidence, gateway handling, translation table
and visualization server are moved into separate structs that are included in
the bat_priv main struct.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
net/batman-adv/bat_iv_ogm.c
net/batman-adv/bridge_loop_avoidance.c
net/batman-adv/gateway_client.c
net/batman-adv/hard-interface.c
net/batman-adv/main.c
net/batman-adv/routing.c
net/batman-adv/soft-interface.c
net/batman-adv/translation-table.c
net/batman-adv/types.h
net/batman-adv/vis.c