summaryrefslogtreecommitdiffstats
path: root/src/vnet/srv6/sr.h
diff options
context:
space:
mode:
authorPablo Camarillo <pcamaril@cisco.com>2017-06-06 15:18:12 +0200
committerDamjan Marion <dmarion.lists@gmail.com>2017-06-07 13:01:33 +0000
commit7a4e0925f58f04cd31e4c37def959600d888940c (patch)
tree26054b7d555b9b65f5686ad2623f599a0817d116 /src/vnet/srv6/sr.h
parent0018a3e54efcf6dfbc08ae307b366ee6c4fb3257 (diff)
VPP-872 and End.T function for SRv6
Fixes VPP-872 and adds support for End.T Change-Id: I3c32cb6e412f37babe1abd293c0b6b49367fc2a9 Signed-off-by: Pablo Camarillo <pcamaril@cisco.com>
Diffstat (limited to 'src/vnet/srv6/sr.h')
-rwxr-xr-xsrc/vnet/srv6/sr.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/vnet/srv6/sr.h b/src/vnet/srv6/sr.h
index 2014a23edae..d0f42869d21 100755
--- a/src/vnet/srv6/sr.h
+++ b/src/vnet/srv6/sr.h
@@ -36,13 +36,14 @@
#define SR_BEHAVIOR_END 1
#define SR_BEHAVIOR_X 2
-#define SR_BEHAVIOR_D_FIRST 3 /* Unused. Separator in between regular and D */
-#define SR_BEHAVIOR_DX2 4
-#define SR_BEHAVIOR_DX6 5
-#define SR_BEHAVIOR_DX4 6
-#define SR_BEHAVIOR_DT6 7
-#define SR_BEHAVIOR_DT4 8
-#define SR_BEHAVIOR_LAST 9 /* Must always be the last one */
+#define SR_BEHAVIOR_T 3
+#define SR_BEHAVIOR_D_FIRST 4 /* Unused. Separator in between regular and D */
+#define SR_BEHAVIOR_DX2 5
+#define SR_BEHAVIOR_DX6 6
+#define SR_BEHAVIOR_DX4 7
+#define SR_BEHAVIOR_DT6 8
+#define SR_BEHAVIOR_DT4 9
+#define SR_BEHAVIOR_LAST 10 /* Must always be the last one */
#define SR_STEER_L2 2
#define SR_STEER_IPV4 4