public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Marek Lindner <mareklindner@neomailbox.ch>
To: b.a.t.m.a.n@lists.open-mesh.org
Cc: "Jérôme GRIES" <jerome.gries@sfr.fr>
Subject: Re: [B.A.T.M.A.N.] Question about sliding windows in Batman-adv 2015.0
Date: Wed, 20 Jan 2016 09:38:38 +0800	[thread overview]
Message-ID: <1521420.RysEBJYiKs@voltaire> (raw)
In-Reply-To: <569E3B82.2060102@sfr.fr>

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

Hi Jérôme,

On Tuesday, January 19, 2016 14:34:58 Jérôme GRIES wrote:
> I would like to change the duration of the sliding windows, i understand
> that the duration of the sliding windows is equals to 128*intervall it
> (intervall beetween every hello packets)
> 
> [..]
>
> Could you tell me where i can find something like that in the code :
> 
> #define _timeslidingwindows 128

all protocol defines / parameters can be found in net/batman-adv/main.h. The 
one you are looking for is this:

/* sliding packet range of received originator messages in sequence numbers
 * (should be a multiple of our word size)
 */
#define BATADV_TQ_LOCAL_WINDOW_SIZE 64

Cheers,
Marek

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

      reply	other threads:[~2016-01-20  1:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-19 13:34 [B.A.T.M.A.N.] Question about sliding windows in Batman-adv 2015.0 Jérôme GRIES
2016-01-20  1:38 ` Marek Lindner [this message]

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=1521420.RysEBJYiKs@voltaire \
    --to=mareklindner@neomailbox.ch \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    --cc=jerome.gries@sfr.fr \
    /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