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_inlines.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_inlines.h')
-rw-r--r-- | src/vnet/policer/police_inlines.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/policer/police_inlines.h b/src/vnet/policer/police_inlines.h index 0ed973079a6..c3bd324d85b 100644 --- a/src/vnet/policer/police_inlines.h +++ b/src/vnet/policer/police_inlines.h @@ -25,7 +25,7 @@ #define IP6_DSCP_SHIFT 22 static_always_inline void -vnet_policer_mark (vlib_buffer_t * b, u8 dscp) +vnet_policer_mark (vlib_buffer_t *b, ip_dscp_t dscp) { ethernet_header_t *eh; ip4_header_t *ip4h; |