On Sunday 19 August 2012 17:13:28 Dominic Follett-Smith wrote:
I am using the batmand release and I trying to edit where batman keeps a statistic of next best hops to a destination node.
The development focus of many people changed to batman-adv. Therefore, most people aren't knowing the code very well (or have to read a while to get into the code again).
I want to change the metric in some way to alter the choices that batman makes when routing a packet to its destination. However I am rather stuck, and would appreciate some direction on where the updating of this statistic of next best hops for a destination is done in the batman code.
You're request is a little bit too general. Maybe you can go a little bit more in detail. Otherwise I can only recommend batman(void) in batman.c and update_orig(...) in originator.c
Kind regards, Sven