Lines Matching refs:new_slot
797 struct dhcpv4_addr_slot *new_slot = NULL; in echo_reply_handler() local
837 new_slot = slot; in echo_reply_handler()
842 if (new_slot == NULL) { in echo_reply_handler()
849 if (dhcpv4_probe_address(ctx, new_slot) < 0) { in echo_reply_handler()
855 new_slot->state = DHCPV4_SERVER_ADDR_RESERVED; in echo_reply_handler()
856 new_slot->expiry = sys_timepoint_calc(ADDRESS_PROBE_TIMEOUT); in echo_reply_handler()
857 new_slot->client_id.len = probe_ctx->slot->client_id.len; in echo_reply_handler()
858 memcpy(new_slot->client_id.buf, probe_ctx->slot->client_id.buf, in echo_reply_handler()
859 new_slot->client_id.len); in echo_reply_handler()
860 new_slot->lease_time = probe_ctx->slot->lease_time; in echo_reply_handler()
862 probe_ctx->slot = new_slot; in echo_reply_handler()