From: Marek Lindner <mareklindner@neomailbox.ch>
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: [B.A.T.M.A.N.] [PATCH v3 4/6] batman-adv: move bat_algo functions into a separate file
Date: Fri, 20 May 2016 17:08:24 +0800 [thread overview]
Message-ID: <2891254.x3iL9Ftxqu@voltaire> (raw)
In-Reply-To: <1463303266-25979-4-git-send-email-sven@narfation.org>
[-- Attachment #1: Type: text/plain, Size: 1212 bytes --]
On Sunday, May 15, 2016 11:07:44 Sven Eckelmann wrote:
> The bat_algo functionality in main.c is mostly unrelated to the rest of the
> content. It still takes up a large portion of this source file (~15%, 103
> lines). Moving it to a separate file makes it better visible as a main
> component of the batman-adv implementation and hides it less in the other
> helper functions in main.c.
>
> Signed-off-by: Sven Eckelmann <sven@narfation.org>
> ---
> v3:
> - introduce this patch
> ---
> net/batman-adv/Makefile | 1 +
> net/batman-adv/bat_algo.c | 140
> +++++++++++++++++++++++++++++++++++++
> net/batman-adv/bat_algo.h | 12 ++++
> net/batman-adv/bat_v_ogm.c | 1 +
> net/batman-adv/debugfs.c | 1 +
> net/batman-adv/main.c | 105 +---------------------------
> net/batman-adv/main.h | 4 --
> net/batman-adv/originator.c | 1 +
> net/batman-adv/routing.c | 1 +
> net/batman-adv/soft-interface.c | 1 +
> net/batman-adv/translation-table.c | 1 +
> 11 files changed, 160 insertions(+), 108 deletions(-)
> create mode 100644 net/batman-adv/bat_algo.c
Applied in revision c14a11a.
Thanks,
Marek
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
next prev parent reply other threads:[~2016-05-20 9:08 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-15 9:07 [B.A.T.M.A.N.] [PATCH v3 1/6] batman-adv: Include main.h in all files Sven Eckelmann
2016-05-15 9:07 ` [B.A.T.M.A.N.] [PATCH v3 2/6] batman-adv: Keep includes ordered by filename Sven Eckelmann
2016-05-20 8:55 ` Marek Lindner
2016-05-15 9:07 ` [B.A.T.M.A.N.] [PATCH v3 3/6] batman-adv: split tvlv into a separate file Sven Eckelmann
2016-05-20 8:58 ` Marek Lindner
2016-05-15 9:07 ` [B.A.T.M.A.N.] [PATCH v3 4/6] batman-adv: move bat_algo functions " Sven Eckelmann
2016-05-20 9:08 ` Marek Lindner [this message]
2016-05-15 9:07 ` [B.A.T.M.A.N.] [PATCH v3 5/6] batman-adv: Consolidate logging related functions Sven Eckelmann
2016-05-15 21:48 ` [B.A.T.M.A.N.] [PATCH] " Sven Eckelmann
2016-05-20 9:15 ` Marek Lindner
2016-05-15 9:07 ` [B.A.T.M.A.N.] [PATCH v3 6/6] batman-adv: Fix bat_(iv|v) function declaration header Sven Eckelmann
2016-05-20 9:18 ` Marek Lindner
2016-05-20 8:52 ` [B.A.T.M.A.N.] [PATCH v3 1/6] batman-adv: Include main.h in all files Marek Lindner
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=2891254.x3iL9Ftxqu@voltaire \
--to=mareklindner@neomailbox.ch \
--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