From: Marek Lindner <lindner_marek@yahoo.de>
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: [B.A.T.M.A.N.] [PATCHv2 1/4] batman-adv: substitute tt_poss_change with a per-tt_entry flag
Date: Mon, 1 Oct 2012 16:24:53 +0800 [thread overview]
Message-ID: <201210011624.53857.lindner_marek@yahoo.de> (raw)
In-Reply-To: <1348432717-20913-1-git-send-email-ordex@autistici.org>
On Monday, September 24, 2012 04:38:34 Antonio Quartulli wrote:
> tt_poss_change is a node-wide flag which tells whether the node is in a
> roaming state (a client recently moved to/away from it) in order to let it
> apply special re-routing rules. However this flag does not give a clear
> idea of the current state because it is not possible to understand which
> client is actually involved in the roaming. For this reason a better
> approach has been chosen: instead of using a node-wide variable, the
> roaming state is now given by a per-tt_entry ROAM flag which, in case of
> packet coming through the node, tells the node whether the real
> destination is in roaming state or not.
>
> With this flag change, batadv_check_unicast_ttvn() has also been rearranged
> in order to better fit the new re-routing logic and to be much more
> readable.
>
> Signed-off-by: Antonio Quartulli <ordex@autistici.org>
> ---
> originator.c | 1 -
> routing.c | 156
> +++++++++++++++++++++++++++++++++++-----------------
> soft-interface.c | 1 -
> translation-table.c | 43 ++++++++++-----
> translation-table.h | 2 +
> types.h | 8 ---
> 6 files changed, 138 insertions(+), 73 deletions(-)
Applied in revision 3fbd7ac.
Thanks,
Marek
prev parent reply other threads:[~2012-10-01 8:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-23 20:38 [B.A.T.M.A.N.] [PATCHv2 1/4] batman-adv: substitute tt_poss_change with a per-tt_entry flag Antonio Quartulli
2012-09-23 20:38 ` [B.A.T.M.A.N.] [PATCHv2 2/4] batman-adv: refactor code to simplify long lines Antonio Quartulli
2012-10-01 8:39 ` Marek Lindner
2012-09-23 20:38 ` [B.A.T.M.A.N.] [PATCHv2 3/4] batman-adv: refactor tt_global_del_struct() Antonio Quartulli
2012-10-01 8:45 ` Marek Lindner
2012-09-23 20:38 ` [B.A.T.M.A.N.] [PATCHv4 4/4] batman-adv: roaming handling mechanism redesign Antonio Quartulli
2012-10-01 8:47 ` Marek Lindner
2012-10-01 8:24 ` Marek Lindner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201210011624.53857.lindner_marek@yahoo.de \
--to=lindner_marek@yahoo.de \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox