From: Marek Lindner <mareklindner@neomailbox.ch>
To: b.a.t.m.a.n@lists.open-mesh.org
Cc: Antonio Quartulli <antonio@open-mesh.com>
Subject: Re: [B.A.T.M.A.N.] [PATCH v2 08/12] batman-adv: keep track of when unicast packets are sent
Date: Tue, 19 Jan 2016 23:20:09 +0800 [thread overview]
Message-ID: <2036597.61FfIG3QWA@voltaire> (raw)
In-Reply-To: <1452933619-6712-8-git-send-email-mareklindner@neomailbox.ch>
[-- Attachment #1: Type: text/plain, Size: 1500 bytes --]
On Saturday, January 16, 2016 16:40:15 Marek Lindner wrote:
> From: Antonio Quartulli <antonio@open-mesh.com>
>
> To enable ELP to send probing packets over wireless links
> only if needed, batman-adv must keep track of the last time
> it sent a unicast packet towards every neighbour.
>
> For this purpose a 2 main changes are introduced:
> 1) a new member of the elp_neigh_node structure stores the
> last time a unicast packet was sent towards this neighbour;
> 2) a wrapper function for sending unicast packets is
> implemented. This function will simply update the member
> describe din point 1) and then forward the packet to the
> real sending routine.
>
> Point 2) implies that any code-path leading to a unicast
> sending now has to use the new wrapper.
>
> Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
> ---
> net/batman-adv/bat_iv_ogm.c | 2 +-
> net/batman-adv/bat_v_elp.c | 2 +-
> net/batman-adv/bat_v_ogm.c | 2 +-
> net/batman-adv/distributed-arp-table.c | 4 +--
> net/batman-adv/fragmentation.c | 8 ++---
> net/batman-adv/icmp_socket.c | 2 +-
> net/batman-adv/network-coding.c | 22 +++++++-------
> net/batman-adv/send.c | 55
> +++++++++++++++++++++++++++++----- net/batman-adv/send.h |
> 10 +++++--
> net/batman-adv/types.h | 2 ++
> 10 files changed, 75 insertions(+), 34 deletions(-)
Applied in revision cdc4545.
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-01-19 15:20 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-16 8:39 [B.A.T.M.A.N.] B.A.T.M.A.N. V leaves the nest v2 Marek Lindner
2016-01-16 8:40 ` [B.A.T.M.A.N.] [PATCH v2 01/12] batman-adv: Add hard_iface specific sysfs wrapper macros for UINT Marek Lindner
2016-01-19 15:08 ` Marek Lindner
2016-01-16 8:40 ` [B.A.T.M.A.N.] [PATCH v2 02/12] batman-adv: ELP - adding basic infrastructure Marek Lindner
2016-01-19 15:10 ` Marek Lindner
2016-01-16 8:40 ` [B.A.T.M.A.N.] [PATCH v2 03/12] batman-adv: ELP - creating neighbor structures Marek Lindner
2016-01-19 15:11 ` Marek Lindner
2016-01-16 8:40 ` [B.A.T.M.A.N.] [PATCH v2 04/12] batman-adv: ELP - adding sysfs parameter for elp interval Marek Lindner
2016-01-19 15:12 ` Marek Lindner
2016-01-16 8:40 ` [B.A.T.M.A.N.] [PATCH v2 05/12] batman-adv: OGMv2 - add basic infrastructure Marek Lindner
2016-01-19 15:14 ` Marek Lindner
2016-01-16 8:40 ` [B.A.T.M.A.N.] [PATCH v2 06/12] batman-adv: OGMv2 - implement originators logic Marek Lindner
2016-01-19 15:15 ` Marek Lindner
2016-01-16 8:40 ` [B.A.T.M.A.N.] [PATCH v2 07/12] batman-adv: add throughput override attribute to hard_ifaces Marek Lindner
2016-01-19 15:16 ` Marek Lindner
2016-01-16 8:40 ` [B.A.T.M.A.N.] [PATCH v2 08/12] batman-adv: keep track of when unicast packets are sent Marek Lindner
2016-01-19 15:20 ` Marek Lindner [this message]
2016-01-16 8:40 ` [B.A.T.M.A.N.] [PATCH v2 09/12] batman-adv: ELP - compute the metric based on the estimated throughput Marek Lindner
2016-01-19 15:22 ` Marek Lindner
2016-01-16 8:40 ` [B.A.T.M.A.N.] [PATCH v2 10/12] batman-adv: B.A.T.M.A.N. V - implement neighbor comparison API calls Marek Lindner
2016-01-19 15:24 ` Marek Lindner
2016-01-16 8:40 ` [B.A.T.M.A.N.] [PATCH v2 11/12] batman-adv: B.A.T.M.A.N. V - implement bat_orig_print API Marek Lindner
2016-01-19 15:25 ` Marek Lindner
2016-01-16 8:40 ` [B.A.T.M.A.N.] [PATCH v2 12/12] batman-adv: B.A.T.M.A.N. V - implement bat_neigh_print API Marek Lindner
2016-01-19 15:26 ` Marek Lindner
2016-01-21 11:56 ` [B.A.T.M.A.N.] B.A.T.M.A.N. V leaves the nest v2 Sven Eckelmann
2016-01-21 13:47 ` [B.A.T.M.A.N.] OpenWrt cfg80211.h station_info incompatibility with kernel+mac80211 [was: B.A.T.M.A.N. V leaves the nest v2] Sven Eckelmann
2016-01-21 13:55 ` Felix Fietkau
2016-01-21 14:03 ` Sven Eckelmann
2016-01-21 14:02 ` Antonio Quartulli
2016-01-21 14:34 ` Sven Eckelmann
2016-01-21 14:26 ` Sven Eckelmann
2016-01-21 14:47 ` Felix Fietkau
2016-01-21 15:16 ` Sven Eckelmann
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=2036597.61FfIG3QWA@voltaire \
--to=mareklindner@neomailbox.ch \
--cc=antonio@open-mesh.com \
--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;
as well as URLs for NNTP newsgroup(s).