diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-01-05 21:08:40 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-01-06 17:39:58 +0100 |
commit | df8767fc8d8824ffc0a6858de7647b3cc8ee5fa0 (patch) | |
tree | f448b167e2d431c1ea6ea4b4c81a9a061834ff12 /src/network/networkd-route-nexthop.h | |
parent | network/route: rename n -> route in conf parsers (diff) | |
download | systemd-df8767fc8d8824ffc0a6858de7647b3cc8ee5fa0.tar.xz systemd-df8767fc8d8824ffc0a6858de7647b3cc8ee5fa0.zip |
network/route: move several conf parsers to networkd-route-metric.c and networkd-route-nexthop.c
This also split config_parse_route_boolean() into two:
for GatewayOnline= and boolean route metrics.
No functional change, just refactoring and preparation for later commits.
Diffstat (limited to 'src/network/networkd-route-nexthop.h')
-rw-r--r-- | src/network/networkd-route-nexthop.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/network/networkd-route-nexthop.h b/src/network/networkd-route-nexthop.h new file mode 100644 index 0000000000..ae07696e5a --- /dev/null +++ b/src/network/networkd-route-nexthop.h @@ -0,0 +1,7 @@ +/* SPDX-License-Identifier: LGPL-2.1-or-later */ +#pragma once + +#include "conf-parser.h" + +CONFIG_PARSER_PROTOTYPE(config_parse_route_nexthop); +CONFIG_PARSER_PROTOTYPE(config_parse_multipath_route); |