Home
last modified time | relevance | path

Searched refs:sd_dhcp_route (Results 1 – 7 of 7) sorted by relevance

/systemd-251/src/systemd/
Dsd-dhcp-lease.h32 typedef struct sd_dhcp_route sd_dhcp_route; typedef
70 int sd_dhcp_lease_get_static_routes(sd_dhcp_lease *lease, sd_dhcp_route ***ret);
71 int sd_dhcp_lease_get_classless_routes(sd_dhcp_lease *lease, sd_dhcp_route ***ret);
83 int sd_dhcp_route_get_destination(sd_dhcp_route *route, struct in_addr *destination);
84 int sd_dhcp_route_get_destination_prefix_length(sd_dhcp_route *route, uint8_t *length);
85 int sd_dhcp_route_get_gateway(sd_dhcp_route *route, struct in_addr *gateway);
/systemd-251/src/libsystemd-network/
Dnetwork-internal.h21 struct sd_dhcp_route;
24 void serialize_dhcp_routes(FILE *f, const char *key, struct sd_dhcp_route **routes, size_t size);
25 int deserialize_dhcp_routes(struct sd_dhcp_route **ret, size_t *ret_size, const char *string);
Ddhcp-lease-internal.h15 struct sd_dhcp_route { struct
53 struct sd_dhcp_route *static_routes;
55 struct sd_dhcp_route *classless_routes;
Dsd-dhcp-lease.c218 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()
[all …]
Dnetwork-internal.c137 void serialize_dhcp_routes(FILE *f, const char *key, sd_dhcp_route **routes, size_t size) { in serialize_dhcp_routes()
161 int deserialize_dhcp_routes(struct sd_dhcp_route **ret, size_t *ret_size, const char *string) { in deserialize_dhcp_routes()
162 _cleanup_free_ struct sd_dhcp_route *routes = NULL; in deserialize_dhcp_routes()
/systemd-251/src/network/
Dtest-network.c54 _cleanup_free_ struct sd_dhcp_route *routes = NULL; in test_deserialize_dhcp_routes()
61 _cleanup_free_ struct sd_dhcp_route *routes = NULL; in test_deserialize_dhcp_routes()
82 _cleanup_free_ struct sd_dhcp_route *routes = NULL; in test_deserialize_dhcp_routes()
99 _cleanup_free_ struct sd_dhcp_route *routes = NULL; in test_deserialize_dhcp_routes()
Dnetworkd-dhcp4.c402 _cleanup_free_ sd_dhcp_route **static_routes = NULL, **classless_routes = NULL; in dhcp4_request_static_routes()
405 sd_dhcp_route **routes; in dhcp4_request_static_routes()