
{    The purpose of this routine is to dump and reload any malfunctioning
{ local NADs that are maintained by this host.
{
{      When a NAD that is maintained by the local RHFAM/VE is flagged
{ as unoperational (nad_status = rfc$es_down), the access method
{ attempts a microcode dump and a microcode reload to restore the
{ NAD.  If the NAD is successfully reloaded the 'nad_status' is updated
{ and the NAD is considered available for future activity.  If the
{ NAD reload fails the status is set to rfc$es_off and the corresponding
{ 'reload_failed' field is set to TRUE.  The following algorithm is
{ used for determining dump/reload requirements:
{
{      FOR  each local nad  DO
{        IF  the nad is unoperational
{            AND  this host is to perform the reloading
{            AND  (reload count below threshold
{                   AND  reload has not already failed)
{              OR   operator has requested a nad test      THEN
{          IF  the reload has not started  THEN
{            force status request to complete.
{            clear the incoming connects.
{            clear the current connections.
{            delete any control messages.
{            wake up tasks waiting for events from this NAD.
{            IF NOT operator requested local nad test  THEN
{              post dump request.
{            IFEND
{          IFEND
{          IF  the dump failed or completed  THEN
{            post load request.
{          IFEND
{          IF  the nad reload failed
{            OR  the local nad test failed  THEN
{            set the NAD status to off.
{            log the final statistics.
{          IFEND
{        IFEND
{        IF  the operator has disabled the NAD  THEN
{          force status request to complete.
{          clear the incoming connects.
{          clear the current connections.
{          delete any control messages.
{          wake up tasks waiting for events from this NAD.
{          log the final statistics.
{        IFEND
{      FOREND
{
{    The dump and reload processing requires multiple requests to
{ perform the necessary functions to restore the NAD hardware to the
{ appropriate state.  As each request is completed the response
{ handler must analyze the results and determine if the next
{ request should be posted, the previous request should be retried,
{ the request cannot be retried, or the request is completed.
{
{    If a local NAD load or test fails, then the NAD is turned OFF
{ to return it to the system for maintenance.  If a remote NAD reload
{ fails, then a subsequent reload is attempted after an extended delay.
{
{    current_time: (input) This parameter specifies the current time
{      in microseconds, which is used for event timing.
