Procedure DoCtl( Var Msg: Message_rec ); EXTERNAL; {*USER* Handle all router-control messages. These are messages destined for the AMIRTR program itself. Packet type/Sub-type combos recognized here: PK_DEBUG PS_START - enable debug with level given PS_RESUME - close, open new version of all debug files PS_STOP - stop debugging PK_MONITOR PS_START - start/restart monitor on given/saved file PS_RESUME - close, open new version of monitor (log) file(s) PS_STOP - stop (all) logging PK_ORDERLY_ABORT - set Exit_Request ***NOTE*** - this will take the router to a quiscient state, but may not actually cause it to exit. The router will attempt to shut down all active links, but may hang (waiting for one or more links to drop) due to lack of cooperation at the other end. The guarantee is, however, that it will be OK to abort after this (and a few seconds). PK_IDENTIFY - return a friendly message }