public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] Reading batman-adv buffer
@ 2014-10-31  4:12 Krishnathiepan Rasanayagam
  2014-10-31  7:28 ` Martin Hundebøll
  0 siblings, 1 reply; 2+ messages in thread
From: Krishnathiepan Rasanayagam @ 2014-10-31  4:12 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

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.
Please update me.

thanx in advance
-- 
Best regards,
Krishna.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [B.A.T.M.A.N.] Reading batman-adv buffer
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Hundebøll @ 2014-10-31  7:28 UTC (permalink / raw)
  To: r.krishnathiepan@gmail.com >> Krishnathiepan Rasanayagam
  Cc: The list for a Better Approach To Mobile Ad-hoc Networking

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-10-31  7:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox