All of lore.kernel.org
 help / color / mirror / Atom feed
From: Antonio Quartulli <ordex@autistici.org>
To: The list for a Better Approach To Mobile Ad-hoc Networking
	<b.a.t.m.a.n@lists.open-mesh.org>
Subject: Re: [B.A.T.M.A.N.] [PATCHv7 8/9] batman-adv: provide orig_node routing API
Date: Tue, 3 Sep 2013 11:03:15 +0200	[thread overview]
Message-ID: <20130903090315.GG1871@ritirata.org> (raw)
In-Reply-To: <201309031700.00566.lindner_marek@yahoo.de>

[-- Attachment #1: Type: text/plain, Size: 1387 bytes --]

On Tue, Sep 03, 2013 at 05:00:00PM +0800, Marek Lindner wrote:
> On Monday, September 02, 2013 18:15:08 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)
> 
> Please look into this warning:
>   CC [M]  /home/marek/batman-adv/originator.o
> /home/marek/batman-adv/originator.c:578:12: warning: ‘batadv_orig_node_del_if’ defined but not used [-Wunused-function]

Ops, sorry. During the last rebase I re-introduced batadv_orig_node_del_if() in
originator.c. It should not be there at all.

I'll re-send these two patches.

Thanks,

-- 
Antonio Quartulli

..each of us alone is worth nothing..
Ernesto "Che" Guevara

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2013-09-03  9:03 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-02 10:15 [B.A.T.M.A.N.] [PATCHv7 0/9] Improving the routing protocol abstraction Antonio Quartulli
2013-09-02 10:15 ` [B.A.T.M.A.N.] [PATCHv7 1/9] batman-adv: make struct batadv_neigh_node algorithm agnostic Antonio Quartulli
2013-09-03  8:47   ` Marek Lindner
2013-09-02 10:15 ` [B.A.T.M.A.N.] [PATCHv7 2/9] batman-adv: make struct batadv_orig_node " Antonio Quartulli
2013-09-03  8:50   ` Marek Lindner
2013-09-02 10:15 ` [B.A.T.M.A.N.] [PATCHv7 3/9] batman-adv: add bat_orig_print API function Antonio Quartulli
2013-09-03  8:51   ` Marek Lindner
2013-09-02 10:15 ` [B.A.T.M.A.N.] [PATCHv7 4/9] batman-adv: add bat_neigh_cmp " Antonio Quartulli
2013-09-03  8:52   ` Marek Lindner
2013-09-02 10:15 ` [B.A.T.M.A.N.] [PATCHv7 5/9] batman-adv: add bat_neigh_is_equiv_or_better " Antonio Quartulli
2013-09-03  8:54   ` Marek Lindner
2013-09-02 10:15 ` [B.A.T.M.A.N.] [PATCHv7 6/9] batman-adv: adapt bonding to use the new API functions Antonio Quartulli
2013-09-03  8:55   ` Marek Lindner
2013-09-02 10:15 ` [B.A.T.M.A.N.] [PATCHv7 7/9] batman-adv: adapt the neighbor purging routine " Antonio Quartulli
2013-09-03  8:57   ` Marek Lindner
2013-09-02 10:15 ` [B.A.T.M.A.N.] [PATCHv7 8/9] batman-adv: provide orig_node routing API Antonio Quartulli
2013-09-03  9:00   ` Marek Lindner
2013-09-03  9:03     ` Antonio Quartulli [this message]
2013-09-02 10:15 ` [B.A.T.M.A.N.] [PATCHv7 9/9] batman-adv: adapt the TT component to use the new API functions Antonio Quartulli

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=20130903090315.GG1871@ritirata.org \
    --to=ordex@autistici.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.