public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [PATCHv2 0/4] Introduce the SYNCHRONIZED TT flags
@ 2013-10-13  0:50 Antonio Quartulli
  2013-10-13  0:50 ` [B.A.T.M.A.N.] [PATCHv2 1/4] batman-adv: don't switch byte order too often if not needed Antonio Quartulli
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Antonio Quartulli @ 2013-10-13  0:50 UTC (permalink / raw)
  To: b.a.t.m.a.n; +Cc: Antonio Quartulli


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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-10-14 14:37 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-13  0:50 [B.A.T.M.A.N.] [PATCHv2 0/4] Introduce the SYNCHRONIZED TT flags Antonio Quartulli
2013-10-13  0:50 ` [B.A.T.M.A.N.] [PATCHv2 1/4] batman-adv: don't switch byte order too often if not needed Antonio Quartulli
2013-10-13  9:44   ` Marek Lindner
2013-10-13  9:51     ` Antonio Quartulli
2013-10-14 11:07   ` Marek Lindner
2013-10-13  0:50 ` [B.A.T.M.A.N.] [PATCHv2 2/4] batman-adv: invoke dev_get_by_index() outside of is_wifi_iface() Antonio Quartulli
2013-10-14 13:20   ` Marek Lindner
2013-10-13  0:50 ` [B.A.T.M.A.N.] [PATCHv2 3/4] batman-adv: improve the TT component to support runtime flag changes Antonio Quartulli
2013-10-14 11:22   ` Marek Lindner
2013-10-13  0:50 ` [B.A.T.M.A.N.] [PATCHv2 4/4] batman-adv: include the synch-flags when compute the global/local table CRC Antonio Quartulli
2013-10-14 14:37   ` Marek Lindner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox