[Olsr-dev] [PATCH v1 0/5] send sgw HNAs with zero bandwidth after local gw has gone away

Ferry Huberts (spam-protected)
Fri May 8 10:12:36 CEST 2015

From: Ferry Huberts <(spam-protected)>

This is to improve sgw convergence speed in the mesh.

sgw HNAs with zero bandwidth are sent after the local default gateway
has gone away (it's bandwidth has become zero on either the uplink,
downlink or both) or its interface has gone down or disappeared.

These HNAs are only sent during the next 'HNA period' after which the
sending of these HNAs stops; this is the 'unannounce' window.

Each of the zero bandwidth HNAs has an adjusted vtime so that the actual
timeout of the original HNA on the receiver side doesn't change (within
the bound of the normal jittering of sending the HNAs).

Ferry Huberts (5):
  ifnet: also store the HNA validity time in msec
  sgw: do not write uplink/downlink speed directly
  sgw: immediately remove sgw HNAs with zero bandwidth
  sgw: send sgw HNAs with zero bandwidth after local gw has gone away
  sgw: do not send zero bandwidth sgw HNAs by default

 lib/sgwdynspeed/src/speedFile.c |   4 +-
 src/build_msg.c                 | 250 ++++++++++++++++++++++++++++------------
 src/cfgparser/olsrd_conf.c      |   5 +-
 src/cfgparser/oparse.y          |   5 +-
 src/gateway.c                   |  19 +--
 src/interfaces.h                |   4 +
 src/olsr_cfg.h                  |  23 ++++
 src/unix/ifnet.c                |   2 +
 8 files changed, 227 insertions(+), 85 deletions(-)


More information about the Olsr-dev mailing list