[B.A.T.M.A.N.] [PATCH] batman-adv: remove ogm_emit and ogm_schedule API calls

Marek Lindner mareklindner at neomailbox.ch
Wed May 4 17:20:37 CEST 2016


On Tuesday, May 03, 2016 01:45:34 Antonio Quartulli wrote:
> The ogm_emit and ogm_schedule API calls were rather tight to the
> B.A.T.M.A.N. IV logic and therefore rather difficult to use
> with other algorithm implementations.
> 
> Remove such calls and move the surrounding logic into the
> B.A.T.M.A.N. IV specific code.
> 
> Signed-off-by: Antonio Quartulli <a at unstable.cc>
> ---
> 
> Changes from RFC:
> - batadv_send_outstanding_bat_ogm_packet() renamed to
>   batadv_iv_send_outstanding_bat_ogm_packet()
> - batadv_iv_iface_enable() moved back to its original location (was moved by
> accident)
> - code has been tested in qemu with one node
> 
> 
>  net/batman-adv/bat_iv_ogm.c     | 68
> ++++++++++++++++++++++++++++++++++++++--- net/batman-adv/bat_v.c          |
> 10 ------
>  net/batman-adv/hard-interface.c |  3 --
>  net/batman-adv/main.c           |  2 --
>  net/batman-adv/send.c           | 61 +-----------------------------------
>  net/batman-adv/send.h           |  3 +-
>  net/batman-adv/types.h          |  4 ---
>  7 files changed, 66 insertions(+), 85 deletions(-)

Applied in revision 0d84685.

Thanks,
Marek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.open-mesh.org/pipermail/b.a.t.m.a.n/attachments/20160504/25993fab/attachment.sig>


More information about the B.A.T.M.A.N mailing list