diff options
author | Brian Russell <brian@graphiant.com> | 2021-02-08 15:33:18 +0000 |
---|---|---|
committer | Neale Ranns <neale@graphiant.com> | 2021-02-11 08:21:56 +0000 |
commit | e3845d79bfa819355ac5085d73f3b8f2ffae2042 (patch) | |
tree | ef78beac6d512cbabb43546e41664b3cda1d05a1 /src/vnet/policer/police.h | |
parent | 1bb74944a385ea1b8f50b975359cb1c7ca94afb4 (diff) |
policer: use ip dscp
Use the common IP definitions of DSCP rather than duplicating in the
policer code.
Type: improvement
Signed-off-by: Brian Russell <brian@graphiant.com>
Change-Id: Iff4bc789356edc290b9c31eca33e93cf5b6211bf
Diffstat (limited to 'src/vnet/policer/police.h')
-rw-r--r-- | src/vnet/policer/police.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/policer/police.h b/src/vnet/policer/police.h index d135e43ef3e..602784504b2 100644 --- a/src/vnet/policer/police.h +++ b/src/vnet/policer/police.h @@ -71,7 +71,7 @@ typedef struct u32 color_aware; // for hierarchical policing u32 scale; // power-of-2 shift amount for lower rates u8 action[3]; - u8 mark_dscp[3]; + ip_dscp_t mark_dscp[3]; u8 pad[2]; // Fields are marked as 2R if they are only used for a 2-rate policer, |