Lines Matching refs:sd_dhcp_route
218 static int dhcp_lease_get_routes(sd_dhcp_route *routes, size_t n_routes, sd_dhcp_route ***ret) { in dhcp_lease_get_routes()
225 sd_dhcp_route **buf; in dhcp_lease_get_routes()
227 buf = new(sd_dhcp_route*, n_routes); in dhcp_lease_get_routes()
240 int sd_dhcp_lease_get_static_routes(sd_dhcp_lease *lease, sd_dhcp_route ***ret) { in sd_dhcp_lease_get_static_routes()
246 int sd_dhcp_lease_get_classless_routes(sd_dhcp_lease *lease, sd_dhcp_route ***ret) { in sd_dhcp_lease_get_classless_routes()
516 lease->static_routes[lease->n_static_routes++] = (struct sd_dhcp_route) { in lease_parse_static_routes()
561 lease->classless_routes[lease->n_classless_routes++] = (struct sd_dhcp_route) { in lease_parse_classless_routes()
973 _cleanup_free_ sd_dhcp_route **routes = NULL; in dhcp_lease_save()
1484 int sd_dhcp_route_get_destination(sd_dhcp_route *route, struct in_addr *destination) { in sd_dhcp_route_get_destination()
1492 int sd_dhcp_route_get_destination_prefix_length(sd_dhcp_route *route, uint8_t *length) { in sd_dhcp_route_get_destination_prefix_length()
1500 int sd_dhcp_route_get_gateway(sd_dhcp_route *route, struct in_addr *gateway) { in sd_dhcp_route_get_gateway()