summaryrefslogtreecommitdiffstats
path: root/src/network/tc/sfq.h
blob: 19c8decf131ae4dcb25334e6df06cd143752460b (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+
 * 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);