diff options
author | Michal 'vorner' Vaner <michal.vaner@nic.cz> | 2017-08-17 11:34:25 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-08-30 16:34:15 +0200 |
commit | ec7d6a506ecae89e5019ce7fcb380a713be28bce (patch) | |
tree | 9e038f0fb760223b2710aec35fa5348fa0ad60d2 /proto/radv/radv.h | |
parent | e2d2b3ef21f082a034e79d0880d4b36428029a59 (diff) |
RAdv: Configure how long a dead prefix is advertised
Diffstat (limited to 'proto/radv/radv.h')
-rw-r--r-- | proto/radv/radv.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/proto/radv/radv.h b/proto/radv/radv.h index 54d7c6f0..777c6e16 100644 --- a/proto/radv/radv.h +++ b/proto/radv/radv.h @@ -35,6 +35,7 @@ #define DEFAULT_MAX_RA_INT 600 #define DEFAULT_MIN_DELAY 3 #define DEFAULT_CURRENT_HOP_LIMIT 64 +#define DEFAULT_LINGER_TIME 300 #define DEFAULT_VALID_LIFETIME 86400 #define DEFAULT_PREFERRED_LIFETIME 14400 @@ -66,6 +67,9 @@ struct radv_iface_config u32 max_ra_int; u32 min_delay; + u32 linger_time; /* How long a dead prefix should still be advertised with 0 + lifetime */ + u8 rdnss_local; /* Global list is not used for RDNSS */ u8 dnssl_local; /* Global list is not used for DNSSL */ @@ -77,7 +81,7 @@ struct radv_iface_config u32 current_hop_limit; u32 default_lifetime; u8 default_lifetime_sensitive; /* Whether default_lifetime depends on trigger */ - u8 default_preference; /* Default Router Preference (RFC 4191) */ + u8 default_preference; /* Default Router Preference (RFC 4191) */ }; struct radv_prefix_config |