From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Tue, 3 Sep 2013 17:00:00 +0800 References: <1378116909-551-1-git-send-email-ordex@autistici.org> <1378116909-551-9-git-send-email-ordex@autistici.org> In-Reply-To: <1378116909-551-9-git-send-email-ordex@autistici.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201309031700.00566.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [PATCHv7 8/9] batman-adv: provide orig_node routing API Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The list for a Better Approach To Mobile Ad-hoc Networking On Monday, September 02, 2013 18:15:08 Antonio Quartulli wrote: > From: Antonio Quartulli >=20 > 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. >=20 > Such routines are then invoked by the code when needed, > without knowing which routing algorithm is currently in use >=20 > 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: =E2=80=98batadv_orig_n= ode_del_if=E2=80=99 defined but not used [-Wunused-function] Cheers, Marek