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!