summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-route.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-08-26 07:43:07 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-08-26 12:47:23 +0200
commitdc7c21f00109886c52f04a4162ad6e36a43ca8c5 (patch)
tree12806c81e870f0b697eb4c2fe806a7846c50c37e /src/network/networkd-route.h
parentsd-netlink: fix attribute type for RTAX_CC_ALGO (diff)
downloadsystemd-dc7c21f00109886c52f04a4162ad6e36a43ca8c5.tar.xz
systemd-dc7c21f00109886c52f04a4162ad6e36a43ca8c5.zip
network: introduce TCPCongestionControlAlgorithm=
Closes #24432.
Diffstat (limited to 'src/network/networkd-route.h')
-rw-r--r--src/network/networkd-route.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/networkd-route.h b/src/network/networkd-route.h
index b431e1a30f..fd4433eae4 100644
--- a/src/network/networkd-route.h
+++ b/src/network/networkd-route.h
@@ -50,6 +50,7 @@ struct Route {
uint32_t initcwnd;
uint32_t initrwnd;
uint32_t advmss;
+ char *tcp_congestion_control_algo;
unsigned char pref;
unsigned flags;
int gateway_onlink; /* Only used in conf parser and route_section_verify(). */
@@ -123,5 +124,6 @@ CONFIG_PARSER_PROTOTYPE(config_parse_route_type);
CONFIG_PARSER_PROTOTYPE(config_parse_tcp_window);
CONFIG_PARSER_PROTOTYPE(config_parse_route_mtu);
CONFIG_PARSER_PROTOTYPE(config_parse_multipath_route);
+CONFIG_PARSER_PROTOTYPE(config_parse_tcp_congestion);
CONFIG_PARSER_PROTOTYPE(config_parse_tcp_advmss);
CONFIG_PARSER_PROTOTYPE(config_parse_route_nexthop);