summaryrefslogtreecommitdiff
path: root/zebra/rib.h
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2017-06-08 20:29:12 -0300
committerRenato Westphal <renato@opensourcerouting.org>2017-07-25 00:53:23 -0300
commit8d05ef64d8842af9eb91df6c8c4de1e073f99b2e (patch)
tree96faacab9fc53907b869635445e927a4fee25100 /zebra/rib.h
parent8cbeaaa2286b856ec66bc353c43cad882262fff9 (diff)
zebra: add new flag to detect nexthop label updates
With the introduction of the pseudowire manager, the NHT tracking code needs to detect label updates as well. Create a specific nexthop flag for that. We can't reuse the RIB_ENTRY_NEXTHOPS_CHANGED flag for this porpose because this flag is always cleared and reevaluated in rib_process(), setting it outside that function is a nop. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'zebra/rib.h')
-rw-r--r--zebra/rib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/rib.h b/zebra/rib.h
index 5381d76b98..e910facb44 100644
--- a/zebra/rib.h
+++ b/zebra/rib.h
@@ -91,6 +91,7 @@ struct rib
#define RIB_ENTRY_NEXTHOPS_CHANGED 0x2
#define RIB_ENTRY_CHANGED 0x4
#define RIB_ENTRY_SELECTED_FIB 0x8
+#define RIB_ENTRY_LABELS_CHANGED 0x10
/* Nexthop information. */
u_char nexthop_num;