summaryrefslogtreecommitdiff
path: root/ospfd/ospf_lsa.h
diff options
context:
space:
mode:
Diffstat (limited to 'ospfd/ospf_lsa.h')
-rw-r--r--ospfd/ospf_lsa.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ospfd/ospf_lsa.h b/ospfd/ospf_lsa.h
index 6d10e645..952ca774 100644
--- a/ospfd/ospf_lsa.h
+++ b/ospfd/ospf_lsa.h
@@ -90,6 +90,12 @@ struct ospf_lsa
/* All of reference count, also lock to remove. */
int lock;
+ /* Flags for the SPF calculation. */
+ int stat;
+ #define LSA_SPF_NOT_EXPLORED -1
+ #define LSA_SPF_IN_SPFTREE -2
+ /* If stat >= 0, stat is LSA position in candidates heap. */
+
/* References to this LSA in neighbor retransmission lists*/
int retransmit_counter;