summaryrefslogtreecommitdiff
path: root/lib/pbr.h
diff options
context:
space:
mode:
authorG. Paul Ziemba <paulz@labn.net>2023-08-01 06:49:38 -0700
committerG. Paul Ziemba <paulz@labn.net>2023-08-08 10:18:22 -0700
commit5572f45d51c587691384a9ec3a195e6a01540930 (patch)
tree2f4eb5f788a0194b8ecf49fb5119df25817d5385 /lib/pbr.h
parent09262f1b720ff22631e34222321099187bfd37d8 (diff)
pbrd: PBR_FILTER_DSFIELD -> {PBR_FILTER_DSCP,PBR_FILTER_ECN}
DSCP and ECN matching are configured independently. Maintain these values in independent fields in pbrd, zapi, and zebra. Signed-off-by: G. Paul Ziemba <paulz@labn.net>
Diffstat (limited to 'lib/pbr.h')
-rw-r--r--lib/pbr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pbr.h b/lib/pbr.h
index 5414e97446..1c89f2f552 100644
--- a/lib/pbr.h
+++ b/lib/pbr.h
@@ -37,7 +37,8 @@ struct pbr_filter {
#define PBR_FILTER_IP_PROTOCOL (1 << 5)
#define PBR_FILTER_SRC_PORT_RANGE (1 << 6)
#define PBR_FILTER_DST_PORT_RANGE (1 << 7)
-#define PBR_FILTER_DSFIELD (1 << 8)
+#define PBR_FILTER_DSCP (1 << 8)
+#define PBR_FILTER_ECN (1 << 9)
#define PBR_FILTER_PCP (1 << 10)
#define PBR_FILTER_VLAN_FLAGS (1 << 11)
#define PBR_FILTER_VLAN_ID (1 << 12)