1 /* SPDX-License-Identifier: LGPL-2.1-or-later
2  * Copyright © 2020 VMware, Inc. */
3 #pragma once
4 
5 #include "conf-parser.h"
6 #include "qdisc.h"
7 
8 typedef struct HeavyHitterFilter {
9         QDisc meta;
10 
11         uint32_t packet_limit;
12 } HeavyHitterFilter;
13 
14 DEFINE_QDISC_CAST(HHF, HeavyHitterFilter);
15 extern const QDiscVTable hhf_vtable;
16 
17 CONFIG_PARSER_PROTOTYPE(config_parse_heavy_hitter_filter_packet_limit);
18