summaryrefslogtreecommitdiff
path: root/pbrd/pbr_map.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-09-03 19:12:44 -0400
committerGitHub <noreply@github.com>2019-09-03 19:12:44 -0400
commit453ff8cd87ac5cb41376d3f8959d3da62881b27d (patch)
treed49a5460a9ed536fca7d67dcdb902a73de745df3 /pbrd/pbr_map.h
parent9d559269246f6e0e7df7178d9b22957513c2f223 (diff)
parent95a9fe025a2052a05150a450f423f9731127294b (diff)
Merge pull request #4923 from Jafaral/pbrmark
pbrd: support mark matches
Diffstat (limited to 'pbrd/pbr_map.h')
-rw-r--r--pbrd/pbr_map.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/pbrd/pbr_map.h b/pbrd/pbr_map.h
index 945f76bb2b..112acfe44e 100644
--- a/pbrd/pbr_map.h
+++ b/pbrd/pbr_map.h
@@ -87,6 +87,7 @@ struct pbr_map_sequence {
*/
struct prefix *src;
struct prefix *dst;
+ uint32_t mark;
/*
* Family of the src/dst. Needed when deleting since we clear them
@@ -126,7 +127,7 @@ struct pbr_map_sequence {
#define PBR_MAP_INVALID_NEXTHOP (1 << 1)
#define PBR_MAP_INVALID_NO_NEXTHOPS (1 << 2)
#define PBR_MAP_INVALID_BOTH_NHANDGRP (1 << 3)
-#define PBR_MAP_INVALID_SRCDST (1 << 4)
+#define PBR_MAP_INVALID_EMPTY (1 << 4)
uint64_t reason;
QOBJ_FIELDS