Home
last modified time | relevance | path

Searched refs:static_routes (Results 1 – 3 of 3) sorted by relevance

/systemd-251/src/libsystemd-network/
Dsd-dhcp-lease.c243 return dhcp_lease_get_routes(lease->static_routes, lease->n_static_routes, ret); in sd_dhcp_lease_get_static_routes()
328 free(lease->static_routes); in dhcp_lease_free()
513 if (!GREEDY_REALLOC(lease->static_routes, lease->n_static_routes + 1)) in lease_parse_static_routes()
516 lease->static_routes[lease->n_static_routes++] = (struct sd_dhcp_route) { in lease_parse_static_routes()
1156 *static_routes = NULL, in dhcp_lease_load() local
1197 "STATIC_ROUTES", &static_routes, in dhcp_lease_load()
1345 if (static_routes) { in dhcp_lease_load()
1347 &lease->static_routes, in dhcp_lease_load()
1349 static_routes); in dhcp_lease_load()
1351 … log_debug_errno(r, "Failed to parse DHCP static routes %s, ignoring: %m", static_routes); in dhcp_lease_load()
Ddhcp-lease-internal.h53 struct sd_dhcp_route *static_routes; member
/systemd-251/src/network/
Dnetworkd-dhcp4.c402 _cleanup_free_ sd_dhcp_route **static_routes = NULL, **classless_routes = NULL; in dhcp4_request_static_routes() local
412 r = sd_dhcp_lease_get_static_routes(link->dhcp_lease, &static_routes); in dhcp4_request_static_routes()
478 routes = static_routes; in dhcp4_request_static_routes()