From: Marek Lindner <lindner_marek@yahoo.de>
To: b.a.t.m.a.n@lists.open-mesh.org
Cc: Antonio Quartulli <antonio@open-mesh.com>,
Antonio Quartulli <ordex@autistici.org>
Subject: Re: [B.A.T.M.A.N.] [PATCHv8 1/2] batman-adv: provide orig_node routing API
Date: Wed, 4 Sep 2013 15:51:44 +0800 [thread overview]
Message-ID: <201309041551.45065.lindner_marek@yahoo.de> (raw)
In-Reply-To: <1378199424-795-1-git-send-email-ordex@autistici.org>
On Tuesday, September 03, 2013 17:10:23 Antonio Quartulli wrote:
> From: Antonio Quartulli <antonio@open-mesh.com>
>
> Some operations executed on an orig_node depends on the
> current routing algorithm being used. To easily make this
> mechanism routing algorithm agnostic add a orig_node
> specific API that each algorithm can populate with its own
> routines.
>
> Such routines are then invoked by the code when needed,
> without knowing which routing algorithm is currently in use
>
> With this patch 3 API functions are added:
> - orig_free (to free routing depending internal structs)
> - orig_add_if (to change the inner state of an orig_node
> when a new hard interface is added)
> - orig_del_if (to change the inner state of an orig_node
> when an hard interface is removed)
>
> Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
> ---
>
> changes from v7:
> - removed batadv_orig_node_del_if() (it has been accidentally re-introduced
> during the last rebase)
>
> Cheers,
>
>
> bat_iv_ogm.c | 126
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ originator.c |
> 102 +++++++---------------------------------------- types.h | 11
> ++++++
> 3 files changed, 151 insertions(+), 88 deletions(-)
Applied in revision fdafa7d.
Thanks,
Marek
prev parent reply other threads:[~2013-09-04 7:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-03 9:10 [B.A.T.M.A.N.] [PATCHv8 1/2] batman-adv: provide orig_node routing API Antonio Quartulli
2013-09-03 9:10 ` [B.A.T.M.A.N.] [PATCHv8 2/2] batman-adv: adapt the TT component to use the new API functions Antonio Quartulli
2013-09-04 7:54 ` Marek Lindner
2013-09-04 7:51 ` 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=201309041551.45065.lindner_marek@yahoo.de \
--to=lindner_marek@yahoo.de \
--cc=antonio@open-mesh.com \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
--cc=ordex@autistici.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