summaryrefslogtreecommitdiff
path: root/lib/mpls.h
diff options
context:
space:
mode:
authorDaniel Walton <dwalton76@gmail.com>2017-06-21 10:30:29 -0400
committerGitHub <noreply@github.com>2017-06-21 10:30:29 -0400
commitc1a44e43672607a557d895cade446e776c11ce1f (patch)
treeaa6177c84e1c44542bb3a4e3b870a67afaaa2ef4 /lib/mpls.h
parentbf468c3ca5d96af40ba4af4967ec3e48fdf76447 (diff)
parent2ca02077216cc8d8bde6b6da279f9fd03e0ac04a (diff)
Merge branch 'master' into bgpd-ipv4-plus-label-misc3
Diffstat (limited to 'lib/mpls.h')
-rw-r--r--lib/mpls.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/mpls.h b/lib/mpls.h
index d78fcb1f57..20315df7d6 100644
--- a/lib/mpls.h
+++ b/lib/mpls.h
@@ -40,6 +40,10 @@
#define MPLS_MIN_UNRESERVED_LABEL 16
#define MPLS_MAX_UNRESERVED_LABEL 1048575
+/* Default min and max SRGB label range */
+#define MPLS_DEFAULT_MIN_SRGB_LABEL 16000
+#define MPLS_DEFAULT_MAX_SRGB_LABEL 23999
+
#define IS_MPLS_RESERVED_LABEL(label) \
(label >= MPLS_MIN_RESERVED_LABEL && label <= MPLS_MAX_RESERVED_LABEL)