src/network/tc/sfb.h
raw| 1 | /* SPDX-License-Identifier: LGPL-2.1-or-later |
| 2 | * Copyright © 2020 VMware, Inc. */ |
| 3 | #pragma once |
| 4 | |
| 5 | #include "shared-forward.h" |
| 6 | #include "qdisc.h" |
| 7 | |
| 8 | typedef struct StochasticFairBlue { |
| 9 | QDisc meta; |
| 10 | |
| 11 | uint32_t packet_limit; |
| 12 | } StochasticFairBlue; |
| 13 | |
| 14 | DEFINE_QDISC_CAST(SFB, StochasticFairBlue); |
| 15 | extern const QDiscVTable sfb_vtable; |
| 16 | |
| 17 | CONFIG_PARSER_PROTOTYPE(config_parse_sfb_u32); |