Home
last modified time | relevance | path

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

/systemd-251/src/network/
Dnetworkd-dhcp4.c403 size_t n_static_routes, n_classless_routes, n; in dhcp4_request_static_routes() local
422 n_classless_routes = 0; in dhcp4_request_static_routes()
426 n_classless_routes = r; in dhcp4_request_static_routes()
428 if (n_classless_routes == 0 && n_static_routes == 0) { in dhcp4_request_static_routes()
435 if (n_classless_routes > 0 && n_static_routes > 0) in dhcp4_request_static_routes()
443 for (size_t i = 0; i < n_classless_routes; i++) { in dhcp4_request_static_routes()
473 if (n_classless_routes > 0) { in dhcp4_request_static_routes()
474 n = n_classless_routes; in dhcp4_request_static_routes()
507 if (n_classless_routes > 0 && in dhcp4_request_static_routes()
518 return n_classless_routes > 0; in dhcp4_request_static_routes()
/systemd-251/src/libsystemd-network/
Ddhcp-lease-internal.h56 size_t n_classless_routes; member
Dsd-dhcp-lease.c249 return dhcp_lease_get_routes(lease->classless_routes, lease->n_classless_routes, ret); in sd_dhcp_lease_get_classless_routes()
558 if (!GREEDY_REALLOC(lease->classless_routes, lease->n_classless_routes + 1)) in lease_parse_classless_routes()
561 lease->classless_routes[lease->n_classless_routes++] = (struct sd_dhcp_route) { in lease_parse_classless_routes()
1357 &lease->n_classless_routes, in dhcp_lease_load()