commit | 14b3f34c12b59bf96bb8615dd89dc004aba23f73 | [log] [tgz] |
---|---|---|
author | akmhoque <akmhoque@gmail.com> | Fri Sep 14 10:39:02 2012 -0500 |
committer | akmhoque <akmhoque@gmail.com> | Fri Sep 14 10:39:02 2012 -0500 |
tree | ca05da5ec15053425bb48b539eaec79260d15992 | |
parent | db6dd0c31f9345b6c51fa131821b5f02e16f1f05 [diff] [blame] |
Randomization of LSDB Interest and isValid Check in Name LSA
diff --git a/nlsr.h b/nlsr.h index f935951..941e357 100644 --- a/nlsr.h +++ b/nlsr.h
@@ -10,6 +10,11 @@ #define LSA_REFRESH_TIME 600 #define ROUTER_DEAD_INTERVAL 900 +#define LINK_METRIC 10 + +#define NAME_LSA_VALID 1 +#define NAME_LSA_INVALID 0 + struct name_prefix {