Lines Matching refs:DHCPLease
30 static DHCPLease *dhcp_lease_free(DHCPLease *lease) { in dhcp_lease_free()
45 DEFINE_TRIVIAL_CLEANUP_FUNC(DHCPLease*, dhcp_lease_free);
157 DHCPLease,
948 DHCPLease **ret_lease, in prepare_new_lease()
957 _cleanup_(dhcp_lease_freep) DHCPLease *lease = NULL; in prepare_new_lease()
959 lease = new(DHCPLease, 1); in prepare_new_lease()
963 *lease = (DHCPLease) { in prepare_new_lease()
982 static int server_ack_request(sd_dhcp_server *server, DHCPRequest *req, DHCPLease *existing_lease, … in server_ack_request()
1002 _cleanup_(dhcp_lease_freep) DHCPLease *lease = NULL; in server_ack_request()
1036 DHCPLease *lease; in dhcp_server_cleanup_expired_leases()
1071 DHCPLease *existing_lease, *static_lease; in dhcp_server_handle_message()
1422 DHCPLease *lease; in sd_dhcp_server_forcerenew()
1632 _cleanup_(dhcp_lease_freep) DHCPLease *lease = NULL; in sd_dhcp_server_set_static_lease()
1654 lease = new(DHCPLease, 1); in sd_dhcp_server_set_static_lease()
1658 *lease = (DHCPLease) { in sd_dhcp_server_set_static_lease()