summaryrefslogtreecommitdiffstats
path: root/src/network/tc/sfq.h
blob: 1626775d63d8cce83837ac0a5b97276178fcd69f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: LGPL-2.1-or-later
 * Copyright © 2019 VMware, Inc. */
#pragma once

#include "conf-parser.h"
#include "qdisc.h"
#include "time-util.h"

typedef struct StochasticFairnessQueueing {
        QDisc meta;

        usec_t perturb_period;
} StochasticFairnessQueueing;

DEFINE_QDISC_CAST(SFQ, StochasticFairnessQueueing);
extern const QDiscVTable sfq_vtable;

CONFIG_PARSER_PROTOTYPE(config_parse_stochastic_fairness_queueing_perturb_period);