| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This introduces a generic [Route] section parser, then embed conf
parsers for route metric into it.
|
| |
|
|
|
|
|
|
| |
I didn't know that this helper existed… It is very similar to strdup_to_full(),
but all callers can actually be replaced by strdup_to(), which has more fitting
semantics.
|
|
|
|
|
|
| |
requested ones
Fixes #28853.
|
|
|
|
|
|
|
| |
Then, Route object can live if it is detached from the owner (Manager,
Network, or Wireguard object).
This is the one for routes of ebd96906477aac2bbc6b9de0d6e9bd0f39db5581.
|
| |
|
|
|
|
|
|
| |
specified
Follow-up for 18c4c5d84f756b144a1823f3de8bc0e61264b976.
|
| |
|
|
|
|
|
| |
Then, define config_parse_route_metric_mtu() and _tcp_window() through
the macro.
|
|
|
|
|
|
|
|
| |
Except for RTAX_CC_ALGO, all RTAX_XYZ attributes take uint32_t and
the kernel's default value is zero. So, let's unify handling of the
attributes.
This should not change any effective behavior. Just refactoring.
|
|
|
|
|
|
|
|
| |
Then, split out route metric handling from networkd-route.c to
networkd-route-metric.c.
No functional change, just refactoring and preparation for later
commits.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The passed attribute type will be used later.
This also
- rename conf parsers,
- sort gperf entries by the attr type.
No functional change, just refactoring and preparation for later commits.
|
|
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.
|