public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [PATCH 0/5] Preparation for SPEEDY_JOIN/ROAM
@ 2012-04-17 22:27 Antonio Quartulli
  2012-04-17 22:27 ` [B.A.T.M.A.N.] [PATCH 1/5] batman-adv: don't delay OGM information announcement Antonio Quartulli
                   ` (4 more replies)
  0 siblings, 5 replies; 16+ messages in thread
From: Antonio Quartulli @ 2012-04-17 22:27 UTC (permalink / raw)
  To: b.a.t.m.a.n

Hello everybody,

in preparation to my next patchset, which will enable clients to be detected
from nodes in the network _before_ they are announced by means of the TT
mechanism (more details will come within the companion email email of the
related patchset), I'm sending this 4 patches that fix/clean up something here
and there plus a little behaviour change in the OGM preparation.

In particular (for further details please refer to the commit message of each
patch):

patch 1) changes the behaviour of how an OGM is built. Instead of
preparing/building it at the same time we schedule it, this patch delays such
operation to the instant before sending the message. This patch also introduce a
new entry in the protocol API called ".bat_fill_ogm".

patch 2) in case of ADD and DEL events (or viceversa) of the same client during
the same originator interval, such events can be both nullified instead of being
sent.

patch 3) future operations will require to look for a particular originator in
the orig_list of a global entry, therefore tt_global_entry_has_orig() is
modified accordingly so that it returns the found originator, if any.

patch 4) updates the tt_global_entry ttvn in case of reannouncement of the same
client.

patch 5) changes tt_global_Add() sign. We use to pass several boolean flags to
this function that are then converted to the TT_CLIENT_* ones. This patch
modifies the tt_global_add() sign so that we can directly pass a combination of
TT_CLIENT_* flags instead of several boolean parameters.



Thank you,
	Antonio




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

end of thread, other threads:[~2012-04-18  8:52 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-17 22:27 [B.A.T.M.A.N.] [PATCH 0/5] Preparation for SPEEDY_JOIN/ROAM Antonio Quartulli
2012-04-17 22:27 ` [B.A.T.M.A.N.] [PATCH 1/5] batman-adv: don't delay OGM information announcement Antonio Quartulli
2012-04-18  8:12   ` Martin Hundebøll
2012-04-18  8:31     ` Antonio Quartulli
2012-04-18  8:35       ` Martin Hundebøll
2012-04-18  8:37         ` Antonio Quartulli
2012-04-17 22:27 ` [B.A.T.M.A.N.] [PATCH 2/5] batman-adv: clear ADD+DEL (and viceversa) events in the same orig-interval Antonio Quartulli
2012-04-18  8:33   ` Martin Hundebøll
2012-04-18  8:37     ` Antonio Quartulli
2012-04-18  8:40       ` Martin Hundebøll
2012-04-17 22:27 ` [B.A.T.M.A.N.] [PATCH 3/5] batman-adv: let tt_global_entry_has_orig() return the orig_entry or NULL instead of 1 or 0 only Antonio Quartulli
2012-04-18  8:44   ` Martin Hundebøll
2012-04-17 22:27 ` [B.A.T.M.A.N.] [PATCH 4/5] batman-adv: update ttvn in case of client reannouncement Antonio Quartulli
2012-04-18  8:46   ` Martin Hundebøll
2012-04-17 22:27 ` [B.A.T.M.A.N.] [PATCH 5/5] batman-adv: beautify tt_global_add() argument list Antonio Quartulli
2012-04-18  8:52   ` Martin Hundebøll

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