summaryrefslogtreecommitdiff
path: root/lib/zclient.h
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2020-09-23 16:06:37 -0400
committerGitHub <noreply@github.com>2020-09-23 16:06:37 -0400
commitccda0eadac743dd4e9b02d6c28b226ef6e8f90b3 (patch)
tree7e7dc46fa6e9c96e0a34296fa5d43139817fb170 /lib/zclient.h
parent4020564a3cc230d4ef14d39b69d15e1c967d33e7 (diff)
parent5a3cf85391b3665b5344d577e98aaa29a1927818 (diff)
Merge pull request #7155 from donaldsharp/TRAP
Offload/Trap
Diffstat (limited to 'lib/zclient.h')
-rw-r--r--lib/zclient.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/zclient.h b/lib/zclient.h
index f99b3ad743..050877f27a 100644
--- a/lib/zclient.h
+++ b/lib/zclient.h
@@ -480,6 +480,20 @@ struct zapi_route {
* route entry. This mainly is used for backup static routes.
*/
#define ZEBRA_FLAG_RR_USE_DISTANCE 0x40
+/*
+ * This flag tells everyone that the route was intentionally
+ * not offloaded and the route will be sent to the cpu for
+ * forwarding. This flag makes no sense unless you are in
+ * an asic offload situation
+ */
+#define ZEBRA_FLAG_TRAPPED 0x80
+/*
+ * This flag tells everyone that the route has been
+ * successfully offloaded to an asic for forwarding.
+ * This flag makes no sense unless you are in an asic
+ * offload situation.
+ */
+#define ZEBRA_FLAG_OFFLOADED 0x100
/* The older XXX_MESSAGE flags live here */
uint32_t message;