summaryrefslogtreecommitdiff
path: root/pimd/pim_nht.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-04-03 11:21:37 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-04-05 11:12:59 -0400
commit2cb7234faff0ac0c0b51cb4c0585d0500bb48f7e (patch)
tree28409944666472f8a7b6866cb100e8f8ae852ccd /pimd/pim_nht.h
parent43763b11d0d51b60809cddc4722daae359a4d1a9 (diff)
pimd: Add a flag PIM_NEXTHOP_ANSWER_RECEIVED
Track whether or not we have received an answer from our query to do nexthop tracking. This allows us to go straight to doing a synchronous query for our RPF. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_nht.h')
-rw-r--r--pimd/pim_nht.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pimd/pim_nht.h b/pimd/pim_nht.h
index 8f68af5652..13bb0fcb55 100644
--- a/pimd/pim_nht.h
+++ b/pimd/pim_nht.h
@@ -41,6 +41,7 @@ struct pim_nexthop_cache {
int64_t last_update;
uint16_t flags;
#define PIM_NEXTHOP_VALID (1 << 0)
+#define PIM_NEXTHOP_ANSWER_RECEIVED (1 << 1)
struct list *rp_list;
struct hash *upstream_hash;