Home
last modified time | relevance | path

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

/systemd-251/src/libsystemd-network/
Dsd-dhcp-server.c982 static int server_ack_request(sd_dhcp_server *server, DHCPRequest *req, DHCPLease *existing_lease, … in server_ack_request() argument
996 if (existing_lease) { in server_ack_request()
997 assert(existing_lease->server); in server_ack_request()
998 assert(existing_lease->address == address); in server_ack_request()
999 existing_lease->expiration = expiration; in server_ack_request()
1071 DHCPLease *existing_lease, *static_lease; in dhcp_server_handle_message() local
1096 existing_lease = hashmap_get(server->bound_leases_by_client_id, &req->client_id); in dhcp_server_handle_message()
1113 else if (existing_lease) in dhcp_server_handle_message()
1114 address = existing_lease->address; in dhcp_server_handle_message()
1217 return server_ack_request(server, req, existing_lease, address); in dhcp_server_handle_message()
[all …]