On Saturday, January 16, 2016 16:40:13 Marek Lindner wrote:
From: Antonio Quartulli antonio@open-mesh.com
Add the support for recognising new originators in the network and rebroadcast their OGMs.
Signed-off-by: Antonio Quartulli antonio@open-mesh.com
v2:
- rebroadcast packet immediately after best neighbor timeout
- add a flag to avoid forwarding the same OGMs multiple times
- move TVLV processing out of update_route() and into
batadv_v_ogm_process_per_outif() - code comments improvements (typ0s, clarifications, etc)
- mark OGM packet as new when protection window is started
- remove redundant throughput checks
- simplify/fix best neighbor check
net/batman-adv/bat_v_elp.c | 41 +--- net/batman-adv/bat_v_ogm.c | 556 ++++++++++++++++++++++++++++++++++++++++++++- net/batman-adv/bat_v_ogm.h | 4 + net/batman-adv/main.h | 2 + net/batman-adv/types.h | 4 + 5 files changed, 566 insertions(+), 41 deletions(-)
Applied in revision 667996e.
Thanks, Marek