summaryrefslogtreecommitdiffstats
path: root/src/vnet/policer/policer.h
diff options
context:
space:
mode:
authorBrian Russell <brian@graphiant.com>2021-02-17 15:45:56 +0000
committerNeale Ranns <neale@graphiant.com>2021-02-19 10:45:13 +0000
commit15c18e3e40d3bf754e5b6969c7478ad9f1d5e95b (patch)
tree4debf697900a23661adc7668203b579063acf523 /src/vnet/policer/policer.h
parent428a442a5c00892795f24c6634c0b00d3eaa26d1 (diff)
policer: add policing as device-input feature
Add input per-interface policing as an input feature, repurposing vnet_policer_inline which formermly allowed input policing to be configured via a CLI. Type: improvement Signed-off-by: Brian Russell <brian@graphiant.com> Change-Id: I2fd00e964ae358a05e507c844f5476372124fae1
Diffstat (limited to 'src/vnet/policer/policer.h')
-rw-r--r--src/vnet/policer/policer.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/vnet/policer/policer.h b/src/vnet/policer/policer.h
index 783c0ad2f35..9a6de1490a5 100644
--- a/src/vnet/policer/policer.h
+++ b/src/vnet/policer/policer.h
@@ -54,14 +54,6 @@ extern vlib_combined_counter_main_t policer_counters[];
typedef enum
{
- VNET_POLICER_INDEX_BY_SW_IF_INDEX,
- VNET_POLICER_INDEX_BY_OPAQUE,
- VNET_POLICER_INDEX_BY_EITHER,
-} vnet_policer_index_t;
-
-typedef enum
-{
- VNET_POLICER_NEXT_TRANSMIT,
VNET_POLICER_NEXT_DROP,
VNET_POLICER_N_NEXT,
} vnet_policer_next_t;