summaryrefslogtreecommitdiffstats
path: root/isisd/isis_sr.h
diff options
context:
space:
mode:
authorOlivier Dugeon <olivier.dugeon@orange.com>2020-05-04 09:40:36 +0200
committerOlivier Dugeon <olivier.dugeon@orange.com>2020-05-14 16:36:38 +0200
commitb407c77a4aa371e2b87a7e1613ec36e14e900064 (patch)
tree51fd746593ed0f2e48cf30c5558d2a625b34b922 /isisd/isis_sr.h
parentisisd: IS-IS-SR preparation for master 2/5 (diff)
downloadfrr-b407c77a4aa371e2b87a7e1613ec36e14e900064.tar.xz
frr-b407c77a4aa371e2b87a7e1613ec36e14e900064.zip
isisd: IS-IS-SR preparation for master 3/5
Add debug macro and debug messages Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
Diffstat (limited to 'isisd/isis_sr.h')
-rw-r--r--isisd/isis_sr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/isisd/isis_sr.h b/isisd/isis_sr.h
index 2759e860f..0b84db90f 100644
--- a/isisd/isis_sr.h
+++ b/isisd/isis_sr.h
@@ -173,6 +173,8 @@ enum sr_sid_value_type {
SR_SID_VALUE_TYPE_ABSOLUTE = 1,
};
+#define IS_SID_VALUE(flag) CHECK_FLAG(flag, ISIS_PREFIX_SID_VALUE)
+
/* NOTE: these values must be in sync with the YANG module. */
enum sr_last_hop_behavior {
SR_LAST_HOP_BEHAVIOR_EXP_NULL = 0,