[B.A.T.M.A.N.] [PATCHv2 0/4] Introduce the SYNCHRONIZED TT flags

Antonio Quartulli
2013-10-13T00:50:16Z

Hello list,

as some of you may know, each TT client store in a node local/global table is
also accompanied by a set of flags some of which are of global interest (every
node in the network needs to know if this flag is set or not).

However it may happen that a flag may be unset (or set) after that a TT client
has already be announced. With the current implementation there is no way for
the nodes to detect this event and to react accordingly.

With this patchset we introduce all those means needed to synchronize a selected
subset of TT flags among the network.
Flags belonging to this set are the "Synchronized TT flags".

Right now only the WIFI flag belongs to this set, but another on is already
planned to be added soonish.

Cheers,

[This patchset is based on top of origin/simon/network-wide-multiif]

Antonio Quartulli (4):
batman-adv: don't switch byte order too often if not needed
batman-adv: invoke dev_get_by_index() outside of is_wifi_iface()
batman-adv: improve the TT component to support runtime flag changes
batman-adv: include the synch-flags when compute the global/local
table CRC

hard-interface.c | 31 +++----------------------------
hard-interface.h | 1 -
packet.h | 17 +++++++++++++++--
routing.c | 8 +++++---
translation-table.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++--
5 files changed, 73 insertions(+), 36 deletions(-)

--
1.8.3.2