mirror of
https://github.com/systemd/systemd.git
synced 2025-03-31 14:50:15 +03:00
network: rename type name to ProportionalIntegralControllerEnhanced
This commit is contained in:
parent
c3151977d7
commit
ff60129bc4
@ -11,7 +11,7 @@
|
||||
#include "string-util.h"
|
||||
|
||||
static int pie_fill_message(Link *link, QDisc *qdisc, sd_netlink_message *req) {
|
||||
proportional_integral_controller_enhanced *pie;
|
||||
ProportionalIntegralControllerEnhanced *pie;
|
||||
int r;
|
||||
|
||||
assert(link);
|
||||
@ -50,7 +50,7 @@ int config_parse_pie_packet_limit(
|
||||
void *userdata) {
|
||||
|
||||
_cleanup_(qdisc_free_or_set_invalidp) QDisc *qdisc = NULL;
|
||||
proportional_integral_controller_enhanced *pie;
|
||||
ProportionalIntegralControllerEnhanced *pie;
|
||||
Network *network = data;
|
||||
int r;
|
||||
|
||||
@ -89,7 +89,7 @@ int config_parse_pie_packet_limit(
|
||||
}
|
||||
|
||||
const QDiscVTable pie_vtable = {
|
||||
.object_size = sizeof(proportional_integral_controller_enhanced),
|
||||
.object_size = sizeof(ProportionalIntegralControllerEnhanced),
|
||||
.tca_kind = "pie",
|
||||
.fill_message = pie_fill_message,
|
||||
};
|
||||
|
@ -5,13 +5,13 @@
|
||||
#include "conf-parser.h"
|
||||
#include "qdisc.h"
|
||||
|
||||
typedef struct proportional_integral_controller_enhanced {
|
||||
typedef struct ProportionalIntegralControllerEnhanced {
|
||||
QDisc meta;
|
||||
|
||||
uint32_t packet_limit;
|
||||
} proportional_integral_controller_enhanced;
|
||||
} ProportionalIntegralControllerEnhanced;
|
||||
|
||||
DEFINE_QDISC_CAST(PIE, proportional_integral_controller_enhanced);
|
||||
DEFINE_QDISC_CAST(PIE, ProportionalIntegralControllerEnhanced);
|
||||
extern const QDiscVTable pie_vtable;
|
||||
|
||||
CONFIG_PARSER_PROTOTYPE(config_parse_pie_packet_limit);
|
||||
|
Loading…
x
Reference in New Issue
Block a user