1 /* SPDX-License-Identifier: LGPL-2.1+
2 * Copyright © 2019 VMware, Inc. */
5 #include "conf-parser.h"
7 #include "networkd-link.h"
8 #include "networkd-network.h"
9 #include "networkd-util.h"
11 typedef struct QDiscs
{
12 NetworkConfigSection
*section
;
22 bool has_network_emulator
:1;
27 void qdisc_free(QDiscs
*qdisc
);
28 int qdisc_new_static(Network
*network
, const char *filename
, unsigned section_line
, QDiscs
**ret
);
30 int qdisc_configure(Link
*link
, QDiscs
*qdisc
);
32 DEFINE_NETWORK_SECTION_FUNCTIONS(QDiscs
, qdisc_free
);
34 CONFIG_PARSER_PROTOTYPE(config_parse_tc_qdiscs_parent
);