Debian Codegraph @

src/network/tc/fq.h

raw
1 /* SPDX-License-Identifier: LGPL-2.1-or-later
2 * Copyright © 2019 VMware, Inc. */
3 #pragma once
4
5 #include "shared-forward.h"
6 #include "qdisc.h"
7
8 typedef struct FairQueueing {
9 QDisc meta;
10
11 uint32_t packet_limit;
12 uint32_t flow_limit;
13 uint32_t quantum;
14 uint32_t initial_quantum;
15 uint32_t max_rate;
16 uint32_t buckets;
17 uint32_t orphan_mask;
18 int pacing;
19 usec_t ce_threshold_usec;
20 } FairQueueing;
21
22 DEFINE_QDISC_CAST(FQ, FairQueueing);
23 extern const QDiscVTable fq_vtable;
24
25 CONFIG_PARSER_PROTOTYPE(config_parse_fq_u32);
26 CONFIG_PARSER_PROTOTYPE(config_parse_fq_size);
27 CONFIG_PARSER_PROTOTYPE(config_parse_fq_bool);
28 CONFIG_PARSER_PROTOTYPE(config_parse_fq_usec);
29 CONFIG_PARSER_PROTOTYPE(config_parse_fq_max_rate);