diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2019-08-16 21:22:11 +0200 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2019-08-26 22:36:37 +0200 |
commit | 752fc2c278dc01f0b3ed2faf67a11f9bc1f3c627 (patch) | |
tree | 9f6dd8b11b898d02b536d593a6f717b27aa45e4c /src/router.h | |
parent | 09aa022ea1990dbb3f3f0d09331ef0cd1b8a8e1a (diff) |
router: speed up initial router advertisements
Speed up sending initial router advertisement messages as documented in
RFC2461 point 6.2.4
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'src/router.h')
-rw-r--r-- | src/router.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/router.h b/src/router.h index bdfe52c..0444da8 100644 --- a/src/router.h +++ b/src/router.h @@ -30,9 +30,11 @@ struct icmpv6_opt { (void*)(opt + opt->len) <= (void*)(end); opt += opt->len) -#define MaxRtrAdvInterval 1800 -#define MinRtrAdvInterval 3 +#define MaxInitialRtrAdvInterval 16 +#define MaxInitialRtAdvs 3 +#define MaxRtrAdvInterval 1800 +#define MinRtrAdvInterval 3 -#define ND_RA_FLAG_PROXY 0x4 -#define ND_RA_PREF_HIGH (1 << 3) -#define ND_RA_PREF_LOW (3 << 3) +#define ND_RA_FLAG_PROXY 0x4 +#define ND_RA_PREF_HIGH (1 << 3) +#define ND_RA_PREF_LOW (3 << 3) |