public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: "Martin Hundebøll" <martin@hundeboll.net>
To: "r.krishnathiepan@gmail.com >> Krishnathiepan Rasanayagam"
	<r.krishnathiepan@gmail.com>
Cc: The list for a Better Approach To Mobile Ad-hoc Networking
	<b.a.t.m.a.n@lists.open-mesh.org>
Subject: Re: [B.A.T.M.A.N.] Reading batman-adv buffer
Date: Fri, 31 Oct 2014 08:28:03 +0100	[thread overview]
Message-ID: <54533A03.7070807@hundeboll.net> (raw)
In-Reply-To: <CAEbDFcTj0b0-i+eTcgrksRFWbw6fNJWpo79QnURHAzgWYOR04g@mail.gmail.com>

Hi Krisna,

On 2014-10-31 05:12, Krishnathiepan Rasanayagam wrote:
> Hi all,
>
> Does anyone knows how we can read data from batman-adv transmission
> buffer. before it transmits. Can we change the buffer ?
> Any details about the way batman-adv is using the buffer is valuable.

There is no buffering taking place in batman-adv (unless you use network 
coding). It simply takes whatever comes in from either neighboring nodes 
or the virtual interface, and puts it in the relevant queue *outside* 
batman-adv. For outgoing (or forwarded) packets this is the tx-queue of 
the underlying interface (e.g. the one that is controlled with 'ip link 
set dev wlan0 txqlen'). For incoming packets, it is the rxqueue of the 
virtual interface (bat0), if one such exists.

Hope this helps!

-- 
Kind Regards,
Martin Hundebøll
Frederiks Allé 99A, 1.th
8000 Aarhus C

+45 61 65 54 61
martin@hundeboll.net

      reply	other threads:[~2014-10-31  7:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-31  4:12 [B.A.T.M.A.N.] Reading batman-adv buffer Krishnathiepan Rasanayagam
2014-10-31  7:28 ` Martin Hundebøll [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=54533A03.7070807@hundeboll.net \
    --to=martin@hundeboll.net \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    --cc=r.krishnathiepan@gmail.com \
    /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