diff options
author | Dinesh G Dutt <ddutt@cumulusnetworks.com> | 2016-04-27 03:26:10 +0200 |
---|---|---|
committer | Dinesh G Dutt <ddutt@cumulusnetworks.com> | 2016-04-27 22:54:08 +0200 |
commit | 6c9678b4544510205d1243c979c9d81001e1b78b (patch) | |
tree | 26a92661c5f6502494feb9465309510114edf13a /zebra/interface.h | |
parent | Update last reset reason on interface down or neighbor addr loss. (diff) | |
download | frr-6c9678b4544510205d1243c979c9d81001e1b78b.tar.xz frr-6c9678b4544510205d1243c979c9d81001e1b78b.zip |
Add support for fast rexmit of RA on link transitions.
Ticket: CM-7076
Reviewed By: CCR-4568
Testing Done:
To allow for faster convergence, modify transmission of IPv6 RA so
that on link transitions(link up, change VRF, link add etc.), we
transmit RA fast to ensure faster convergence with BGP Unnumbered.
But we don't enable Fast RA if RA interval is in msecs as we've
fixed the fast RA interval to be 1s. We retransmit RA 4 times, once
each second on link events and when RA is first enabled.
Diffstat (limited to 'zebra/interface.h')
-rw-r--r-- | zebra/interface.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/zebra/interface.h b/zebra/interface.h index bb76612ff..2e88566e1 100644 --- a/zebra/interface.h +++ b/zebra/interface.h @@ -170,6 +170,12 @@ struct rtadvconf Default: 0 (medium) */ int DefaultPreference; #define RTADV_PREF_MEDIUM 0x0 /* Per RFC4191. */ + + u_char inFastRexmit; /* True if we're rexmits faster than usual */ + int NumFastReXmitsRemain; /* Loaded first with number of fast rexmits to do */ + +#define RTADV_FAST_REXMIT_PERIOD 1 /* 1 sec */ +#define RTADV_NUM_FAST_REXMITS 4 /* Fast Rexmit RA 4 times on certain events */ }; #endif /* HAVE_RTADV */ |