Hi,
I have compiled batmand (whiterussian_rc6) with the CFLAGS you provide. There is no change in the behavior when calling "batmand -c -r0" and "batmand -c -r3". On every thread creation the memory consumption rises.
I also have tried to apply "--one-way-tunnel 1 --two-way-tunnel 0" Using the commands above I have the same result. One advantage of the one-way-tunnel is, that the gateway thread is not killed and re-created.
/Stephan