|
DataMuseum.dkPresents historical artifacts from the history of: RegneCentralen RC850 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RegneCentralen RC850 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 275968 (0x43600) Types: RcTekst Names: »43G11738.WP«
└─⟦975e936c7⟧ Bits:30005865 Manualer - tekstfiler 43-GL afdelingen └─⟦this⟧ »43G11738.WP«
╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ════════════════════════════════════════════════════════════════════════ ↓ ┆14┆┆b3┆┆06┆i↲ ┆14┆┆b3┆↲ ┆a1┆┆b0┆TABLE OF CONTENTS┆05┆PAGE↲ ↲ ┆b0┆1. INTRODUCTION ┆f0┆...................................................... 1↲ 1.1 Structure of this Manual ..................................... 1↲ 1.2 Terminology and Notation ..................................... 2↲ ↲ ┆b0┆2. MODULE OVERVIEW ┆f0┆................................................... 4↲ ↲ ┆b0┆3. PROCESS COMMUNICATION ┆f0┆............................................. 16╞ ↲ 3.1 External Communication ....................................... 16↲ ╞ 3.1.1 DTE User Interface .................................... 17↲ ╞ 3.1.2 Access to the HDLCLCP ................................. 18↲ ╞ 3.1.3 Access to the NCP Module .............................. 21↲ 3.2 Internal Communication ....................................... 25↲ ╞ 3.2.1 Process dte ........................................... 26↲ ╞ 3.2.1.1 Messages received ............................ 26↲ ╞ 3.2.1.2 Messages sent ................................ 32↲ ╞ 3.2.2 Process dte access .................................... 34↲ ╞ 3.2.2.1 Messages received ............................ 34↲ ╞ 3.2.3 Process dte hrec ...................................... 42↲ ╞ 3.2.3.1 Messages received ............................ 42↲ ╞ 3.2.4 Process dte lcnzero ................................... 43↲ ╞ 3.2.4.1 Messages received ............................ 44↲ ╞ 3.2.4.2 Messages sent ................................ 47↲ ╞ 3.2.5 Process dte chan ...................................... 48↲ ╞ 3.2.5.1 Messages received ............................ 49↲ ╞ 3.2.5.2 Messages sent ................................ 52↲ ╞ 3.2.6 Process dte pool ...................................... 54↲ ↲ ┆b0┆4. PROCESS DESCRIPTIONS ┆f0┆.............................................. 55↲ 4.1 General Information .......................................... 56↲ ╞ 4.1.1 Common Data Structures ................................ 56↲ ╞ 4.1.1.1 User Table ................................... 56↲ ╞ 4.1.1.2 Semaphore Area for dte chan xxx .............. 57↲ ╞ 4.1.1.3 x25 param type ............................... 58↲ ╞ 4.1.1.4 Zones ........................................ 60↲ ╞ 4.1.2 Common or General Procedures .......................... 60↲ ╞ 4.1.2.1 X.25 Procedures .............................. 60↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆14┆┆b3┆┆06┆ii↲ ↲ ╞ 4.1.2.2 Modem Signals Handling ....................... 63↲ ╞ 4.1.2.3 User Table Operations ........................ 64↲ ╞ 4.1.2.4 Error Text Procedures ........................ 65↲ ╞ 4.1.2.5 Tracing Procedures ........................... 66↲ ╞ 4.1.2.6 Internal Test Procedures ..................... 67↲ ╞ 4.1.3 Buffer Pools .......................................... 68↲ ╞ 4.1.4 Timers in the DTE Module .............................. 71↲ ╞ 4.1.5 Relation between Streams and Logical Channels ......... 72↲ ╞ 4.1.6 Addresses used by the DTE ............................. 73↲ ╞ 4.1.6.1 User Identification .......................... 76↲ ╞ 4.1.6.2 DTE Address .................................. 77↲ ╞ 4.1.6.3 Address Procedures ........................... 79↲ ╞ 4.1.7 Naming of Running Process Incarnations ................ 81↲ 4.2 Description of dte ........................................... 83↲ ╞ 4.2.1 Process Parameters .................................... 83↲ ╞ 4.2.2 States ................................................ 86↲ ╞ 4.2.3 Semaphore and Reference Variables ..................... 88↲ ╞ 4.2.4 Data Structures ....................................... 91↲ ╞ 4.2.5 Semaphores and Message Flow ........................... 94↲ ╞ 4.2.6 Overview of Process Operation ......................... 95↲ ╞ 4.2.7 Creation and Removal of dte chan Process Incarnation .. 106↲ ╞ 4.2.8 HDLC Event Handling ................................... 110↲ 4.3 Description of dte access .................................... 113↲ ╞ 4.3.1 Process Parameters .................................... 113↲ ╞ 4.3.2 States ................................................ 114↲ ╞ 4.3.3 Semaphore and Reference Variables ..................... 117↲ ╞ 4.3.4 Data Structures ....................................... 119↲ ╞ 4.3.5 Semaphores and Message Flow ........................... 120↲ ╞ 4.3.6 Overview of Process Operation ......................... 121↲ 4.4 Description of dte hrec ...................................... 124↲ ╞ 4.4.1 Process Parameters .................................... 124↲ ╞ 4.4.2 States ................................................ 125↲ ╞ 4.4.3 Semaphore and Reference Variables ..................... 125↲ ╞ 4.4.4 Data Structures ....................................... 126↲ ╞ 4.4.5 Semaphores and Message Flow ........................... 127↲ ╞ 4.4.6 Overview of Process Operation ......................... 128↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆14┆┆b3┆┆06┆iii↲ ↲ 4.5 Description of dte lcnzero ................................... 130↲ ╞ 4.5.1 Process Parameters .................................... 130↲ ╞ 4.5.2 States ................................................ 132↲ ╞ 4.5.3 Semaphores and Reference Variables .................... 133↲ ╞ 4.5.4 Data Structures ....................................... 133↲ ╞ 4.5.5 Semaphores and Message Flow ........................... 134↲ ╞ 4.5.6 Overview of Process Operation ......................... 135↲ 4.6 Description of dte chan ...................................... 138↲ ╞ 4.6.1 Process Parameters .................................... 138↲ ╞ 4.6.2 States ................................................ 140↲ ╞ 4.6.3 Semaphores and Reference Variables .................... 141↲ ╞ 4.6.4 Data Structures ....................................... 142↲ ╞ 4.6.5 Semaphores and Message Flow ........................... 145↲ ╞ 4.6.6 Overview of Process Operation ......................... 146↲ ╞ 4.6.7 Description of dte chan local input semaphores ........ 154↲ ╞ 4.6.8 The Strategy for Acknowledgement of Data Packets ...... 155↲ ╞ 4.6.9 Maintance of Output Data Sequence ..................... 158↲ ↲ ┆b0┆5 ERROR MESSAGES ┆f0┆.................................................... 160↲ 5.1 Error Messages from error text ............................... 160↲ 5.2 Error Messages from error report and trace ................... 171↲ ↲ ┆b0┆6. TRACE AND DEBUG TOOLS ┆f0┆............................................. 173↲ 6.1 Trace System ................................................. 173↲ 6.1.1 Process Overview and Operation ........................ 173↲ 6.1.2 External Communication ................................ 177↲ 6.1.3 Operator Commands ..................................... 180↲ 6.1.4 Traceoutput Description ............................... 181↲ 6.2 Internal Test System ......................................... 183↲ 6.2.1 Process Overview and Operation ........................ 183↲ 6.2.2 External Communication ................................ 188↲ 6.2.3 Operator Commands ..................................... 191↲ 6.2.4 Testoutput Description ................................ 193↲ 6.2.4.1 Testoutput frm Process dte ................... 194↲ 6.2.4.2 Testoutput from Process dte lcnzero .......... 196↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆14┆┆b3┆┆06┆iv↲ ↲ 6.2.4.3 Testoutput from Process dte chan ............. 198↲ 6.2.4.4 Communication Line Status Information ........ 200↲ 6.2.4.5 dte access Test Message Print ................ 203↲ 6.3 Message Snoop ................................................ 205↲ ↲ ┆b0┆7. CONFIGURATION GUIDE ┆f0┆............................................... 207↲ 7.1 Configuration Parameters ..................................... 207↲ 7.1.1 Compilation Parameters ................................ 207↲ 7.1.2 Creation Parameters ................................... 208↲ 7.1.3 Special Default Values ................................ 210↲ 7.1.4 Configuration of Trace, Test and Snoop Systems ........ 211↲ 7.2 Storage Requirements ......................................... 212↲ 7.2.1 Code .................................................. 213↲ 7.2.2 Stack ................................................. 214↲ 7.2.3 Buffer Pools .......................................... 215↲ 7.2.4 Static and Dynamic Requirements ....................... 218↲ 7.3 Module Compilation ........................................... 222↲ 7.3.1 Version Information ................................... 222↲ 7.3.2 Compilation Jobs ...................................... 223↲ 7.4 Creation of the DTE Module/System ............................ 224↲ ↲ ┆b0┆8. SOURCE TEXT ORGANIZATION ┆f0┆.......................................... 225↲ ↲ ┆b0┆A. REFERENCES ┆f0┆........................................................ 229↲ ↲ ┆b0┆B. ENVIRONMENTS ┆f0┆...................................................... 231↲ B.1 External Environments ........................................ 231↲ B.2 xdteenv ...................................................... 232↲ B.3 xx25env ...................................................... 236↲ B.4 xtraceenv .................................................... 244↲ B.5 dteenv ....................................................... 247↲ B.6 dtebreakenv .................................................. 273↲ B.7 hdlcenv ...................................................... 274↲ B.8 stdconf ...................................................... 276↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆14┆┆b3┆┆06┆v↲ ↲ ┆b0┆C. STATE/ACTION TABLES ┆f0┆............................................... 277↲ C.1 dte access ................................................... 277↲ C.1.1 User Dependent ........................................ 277↲ C.1.2 Stream Dependent ...................................... 279↲ C.1.3 Stream Independent .................................... 282↲ C.2 dte lcnzero .................................................. 283↲ C.3 dte chan ..................................................... 286↲ ↲ ┆b0┆D. TRACE AND TEST DESCRIPTION ┆f0┆........................................ 303↲ D.1 Trace Example ................................................ 304↲ D.2 Testoutput Conversion ........................................ 305↲ D.3 Testoutput Examples .......................................... 311↲ D.3.1 Process dte ........................................... 311↲ D.3.2 Process dte chan 001 .................................. 312↲ ↲ ┆b0┆E. CONTENTS OF LIBRARIES ┆f0┆............................................. 313↲ E.1 Lib-Files .................................................... 313↲ E.2 Plib-Files ................................................... 315↲ ↲ ┆b0┆F. COMPILATION EXAMPLES ┆f0┆.............................................. 317↲ F.1 Update of an Existing Binary dte ............................. 318↲ F.2 Generation of the X.25 Procedure Library ..................... 319↲ F.3 Update of the X.25 Procedure Library ......................... 320↲ F.4 Generation of the Trace System ............................... 321↲ ↲ ┆b0┆G. BUFFER LAYOUT IN CALL SET-UP PHASE ┆f0┆................................ 323↲ ↲ ┆b0┆H. INDEX ┆f0┆............................................................. 325↲ H.1 Survey of Figures ............................................ 325↲ H.2 Survey of Tables ............................................. 326↲ H.3 Survey of Examples ........................................... 327↲ ════════════════════════════════════════════════════════════════════════ ↓ «index» formatlinie til RC manualer↲ ┆14┆┆b3┆↲ ┆14┆┆b3┆┆06┆- ┆0b┆ -↲ ┆a1┆┆b0┆1.╞ INTRODUCTION.↲ ↲ ╞ ┆84┆This paper is the reference document for the External DTE Module. ↓ ┆19┆┆89┆┄┄This mo┄dule interfaces a CENTERNET Terminal Concentrator (TC) to a ↓ ┆19┆┆89┆┄┄packet switched network using the CCITT recommendation X.25 (ref. ↓ ┆19┆┆89┆┄┄(1)) for the communication between a TC and a network access node.↲ ↲ ╞ ┆84┆The module does not support the total set of functions described ↓ ┆19┆┆89┆┄┄in ref. (1). The following services are ┆a1┆not┆e1┆ implemented:↲ ↲ ╞ - Permanent Virtual Circuit (PVC).↲ ╞ - Datagram.↲ ╞ - The Optional User Facilities :↲ ╞ - Fast select.↲ ╞ - DTE-reject.↲ ↲ ╞ ┆84┆Additional functions at the user interface (several simultaneous ↓ ┆19┆┆89┆┄┄users, two type of user inputs) are supported.↲ ↲ ╞ ┆84┆The module described in this Reference Manual is level 3 of Recom┄↓ ┆19┆┆89┆┄┄mendation X.25. It utilizes the RC3502 HDLC Driver (ref. (9)) to ↓ ┆19┆┆89┆┄┄implement the whole recommendation.↲ ↲ ╞ ┆84┆The implementation of the DTE System is done in RC3502 Real-Time ↓ ┆19┆┆89┆┄┄Pascal (RTP) as defined in ref. (11) to ref. (15).↲ ↲ ╞ ┆84┆The reader of this manual ought to be familiar with the documents ↓ ┆19┆┆89┆┄┄listed in appendix A.↲ ↲ ↲ ┆a1┆1.1╞ Structure of this Manual.↲ ↲ ╞ ┆84┆An overview of the RTP processes constituting the DTE System and ↓ ┆19┆┆89┆┄┄its environment is described in chapter 2.↲ ↲ ╞ ┆84┆Chapter 3 describes the external interfaces (NCP, HDLC and User) ↓ ┆19┆┆89┆┄┄very shortly and in more details the internal interfaces in the ↓ ┆19┆┆89┆┄┄DTE module. This is done by describing each message received/sent ↓ ┆19┆┆89┆┄┄by a process.↲ ↲ ┆8c┆┄┆a8┆↓ ╞ ┆84┆The implementation of the DTE module on a process basis is outlin┄↓ ┆19┆┆89┆┄┄ed in chapter 4.↲ ↲ ╞ ┆84┆Error messages produced by the DTE module are explained in chapter ↓ ┆19┆┆89┆┄┄5.↲ ↲ ╞ ┆84┆In chapter 6 different debugging/test tools for the DTE module are ↓ ┆19┆┆89┆┄┄described, nearly in the same manner as in chapter 3 and 4 for the ↓ ┆19┆┆89┆┄┄DTE module.↲ ↲ ╞ ┆84┆In chapter 7 the configuration parameters and the compilation of ↓ ┆19┆┆89┆┄┄the DTE System are described. Furthermore are the storage require┄↓ ┆19┆┆89┆┄┄ments in the RC3502 calculated. This calculation is based on model ↓ ┆19┆┆89┆┄┄1 (RC3502/1).↲ ↲ ╞ ┆84┆Finally, chapter 8 describes the source text organization in an ↓ ┆19┆┆89┆┄┄RC8000.↲ ↲ ↲ ┆a1┆1.2╞ Terminology and Notation.↲ ↲ ╞ ┆84┆To distinguish between a module and an RTP process (incarnation), ↓ ┆19┆┆89┆┄┄a module is written with capital letters (e.g. NCP) and an RTP ↓ ┆19┆┆89┆┄┄process with small letters (e.g. dte).↲ ↲ ╞ ┆84┆In the state/action tables the following notation is used:↲ ↲ ╞ _____________↲ ╞ P10 ╞ ╞ P10: next state↲ ╞ ┆a1┆ A1 ┆e1┆╞ ╞ A1 : action performed↲ ↲ ╞ ┆84┆If the state/action table is outlined as a state transition graph ↓ ┆19┆┆89┆┄┄the notation is:↲ ↲ ╞ ┆a1┆╞ E ┆e1┆ P9 : current state↲ ╞ A1 P10: next state↲ ╞ P9 P10 E : event causing the transition↲ ╞ ╞ ╞ ╞ A1 : action performed↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ┆84┆In the figures describing message flows the following notation is ↓ ┆19┆┆89┆┄┄used:↲ ↲ ↲ ╞ ╞ ╞ ╞ a process (incarnation)↲ ↲ ↲ ↲ ↲ ╞ ╞ ╞ ╞ ┆84┆a semaphore↲ ╞ ╞ ╞ ╞ ┆84┆(if the semaphore is hatched then ↓ ┆19┆┆a7┆┄┄the semaphore is a main semaphore)↲ ↲ ↲ ↲ ╞ ╞ ╞ ╞ signal to a semaphore↲ ↲ ↲ ↲ ╞ ╞ ╞ ╞ wait at a semaphore↲ ↲ ↲ ↲ ↲ ╞ ╞ ╞ ╞ signal/wait to an internal semaphore↲ ↲ ↲ ↲ ╞ ╞ ╞ ╞ buffer pool with an access semaphore↲ ════════════════════════════════════════════════════════════════════════ ↓ «index» formatlinie til RC manualer↲ ┆14┆┆b3┆↲ ┆14┆┆b3┆┆06┆- ┆0b┆ -↲ ┆b0┆┆a1┆2.╞ MODULE OVERVIEW↲ ↲ ╞ ┆84┆The External DTE Module consists of a number of processes, commu┄↓ ┆19┆┆89┆┄┄nicating by means of internal messages.↲ ↲ ╞ ┆84┆Before describing each individual process some general design cri┄↓ ┆19┆┆89┆┄┄teria will be outlined↲ ↲ ╞ ╞ ┆b0┆- ┆84┆the user interface should be identical to the user in┄↓ ┆19┆┆95┆┆81┆┆82┆terface of the Internal DTE↲ ↲ ╞ ╞ ┆b0┆- ┆84┆the interface between the DTE and the DCE is the ↓ ┆19┆┆95┆┆81┆┆82┆CCITT 1980 X.25 Recommendation (ref. (1))↲ ↲ ╞ ╞ ┆b0┆- ┆84┆the user interface is an open interface, which means ↓ ┆19┆┆95┆┆81┆┆82┆that the DTE module has to be very robust and that the ↓ ┆19┆┆95┆┆81┆┆82┆logical connections of each individual user should be ↓ ┆19┆┆95┆┆81┆┆82┆independent of each other↲ ↲ ╞ ╞ ┆b0┆- ┆84┆only one HDLC line is used between the DTE and the DCE↲ ↲ ╞ ╞ ┆b0┆- ┆84┆it should be possible to connect two DTE's back to ↓ ┆19┆┆95┆┆81┆┆82┆back for test purpose↲ ↲ ╞ ╞ ┆b0┆- ┆84┆the DTE should be able to control the modem signals↲ ↲ ╞ ╞ ┆b0┆- ┆84┆it should be possible to change important parameters ↓ ┆19┆┆95┆┆81┆┆82┆dynamicly, at least at dte process creation.↲ ↲ ╞ ┆84┆All the above mentioned design criteria leads to the below de┄↓ ┆19┆┆89┆┄┄scribed module structuring principle and processes.↲ ↲ ╞ ┆84┆One supervisor process (┆b0┆dte┆f0┆) is parent process to a number of ↓ ┆19┆┆89┆┆81┆┄channel processes (┆b0┆dte_chan┆f0┆), each servicing a logical connection ↓ ┆19┆┆89┆┆82┆┄(Virtual Call), a user interface process (┆b0┆dte_access┆f0┆), an HDLC in-↓ ┆19┆┆89┆┆83┆┄terfacing process (┆b0┆dte_hrec┆f0┆), a channel zero process↲ ┆84┆(┆b0┆dte_lcn_zero┆f0┆), and a buffer pool handler process (┆b0┆dte_pool┆f0┆). ↓ ┆19┆┆89┆┆82┆┄Besides these processes the dte is parent process for four proces┄↓ ┆19┆┆89┆┆82┆┄ses used as de┄bug and test tools (please refer to figure 2). ↓ ════════════════════════════════════════════════════════════════════════ ↓ ┆19┆┆89┆┆82┆┄In figure 1 the pro┄┄cess tree of the DTE module and its environment ↓ ┆19┆┆89┆┆82┆┄is shown, and in figure 2 the process tree of the debug and test ↓ ┆19┆┆89┆┆82┆┄processes.↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 1: Process tree of the External DTE and its environment.↲ ↲ ╞ ┆84┆The channel processes are created dynamically and removed each ↓ ┆19┆┆89┆┄┄time the DTE/DCE interface is restarted.↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 2: Process tree of the DTE debugging, test and trace tools.↲ ↲ ↲ ↲ ╞ ┆84┆In figure 3, 4, 5 and 6 an outline of message flow in four cases ↓ ┆19┆┆89┆┄┄are presented. A more detailed description may be found in chapter ↓ ┆19┆┆89┆┄┄3, whereas communication with the NCP module follows ref. (10). ↓ ┆19┆┆89┆┄┄The HDLC driver interface is described in ref. (9) and the DTE ↓ ┆19┆┆89┆┄┄user interface in ref. (3).↲ ↲ ╞ ┆84┆In the following a short description is given of the modules and ↓ ┆19┆┆89┆┄┄processes found in figures 1 and 2 together with a more comprehen┄↓ ┆19┆┆89┆┄┄sive description of the individual processes of the DTE System.↲ ↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆ADAM ┆84┆┆f0┆is the root of the dynamic tree of incarnations.↲ ╞ ╞ ┆84┆┆a1┆ADAM┆e1┆ creates automatically three incarnations:↲ ╞ ╞ ┆b0┆CONSOL↲ ╞ ╞ ┆b0┆OPERATOR↲ ╞ ╞ ┆b0┆S (cnadam)↲ ╞ ╞ ┆a1┆ADAM┆e1┆ may remove any of the incarnations on request.↲ ↲ ╞ ┆b0┆OPERATOR, ┆84┆CONSOLE┆f0┆ is the interface between a human operator and ↓ ┆19┆┆93┆┆81┆┄the running incarnations. ┆a1┆CONSOLE┆e1┆ performs I/O to the ↓ ┆19┆┆93┆┆81┆┄debug console. ┆a1┆OPERATOR┆e1┆ processes messages signalled to ↓ ┆19┆┆93┆┆81┆┄the operator semaphore.↲ ↲ ╞ ┆b0┆TIMER╞ ┆f0┆performs delay timing and timeout of drivers.↲ ↲ ╞ ADAM, OPER┆84┆ATOR, CONSOLE, and TIMER are parts of the RC3502 basic ↓ ┆19┆┆93┆┄┄system (ref. (13)).↲ ↲ ╞ ┆b0┆cnadam╞ ┆f0┆CENTERNET parent process (ref. (8)).↲ ↲ ╞ ┆b0┆timeout╞ ┆84┆┆f0┆handles timer booking and timer update (ref. (6)). The ↓ ┆19┆┆93┆┆81┆┄module is used by dte_chan.↲ ↲ ╞ ┆b0┆NCP╞ ┆a1┆┆f0┆N┆e1┆etwork ┆a1┆C┆e1┆ontrol ┆a1┆P┆e1┆robe module (ref. (10)).↲ ↲ ╞ ┆b0┆HDLCLCP╞ ┆84┆┆f0┆HDLC interface module. The module supervises the HDLC ↓ ┆19┆┆93┆┆81┆┄driver ┆a1┆process┆e1┆ and performs all LCP operations on the ↓ ┆19┆┆93┆┆81┆┄driver.↲ ↲ ╞ ┆b0┆dte╞ ┆84┆┆f0┆Supervisor and parent process of the DTE System. The ↓ ┆19┆┆93┆┆81┆┄pro┄cess handles the DTE LCP operations (ref. (4)), some ↓ ┆19┆┆93┆┆81┆┄by forwarding them to the appropriate channel process ↓ ┆19┆┆93┆┆81┆┄in┄car┄nation (dte_chan<xyz>). The process also receives ↓ ┆19┆┆93┆┆81┆┄LCP events and forwards these events to the NCP.↲ ↲ ╞ ╞ ┆84┆At Virtual Call (VC) establishment the process is active ↓ ┆19┆┆93┆┄┄creating/starting a channel process incarnation and at ↓ ┆19┆┆93┆┄┄VC removal stopping the incarnation.↲ ↲ ╞ ╞ ┆84┆In connection with dte_lcnzero the process handles the ↓ ┆19┆┆93┆┄┄restart phase of the DCE/DTE interface.↲ ↲ ┆8c┆┄┆a9┆↓ ╞ ╞ ┆84┆Furthermore, the dte controls the HDLC driver operation ↓ ┆19┆┆93┆┄┄(ref. (9)) and sets/reacts on different modem signals. ↓ ┆19┆┆93┆┄┄Being parent process the dte initializes common buffer ↓ ┆19┆┆93┆┄┄pools, tables, and variables.↲ ↲ ╞ ┆b0┆dte_access┆84┆↲ ┆84┆The process handles the communication to the users. ↓ ┆19┆┆93┆┄┄Assignment of stream numbers and validation of user ↓ ┆19┆┆93┆┄┄operations are performed by the process.↲ ↲ ╞ ╞ ┆84┆All user operations equal to an X.25 operation are for┄↓ ┆19┆┆93┆┄┄warded to the appropriate channel process incarnation, ↓ ┆19┆┆93┆┄┄whereas all other user operations are handled by the ↓ ┆19┆┆93┆┄┄dte_access process itself.↲ ↲ ╞ ╞ ┆84┆During VC establishment the process communicates with ↓ ┆19┆┆93┆┄┄the dte process in order to create/start a channel pro┄↓ ┆19┆┆93┆┄┄cess incarnation.↲ ↲ ╞ ╞ ┆84┆Events concerning a specific stream, a user, or the DCE ↓ ┆19┆┆93┆┄┄/DTE interface are received from either the dte process ↓ ┆19┆┆93┆┄┄or a channel process incarnation and forwarded to the ↓ ┆19┆┆93┆┄┄user of concern, or all users.↲ ↲ ╞ ┆b0┆dte_hrec╞ ┆84┆┆f0┆The process demuliplexes all X.25 packets received on ↓ ┆19┆┆93┆┆81┆┄the hdlc line and sends the packets to the appropriate ↓ ┆19┆┆93┆┆81┆┄dte_chan process incarnation or dte_lcnzero process de┄↓ ┆19┆┆93┆┆81┆┄pending on the channel number. Furthermore, the process ↓ ┆19┆┆93┆┆81┆┄tries to keep a specified number of input buffer at the ↓ ┆19┆┆93┆┆81┆┄HDLC driver.↲ ↲ ╞ ╞ ┆84┆The demultiplexing function is performed utilizing a ↓ ┆19┆┆93┆┄┄com┄mon table shared by the process and the dte process.↲ ↲ ╞ ┆b0┆dte_lcnzer┆84┆o↲ ┆84┆The process handles all channel zero functions of the ↓ ┆19┆┆93┆┄┄X.25 level 3 communication. The restart function/phase ↓ ┆19┆┆93┆┄┄is performed in connection with the dte process and re┄↓ ┆19┆┆93┆┄┄ceival of an X.25 diagnostic packet is reported to the ↓ ════════════════════════════════════════════════════════════════════════ ↓ ┆19┆┆93┆┄┄dte process, which forwards the information furtheron to ↓ ┆19┆┆93┆┄┄the NC-system (see ref. (4) and (10)).↲ ↲ ╞ ╞ ┆84┆The communication with the DCE is performed utilizing ↓ ┆19┆┆93┆┄┄the HDLCLCP module, directly on output and via the ↓ ┆19┆┆93┆┄┄dte_hrec process on input.↲ ↲ ╞ ┆b0┆dte_chan╞ ┆84┆┆f0┆The process handles all communication with the DCE on ↓ ┆19┆┆93┆┆81┆┄X.25 level 3 except on channel zero. The dte_chan pro┄↓ ┆19┆┆93┆┆81┆┄cess exists in an incarnation for every active Virtual ↓ ┆19┆┆93┆┆81┆┄Call.↲ ↲ ╞ ╞ ┆84┆The process incarnation receives User operations from ↓ ┆19┆┆93┆┄┄the dte_access process and furthermore communicates with ↓ ┆19┆┆93┆┄┄this process and the dte process during Virtual Call es┄↓ ┆19┆┆93┆┄┄tablishment and removal.↲ ↲ ╞ ╞ ┆84┆The communication to the DCE is performed utilizing the ↓ ┆19┆┆93┆┄┄user interface of the HDLCLCP module ("hiding" the HDLC ↓ ┆19┆┆93┆┄┄driver). Output is sent directly to the HDLCLCP whereas ↓ ┆19┆┆93┆┄┄input is received through the dte_hrec process.↲ ↲ ╞ ┆b0┆dte_pool╞ ┆84┆┆f0┆The process maintains a pool of buffers, which are used ↓ ┆19┆┆93┆┆81┆┄for X.25 control packets. A dte_chan process ↓ ┆19┆┆93┆┆81┆┄incarnation, the dte or the dte_lcnzero process requests ↓ ┆19┆┆93┆┆81┆┄a buffer, build up the X.25 packet and sends the buffer ↓ ┆19┆┆93┆┆81┆┄to the HDLCLCP mo┄dule. The answer is returned directly ↓ ┆19┆┆93┆┆81┆┄to the dte_pool pro┄cess. The dte_pool process is capable ↓ ┆19┆┆93┆┆81┆┄of managing re┄quests with different priorities and may ↓ ┆19┆┆93┆┆81┆┄put a request into a waiting queue, if no bufer is ↓ ┆19┆┆93┆┆81┆┄available. The dte_pool is an incarnation of the ↓ ┆19┆┆93┆┆81┆┄pool_handler process.↲ ↲ ╞ ┆b0┆dtetest╞ ┆84┆┆f0┆┆b0┆The process is not mandatory for the operation of the ↓ ┆19┆┆93┆┆82┆┆82┆DTE module.┆f0┆ It is only necessary if internal testoutput ↓ ┆19┆┆93┆┆82┆┄is wanted. The process allocates testoutput buffers, in┄↓ ┆19┆┆93┆┆82┆┄to which a process, executing internal test, copies a test ↓ ┆19┆┆93┆┆82┆┄area each time this area is full, and then the process ↓ ┆19┆┆93┆┆82┆┄returns the buffer to the dtetest process.↲ ↲ ┆8c┆┄┆a8┆↓ ╞ ╞ ┆84┆The dtetest process communicates with an operator via ↓ ┆19┆┆93┆┄┄the console to start/stop internal test in different ↓ ┆19┆┆93┆┄┄pro┄cesses, to switch test mode, and to start print (on ↓ ┆19┆┆93┆┄┄the console) of internal testoutput. The process inter┄↓ ┆19┆┆93┆┄┄prets the packed test data in a buffer and prints it in ↓ ┆19┆┆93┆┄┄a more readable form on the console.↲ ↲ ╞ ╞ ┆84┆Furthermore, a possibility to generate test messages to ↓ ┆19┆┆93┆┄┄the dte_access process and print the answer exists.↲ ↲ ╞ ┆b0┆dteclock┆f0┆╞ ┆84┆This process maintains a globale (in the DTE module) ↓ ┆19┆┆93┆┆81┆┄"clock" used to timestamp test records, and is a child ↓ ┆19┆┆93┆┆81┆┄of the dtetest process.↲ ↲ ╞ ┆b0┆dtetrace╞ ┆84┆┆f0┆┆b0┆The process is not mandatory for the operation of the ↓ ┆19┆┆93┆┆82┆┆82┆DTE module. ┆f0┆It is only necessary if tracing of X.25 ↓ ┆19┆┆93┆┆82┆┄level 3 communication is wanted.↲ ↲ ╞ ╞ ┆84┆The dtetrace process communicates with an operator ↓ ┆19┆┆93┆┄┄via the console to set/change different trace vari┄↓ ┆19┆┆93┆┄┄ables.↲ ↲ ╞ ╞ ┆84┆Buffers containing packed trace-data are received either ↓ ┆19┆┆93┆┄┄from the dte_hrec process (trace of received packets) or ↓ ┆19┆┆93┆┄┄the outtrace process (trace of transmitted packets). ↓ ┆19┆┆93┆┄┄The dtetrace process prints (if required) the data on ↓ ┆19┆┆93┆┄┄the console in a more readable format each time a trace ↓ ┆19┆┆93┆┄┄buffer is receiv┄ed.↲ ↲ ╞ ┆b0┆outtrace╞ ┆84┆The process is not mandatory for the operation of the ↓ ┆19┆┆93┆┆81┆┆82┆DTE module. ┆f0┆It is only necessary if tracing of X.25 ↓ ┆19┆┆93┆┆81┆┄level 3 communication is wanted.↲ ↲ ╞ ╞ ┆84┆The only purpose of the process is to gather tracing of ↓ ┆19┆┆93┆┄┄transmitted X.25 packets in one process.↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ┆b0┆snooper╞ ┆84┆┆f0┆Parent process in the snooping system. ┆b0┆The process is ↓ ┆19┆┆93┆┆82┆┆82┆not mandatory for the operation of the DTE Module. ┆f0┆It ↓ ┆19┆┆93┆┆82┆┄communicates via the console with an operator to set up ↓ ┆19┆┆93┆┆82┆┄parameters, to start snooping, and print snooped data. ↓ ┆19┆┆93┆┆82┆┄The purpose of the snooping system is to be able to ↓ ┆19┆┆93┆┆82┆┄snoop the communication to/from the dte_chan process ↓ ┆19┆┆93┆┆82┆┄incarnations.↲ ↲ ╞ ┆b0┆pick_up╞ ┆84┆┆f0┆Performs the actual snooping of messages and answers, ↓ ┆19┆┆93┆┆81┆┄and is a child of the snooper process.↲ ↲ ╞ ┆84┆A more detailed description of the snooping system may be found in ↓ ┆19┆┆89┆┄┄ref. (7).↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 3: Message flow of normal data.↲ ┆8c┆┄┆a7┆↓ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 4: Message flow of interrupt data.↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 5: Message flow of X.25 control packet output.↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 6: Message flow at Virtual Call Set-up.↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆3.╞ PROCESS COMMUNICATION↲ ↲ ╞ ┆84┆In this chapter the external communication as well as the communi┄↓ ┆19┆┆89┆┄┄cation between the processes constituting the DTE module are de┄↓ ┆19┆┆89┆┄┄scribed. In section 3.1 the operations sent to the HDLCLCP and NCP ↓ ┆19┆┆89┆┄┄modules are outlined and a short description of the DTE User In┄↓ ┆19┆┆89┆┄┄terface is given. In section 3.2 the operations exchanged between ↓ ┆19┆┆89┆┄┄the processes dte, dte_access, dte_hrec, dte_lcnzero, dte_chan, ↓ ┆19┆┆89┆┄┄and dte_pool are described.↲ ↲ ╞ ┆84┆The communication and function of the dtetest system, the trace ↓ ┆19┆┆89┆┄┄system, and the SNOOPER module are gathered in chapter 6.↲ ↲ ↲ ┆a1┆3.1╞ External Communication↲ ↲ ╞ ┆84┆The communication external to the DTE module can shortly be de┄↓ ┆19┆┆89┆┄┄scribed by figure 7.↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 7: External Interfaces of the DTE module.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ┆84┆The DTE User Interface is a service provided by the DTE module, ↓ ┆19┆┆89┆┄┄whereas the NCP - and HDLCLCP interfaces are services utilized by ↓ ┆19┆┆89┆┄┄the DTE module.↲ ↲ ↲ ┆a1┆3.1.1╞ DTE User Interface↲ ↲ ╞ ┆84┆For a detailed description of the format and function of all user ↓ ┆19┆┆89┆┄┄operations please refer to ref. (3).↲ ↲ ╞ ┆84┆All user operations are received by the dte_access process. Some ↓ ┆19┆┆89┆┄┄of the operations are returned from this process, whereas others ↓ ┆19┆┆89┆┄┄are forwarded to other DTE processes. It is shown in the following ↓ ┆19┆┆89┆┄┄table which process handles which user operation.↲ ↲ ╱04002d440c00060000000002014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ↓ ↲ ╞ ____________________________________________________________↲ ╞ ! ╞ ╞ !╞ ╞ ╞ !↲ ╞ ! ╞ ╞ ! handled by process !↲ ╞ ┆a1┆┆e1┆! user operation ╞ ┆a1┆!╞ ╞ ╞ !↲ ┆e1┆╞ !╞ ╞ ! ! !╞ !↲ ╞ !╞ ╞ ! dte_access ! dte ! dte_chan !↲ ╞ ┆a1┆┆a1┆!╞ ╞ ! ! ! !↲ ╞ !╞ ╞ ! ! ! !↲ ╞ ! dte_acc_inc_call ! + ! ! + !↲ ╞ ! dte_call_req ! + ! + ! + !↲ ╞ ! dte_change_mode ! + ! ! + !↲ ╞ ! dte_clear_req ! + ! ! + !↲ ╞ ! dte_conn_user ! + ! ! !↲ ╞ ! dte_disc_user ! + ! ! !↲ ╞ ! dte_rec_dedic ! + ! ! + !↲ ╞ ! dte_rec_gen ! + ! ! + !↲ ╞ ! dte_reset_req ! + ! ! + !↲ ╞ ! dte_send_data ! + ! ! + !↲ ╞ ! dte_send_intrupt ! + ! ! + !↲ ╞ ! dte_sync_stream ! + ! ! + !↲ ╞ ! dte_wait_event ! + ! ! !↲ ╞ ┆a1┆!╞ ╞ ! ! ! !↲ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ╱04002d440c00060000000002014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ↓ ↲ ╞ Table 1: Processing of DTE User operations.↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆3.1.2╞ Access to the HDLCLCP↲ ↲ ┆84┆The user interface of the HDLCLCP and the HDLC driver is nearly ↓ ┆19┆┆89┆┄┄equal seen from the DTE. The HDLC driver interface is described in ↓ ┆19┆┆89┆┄┄ref. (9). The only difference is that the driver has 4 main sema┄↓ ┆19┆┆89┆┄┄phores, whereas the HDLCLCP only has one.↲ ↲ ╞ ┆84┆The DTE only utilizes a subset of the services provided by the ↓ ┆19┆┆89┆┄┄HDLC driver. In this section an overview of the services used are ↓ ┆19┆┆89┆┄┄given. A more detailed description of how the driver is used and ↓ ┆19┆┆89┆┄┄how the information received from the driver influence the oper┄↓ ┆19┆┆89┆┄┄ation of the DTE module is given in chapter 4.↲ ↲ ╞ ┆84┆Driver 'control messages' is only sent by the dte process and ↓ ┆19┆┆89┆┄┄'input messages' only by the dte_hrec process. 'Output messages' ↓ ┆19┆┆89┆┄┄are sent both from the processes dte, dte_lcnzero, and dte_chan ↓ ┆19┆┆89┆┄┄in┄carnations. In the following table 2 the formats and contents of ↓ ┆19┆┆89┆┄┄the in┄dividual messages are outlined.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Table 2: HDLC operations utilized by the DTE module.↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ Notes:↲ ↲ ╞ 1)╞ ┆84┆The fully formats are defined in environment HDLCENV ↓ ┆19┆┆93┆┄┄(appendix B.7).↲ ↲ ╞ 2)╞ The format of the data buffer is↲ ╞ ╞ record↲ ╞ ╞ ╞ first,last,next : integer;↲ ╞ ╞ ╞ x25_packet : array (1..n) of byte;↲ ╞ ╞ end;↲ ╞ ╞ ╞ (* 3< = n< = 5 *)↲ ↲ ╞ 3)╞ ┆84┆The actual size of the input buffer is determined at ↓ ┆19┆┆93┆┄┄process start up, because the X.25 user data field size ↓ ┆19┆┆93┆┄┄is a process parameter of the dte process.↲ ╞ ╞ input buffer size = 6 + x25_head_size + x25_packet_size↲ ↲ ╞ 4)╞ ┆84┆Two types of output exist↲ ↲ ╞ ╞ a) ┆84┆dte user data message with an dte message header ↓ ┆19┆┆97┆┄┄stacked on top. This is used to transmit X.25 DATA ↓ ┆19┆┆97┆┄┄packets↲ ↲ ╞ ╞ b) ┆84┆dte data message containing either an X.25 CALL ↓ ┆19┆┆97┆┄┄REQUEST or an X.25 CALL ACCEPTED packet↲ ↲ ╞ ╞ The format of the latter (b) is:↲ ╞ ╞ record↲ ╞ ╞ ╞ first,last,next : integer;↲ ╞ ╞ ╞ x25_packet : array (1..n) of byte;↲ ╞ ╞ end;↲ ╞ ╞ ╞ (* 3 ┆a1┆<┆e1┆ n < 98 *)↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆3.1.3╞ Access to the NCP Module↲ ↲ ╞ ┆84┆All communication with the NCP is performed by the dte process. ↓ ┆19┆┆89┆┄┄NC-supervisor messages (DTE LCP operations) are either performed ↓ ┆19┆┆89┆┄┄by the dte process or forwarded to a dte_chan process incarnation. ↓ ┆19┆┆89┆┄┄Internal NC events are received by the dte process and this pro┄↓ ┆19┆┆89┆┄┄cess requests then an event buffer from the NCP and herein packs ↓ ┆19┆┆89┆┄┄the NC events and returns the buffer to the NCP. In figure 8 the ↓ ┆19┆┆89┆┄┄communication with the NCP is outlined. A detail description of ↓ ┆19┆┆89┆┄┄the NCP User Interface may be found in ref. (10), below is only ↓ ┆19┆┆89┆┄┄mentioned the operations used by the DTE module.↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 8: Message flow between the DTE module and the NCP.↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ┆84┆At initialization the dte process connects to the NCP utilizing ↓ ┆19┆┆89┆┄┄the operation↲ ↲ ╞ ┆a1┆┆b0┆Message name┆e1┆: connect_lcp↲ ↲ ╞ ┆a1┆User fields┆e1┆ : ╞ to NCP╞ from NCP↲ ╞ ╞ u1 4 unch↲ ╞ ╞ u2 7 result↲ ╞ ╞ u3 - lcp_index↲ ╞ ╞ u4 3 unch↲ ↲ ╞ ┆a1┆Data to NCP┆e1┆ : lcp_conn_type = record↲ ╞ ╞ ╞ ╞ first,last,next : integer;↲ ╞ ╞ ╞ ╞ i : bit;↲ ╞ ╞ ╞ ╞ id : 0..32767;↲ ╞ ╞ ╞ ╞ end;↲ ↲ ╞ ┆a1┆Data from NCP┆e1┆ :↲ ╞ ╞ unchanged↲ ↲ ╞ ┆a1┆Parameters┆e1┆ : lcp_index╞ : ┆84┆value returned from the NCP and ↓ ┆19┆┆a9┆┄┄used in all other communications ↓ ┆19┆┆a9┆┄┄with the NCP↲ ↲ ╞ ╞ first,last,next: ┆84┆not used↲ ↲ ╞ ╞ i, id : ┆84┆set to the DTE's lcp number (2)↲ ↲ ╞ ╞ result ok (0) : ┆84┆the DTE is connected↲ ╞ ╞ ╞ ╞ busy (2) : ┆84┆the DTE module is not ↓ ┆19┆┆b3┆┄┄con┄nected to the NC-↓ ┆19┆┆b3┆┄┄system, but will con┄↓ ┆19┆┆b3┆┄┄tinue normal operation↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆84┆╞ ┆84┆All LCP operations are received from the NCP utilizing the ↓ ┆19┆┆89┆┄┄operation↲ ↲ ╞ ┆a1┆┆b0┆Message name┆e1┆: wait_message↲ ↲ ╞ ┆a1┆User fields┆e1┆ : ╞ to NCP╞ from NCP↲ ╞ ╞ u1 12 unch↲ ╞ ╞ u2 7 result↲ ╞ ╞ u3 lcp_index unch↲ ╞ ╞ u4 3 unch↲ ↲ ╞ ┆a1┆Data to NCP┆e1┆ : not used↲ ↲ ╞ ┆a1┆Data from NCP┆e1┆ :↲ ╞ ╞ unchanged↲ ↲ ╞ ┆a1┆Parameters┆e1┆ : lcp_index : ┆84┆the value returned in the operation ↓ ┆19┆┆a5┆┄┄┆b0┆connect_lcp↲ ↲ ╞ ╞ result : please refer to ref. (10)↲ ↲ ╞ ┆84┆This message is always waiting at the NCP. The NCP returns it, ↓ ┆19┆┆89┆┄┄when it has received a NC-supervisor message to the DTE. This ↓ ┆19┆┆89┆┄┄message is stacked below the ┆b0┆wait_message.↲ ↲ ╱04002d440c00060000000002014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ↓ ╞ ╞ ______________↲ ╞ ╞ ! dte lcp !↲ ╞ ╞ ! message ! = wait_message↲ ╞ ╞ ┆a1┆! header !↲ ↲ ↲ ↲ ╞ ╞ ______________ _______________↲ ╞ ╞ ! NCP !╞ ! NC !↲ ╞ ╞ ! message ! ! supervisor !↲ ╞ ╞ ┆a1┆! header !┆e1┆ ┆a1┆! message !┆e1┆↲ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ╱04002d440c00060000000002014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ↓ ↲ ╞ ╞ NCP header:╞ from NCP╞ to NCP↲ ╞ ╞ ╞ u1 15 unch↲ ╞ ╞ ╞ u2 7 result↲ ╞ ╞ ╞ u3 lcp_index unch↲ ╞ ╞ ╞ u4 - unch↲ ↲ ↲ ┆8c┆┄┆ac┆↓ ╞ ┆84┆The dte process unstacks the dte lcp message header and sends it ↓ ┆19┆┆89┆┄┄to the NCP, waiting the next NC-supervisor message. Then the re┄↓ ┆19┆┆89┆┄┄ceived LCP operation (NC supervisor message) is performed.↲ ↲ ╞ ┆84┆Whenever an internal event is received by the dte process an event ↓ ┆19┆┆89┆┄┄buffer is requested from the NCP using the operation:↲ ↲ ╞ ┆a1┆┆b0┆Message name┆e1┆: request_event_buffer↲ ↲ ╞ ┆a1┆User fields┆e1┆ : ╞ to NCP╞ from NCP↲ ╞ ╞ u1 16 ╞ unch↲ ╞ ╞ u2 7 result↲ ╞ ╞ u3 lcp_index unch↲ ╞ ╞ u4 - unch↲ ↲ ╞ ┆a1┆Data to NCP┆e1┆ : not used↲ ↲ ╞ ┆a1┆Data from NCP┆e1┆ :↲ ╞ ╞ not used↲ ↲ ╞ ┆a1┆Parameters┆e1┆ : lcp_index : ┆84┆the value returned in the operation ↓ ┆19┆┆a4┆┄┄┆b0┆connect_lcp↲ ↲ ╞ ╞ result : ┆84┆please refer to ref. (10)↲ ↲ ╞ ┆84┆When the message is returned from the NCP with result ok, an event ↓ ┆19┆┆89┆┄┄buffer is stacked below.↲ ↲ ╱04002d440c00060000000002014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ↓ ╞ ╞ _____________↲ ╞ ╞ ! dte lcp !↲ ╞ ╞ ! message ! = request_event_buffer↲ ╞ ╞ ┆a1┆! header !↲ ↲ ↲ ╞ ╞ _____________ _______________↲ ╞ ╞ ! NCP !╞ ! ┆82┆event┆81┆ !↲ ╞ ╞ ! message ! ! ┆82┆buffer┆81┆ !↲ ╞ ╞ ┆a1┆! header !┆e1┆╞ ┆a1┆!╞ !↲ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ╱04002d440c00060000000002014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ╞ NCP header: from NCP╞ to NCP↲ ╞ ╞ ╞ u1 16 unch↲ ╞ ╞ u2 7 0 (= ok)↲ ╞ ╞ ╞ u3 lcp_index╞ unch↲ ╞ u4╞ - unch↲ ↲ ╞ ┆84┆The dte lcp message header is unstacked and released and the in┄↓ ┆19┆┆89┆┄┄formation in the internal event is transferred (if necessary ↓ ┆19┆┆89┆┄┄packed with the event 'events lost') to the event buffer and this ↓ ┆19┆┆89┆┄┄message is returned to the NCP.↲ ↲ ╞ ┆84┆If the result is different from ok, the message header is released ↓ ┆19┆┆89┆┄┄and the lost event counter is incremented by one.↲ ↲ ╞ ┆84┆The internal event message is returned to the event pool, which is ↓ ┆19┆┆89┆┄┄a module global semaphore.↲ ↲ ↲ ┆a1┆3.2╞ Internal Communication↲ ↲ ╞ ┆84┆All internal messages sent between processes in the DTE module are ↓ ┆19┆┆89┆┄┄described. The messages are described under the receiving process. ↓ ┆19┆┆89┆┄┄Furthermore, messages sent to a basic system or CENTERNET system ↓ ┆19┆┆89┆┄┄process are mentioned in this section. All messages are given a ↓ ┆19┆┆89┆┄┄mnemotecnic name used in the rest of this manual.↲ ↲ ╞ ┆84┆The format used to describe a message is Real-Time Pascal and the ↓ ┆19┆┆89┆┄┄following notation is used↲ ↲ ╞ ╞ ╞ -╞ not used↲ ╞ ╞ unch unchanged↲ ╞ ╞ undef╞ undefined↲ ↲ ╞ ┆84┆In subsections 3.2.1.1 messages received are described and in ↓ ┆19┆┆89┆┄┄subsec┄tions 3.2.1.2 messages sent.↲ ↲ ╞ ┆84┆All communication with the test, trace and debug systems are out┄↓ ┆19┆┆89┆┄┄lined in chapter 6.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆3.2.1╞ Process dte↲ ↲ ╞ ┆84┆The following messages are handled by the dte process↲ ╱04002d440c00060000000002014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ↓ ↲ ╞ name╞ ╞ sending receiving section↲ ╞ ╞ ╞ process process↲ ↲ ╞ chan_start dte_access dte 3.2.1.1↲ ╞ diag_recv dte_lcnzero dte 3.2.1.1↲ ╞ int_event all dte 3.2.1.1↲ ╞ restart_end dte_lcnzero dte 3.2.1.1↲ ╞ restart_start╞ dte_lcnzero dte╞ 3.2.1.1↲ break_mess dte 3.2.1.1↲ ↲ ╞ trace_sync dte outtrace 3.2.1.2↲ ╞ get_clock dte timer 3.2.1.2↲ ╞ short_delay dte timer 3.2.1.2↲ ↲ ╞ x25_input╞ ╞ dte_hrec╞ dte 3.2.1.1↲ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ╱04002d440c00060000000002014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ↓ ↲ ↲ ┆a1┆3.2.1.1╞ Messages received↲ ↲ ╞ ┆a1┆┆b0┆Message name┆e1┆ : chan_start↲ ↲ ╞ ┆a1┆Message format┆e1┆ : ↲ ╞ ╞ message╞ answer↲ ╞ ╞ u1 13 unch↲ ╞ ╞ u2 7 result↲ ╞ ╞ u3 stream_no unch↲ ╞ ╞ u4 1 sem_index↲ ↲ ╞ ╞ buf - -↲ ↲ ╞ ┆a1┆Function┆e1┆:↲ ╞ ┆84┆The message is used by the dte_access process to allocate/start a ↓ ┆19┆┆89┆┄┄dte_chan process incarnation for Virtual Call Set-up. Below the ↓ ┆19┆┆89┆┄┄dte_access message header is a user dte_call_req stacked. The mes┄↓ ┆19┆┆89┆┄┄sage header is returned with u4 set to the index of the associated ↓ ┆19┆┆89┆┄┄dte_chan incarnation's main semaphore. The user dte_call_req is ↓ ┆19┆┆89┆┄┄forwarded to the dte_chan incarnation's main semaphore.↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ┆a1┆Result┆e1┆:↲ ╞ ok (0): only header returned, u4 = sem_index↲ ╞ busy (2): ┆84┆no resources in the dte, either logical ↓ ┆19┆┆a0┆┄┄channels or dte_chan incarnations. Stacked ↓ ┆19┆┆a0┆┄┄message returned and u4 is unchanged.↲ ╞ dte_restarted (98): ┆84┆the DTE has been restarted. Stacked message ↓ ┆19┆┆a0┆┄┄returned and u4 is unchanged.↲ ↲ ╞ ┆a1┆┆b0┆Message name┆e1┆: diag_recv↲ ↲ ╞ ┆a1┆Message format┆e1┆:↲ ╞ ╞ message╞ answer↲ ╞ ╞ u1 228 unch↲ ╞ ╞ u2 7 result↲ ╞ ╞ u3 - unch↲ ╞ ╞ u4 2 unch↲ ↲ ╞ ╞ buf diag_type unch↲ ↲ ╞ ╞ diag_type = record↲ ╞ ╞ ╞ diag_code : byte;↲ ╞ ╞ ╞ expl : array (0..2) of byte;↲ ╞ ╞ ╞ end;↲ ↲ ╞ ┆a1┆Function┆e1┆:↲ ╞ ┆84┆An X.25 DIAGNOSTIC packet has been received by the dte_lcnzero ↓ ┆19┆┆89┆┄┄pro┄cess. Information about this event and the data field is for┄↓ ┆19┆┆89┆┄┄warded to the dte process using this message.↲ ↲ ╞ ┆84┆The dte generates an NC event, increments a statistic counter and ↓ ┆19┆┆89┆┄┄returns the message.↲ ↲ ╞ ┆a1┆Result┆e1┆:↲ ╞ ok╞ (0): message processed properly↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆╞ ┆a1┆Message name┆e1┆ : int_event↲ ↲ ╞ ┆a1┆Message format┆e1┆:↲ ╞ ╞ message↲ ╞ ╞ u1 -↲ ╞ ╞ u2 -↲ ╞ ╞ u3 -↲ ╞ ╞ u4 10↲ ↲ ╞ ╞ buf event_rec↲ ↲ ╞ ╞ event_rec = record↲ ╞ ╞ ╞ head : ev_head;↲ ╞ ╞ ╞ data : event_data;↲ ╞ ╞ ╞ end;↲ ↲ ╞ ╞ ev_head = record↲ ╞ ╞ ╞ event_type : byte;↲ ╞ ╞ ╞ bytecount : byte;↲ ╞ ╞ ╞ end;↲ ↲ ╞ ╞ event_data = array (1..event_length) of byte;↲ ↲ ╞ ╞ event_length = 87;↲ ↲ ╞ ┆a1┆Function┆e1┆:↲ ╞ ┆84┆The message passes an event to the dte process. The event is for┄↓ ┆19┆┆89┆┄┄warded to the NCP (please refer to subsection 3.1.3) and the mes┄↓ ┆19┆┆89┆┄┄sage is returned to the internal event pool. This event pool is ↓ ┆19┆┆89┆┄┄represented by the module global semaphore event_pool.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆╞ ┆a1┆Message name┆e1┆ : restart_end↲ ↲ ╞ ┆a1┆Message format┆e1┆ : ↲ ╞ ╞ message╞ answer↲ ╞ ╞ u1 248 unch↲ ╞ ╞ u2 conn_seq_no result↲ ╞ ╞ u3 reason unch↲ ╞ ╞ u4 2 unch↲ ↲ ╞ ╞ buf cd_buf_type╞ unch↲ ↲ ╞ ╞ cd_buf_type = record↲ ╞ ╞ ╞ cause,↲ ╞ ╞ ╞ diag_code : byte;↲ ╞ ╞ ╞ end;↲ ↲ ╞ ┆a1┆Function┆e1┆:↲ ╞ ┆84┆The dte_lcnzero process indicates to the dte process that a re┄↓ ┆19┆┆89┆┄┄start phase is ended, or a timeout (DTE waiting restart confirma┄↓ ┆19┆┆89┆┄┄tion) has occured.↲ ↲ ╞ ┆84┆conn_seq_no is the last received (by dte_lcnzero) connection ↓ ┆19┆┆89┆┄┄sequence number.↲ ↲ ╞ ┆84┆reason indicates the event that causes the submission of the ↓ ┆19┆┆89┆┄┄message:↲ ↲ ╞ 0 : DTE is the initiator of the restart phase↲ ╞ 1 : DCE is the initiator↲ ╞ 10 : a restart timeout has occured↲ ↲ ╞ ┆a1┆Result┆e1┆:↲ ╞ ok (0) : message processed properly↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ┆a1┆┆b0┆Message name┆e1┆ : break_mess↲ ↲ ╞ ┆a1┆Message format┆e1┆ : ↲ ╞ ╞ message↲ ╞ ╞ u1 -↲ ╞ ╞ u2 -↲ ╞ ╞ u3 -↲ ╞ ╞ u4 15↲ ↲ ╞ ╞ buf break_type↲ ↲ ╞ ╞ break_type = record↲ ╞ ╞ ╞ name : alfa;↲ ╞ ╞ ╞ break_code : integer;↲ ╞ ╞ ╞ vers : byte;↲ ╞ ╞ ╞ end;↲ ↲ ╞ ┆a1┆Function┆e1┆:↲ ╞ ┆84┆A child process (dte_chan, dte_lcnzero, dtetrace) has entered its ↓ ┆19┆┆89┆┄┄exception procedure and indicates this to the dte process by ↓ ┆19┆┆89┆┄┄sending this message. name is the name of the failing process ↓ ┆19┆┆89┆┄┄and vers is the version identification if any. Break_code is the ↓ ┆19┆┆89┆┄┄type of exception, except the value 90 which is used to break a ↓ ┆19┆┆89┆┄┄process in order to get the last generated testoutput. In the lat┄↓ ┆19┆┆89┆┄┄ter case the message is sent from the dtetest process. If the mes┄↓ ┆19┆┆89┆┄┄sage is received from the dte_chan process a ┆b0┆sync_mess┆f0┆ (subsec┄tion ↓ ┆19┆┆89┆┆81┆┄3.2.5.1) may be stacked below.↲ ↲ ╞ ┆84┆The message is returned to the dte global known semaphore ↓ ┆19┆┆89┆┄┄breaksem.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆╞ ┆a1┆Message name┆e1┆ : x25_input↲ ↲ ╞ ┆a1┆Message format┆e1┆ : ↲ ╞ ╞ received answer↲ ╞ ╞ u1 1↲ ╞ ╞ u2 0↲ ╞ ╞ u3 -↲ ╞ ╞ u4 6↲ ↲ ╞ ╞ buf x25_buf_type↲ ↲ ╞ ╞ x25_buf_type = record↲ ╞ ╞ ╞ first,last,next: integer;↲ ╞ ╞ ╞ head : x25_head;↲ ╞ ╞ ╞ data : array (first+3..last);↲ ╞ ╞ ╞ end;↲ ↲ ╞ ╞ x25_head = packed record↲ ╞ ╞ ╞ q_bit,↲ ╞ ╞ ╞ d_bit,↲ ╞ ╞ ╞ m128,↲ ╞ ╞ ╞ m8 : bit;↲ ╞ ╞ ╞ lcgn : bit4;↲ ╞ ╞ ╞ lcn ╞ : byte;↲ ╞ ╞ ╞ packet_id╞ : byte;↲ ╞ ╞ ╞ end;↲ ↲ ╞ ┆a1┆Function┆e1┆:↲ ╞ ┆84┆The buffer is received from the dte_hrec process. It contains a ↓ ┆19┆┆89┆┄┄received X.25 packet on a logical channel, which not yet has been ↓ ┆19┆┆89┆┄┄set up. The packet type is identified and if it is an INCOMING ↓ ┆19┆┆89┆┄┄CALL a Call Set-up phase is entered. All other packets are for┄↓ ┆19┆┆89┆┄┄warded to the associated dte_chan process incarnation, and in case ↓ ┆19┆┆89┆┄┄the channel is not set up the dte either clears the channel or ↓ ┆19┆┆89┆┄┄dis┄cards the packet.↲ ↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆3.2.1.2╞ Messages sent↲ ↲ ╞ ┆84┆The next three messages are both sent and received by the dte ↓ ┆19┆┆89┆┄┄process. It is internal communication or external communication ↓ ┆19┆┆89┆┄┄not described in section 3.1.↲ ↲ ┆b0┆╞ ┆a1┆Message name┆e1┆ : trace_sync↲ ↲ ╞ ┆a1┆Message format┆a1┆┆e1┆ : ↲ ╞ ╞ message sent╞ answer recv.↲ ╞ ╞ u1 255 unch↲ ╞ ╞ u2 - unch↲ ╞ ╞ u3 -╞ unch↲ ╞ ╞ u4 - ╞ unch↲ ↲ ╞ ╞ buf -╞ unch↲ ↲ ╞ ┆a1┆Function┆e1┆:↲ ╞ ┆84┆The message is sent to the outtrace process to synchronize the ↓ ┆19┆┆89┆┄┄two processes in case the Trace System has to be removed.↲ ↲ ┆b0┆╞ ┆a1┆Message name┆e1┆ : get_clock↲ ↲ ╞ ┆a1┆Message format┆e1┆ : ↲ ╞ ╞ message sent answer recv.↲ ╞ ╞ u1╞ 1╞ unch↲ ╞ ╞ u2╞ -╞ 0↲ ╞ ╞ u3 - 0↲ ╞ ╞ u4 - unch↲ ↲ ╞ ╞ buf╞ - delaytype↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ╞ delaytype = record↲ ╞ ╞ ╞ prev_date : coded_date;↲ ╞ ╞ ╞ prev_time : coded_time;↲ ╞ ╞ ╞ prev_secs : coded_secs;↲ ╞ ╞ ╞ inc : packed record↲ ╞ ╞ ╞ ╞ days : 0..63;↲ ╞ ╞ ╞ ╞ hours : 0..31;↲ ╞ ╞ ╞ ╞ mins : 0..63;↲ ╞ ╞ ╞ ╞ secs : 0..63;↲ ╞ ╞ ╞ ╞ msecs : 0..1023;↲ ╞ ╞ ╞ ╞ end;↲ ╞ ╞ ╞ end;↲ ↲ ╞ ┆84┆The type definition of coded_date, coded_time, and coded_secs may ↓ ┆19┆┆89┆┄┄be found in the RTP standard environment.↲ ↲ ╞ ┆a1┆Function┆e1┆:↲ ╞ ┆84┆The dte process requests the timer process to return the date and ↓ ┆19┆┆89┆┄┄time. These are used as time stamp on console output.↓ ↲ ↲ ┆b0┆╞ ┆a1┆Message name┆e2┆┆e1┆ : short_delay↲ ↲ ╞ ┆a1┆Message format┆e1┆ :↲ ╞ ╞ message sent answer recv.↲ ╞ ╞ u1 5 unch↲ ╞ ╞ u2 60 result↲ ╞ ╞ u3 10╞ 0↲ ╞ ╞ u4 5╞ unch↲ ↲ ╞ ╞ buf╞ -╞ unch↲ ↲ ╞ ┆a1┆Function┆e1┆:↲ ╞ ┆84┆The dte process requests the timer process to return the message ↓ ┆19┆┆89┆┄┄after 60 * 2 ** 10 msecs. (= 61,44 secs). The result may either be ↓ ┆19┆┆89┆┄┄ok or regretted, but the dte does not regret this message. The ↓ ┆19┆┆89┆┄┄timer periode is used in the hdlc connection and modem signals set ↓ ┆19┆┆89┆┄┄up phases, to give a suitable periode between retries.↲ ↲ ╞ ┆a1┆Result┆e1┆:↲ ╞ ┆84┆ok (0) : message processed properly↲ ╞ sys_not_processed (1) : message regretted.↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆┆a1┆3.2.2╞ Process dte_access↲ ↲ ╞ ┆84┆The following internal messages are handled by the dte_access ↓ ┆19┆┆89┆┄┄process.↲ ↲ ╱04002d440c00060000000002014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ↓ ╞ name╞ ╞ sending receiving section↲ ╞ ╞ ╞ process╞ process↲ ↲ ╞ clear_event dte_chan╞ dte_access 3.2.2.1↲ ╞ inc_call dte_chan╞ dte_access 3.2.2.1↲ ╞ inc_s_event╞ dte_chan dte_access 3.2.2.1↲ ╞ inc_u_event╞ dte_chan dte_access 3.2.2.1↲ ╞ restart_end╞ dte dte_access 3.2.2.1↲ ╞ restart_start dte╞ dte_access 3.2.2.1↲ ╞ stream_cleared dte_chan╞ dte_access 3.2.2.1↲ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ╱04002d440c00060000000002014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ↓ ↲ ╞ ┆84┆Besides these messages the dte_access process receives all user ↓ ┆19┆┆89┆┄┄messages (ref. (3)) and either reacts on these or forwards them ↓ ┆19┆┆89┆┄┄to a dte_chan process incarnaion (please refer to subsection ↓ ┆19┆┆89┆┄┄3.1.1).↲ ↲ ↲ ┆a1┆3.2.2.1╞ Messages received↲ ↲ ╞ ┆a1┆┆b0┆Message name┆e1┆ : clear_event↲ ↲ ╞ ┆a1┆Message format┆e1┆ : ↲ ╞ ╞ message╞ answer↲ ╞ ╞ u1 22 unch↲ ╞ ╞ u2 15╞ result↲ ╞ ╞ u3 stream_no unch↲ ╞ ╞ u4 0╞ unch↲ ↲ ╞ ╞ buf ch_ev_data unch↲ ↲ ╞ ╞ ch_ev_data = record↲ ╞ ╞ ╞ first,last,next : integer;↲ ╞ ╞ ╞ gen_u_event : boolean;↲ ╞ ╞ ╞ type_event,↲ ╞ ╞ ╞ cause,↲ ╞ ╞ ╞ diag_code : byte;↲ ╞ ╞ ╞ end;↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ┆a1┆Function┆e1┆:↲ ╞ ┆84┆Clearing of the stream is started. If gen_u_event is true the user ↓ ┆19┆┆89┆┄┄is informed about the clearing of the stream, including a cause ↓ ┆19┆┆89┆┄┄and a diagnostic code (diag_code) if any.↲ ↲ ╞ ┆a1┆Result┆e1┆:↲ ╞ ok (0) : message processed properly↲ ╞ fct_not_allw (12) : function not allowed in this state↲ ╞ dte_restarted (98) : dte_access in restart phase↲ ↲ ╞ ┆84┆If the dte_access process is awaiting a user accept/reject of an ↓ ┆19┆┆89┆┄┄incoming call on this stream, the dte_chan buffer indicating the ↓ ┆19┆┆89┆┄┄call (please see ┆b0┆inc_call ┆f0┆below) is stacked below and returned ↓ ┆19┆┆89┆┆81┆┄together with the ┆b0┆clear_event┆f0┆ message.↲ ↲ ╞ ┆a1┆┆b0┆Message name┆e1┆ : inc_call↲ ↲ ╞ ┆a1┆Message format┆e1┆ : ↲ ╞ ╞ message╞ answer↲ ╞ ╞ u1 19 unch↲ ╞ ╞ u2 15 result↲ ╞ ╞ u3 sem_index stream_no/unch↲ ╞ ╞ u4 0╞ unch↲ ↲ ╞ ╞ buf see below unch↲ ↲ ╞ ┆a1┆Function┆e1┆:↲ ╞ ┆84┆An X.25 INCOMING CALL packet is received by a dte_chan process ↓ ┆19┆┆89┆┄┄incarnation. The dte_access process is informed and call_data is ↓ ┆19┆┆89┆┄┄contained in the message (see below) and transferred to the user, ↓ ┆19┆┆89┆┄┄together with an allocated stream number.↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ┆84┆The message is very complex, it actually consists of three mes┄↓ ┆19┆┆89┆┄┄sages:↲ ↲ ╱04002d440c00060000000002014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ↓ ╞ ╞ ________________↲ ╞ ╞ ! !↲ ╞ ╞ ! internal 1 !↲ ╞ ╞ ┆a1┆!╞ !↲ ↲ ↲ ╞ ╞ ________________ _______________↲ ╞ ╞ !╞ ! !╞ !↲ ╞ ╞ ! internal 2 !╞ ! data 2 !↲ ╞ ╞ ┆a1┆! !┆e1┆╞ ┆a1┆! !↲ ↲ ↲ ╞ ╞ ________________ _______________↲ ╞ ╞ ! ! ! !↲ ╞ ╞ ! user ! ! data 3 !↲ ╞ ╞ ┆a1┆!╞ !┆e1┆ ┆a1┆! !↲ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ╱04002d440c00060000000002014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ↓ ↲ ╞ ┆84┆The message header 'internal 1' is described above and is returned ↓ ┆19┆┆89┆┄┄immediately with result set to:↲ ↲ ╞ ╞ 0 : ┆84┆action performed, message not stacked,↲ ╞ ╞ u3 = allocated stream number↲ ↲ ╞ ╞ 2 : busy = no internal resources in dte_access,↲ ╞ ╞ message stacked (internal 1, internal 2, user),↲ ╞ ╞ u3 = unch↲ ↲ ╞ ╞ 98 : dte_access in restart phase, message stacked↲ ╞ ╞ (internal 1, internal 2, user)↲ ╞ ╞ u3 = unch↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ┆84┆The message internal 2 has the following user fields:↲ ↲ ╞ ╞ message╞ answer↲ ╞ u1╞ 19╞ unch ↲ ╞ u2╞ 15 result2↲ ╞ u3╞ -╞ stream_no/diag_code/unch↲ ╞ u4 0╞ unch↲ ↲ ╞ buf╞ call_adr_buf accept_data↲ ↲ ╞ call_adr_buf = record↲ ╞ ╞ first,last,next : integer;↲ ╞ ╞ user_address : ┆84┆packed array (1..(xhead_call-6) ↓ ┆19┆┆ac┆┄┄*2) of bit4;↲ ╞ ╞ pkt_head : dte_head_type;↲ ╞ ╞ addr_lgth : byte;↲ ╞ ╞ dte_adr : array (1..14) of byte;↲ ╞ ╞ end;↲ ↲ ╞ xhead_call = 10 (* please see appendix B.2 *)↲ ↲ ╞ dte_head_type = packed record↲ ╞ ╞ q_bit,↲ ╞ ╞ d_bit : bit;↲ ╞ ╞ ? : 0..63;↲ ╞ ╞ ? : byte;↲ ╞ ╞ ? : 0..7;↲ ╞ ╞ m_bit : bit;↲ ╞ ╞ ? : 0..15;↲ ╞ ╞ end,↲ ↲ ╞ ┆84┆This message is hung up in the dte_access process until the user ↓ ┆19┆┆89┆┄┄accepts or rejects the received call-set up or a ┆b0┆clear_event┆f0┆ is ↓ ┆19┆┆89┆┆81┆┄received from the dte_chan process incarnation. In the first case ↓ ┆19┆┆89┆┆81┆┄the message is returned stacked with the user accept message and ↓ ┆19┆┆89┆┆81┆┄if the user has requested any X.25 facilities, this request is ↓ ┆19┆┆89┆┆81┆┄transferred from the user accept message to the data buffer ↓ ┆19┆┆89┆┆81┆┄'data 2', which at return has the following format:↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ╞ accept_data = record↲ ╞ ╞ ╞ first,last,next : integer;↲ ╞ ╞ ╞ user_address : ┆84┆packed array ↓ ┆19┆┆b5┆┄┄(1..(xhead_call-6) *2 ↓ ┆19┆┆b5┆┄┄of bit4;↲ ╞ ╞ ╞ pkt_head : dte_head_type;↲ ╞ ╞ ╞ addr_lgth : byte;↲ ╞ ╞ ╞ dte_adr : array (1..14) of byte;↲ ╞ ╞ ╞ faci_length : byte;↲ ╞ ╞ ╞ facilities : ┆84┆array (xhead_call + ↓ ┆19┆┆b5┆┄┄19..last) of byte;↲ ╞ ╞ ╞ end;↲ ↲ ╞ ┆84┆In the second case the message is returned with user fields set ↓ ┆19┆┆89┆┄┄according to the user reject. The data is not changed. In the ↓ ┆19┆┆89┆┄┄third case the message is returned, stacked below the ┆b0┆clear_event┆f0┆ ↓ ┆19┆┆89┆┆81┆┄message, and the header and data part are unchanged. The following ↓ ┆19┆┆89┆┆81┆┄table gives an overview of the possibilities.↲ ↲ ╞ u2 = result2╞ message stack╞ ╞ u3↲ ↲ ╞ 0 (ok)╞ ╞ mess stacked with╞ stream_no↲ ╞ ╞ ╞ user accept↲ ↲ ╞ 28 (buf_lgth_err)╞ mess stacked with╞ stream_no↲ ╞ ╞ ╞ user accept↲ ↲ ╞ 91 (user_reject)╞ mess not stacked ╞ diagnostic code↲ ↲ ╞ 98 (dte_restarted) mess not stacked╞ ╞ unch↲ ↲ ╞ unch╞ ╞ mess stacked below╞ unch↲ ╞ ╞ ╞ ┆b0┆clear_event┆f0┆ message↲ ↲ ╞ ┆84┆The message 'user' is a general input buffer containing call data ↓ ┆19┆┆89┆┄┄to the user. The return of this message to the user is an indica┄↓ ┆19┆┆89┆┄┄tion of the receival of an X.25 INCOMING CALL packet. The format ↓ ┆19┆┆89┆┄┄of the message is described in ref. (3).↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ┆a1┆┆b0┆Message name┆e1┆ : inc_s_event↲ ↲ ╞ ┆a1┆Message format┆e1┆ : ↲ ╞ ╞ message╞ answer↲ ╞ ╞ u1 20 unch↲ ╞ ╞ u2 15 result↲ ╞ u3 stream_no╞ unch↲ ╞ ╞ u4 0╞ unch↲ ↲ ╞ ╞ buf ch_ev_data unch↲ ↲ ╞ ╞ ch_ev_data = record↲ ╞ ╞ ╞ first,last,next : integer;↲ ╞ ╞ ╞ gen_u_event : boolean;↲ ╞ ╞ ╞ type_event,↲ ╞ ╞ ╞ cause,↲ ╞ ╞ ╞ diag_code : byte;↲ ╞ ╞ ╞ end;↲ ↲ ╞ ┆a1┆Function┆e1┆:↲ ╞ ┆84┆The message contains a stream event (reset, data lost, inter┄rupt ↓ ┆19┆┆89┆┄┄lost) which depending on the value of gen_u_event is transferred ↓ ┆19┆┆89┆┄┄to the user in a user wait_event message.↲ ↲ ╞ ┆a1┆Result┆e1┆:↲ ╞ ok (0) : message processed properly↲ ╞ fct_not_allw (12) : function not allowed in this state↲ ╞ dte_restarted (98) : dte_access in restart phase↲ ↲ ↲ ╞ ┆b0┆┆a1┆Message name┆e1┆ : inc_u_event↲ ↲ ╞ ┆a1┆Message format┆e1┆:↲ ╞ ╞ message╞ answer↲ ╞ ╞ u1 21╞ unch↲ ╞ ╞ u2 15╞ result↲ ╞ ╞ u3 user_no╞ unch↲ ╞ ╞ u4 0╞ unch↲ ↲ ╞ ╞ buf ch_ev_data╞ unch↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ╞ ch_ev_data = record↲ ╞ ╞ ╞ first,last next : integer;↲ ╞ ╞ ╞ gen_u_event : boolean;↲ ╞ ╞ ╞ type_event,↲ ╞ ╞ ╞ cause,↲ ╞ ╞ ╞ diag_code : byte;↲ ╞ ╞ ╞ end;↲ ↲ ╞ ┆a1┆Function┆e1┆:↲ ╞ ┆84┆The message indicates a user event (incoming call lost) which is ↓ ┆19┆┆89┆┄┄transferred to the user in a user wait_event message.↲ ↲ ╞ ┆a1┆Result┆e1┆:↲ ╞ ok (0) : ok↲ ╞ dte_restarted (98) : dte_access in restart phase↲ ↲ ╞ ┆a1┆┆b0┆Message name┆e1┆ : restart_end↲ ↲ ╞ ┆a1┆Message format┆e1┆ : ↲ ╞ ╞ message╞ answer↲ ╞ ╞ u1 248╞ unch↲ ╞ ╞ u2 15╞ 0↲ ╞ ╞ u3 ok/timeout╞ unch↲ ╞ ╞ u4 8╞ unch↲ ↲ ╞ ╞ buf cd_buf_type╞ unch↲ ↲ ╞ cd_buf_type = record↲ ╞ ╞ cause,↲ ╞ ╞ diag_code : byte;↲ ╞ ╞ end;↲ ↲ ╞ ┆a1┆Function┆e1┆:↲ ╞ ┆84┆The dte process indicates the ending of a restart phase or a time┄↓ ┆19┆┆89┆┄┄out. The user is informed by the return of a user wait_event mes┄↓ ┆19┆┆89┆┄┄sage with event_type 'dte_restarted' or 'disconnected', respecti┄↓ ┆19┆┆89┆┄┄vely. If u3 = timeout (10) the dte_access stays in the dte_restart ↓ ┆19┆┆89┆┄┄phase. The message is returned immediately.↲ ↲ ┆8c┆┄┆a7┆↓ ┆b0┆╞ ┆a1┆Message name┆e1┆ : restart_start↲ ↲ ╞ ┆a1┆Message format┆e1┆ : ↲ ╞ ╞ message╞ answer↲ ╞ ╞ u1 252╞ unch↲ ╞ ╞ u2 15╞ 0↲ ╞ ╞ u3 cause╞ unch↲ ╞ ╞ u4 8╞ unch↲ ↲ ╞ ╞ buf cd_buf_type unch↲ ↲ ╞ ╞ cd_buf_type = record↲ ╞ ╞ ╞ cause,↲ ╞ ╞ ╞ diag_code : byte;↲ ╞ ╞ ╞ end;↲ ↲ ╞ ┆a1┆Function┆e1┆:↲ ╞ ┆84┆The dte process indicates the start of a restart phase (cause = 2) ↓ ┆19┆┆89┆┄┄or the disconnection of the hdlc line (cause = 1). The dte_access ↓ ┆19┆┆89┆┄┄process transfers this information to the user utilizing the ↓ ┆19┆┆89┆┄┄wait_event message and enters the state dte_restart. The ┆b0┆re┄↓ ┆19┆┆89┆┆81┆┆82┆start_start┆f0┆ message is returned immediately.↲ ↲ ╞ ┆a1┆┆b0┆Message name┆e1┆ : stream_cleared↲ ↲ ╞ ┆a1┆Message format┆e1┆ : ↲ ╞ ╞ message╞ answer↲ ╞ ╞ u1 23 ╞ unch↲ ╞ ╞ u2 15╞ result↲ ╞ ╞ u3 stream_no╞ unch↲ ╞ ╞ u4 0╞ unch↲ ↲ ╞ ╞ buf -╞ -↲ ↲ ╞ ┆a1┆Function┆e1┆:↲ ╞ ┆84┆A dte_chan process incarnation indicates the end of a clear phase. ↓ ┆19┆┆89┆┄┄All user buffers are returned and the state of the stream is ↓ ┆19┆┆89┆┄┄changed to idle.↲ ↲ ┆8c┆┄┆a7┆↓ ╞ ┆a1┆Result┆e1┆:↲ ╞ ok (0) : message processed properly↲ ╞ fct_not_allw (12) : function not allowed in this state↲ ╞ dte_restarted (98) : dte_access in restart phase↲ ↲ ↲ ┆a1┆3.2.3╞ Process dte_hrec↲ ↲ ╞ ┆84┆The following internal messages are handled by the dte_hrec ↓ ┆19┆┆89┆┄┄process.↲ ↲ ╱04002d440c00060000000002014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ↓ ╞ name╞ sending╞ receiving╞ section↲ ╞ ╞ process╞ process↲ ↲ ╞ set_ass_chan dte dte_hrec╞ 3.2.3.1↲ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ╱04002d440c00060000000002014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ↓ ↲ ↲ ┆a1┆3.2.3.1╞ Messages received↲ ↲ ┆b0┆╞ ┆a1┆Message name┆e1┆ : set_ass_chan↲ ↲ ╞ ┆a1┆Message format┆e1┆ : ↲ ╞ ╞ message╞ answer↲ ╞ ╞ u1 6╞ unch↲ ╞ ╞ u2╞ 7 ╞ result↲ ╞ ╞ u3 -╞ unch↲ ╞ ╞ u4 8╞ unch↲ ↲ ╞ ╞ buf sup_mess_type╞ unch↲ ↲ ╞ ╞ sup_mess_type = record↲ ╞ ╞ ╞ x25_var : x25_rec_type;↲ ╞ ╞ ╞ in_buf : byte;↲ ╞ ╞ ╞ end;↲ ↲ ╞ ╞ x25_rec_type = record↲ ╞ ╞ ╞ ltc,↲ ╞ ╞ ╞ htc : channel_type;↲ ╞ ╞ ╞ ltci,↲ ╞ ╞ ╞ htci : integer;↲ ╞ ╞ ╞ end;↲ ↲ ┆8c┆┄┆aa┆↓ ╞ ┆a1┆Function┆e1┆:↲ ╞ ┆84┆The assigned logical channel interval, the lowest and highest ↓ ┆19┆┆89┆┄┄index to the dte_chan process semaphore array, and the number of ↓ ┆19┆┆89┆┄┄input buffers at the HDLC driver are set/updated.↲ ↲ ╞ ┆84┆The maximum number of hdlc input buffers is set to 10 in the ↓ ┆19┆┆89┆┄┄environment DTEENV (appendix B.5).↲ ↲ ╞ ┆84┆The consistens of the parameters is checked and if not ok, the ↓ ┆19┆┆89┆┄┄message is returned with 'format_error'. The following rules have to ↓ ┆19┆┆89┆┄┄be observed:↲ ↲ ╞ 1)╞ htci-ltci ┆a1┆<┆e1┆ max channels↲ ╞ 2)╞ ltci ┆a1┆<┆e1┆ htci↲ ╞ 3)╞ n_buf ┆a1┆<┆e1┆ max_inbufs (=10)↲ ↲ ╞ ┆a1┆Result┆e1┆:↲ ╞ ok (0) : variable updated↲ ╞ format_err (20) : variable error↲ ↲ ↲ ┆a1┆3.2.4╞ Process dte_lcnzero↲ ↲ ╞ ┆84┆The following internal/external messages are handled by the ↓ ┆19┆┆89┆┄┄dte_lcnzero process.↲ ↲ ╱04002d440c00060000000002014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ↓ ╞ name╞ sending╞ receiving╞ section↲ ╞ ╞ process╞ process↲ ↲ ╞ hdlc_conn dte╞ ╞ dte_lcnzero╞ 3.2.4.1↲ ╞ hdlc_disc╞ dte╞ ╞ dte_lcnzero╞ 3.2.4.1↲ ╞ restart_start dte╞ ╞ dte_lcnzero╞ 3.2.4.1↲ ↲ ╞ l_rel_delay dte_lcnzero╞ timer╞ 3.2.4.2↲ ╞ regret╞ dte_lcnzero╞ timer╞ 3.2.4.2↲ ↲ ╞ x25_input dte_hrec╞ dte_lcnzero╞ 3.2.4.1↲ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ╱04002d440c00060000000002014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆3.2.4.1╞ Messages received↲ ↲ ┆b0┆╞ ┆a1┆Message name┆e1┆ : hdlc_conn↲ ↲ ╞ ┆a1┆Message format┆e1┆ : ↲ ╞ ╞ message╞ answer↲ ╞ ╞ u1 4╞ unch↲ ╞ ╞ u2 7╞ result↲ ╞ ╞ u3 conn_seq_no unch↲ ╞ ╞ u4 8╞ unch↲ ↲ ╞ ╞ buf╞ -╞ unch↲ ↲ ╞ ┆a1┆Function┆e1┆:↲ ╞ ┆84┆The HDLC line has been connected. The internal state is changed to ↓ ┆19┆┆89┆┄┄hdlc_active.↲ ↲ ╞ ┆84┆An X.25 RESTART REQUEST is expected to have been transmitted to ↓ ┆19┆┆89┆┄┄the DCE from the dte process, so the timer t20 is started. Connec┄↓ ┆19┆┆89┆┄┄tion number is set to the value of the u3 field.↲ ↲ ╞ ┆a1┆Result┆e1┆:↲ ╞ ok╞ (0) : message processed properly↲ ↲ ┆b0┆╞ ┆a1┆Message name┆e1┆ : hdlc_disc↲ ↲ ╞ ┆a1┆Message format┆e1┆: ↲ ╞ ╞ message╞ answer↲ ╞ ╞ u1 8╞ unch↲ ╞ ╞ u2 7╞ result↲ ╞ ╞ u3 0╞ unch↲ ╞ ╞ u4 8╞ unch↲ ↲ ╞ ╞ buf -╞ unch↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ┆a1┆Function┆e1┆:↲ ╞ ┆84┆The hdlc line has been discconnected. The internal state is set to ↓ ┆19┆┆89┆┄┄net_down. If timer t20 is running, it is stopped by a regret ↓ ┆19┆┆89┆┄┄message.↲ ↲ ╞ ┆a1┆Result┆e1┆:↲ ╞ ok╞ (0): message processed properly↲ ↲ ┆b0┆╞ ┆a1┆Message name┆e1┆ : restart_start↲ ↲ ╞ ┆a1┆Message format┆e1┆: ↲ ╞ ╞ message╞ answer↲ ╞ ╞ u1 252╞ unch↲ ╞ ╞ u2 ╞ 7╞ result↲ ╞ ╞ u3 diag_code╞ unch↲ ╞ ╞ u4 8╞ unch↲ ↲ ╞ ╞ buf╞ -╞ unch↲ ↲ ╞ ┆a1┆Function┆e1┆:↲ ╞ ┆84┆A restart phase is requested by the dte process. The internal sta┄↓ ┆19┆┆89┆┄┄te is set to dte_restart. An X.25 RESTART REQUEST is transmit┄↓ ┆19┆┆89┆┄┄ted to the DCE and timer t20 is started. Octet 4 in the RESTART ↓ ┆19┆┆89┆┄┄REQUEST is set to 0 and octet 5 to diag_code (u3 field).↲ ↲ ╞ ┆a1┆Result┆e1┆:↲ ╞ ok╞ (0) : message processed properly↲ ╞ rejected (17) : ┆84┆the DTE/DCE interface is already in the restart ↓ ┆19┆┆9a┆┄┄phase.↲ ↲ ┆b0┆╞ ┆a1┆Message name┆e1┆ : x25_input↲ ↲ ╞ ┆a1┆Message format┆e1┆ : ↲ ╞ ╞ received answer↲ ╞ ╞ u1 1↲ ╞ ╞ u2 0↲ ╞ ╞ u3╞ -↲ ╞ ╞ u4╞ 6↲ ↲ ╞ ╞ buf x25_buf_type↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ╞ x25_buf_type = record↲ ╞ ╞ ╞ first,last,next : integer;↲ ╞ ╞ ╞ head╞ ╞ : x25_head;↲ ╞ ╞ ╞ data╞ ╞ : ┆84┆array ↓ ┆19┆┆be┆┄┄(first+3..last) ↓ ┆19┆┆be┆┄┄of byte;↲ ╞ ╞ ╞ end;↲ ↲ ╞ ╞ x25_head = packed record↲ ╞ ╞ ╞ q_bit,↲ ╞ ╞ ╞ d_bit,↲ ╞ ╞ ╞ m128,↲ ╞ ╞ ╞ m8 : bit;↲ ╞ ╞ ╞ lcgn╞ : bit4;↲ ╞ ╞ ╞ lcn╞ : byte;↲ ╞ ╞ ╞ packet_id╞ : byte;↲ ╞ ╞ ╞ end;↲ ↲ ╞ ┆a1┆Function┆e1┆:↲ ╞ ┆84┆The buffer is received from the dte_hrec process. It contains a ↓ ┆19┆┆89┆┄┄received X.25 packet on logical channel zero (lcgn = 0 and lcn = ↓ ┆19┆┆89┆┄┄0). The packet type is identified and put into one of four groups:↲ ↲ ╞ a)╞ ┆b0┆restart indication:↲ ╞ ╞ ┆84┆either the restart phase is ended or a new is initiated ↓ ┆19┆┆93┆┄┄by the DCE. In the first case timer t20 is stopped and ↓ ┆19┆┆93┆┄┄the internal state is changed to dte_ready. In the last ↓ ┆19┆┆93┆┄┄case a RESTART CONFIRMATION is transmitted to the DCE. ↓ ┆19┆┆93┆┄┄In both cases the dte process is informed↲ ↲ ╞ b)╞ ┆84┆┆b0┆restart confirmation:↲ ╞ ╞ ┆84┆the restart phase is ended by the DCE. The dte process ↓ ┆19┆┆93┆┄┄is informed and timer t20 is stopped and the internal ↓ ┆19┆┆93┆┄┄state is changed to dte_ready↲ ↲ ╞ c)╞ ┆b0┆diagnostic:↲ ╞ ╞ ┆84┆the dte process is informed↲ ↲ ╞ d)╞ ┆b0┆all others:↲ ╞ ╞ ┆84┆the packet is just discarded↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆3.2.4.2╞ Messages sent↲ ↲ ╞ ┆84┆The next two messages are used in connection with timer t20 and ↓ ┆19┆┆89┆┄┄are both sent and received by the dte_lcnzero process.↲ ↲ ╞ ┆a1┆┆b0┆Message name┆e1┆ : l_rel_delay↲ ↲ ╞ ┆a1┆Message format┆e1┆ : ↲ ╞ ╞ message sent╞ answer received↲ ╞ ╞ u1 9╞ ╞ unch↲ ╞ ╞ u2╞ 7╞ result↲ ╞ ╞ u3╞ -╞ ╞ 0↲ ╞ ╞ u4╞ 5╞ ╞ unch ↲ ↲ ╞ ╞ buf delaytype╞ ╞ ?↲ ↲ ╞ ╞ delaytype = record↲ ╞ ╞ ╞ prev_date : coded_date;↲ ╞ ╞ ╞ prev_time : coded_time;↲ ╞ ╞ ╞ prev_secs : coded_secs;↲ ╞ ╞ ╞ inc╞ : packed record↲ ╞ ╞ ╞ ╞ days : 0..63;↲ ╞ ╞ ╞ ╞ hours : 0..31;↲ ╞ ╞ ╞ ╞ mins : 0..63;↲ ╞ ╞ ╞ ╞ secs : 0..63;↲ ╞ ╞ ╞ ╞ msecs : 0..1023;↲ ╞ ╞ ╞ ╞ end;↲ ╞ ╞ ╞ end;↲ ↲ ╞ ┆84┆The type definition of coded_date, coded_time, and coded_secs may ↓ ┆19┆┆89┆┄┄be found in the RTP standard environment.↲ ↲ ╞ ┆a1┆Function┆e1┆:↲ ╞ ┆84┆The dte_lcnzero process requests the timer process to return the ↓ ┆19┆┆89┆┄┄message after the time specified in the record inc. The default ↓ ┆19┆┆89┆┄┄value used in the X.25 recommendation is 180 seconds.↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ┆a1┆Result┆e1┆:↲ ╞ ok (0) : the timer period has elapsed↲ ╞ sys_not_processed (1) : the message has been regretted↲ ↲ ┆b0┆╞ ┆a1┆Message name┆e1┆ : regret↲ ↲ ╞ ┆a1┆Message format┆e1┆ :↲ ╞ ╞ message sent answer received↲ ╞ ╞ u1╞ 12╞ ╞ unch↲ ╞ ╞ u2╞ 7╞ result↲ ╞ ╞ u3╞ -╞ ╞ unch↲ ╞ ╞ u4╞ -╞ ╞ unch↲ ↲ ╞ ╞ buf╞ -╞ ╞ unch↲ ↲ ╞ ┆a1┆Function┆e1┆:↲ ╞ ┆84┆If the dte_lcnzero process wants to stop timer t20 this message is ↓ ┆19┆┆89┆┄┄sent to the timer process. The answer is always expected to have ↓ ┆19┆┆89┆┄┄the result 'ok'.↲ ↲ ╞ ┆a1┆Result┆e1┆:↲ ╞ ok (0) : message processed properly↲ ↲ ↲ ┆a1┆3.2.5╞ Process dte_chan↲ ↲ ╞ ┆84┆The following internal/external messages are handled by the ↓ ┆19┆┆89┆┄┄dte_chan process.↲ ↲ ╱04002d440c00060000000002014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ↓ ╞ name╞ sending╞ receiving╞ section↲ ╞ ╞ process╞ process↲ ↲ ╞ restart_start dte╞ ╞ dte_chan╞ 3.2.5.1↲ ╞ sync_mess dte╞ ╞ dte_chan╞ 3.2.5.1↲ ↲ ╞ timer_book dte_chan╞ timeout╞ 3.2.5.2↲ ╞ timer_update dte_chan╞ timeout╞ 3.2.5.2↲ ↲ ╞ x25_input╞ dte_hrec╞ dte_chan╞ 3.5.2.1↲ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ╱04002d440c00060000000002014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆84┆╞ ┆84┆Besides these messages the dte_chan process receives the following ↓ ┆19┆┆89┆┄┄DTE User messages↲ ↲ ╱04002d440c00060000000002014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ↓ ╞ ╞ - dte_call_req↲ ╞ ╞ - dte_change_mode↲ ╞ ╞ - dte_clear_req↲ ╞ ╞ - dte_rec_dedic↲ ╞ ╞ - dte_reset_req↲ ╞ ╞ - dte_send_data↲ ╞ ╞ - dte_send_intrupt↲ ╞ ╞ - dte_sync_stream↲ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ╱04002d440c00060000000002014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ↓ ↲ ↲ ┆a1┆3.2.5.1╞ Messages received↲ ↲ ┆b0┆╞ ┆a1┆Message name┆e1┆ : restart_start↲ ↲ ╞ ┆a1┆Message format┆e1┆ : ↲ ╞ ╞ message╞ answer↲ ╞ ╞ u1 252╞ unch↲ ╞ ╞ u2 15╞ result↲ ╞ ╞ u3 -╞ unch↲ ╞ ╞ u4╞ 8╞ unch↲ ↲ ╞ ╞ buf╞ -╞ unch↲ ↲ ╞ ┆a1┆Function┆e1┆:↲ ╞ ┆84┆The DCE/DTE interface has entered a restart phase. All user mes┄↓ ┆19┆┆89┆┄┄sages are returned with result 'not_processed' (9) and all timers ↓ ┆19┆┆89┆┄┄stopped. The dte_chan process then enters the stopping phase util┄↓ ┆19┆┆89┆┄┄izing the ┆b0┆sync_mess┆f0┆ to synchronize with the dte process, before it ↓ ┆19┆┆89┆┆81┆┄is removed.↲ ↲ ╞ ┆a1┆Result┆e1┆:↲ ╞ ok (0) : message processed properly↲ ╞ not_processed (9) : message received in stopping phase↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆╞ ┆a1┆Message name┆e1┆ : sync_mess↲ ↲ ╞ ┆a1┆Message format┆e1┆ :↲ ╞ ╞ message╞ answer↲ ╞ ╞ u1 0╞ unch↲ ╞ ╞ u2╞ 7╞ result↲ ╞ ╞ u3╞ -╞ cause↲ ╞ ╞ u4 11╞ unch↲ ↲ ╞ ╞ buf sync_buf_type╞ unch↲ ↲ ╞ ╞ sync_buf_type = record↲ ╞ ╞ ╞ ch_index : integer;↲ ╞ ╞ ╞ lcn_index╞ : byte;↲ ╞ ╞ ╞ lcg╞ : bit4;↲ ╞ ╞ ╞ lcn╞ : byte;↲ ╞ ╞ ╞ user_no╞ : byte;↲ ╞ ╞ ╞ local_uaddr╞ : local_adr_type;↲ ╞ ╞ ╞ default_w,↲ ╞ ╞ ╞ max_w╞ : bit3;↲ ╞ ╞ ╞ rr-timer,↲ ╞ ╞ ╞ ack_timer╞ : integer;↲ ╞ ╞ ╞ end;↲ ↲ ╞ ╞ local_adr_type = record↲ ╞ ╞ ╞ user_lgth╞ : byte;↲ ╞ ╞ ╞ user_address : bcd_adr_type;↲ ╞ ╞ ╞ end,↲ ↲ ╞ ╞ bcd_adr_type = packed array (1..max_u_adr) of bit4;↲ ↲ ╞ ╞ max_u_adr = 5;↲ ↲ ╞ ┆a1┆Function┆e1┆:↲ ╞ ┆84┆This message is received at the sync semaphore. When received in ↓ ┆19┆┆89┆┄┄the state xidle the buffer contains different parameter values to ↓ ┆19┆┆89┆┄┄be used for the actual incarnation of an X.25 logical channel. The ↓ ┆19┆┆89┆┄┄parameters are:↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ch_index╞ : index to chan_proc_table, used by dte↲ ╞ lcn_index╞ : index to lcn_table, used by dte↲ ╞ lcg╞ : logical group number, used by dte and dte_chan↲ ╞ lcn╞ : logical channel number, used by dte and dte_chan↲ ╞ user_no╞ : actual user number, used by dte_chan↲ ╞ local_uaddr : local user address, used by dte_chan↲ ╞ default_w : default X.25 window size, used by dte_chan↲ ╞ max_w : max window size allowed, used by dte_chan↲ ╞ rr_timer╞ : idle timer value, used by dte_chan↲ ╞ ack_timer╞ : acknowledge timer value, used by dte_chan↲ ↲ ╞ ┆84┆Furthermore, the message is used to synchronize the dte and ↓ ┆19┆┆89┆┄┄dte_chan process in the stopping phase of the last one (see ↓ ┆19┆┆89┆┄┄subsection 4.2.7).↲ ↲ ╞ ┆84┆The cause field identifies the parts of the stoppng phase:↲ ╞ ╞ cause = 3 : stopping phase initiated↲ ╞ ╞ ╞ = 0 : stopping phase ended↲ ↲ ╞ ┆a1┆Result┆e1┆:↲ ╞ ok╞ (0) : message processed properly↲ ↲ ╞ ┆a1┆┆e1┆┆a1┆┆b0┆Message name┆e1┆ : x25_input↲ ↲ ╞ ┆a1┆Message format┆e1┆ : ↲ ╞ ╞ received answer↲ ╞ ╞ u1 ╞ 1↲ ╞ ╞ u2╞ 0↲ ╞ ╞ u3╞ -↲ ╞ ╞ u4╞ 6↲ ↲ ╞ ╞ buf x25_buf_type↲ ↲ ╞ ╞ x25_buf_type = record↲ ╞ ╞ ╞ first,last,next : integer;↲ ╞ ╞ ╞ head : x25_head;↲ ╞ data ╞ : ┆84┆array (first+3..last) ↓ ┆19┆┆b6┆┄┄of byte;↲ ╞ ╞ ╞ end;↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ╞ x25_head = packed record↲ ╞ ╞ ╞ q_bit,↲ ╞ ╞ ╞ d_bit,↲ ╞ ╞ ╞ m128,↲ ╞ ╞ ╞ m8 : bit; ↲ ╞ ╞ ╞ lcgn : bit4;↲ ╞ ╞ ╞ lcn : byte;↲ ╞ ╞ ╞ packet_id : byte;↲ ╞ ╞ ╞ end;↲ ↲ ╞ ┆a1┆Function┆e1┆:↲ ╞ ┆84┆The buffer is received from the dte_hrec process. It contains a ↓ ┆19┆┆89┆┄┄received X.25 packet on the X.25 logical channel handled by this ↓ ┆19┆┆89┆┄┄dte_chan process incarnation. The packet type is identified and ↓ ┆19┆┆89┆┄┄depending of this and the internal state a specified action is ↓ ┆19┆┆89┆┄┄per┄formed.↲ ↲ ↲ ┆a1┆3.2.5.2╞ Messages sent↲ ↲ ╞ ┆84┆The next two messages concerns the communication with the timeout ↓ ┆19┆┆89┆┄┄process. The messages are sent by calling one of the two external ↓ ┆19┆┆89┆┄┄procedures: timerbook, timerupdate. For a more detailed descrip┄↓ ┆19┆┆89┆┄┄tion than given below, please refer to ref. (6).↲ ↲ ╞ ┆a1┆┆b0┆Message name┆e1┆ : timer_book↲ ↲ ╞ ┆a1┆Message format┆e1┆ : ↲ ╞ ╞ top message╞ ╞ stacked message↲ ╞ ╞ message answer╞ message answer↲ ╞ ╞ u1 7╞ unch╞ 5 unch↲ ╞ ╞ u2 7 result - result↲ ╞ ╞ u3 - unch - unch↲ ╞ ╞ u4 5 unch╞ - unch↲ ↲ ╞ ╞ buf - timers╞ updates unch↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ╞ timers = record↲ ╞ ╞ ╞ obj : integer;↲ ╞ ╞ ╞ end;↲ ↲ ╞ ╞ updates = record↲ ╞ ╞ ╞ index,↲ ╞ ╞ ╞ count,↲ ╞ ╞ ╞ obj : integer;↲ ╞ ╞ ╞ end;↲ ↲ ╞ ┆a1┆Function┆e1┆:↲ ╞ ┆84┆The dte_chan process requests a timer entry and start of the re┄↓ ┆19┆┆89┆┄┄quested timer. If ok the stacked message is returned with result ↓ ┆19┆┆89┆┄┄'result_ok' (1). After the time period specified in count (number ↓ ┆19┆┆89┆┄┄of ticks) the top message is returned with result 'result_ok' (1).↲ ↲ ╞ ┆84┆The parameter obj is used to identify the timer in the ↓ ┆19┆┆89┆┄┄dte_chan/timeout communication.↲ ↲ ╞ ┆84┆Index is set by timeout at booking time and is used later on at ↓ ┆19┆┆89┆┄┄each new update of the timer as a reference number by the timeout ↓ ┆19┆┆89┆┄┄process.↲ ↲ ╞ ┆a1┆Result┆e1┆:↲ ╞ result_ok (1) : message processed properly↲ ╞ result_full (2) : no timer entry available↲ ↲ ┆b0┆╞ ┆a1┆Message name┆e1┆ : timer_update↲ ↲ ╞ ┆a1┆Message format┆e1┆ :↲ ╞ ╞ message╞ answer↲ ╞ ╞ u1 4╞ unch↲ ╞ ╞ u2 7╞ result↲ ╞ ╞ u3 -╞ unch↲ ╞ ╞ u4 -╞ unch↲ ↲ ╞ ╞ buf updates╞ unch↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ╞ updates = record↲ ╞ ╞ ╞ index,↲ ╞ ╞ ╞ count,↲ ╞ ╞ ╞ obj : integer;↲ ╞ ╞ ╞ end;↲ ↲ ╞ ┆a1┆Function┆e1┆:↲ ╞ ┆84┆The dte_chan process requests the timeout process to update an ↓ ┆19┆┆89┆┄┄already started timer. If count = 0 the dte_chan process stops the ↓ ┆19┆┆89┆┄┄timer by requesting it returned immediately. For specification of ↓ ┆19┆┆89┆┄┄index and obj, please refer to ┆b0┆timer_book┆f0┆.↲ ↲ ╞ ┆a1┆Result┆e1┆:↲ ╞ result_ok (1) : message processed properly↲ ╞ result_wrong (3) : no timer message pending↲ ╞ result_obj (4) : wrong obj used↲ ╞ result_index (5) : index out of range↲ ↲ ↲ ┆a1┆3.2.6╞ Process dte_pool.↲ ↲ ╞ ┆84┆As already mentioned (in chapter 2) the dte_pool process is an in┄↓ ┆19┆┆89┆┄┄carnation of the pool_handler process. So for a detailed descrip┄↓ ┆19┆┆89┆┄┄tion of messages please refer to ref. (5).↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ «index» formatlinie til RC manualer↲ ┆14┆┆b3┆↲ ┆14┆┆b3┆┆06┆- ┆0b┆ -↲ ┆a1┆↓ ┆a1┆4.╞ PROCESS DESCRIPTIONS.↲ ↲ ╞ ┆84┆Section 4.1 gives some general information which is common to a ↓ ┆19┆┆89┆┄┄number of DTE processes, whereas the following sections (4.2-4.6) ↓ ┆19┆┆89┆┄┄describe the processes one by one.↲ ↲ ╞ ┆84┆The actual process descriptions cover the following aspects.↲ ↲ ┆b0┆╞ - process parameters┆f0┆ (subsection 4.x.1)↲ ╞ ┆84┆The process head is shown and the parameters are described. ↓ ┆19┆┆8d┆┄┄Please note that frozen VAR parameters (!) are read-only ↓ ┆19┆┆8d┆┄┄parameters.↲ ↲ ╞ ┆b0┆- states┆f0┆ (subsection 4.x.2)↲ ╞ ┆84┆A description is given of the possible values of state ↓ ┆19┆┆8d┆┄┄variables in the process. This description can include a state ↓ ┆19┆┆8d┆┄┄transition graph or table.↲ ↲ ┆b0┆╞ - semaphores and reference variables┆f0┆ (subsection 4.x.3)↲ ╞ ┆84┆The local semaphores (excl. process parameters) and the ↓ ┆19┆┆8d┆┄┄reference variables are described.↲ ↲ ╞ ┆b0┆- data structures┆f0┆ (subsection 4.x.4)↲ ╞ ┆84┆A description of important data structures is given.↲ ↲ ┆b0┆╞ - semaphores and message flow┆f0┆ (subsection 4.x.5)↲ ╞ ┆84┆An outline of the flow of messages to and from the process is ↓ ┆19┆┆8e┆┄┄shown. The use of the main semaphore and additional semapho-↓ ┆19┆┆8e┆┄┄res (incl. buffer pools) is illustrated.↲ ↲ ┆b0┆╞ - overview of process operation┆f0┆ (subsection 4.x.6)↲ ╞ ┆84┆A short description of the internal structure and work of the ↓ ┆19┆┆8e┆┄┄process is given.↲ ↲ ┆b0┆╞ - special techniques┆f0┆ (subsection 4.x.7 and on)↲ ┆84┆If any special implementation techniques or methods are used ↓ ┆19┆┆8d┆┄┄these are described.↲ ↲ ╞ ┆84┆Please refer to chapter 2 for an overall description of the ↓ ┆19┆┆89┆┄┄processes.↲ ↲ ↲ ┆8c┆┄┆ab┆↓ ┆a1┆4.1╞ General Information.↲ ↲ ↲ ┆a1┆4.1.1╞ Common Data Structures.↲ ↲ ↲ ┆a1┆4.1.1.1╞ User Table.↲ ↲ ╞ ┆84┆Each user connected to the DTE is described by an entry in the ↓ ┆19┆┆89┆┄┄user_table. Two processes operate on this table, dte and ↓ ┆19┆┆89┆┄┄dte_access. One operation on the table is to find a given user and ↓ ┆19┆┆89┆┄┄for this purpose the procedure ┆b0┆found_user┆f0┆ (subsection 4.1.2.3) is ↓ ┆19┆┆89┆┆81┆┄defined. An access semaphore (user_key) is associated with the ↓ ┆19┆┆89┆┆81┆┄table. The process which at a given moment 'owns' the message ╞ ↓ ┆19┆┆89┆┆81┆┄(key) queued at the semaphore, has the rights to read and write ↓ ┆19┆┆89┆┆81┆┄in the table.↲ ↲ ╞ ┆84┆Each entry in the table is of type↲ ↲ ╞ user_desc = record↲ ╞ user_state╞ : u_state_type;↲ ╞ local_uaddr╞ : bcd_adr_type;↲ accept_range,↲ ╞ user_streams,↲ ╞ lost_stream_event,↲ ╞ lost_user_event╞ : byte;↲ ╞ user_event_rec╞ : dte_event_type;↲ ╞ general_bsem,↲ w_event_bsem╞ : semaphore;↲ ╞ end;↲ ↲ ╞ user_state╞ : ┆84┆Describes the state (free, w_resc, idle, ↓ ┆19┆┆9f┆┄┄active) of the entry/associated user. Please ↓ ┆19┆┆9f┆┄┄refer to subsection 4.3.2 for a description ↓ ┆19┆┆9f┆┄┄of the individual states.↲ ↲ ╞ local_uaddr╞ : ┆84┆Contains the user address (X.25 sub ad┄↓ ┆19┆┆9f┆┄┄dress). See subsection 4.1.6.↲ ↲ ╞ accept_range╞ : ┆84┆See subsection 4.1.6.↲ ↲ ┆8c┆┄┆a9┆↓ ╞ user_streams╞ : ┆84┆The number of streams for this user.↲ ↲ ╞ lost_stream_event╞ : ┆84┆Number of streams with lost events.↲ ↲ ╞ lost_user_event╞ : ┆84┆Number of lost user events.↲ ↲ ╞ user_event_rec╞ : ┆84┆Last received user event containing event ↓ ┆19┆┆9f┆┄┄type, cause and diagnostic.↲ ↲ ╞ general_bsem╞ : ┆84┆Semaphore at which general input buffers are ↓ ┆19┆┆9f┆┄┄queued.↲ ↲ ╞ w_event_bsem╞ : ┆84┆Semaphore at which wait_event buffers are ↓ ┆19┆┆9f┆┄┄queued.↲ ↲ ↲ ┆a1┆4.1.1.2╞ Semaphore Area for dte_chan<xxx>.↲ ↲ ╞ ┆84┆In the dte process two tables, containing semaphore pointers to ↓ ┆19┆┆89┆┄┄the main semaphores of the dte_chan incarnations, are defined. ↓ ┆19┆┆89┆┄┄These two tables (hrec_table and int_table) are process parameters ↓ ┆19┆┆89┆┄┄to the dte_hrec and dte_access process, respectively. In these ↓ ┆19┆┆89┆┄┄processes they are used to route messages to the right dte_chan ↓ ┆19┆┆89┆┄┄incarnation.↲ ↲ ╞ ┆84┆In dte_hrec the index to the table is calculated from the logical ↓ ┆19┆┆89┆┄┄channel number (see subsection 4.1.5). If the associated dte_chan ↓ ┆19┆┆89┆┄┄incarnation is in state xidle the semaphore pointer points to the ↓ ┆19┆┆89┆┄┄main semaphore of the dte process. This dynamical change is per┄↓ ┆19┆┆89┆┄┄formed by the dte process. A snap shot is given below in figure 9.↲ ↲ ╞ ┆84┆In dte_access the stream number is used as index to stream_table, ↓ ┆19┆┆89┆┄┄which contains a semaphore pointer (chanproc_sem) to the associa┄↓ ┆19┆┆89┆┄┄ted dte_chan incarnation. This pointer is assigned to the value of ↓ ┆19┆┆89┆┄┄int_table(index) at stream initialization. Index is returned by ↓ ┆19┆┆89┆┄┄the dte process in a chan_start answer. A snap shot is given below ↓ ┆19┆┆89┆┄┄in figure 9.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ┆06┆Figure 9. Snap shot of routing pointers.↲ ↲ ↲ ┆a1┆┆81┆↓ ┆a1┆4.1.1.3╞ x25_param_type.↲ ↲ ╞ ┆84┆A call and return parameters to the X.25 procedures ┆b0┆code_x25┆f0┆ (sub┄↓ ┆19┆┆89┆┆81┆┄section 4.1.2.1) and ┆b0┆dce_x25┆f0┆ (subsection 4.1.2.1) is of type ↓ ┆19┆┆89┆┆82┆┄x25_param_type. This parameter contains all the necessary parame┄↓ ┆19┆┆89┆┆82┆┄ters to code or decode an X.25 packet.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ x25_param_type = record↲ ╞ xlcg : bit4;↲ xlcn : byte;↲ ╞ xpacket_id╞ : packet_id_type;↲ ╞ qbit,↲ ╞ dbit,↲ ╞ mbit╞ : bit;↲ ╞ spr,↲ ╞ sps,↲ ╞ rpr,↲ ╞ rps╞ : bit3;↲ ╞ octet4,↲ ╞ octet5╞ : byte;↲ ╞ end;↲ ↲ ╞ xlcg╞ ╞ : ┆84┆Logical group number in the X.25 packet ↓ ┆19┆┆9f┆┄┄header.↲ ↲ ╞ xlcn╞ ╞ : ┆84┆Logical channel number in the X.25 packet ↓ ┆19┆┆9f┆┄┄header.↲ ↲ ╞ xpacket_id╞ : ┆84┆Packet identificator.↲ ↲ ╞ qbit,dbit,mbit╞ : q, d and m bit in the X.25 packet header.↲ ↲ ╞ spr, sps╞ ╞ : ┆84┆PR and PS numbers to be written in the X.25 ↓ ┆19┆┆9f┆┄┄packet head, that has to be transmitted to ↓ ┆19┆┆9f┆┄┄the DCE.↲ ↲ ╞ rpr, rps╞ ╞ : ┆84┆PR and PS numbers read in the X.25 packet ↓ ┆19┆┆9f┆┄┄head received from the DCE.↲ ↲ ╞ octet4╞ ╞ : Octet four in some X.25 packets.↲ ↲ ╞ octet5╞ ╞ : Octet five in some X.25 packets.↲ ↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆4.1.1.4╞ Zones.↲ ↲ ╞ ┆84┆In the processes dte, dte_lcnzero a standard zone (outzone) is ↓ ┆19┆┆89┆┄┄used to write error messages and other information on the console. ↓ ┆19┆┆89┆┄┄For definition and use of the zone please refer to ref. (15).↲ ↲ ↲ ┆a1┆4.1.2╞ Common or General Procedures.↲ ↲ ↲ ┆a1┆4.1.2.1╞ X.25 Procedures.↲ ↲ ╞ ┆84┆In order easely to operate on X.25 packets from different processes ↓ ┆19┆┆89┆┄┄7 procedures are defined:↲ ↲ ╞ - code_x25↲ ╞ - dec_x25↲ ╞ - init_x25faci↲ ╞ - check_x25faci↲ ╞ - check_facispec↲ ╞ - init_window↲ ╞ - w_algorithm↲ ↲ ╞ ┆84┆code_x25 and dec_x25 is used to code and decode an X.25 header ↓ ┆19┆┆89┆┄┄and sometimes octet 4 and 5 in the packets. They have the formats↲ ↲ ┆b0┆╞ PROCEDURE code_x25 (↲ ╞ VAR msg╞ : reference;↲ ╞ pfirst╞ : integer;↲ ╞ dte╞ : boolean;↲ ╞ VAR x25_param : x25_param_type↲ ╞ packet_lgth : integer↲ ╞ );↲ ↲ ┆b0┆╞ FUNCTION dec_x25 (↲ ╞ VAR msg╞ : reference;↲ ╞ pfirst : integer;↲ ╞ dte╞ : boolean;↲ ╞ VAR x25_param : x25_param_type↲ ╞ VAR packet_lgth : integer↲ ╞ ) : packet_result;↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ - ┆84┆msg is a reference to either the buffer in which the packet has ↓ ┆19┆┆8b┆┄┄to be coded in or the buffer in which the packet is received in.↲ ╞ - ┆84┆pfirst is a pointer to the first byte of the packet.↲ - ┆84┆dte specifies whether the function has to be DTE (true) or DCE ↓ ┆19┆┆8b┆┄┄(false).↲ ╞ - x25_param is described in subsection 4.1.1.3.↲ ╞ ┆84┆- packet_lgth is the packet length including the head.↲ ↲ ╞ ┆84┆┆b0┆code_x25┆f0┆ makes up the packet according to the parameters, special ↓ ┆19┆┆89┆┆81┆┄x25_param.xpacket_id, and ┆b0┆dec_x25┆f0┆ returns the fields in the para┄↓ ┆19┆┆89┆┆82┆┄meters and the result in packet_result (see appendix B.3).↲ ↲ ╞ ┆84┆To handle the X.25 facilities three procedures are defined:↲ ↲ ┆b0┆╞ FUNCTION init_x25faci (↲ ╞ VAR x25_ref╞ : reference;↲ ╞ VAR faci_start,↲ ╞ faci_last,↲ ╞ index╞ : integer;↲ ╞ VAR standard,↲ more : boolean↲ ) : boolean;↲ ↲ ┆b0┆╞ FUNCTION check_x25faci (↲ ╞ VAR x25_ref : reference;↲ faci_start,↲ faci_last : integer;↲ VAR index : integer;↲ VAR standard,↲ more : boolean;↲ VAR faci_size : byte;↲ VAR facilities : array (1..4) of byte↲ ) : faci_result_type;↲ ↲ ┆b0┆FUNCTION check_facispec (↲ facility,↲ default_faci,↲ spec_faci : byte↲ ) : boolean;↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ┆84┆┆b0┆init_x25faci┆f0┆ is used to initialize the variables faci_start, ↓ ┆19┆┆89┆┆81┆┄faci_last, index, standard and more.↲ - ┆84┆index points to the next facility↲ - ┆84┆standard is true if the last returned facility was an standard ↓ ┆19┆┆8b┆┄┄X.25 facility.↲ - ┆84┆more is true if there is more facilities.↲ ↲ ┆84┆At return from ┆b0┆check_x25faci┆f0┆ the variables are updated and fa┄↓ ┆19┆┆89┆┆81┆┄cilities contains the just read facility, faci_size the number of ↓ ┆19┆┆89┆┆81┆┄octets defined for the facilit┄y and the result is specified as the ↓ ┆19┆┆89┆┆81┆┄result of the function.↲ ↲ ╞ ┆b0┆┆84┆check_facispec┆f0┆ is used to check that the negotiation of a facility ↓ ┆19┆┆89┆┆81┆┄is towards the default value (default_faci). The parameter facili┄↓ ┆19┆┆89┆┆81┆┄ty is the new value and spec_faci the current value.↲ ↲ ╞ ┆84┆To support the X.25 window mechanism two procedures are defined:↲ ↲ ┆b0┆╞ PROCEDURE init_window (↲ VAR window_rec : window_rec_desc;↲ ╞ queue_use,↲ reset_only : boolean↲ );↲ ↲ ┆b0┆╞ FUNCTION w_algorithm (↲ packet_type : packet_id_type;↲ mode : transmode_type;↲ VAR p_r,↲ p_s : bit3;↲ VAR window_rec : window_rec_type;↲ VAR return_buf : byte↲ ) : boolean;↲ ↲ ╞ ┆84┆┆b0┆init_window┆f0┆ is call to initialize the variables in window_rec, ↓ ┆19┆┆89┆┆81┆┄containing lower window edge for receiving/sending, next P(S) to ↓ ┆19┆┆89┆┆81┆┄sent, last received P(S) and number of input buffers. The ↓ ┆19┆┆89┆┆81┆┄procedure is called when the call set-up or reset phase is ended.↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ┆84┆┆b0┆w_algorithm┆f0┆ is call every time an RR, RNR or DATA packet is either ↓ ┆19┆┆89┆┆81┆┄received or has to be sent (specified with mode). The variables in ↓ ┆19┆┆89┆┆81┆┄window_rec is updated and return_buf specifies (at receival) the ↓ ┆19┆┆89┆┆81┆┄number of acknowledged packets. The variables p_r and p_s either ↓ ┆19┆┆89┆┆81┆┄are the values to be written in the packet (call values) or val┄↓ ┆19┆┆89┆┆81┆┄ues read in the packet (return values). If the function return with ↓ ┆19┆┆89┆┆81┆┄true the values were ok and the packet can either be sent or is ↓ ┆19┆┆89┆┆81┆┄received ok.↲ ↲ ↲ ┆a1┆4.1.2.2╞ Modem Signals Handling.↲ ↲ ╞ ┆84┆In order to handle the modem signals two external procedures are ↓ ┆19┆┆89┆┄┄defined:↲ ↲ ┆b0┆╞ FUNCTION clear_modem (↲ VAR reset_ref : reference;↲ VAR hdlc_semp,↲ hardwait : ! sempointer;↲ VAR modem_signal : byte↲ ) : boolean;↲ ↲ ┆b0┆╞ FUNCTION set_modem (↲ VAR reset_ref : reference;↲ VAR hdlc_semp,↲ hardwait : ! sempointer;↲ VAR modem_signal : byte;↲ test_modem : boolean;↲ version : byte;↲ ) : boolean;↲ ↲ ╞ ┆84┆Both procedures operate on the variable modem_signal, which has to ↓ ┆19┆┆89┆┄┄be interpreted as a bit string:↲ ↲ ╱04002d440c00060000000002014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ↓ ╞ ╞ _________________________↲ ╞ ╞ ┆a1┆ ! ! ! ! ! ! ! ↲ ╞ ╞ ╞ ╞ ╞ DCD↲ ╞ ╞ ╞ ╞ ╞ DSR↲ ╞ ╞ ╞ ╞ ╞ SQD↲ ╞ ╞ ╞ ╞ ╞ RI↲ ╞ ╞ ╞ ╞ ╞ RTS↲ ╞ ╞ ╞ ╞ ╞ DTR↲ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ╱04002d440c00060000000002014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ↓ ↲ ┆8c┆┄┆ab┆↓ ╞ ┆84┆The procedure ┆b0┆clear_modem┆f0┆ clears the two signals DTR and RTS.↲ ↲ ╞ ┆84┆The procedure ┆b0┆set_modem┆f0┆ first sets the signal DTR, then waits ↓ ┆19┆┆89┆┆81┆┄(maximum 1 sec) on DSR setting, then sets the signal RTS and at ↓ ┆19┆┆89┆┆81┆┄last waits (maximum 2 secs) on DCD setting before returning. These ↓ ┆19┆┆89┆┆81┆┄two waits can be suspended by calling the procedure with ↓ ┆19┆┆89┆┆81┆┄test_modem equal to false.↲ ↲ ╞ ┆84┆reset_ref holds a message used to the hdlc operations, hdlc_semp ↓ ┆19┆┆89┆┄┄is the semaphore pointer to the HDLCLCP and hardwait to the answer ↓ ┆19┆┆89┆┄┄semaphore of the message.↲ ↲ ↲ ┆a1┆4.1.2.3╞ User Table Operations.↲ ↲ ╞ ┆84┆In order to find a specified user in the user_table one procedure ↓ ┆19┆┆89┆┄┄is defined:↲ ┆b0┆╞ FUNCTION found_user (↲ ╞ opcode : byte;↲ bcd_nos : bcd_adr_type;↲ VAR user_no : byte;↲ VAR user_table : u_table_type↲ ) : boolean;↲ ↲ ╞ ┆84┆The function is called in order to find a specified user ↓ ┆19┆┆89┆┄┄(bcd_nos). If the request is to find a user for an INCOMING CALL ↓ ┆19┆┆89┆┄┄(opcode = inc_call), then the result is successful depending on ↓ ┆19┆┆89┆┄┄the particular matching (please refer to section 4.1.6) of the ↓ ┆19┆┆89┆┄┄sub_address contained in the called dte address.↲ ↲ ╞ opcode╞ ╞ : ┆84┆Either inc_call (X.25 INCOMING CALL) or ↓ ┆19┆┆9f┆┄┄dte_disc_user (user disconnect message).↲ ↲ ╞ bcd_nos ╞ : User identification.↲ ↲ ╞ user_no╞ : ┆84┆At return the index to the user_table, if ↓ ┆19┆┆9f┆┄┄user is found.↲ ↲ ╞ user_table╞ : Pointer to actual user_table.↲ ↲ ↲ ┆8c┆┄┆a9┆↓ ┆a1┆4.1.2.4╞ Error Text Procedures.↲ ↲ ╞ ┆84┆To support error message writing, two procedures are defined, ┆b0┆er┄↓ ┆19┆┆89┆┆81┆┆82┆ror_text┆f0┆ and ┆b0┆error_report┆f0┆. ┆b0┆error_text┆f0┆ operates on an output zone ↓ ┆19┆┆89┆┆83┆┄to write the error message in text form, whereas ┆b0┆error_report┆f0┆ uses ↓ ┆19┆┆89┆┆84┆┄the procedure trace to write a single integer and maybe the u-↓ ┆19┆┆89┆┆84┆┄fields of a message.↲ ↲ ┆b0┆╞ PROCEDURE error_text (↲ ╞ VAR out : zone;↲ fatal : boolean;↲ basic,↲ no : byte;↲ digit : integer;↲ name : alfa;↲ text : array (1..80) of char;↲ text length,↲ process_vers : byte↲ );↲ ↲ ╞ ┆84┆If basic = 0, no specifies the error text↲ ↲ ╞ no = 0╞ : link error↲ ╞ = 1 : create error↲ = 2 : pool increase error↲ = 3 : pool init error↲ ↲ ╞ and name contains either a process or pool name.↲ ↲ ╞ ┆84┆If basic >0 different output types are defined.↲ Text is written follow by↲ ↲ ╞ basic = 1 : the byte value of digit↲ = 2 : the integer value of digit↲ = 3 : name↲ = 4 : nothing.↲ ↲ ╞ ┆84┆If fatal is true the procedure ends by calling ┆b0┆panic┆f0┆ with the pro┄↓ ┆19┆┆89┆┆81┆┄cess_vers as parameter. process_vers is a process version number.↲ ↲ ┆8c┆┄┆a8┆↓ ┆b0┆╞ PROCEDURE error_report (↲ proc_id,↲ error_inf : byte;↲ mess,↲ stop : boolean;↲ VAR mess_ref : reference↲ );↲ ↲ ╞ ┆84┆The procedure calls ┆b0┆trace┆f0┆ with the parameter 'proc_id * 256 + ↓ ┆19┆┆89┆┆81┆┄error_inf'. If mess is true, the u-fields of the message hanging ↓ ┆19┆┆89┆┆81┆┄on mess_ref is printed too. If stop is true the procedure ends by ↓ ┆19┆┆89┆┆81┆┄calling ┆b0┆panic┆f0┆ with the value 1.↲ ↲ ╞ ┆84┆The different error messages are described in chapter 5.↲ ↲ ↲ ┆a1┆4.1.2.5╞ Tracing Procedures.↲ ↲ ╞ ┆84┆For tracing purpose three procedures are defined, ┆b0┆init_trace, ↓ ┆19┆┆89┆┆81┆┆82┆end_trace┆f0┆ and ┆b0┆tracing.↲ ↲ ╞ ┆84┆All three procedures request a buffer from the pool trace_buf ↓ ┆19┆┆89┆┄┄(subsection 4.1.3), set the trace fields and return it to the ↓ ┆19┆┆89┆┄┄dtetrace process (section 6.1).↲ ↲ ╞ ┆84┆┆b0┆init_trace┆f0┆ generates a message, which provoke the dtetrace pro┄cess ↓ ┆19┆┆89┆┆81┆┄to write the date, time and 'trace start' on the console and ↓ ┆19┆┆89┆┆81┆┄┆b0┆end_trace┆f0┆ the date, time and 'trace stopped'. The procedure ┆b0┆trac┄↓ ┆19┆┆89┆┆83┆┆82┆ing┆f0┆ copies the X.25 packet to a trace buffer.↲ ↲ ┆b0┆╞ PROCEDURE init_trace (↲ VAR trace_rec : trace_type;↲ VAR trace_buf : ph_type↲ );↲ ↲ ┆b0┆╞ PROCEDURE end_trace (↲ VAR trace_rec : trace_type;↲ VAR trace_buf : ph_type↲ );↲ ↲ ┆8c┆┄┆a8┆↓ ┆b0┆╞ PROCEDURE tracing (↲ VAR dref : reference;↲ mode : trace_tmode;↲ VAR trace_rec : trace_type;↲ VAR trace_buf : ph_type↲ );↲ ↲ ╞ trace_rec : ┆84┆Variable containing a buffer request message ↓ ┆19┆┆9f┆┄┄and the answer semaphore.↲ ↲ ╞ trace_buf : Trace buffer pool.↲ ↲ ╞ dref : ┆84┆Holds the message containing the X.25 ↓ ┆19┆┆9f┆┄┄packet.↲ ↲ ╞ mode : ┆84┆Specifies either send (xmit) or receive ↓ ┆19┆┆9f┆┄┄(recv).↲ ↲ ╞ ┆84┆All three procedures wait on an empty buffer if no one is pres┄↓ ┆19┆┆89┆┄┄ent.↲ ↲ ↲ ┆a1┆4.1.2.6╞ Internal Test Procedures.↲ ↲ ╞ ┆84┆In each process performing internal test a procedure of the fol┄↓ ┆19┆┆89┆┄┄lowing form is defined.↲ ↲ ┆b0┆╞ PROCEDURE otest (↲ ╞ oper : 0..15;↲ ╞ (* maybe parameters *)↲ ╞ );↲ ↲ ╞ ┆84┆This procedure produces the actual test records. Whenever the in┄↓ ┆19┆┆89┆┄┄ternal test area is full a test buffer is requested from the test ↓ ┆19┆┆89┆┄┄pool (testsem) and if ok the procedure ┆b0┆copy_test┆f0┆ is called to copy ↓ ┆19┆┆89┆┆81┆┄the test area to the buffer and reset the pointers. For a detailed ↓ ┆19┆┆89┆┆81┆┄description please refer to section 6.2.↲ ↲ ↲ ┆8c┆┄┆a7┆↓ ┆a1┆4.1.3╞ Buffer Pools.↲ ↲ ╞ ┆84┆As already mentioned the DTE uses the pool_handler system (ref. ↓ ┆19┆┆89┆┄┄(5)) to support pool handling.↲ ↲ ╞ A buffer pool is defined by the type:↲ ↲ ╞ ph_type = record↲ ╞ key : semaphore;↲ buffer_sem : semaphore;↲ bpool : bst;↲ prio : prtable;↲ end;↲ ↲ ╞ key : Access semaphore to the buffer pool.↲ ↲ ╞ buffer_sem : Buffers are queued at this semaphore.↲ ↲ ╞ bpool : General statistic counters.↲ ↲ ╞ prio : ┆84┆Contains for every priority (0..3) a ↓ ┆19┆┆a4┆┄┄wait request semaphore and statistic ↓ ┆19┆┆a4┆┄┄counters.↲ ↲ ╞ ┆84┆The DTE module uses four buffer pools of this type:↲ ↲ ╞ bigbuf : ┆84┆Big input buffers for X.25 packets. Signalled to ↓ ┆19┆┆9a┆┄┄the HDLCLCP as input buffers and on return routed ↓ ┆19┆┆9a┆┄┄to an internal process (dte, dte_lcnzero or ↓ ┆19┆┆9a┆┄┄dte_chanxxx) by the dte_hrec process. From these ↓ ┆19┆┆9a┆┄┄processes they are returned to the pool.↲ ↲ ╞ smallbuf : ┆84┆Small input buffers. Used to copy a small X.25 ↓ ┆19┆┆9a┆┄┄packet (┆a1┆<┆e1┆ 5 bytes) into and signal this buffer to ↓ ┆19┆┆9a┆┄┄an internal process (dte, dte_lcnzero or ↓ ┆19┆┆9a┆┄┄dte_chanxxx) by the dte_hrec process. From these ↓ ┆19┆┆9a┆┄┄processes they are returned to the pool.↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ x25buf : ┆84┆X.25 output control buffers. The processes dte, ↓ ┆19┆┆9a┆┄┄dte_lcnzero and dte_chanxxx request these buf┄fers ↓ ┆19┆┆9a┆┄┄for X.25 packets less than or equal to 5 bytes, ↓ ┆19┆┆9a┆┄┄signal the message to the HDLCLCP for trans┄↓ ┆19┆┆9a┆┄┄mission to the DCE. They are returned to the ↓ ┆19┆┆9a┆┄┄dte_pool process, which return them to the pool.↲ ↲ ╞ trace_buf : ┆84┆Trace buffer pool. Please refer to section 6.1.↲ ↲ ╞ ┆84┆In figure 10 the flow of the buffers are shown.↲ ↲ ╞ bigbuf:↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ smallbuf:↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ┆8c┆┄┆a7┆↓ ╞ x25buf:↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 10: Buffer flow for bigbuf, smallbuf and x25buf.↲ ↲ ╞ ┆84┆For management of these buffer pools (incl. NC operations) the DTE ↓ ┆19┆┆89┆┄┄uses the following procedures:↲ ↲ ┆b0┆╞ PROCEDURE request_buffer ┆f0┆(VAR ref : reference;↲ ╞ VAR ph : ph_type; priority : 0..3;↲ VAR result : reference);↲ ↲ ┆b0┆╞ PROCEDURE return_buffer ┆f0┆(VAR ref : reference;↲ VAR ph : ph_type; VAR help_ref : reference);↲ ↲ ┆b0┆╞ PROCEDURE remove_buffers ┆f0┆(VAR ph : ph_type;↲ ╞ count : integer);↲ ↲ ┆b0┆╞ PROCEDURE deliver_buffer ┆f0┆(VAR ref : reference;↲ ╞ VAR ph : ph_type);↲ ↲ ┆b0┆╞ PROCEDURE reset_ph_stat ┆f0┆(VAR ph : ph_type);↲ ↲ ┆b0┆╞ PROCEDURE init_ph ┆f0┆(VAR ph : ph_type;↲ ╞ VAR lockpool : pool 1);↲ ↲ ┆8c┆┄┆a7┆↓ ╞ ┆84┆For a detailed description please refer to ref. (5).↲ ↲ ↲ ┆a1┆4.1.4╞ Timers in the DTE Module.↲ ↲ ╞ ┆84┆Several timers are used in the DTE module. Some of these concern ↓ ┆19┆┆89┆┄┄internal events and communication with other processes in the TC. ↓ ┆19┆┆89┆┄┄The rest concern communication with the DCE. These last timers are ↓ ┆19┆┆89┆┄┄described by↲ ↲ ╞ timer_desc = record↲ ╞ ticks : integer;↲ ╞ state : timer_state;↲ timer_event_no : integer;↲ end;↲ ↲ ╞ ticks : ┆84┆Defines the number of ticks, if the ↓ ┆19┆┆a4┆┄┄TIMEOUT module is used as timer ↓ ┆19┆┆a4┆┄┄process.↲ ↲ ╞ state : ┆84┆Defines the state of the timer (see ↓ ┆19┆┆a4┆┄┄below).↲ ↲ ╞ timer_event_no : Event number for state_machine action.↲ ↲ ╞ A timer may be in one of three states↲ ↲ ╞ t_stop╞ : The timer is not active.↲ ↲ ╞ t_run : The timer is active.↲ ↲ ╞ t_update : ┆84┆At the time where an update was required, the ti┄↓ ┆19┆┆9a┆┄┄mer message was not returned. When the timer mes┄↓ ┆19┆┆9a┆┄┄sage is received, the timer is started again.↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ┆84┆The names of the above mentioned timers are:↲ ↲ ╞ t11m╞ : DCE call request timer.↲ t12m : DCE reset request timr.↲ t20 : DTE restart request timer.↲ t21 : DTE call request timer.↲ t22 : DTE reset request timer.↲ t23 : DTE clear request timer.↲ t30 : Virtual Call idle timer.↲ t31 : Data hold timer.↲ ↲ ╞ ┆84┆The value for each timer in the DTE module is specified in the ↓ ┆19┆┆89┆┄┄array timer_def (DTEENV, appendix B.5).↲ ↲ ↲ ┆a1┆4.1.5╞ Relation between Streams and Logical Channels.↲ ↲ ╞ ┆84┆Each connected user has its own ┆a1┆streams┆e1┆ (data pathes), identified ↓ ┆19┆┆89┆┄┄by numbers, in the dte_access process. All streams for all users ↓ ┆19┆┆89┆┄┄have individual numbers, so a data path is always identified by ↓ ┆19┆┆89┆┄┄one number (stream number) in the DTE/User interface. The ↓ ┆19┆┆89┆┄┄dte_access process handles the connection between an ┆b0┆X.25 Virtual ↓ ┆19┆┆89┆┆81┆┆82┆Call ┆f0┆and the ┆b0┆stream.↲ ↲ ╞ ┆84┆The Virtual Call has a logical channel number at the DTE/DCE in┄↓ ┆19┆┆89┆┄┄terface, and all Virtual Calls are multiplexed on one hdlc line to ↓ ┆19┆┆89┆┄┄the DCE (figure 11).↲ ↲ ╞ ┆84┆The stream number is always assigned by the dte_access process, ↓ ┆19┆┆89┆┄┄and the data path to the remote user is identified by this number, ↓ ┆19┆┆89┆┄┄when it has been set up. The user needs not care about the logical ↓ ┆19┆┆89┆┄┄channel numbers, they are only significant for the DTE module.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 11. Relation between streams and logical channels.↲ ↲ ↲ ┆a1┆4.1.6╞ Addresses used by the DTE.↲ ↲ ╞ The DTE utilizes two types of addresses:↲ ↲ ╞ - user identification↲ ╞ - DTE address↲ ↲ ╞ ┆84┆The user identification is used to separate the connected users in ↓ ┆19┆┆89┆┄┄order to make it possible for the DTE to route an INCOMING CALL to ↓ ┆19┆┆89┆┄┄the right user. Furthermore it is used as part (sub address) of ↓ ┆19┆┆89┆┄┄the DTE address.↲ ↲ ╞ ┆84┆The DTE address is the identification of the DTE and user in the ↓ ┆19┆┆89┆┄┄total network. The DTE module applies no constraints on the format ↓ ┆19┆┆89┆┄┄of the addresses, but it is recommended to follow CCITT recommen┄↓ ┆19┆┆89┆┄┄dation X.121 (ref. (2)). Below is given an example of a DTE ↓ ┆19┆┆89┆┄┄address.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ┆84┆The types and constants defining the addresses and length of these ↓ ┆19┆┆89┆┄┄are:↲ ↲ ╞ dte_addr_lgt = 14 : ┆84┆Maximum DTE address length.↲ ┆b0┆Cannot be changed.↲ ↲ ╞ max_u_adr = 5 : ┆84┆Maximum length of user identification. ↓ ┆19┆┆a4┆┄┄┆b0┆Cannot be changed.↲ ↲ ╞ net_adr_length = 13 : ┆84┆Actual length of network address.↲ ┆b0┆May be changed at compilation.↲ ↲ ╞ user_id_lgth = 3 : ┆84┆Actual length of user identification. ↓ ┆19┆┆a4┆┄┄┆b0┆May be changed at compilation.↲ ↲ ╞ actual_u_lgt =↲ ╞ dte_addr_lgt - net_adr_length: actual length of sub address.↲ ↲ ╞ x25_adr_type = array (1.. dte_addr_lgt) of byte;↲ ↲ ╞ bcd_adr_type = array (1.. max_u_adr) of bit4;↲ ↲ ╞ adr_rec_type = record↲ ╞ extended_format : boolean;↲ ╞ adr_lgth : byte;↲ ╞ adr : x25_adr_type;↲ ╞ end;↲ ↲ ╞ local_adr_type = record↲ ╞ user_lgth : byte;↲ ╞ user_address : bcd_adr_type;↲ ╞ end;↲ ↲ ╞ ┆84┆The environments, in which the individual types and constants are ↓ ┆19┆┆89┆┄┄defined, is outlined in table 3 below.↲ ↲ ╞ ┆84┆adr_rec_type is used to define variables containing own DTE ↓ ┆19┆┆89┆┄┄address or remote DTE address.↲ ↲ ┆8c┆┄┆a7┆↓ ╞ ┆84┆local_adr_type is used to define variables containing converted ↓ ┆19┆┆89┆┄┄(from ASCII string to binary digits) user identification.↲ ↲ ╞ _________________________________________________________________ ↲ ╞ ! type/constant ! changable ! defined in ! appendix !↲ ╞ ┆a1┆! name ! ! environment ! !↲ ╞ ! ! ! ! !↲ ╞ ! dte_addr_lgt ! no ! netenv ! - !↲ ╞ ! max_u_adr ! no ! cnnetenv ! - !↲ ╞ ! net_adr_length ! yes ! cnnetenv ! - !↲ ╞ ! user_id_lgth ! yes ! xdteenv ! B.2 !↲ ╞ ! actual_u_lgt ! implicit ! cnnetenv ! - !↲ ╞ ! x25_adr_type ! - ! cnnetenv ! - !↲ ╞ ! bcd_adr_type ! - ! cnnetenv ! - !↲ ╞ ! adr_rec_type ! - ! cnnetenv ! - !↲ ╞ ! local_adr_type ! - ! cnnetenv ! - !↲ ╞ ┆a1┆! ! ! ! !↲ ↲ ↲ ╞ Table 3: ┆84┆Environments in which address types and constants are ↓ ┆19┆┆92┆┄┄defined.↲ ↲ ↲ ┆b0┆ ┆a1┆Example 1:↲ ↲ ╞ country code↲ ╞ national number↲ ↲ ↲ ╞ _____________________________↲ ╞ ┆a1┆ 2 3 8 1 0 4 0 1 0 1 2 0 1 1 ↲ ╞ ╞ ╞ ╞ data network number↲ ↲ ╞ ╞ ╞ ╞ sub address↲ network address↲ ↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆4.1.6.1╞ User Identification.↲ ↲ ╞ ┆84┆At connect time the user identifies itself by a numeric text ↓ ┆19┆┆89┆┄┄string. The length of this text string may vary from 1 to ↓ ┆19┆┆89┆┄┄max_u_adr digits. The actual length is specified by user_id_lgth ↓ ┆19┆┆89┆┄┄and is a compilation parameter of the DTE module.↲ ↲ ╞ ┆84┆The dte_access process converts this identification to binary dig┄↓ ┆19┆┆89┆┄┄its before using it as sub address in the Virtual Call establish┄↓ ┆19┆┆89┆┄┄ment phase.↲ ↲ ╞ ┆84┆Furthermore the user may at connect time specify how many digits, ↓ ┆19┆┆89┆┄┄the DTE shall use in the routing algorithm of an INCOMING CALL.↲ ↲ ╞ ┆84┆The field sub_id_lgt (accept_range internal in the DTE) in the ↓ ┆19┆┆89┆┄┄service primitive connect_user specifies the number of leading di┄↓ ┆19┆┆89┆┄┄gits of the converted user identification to be used in filtering ↓ ┆19┆┆89┆┄┄an INCOMING CALL:↲ ↲ ╞ sub_id_lgt = 0↲ ╞ all calls are accepted↲ ╞ sub_id_lgt = 1↲ ╞ ┆84┆only calls, where the first digit of the subaddress matches ↓ ┆19┆┆8f┆┄┄with the first digit of the user identification, are accept┄↓ ┆19┆┆8f┆┄┄ed↲ ╞ sub_id_lgt = 2↲ ╞ only calls, where two digits match, are accepted↲ ╞ sub_id_lgt = 3↲ ╞ only calls, where three digits match, are accepted↲ ╞ sub_id_lgt > 3↲ ╞ no calls are accepted↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆4.1.6.2╞ DTE Address.↲ ↲ ╞ ┆84┆The DTE address is the address of the receiver/sender of a CALL ↓ ┆19┆┆89┆┄┄REQUEST packet, and consists of two parts (see above), a network ↓ ┆19┆┆89┆┄┄address and a sub address. The maximum length of a DTE address is ↓ ┆19┆┆89┆┄┄14 digits (dte_addr_lgt).↲ ↲ ╞ ┆84┆The network address identifies a DTE module/physical unit among ↓ ┆19┆┆89┆┄┄all DTE modules in the network.↲ ↲ ╞ ┆84┆The own network address and the length of it (own_dte_adr), toget┄↓ ┆19┆┆89┆┄┄her with the actual sub address length (dte_conf_rec.user_length) ↓ ┆19┆┆89┆┄┄are process parameters to the dte process. At initialization the ↓ ┆19┆┆89┆┄┄dte process checks these three parameters:↲ ↲ ╞ ╞ user_length <= max_u_adr↲ ╞ ╞ adr_lgth <= dte_addr_lgt↲ ╞ ╞ user_length + adr_lgth <= dte_addr_lgt↲ ╞ ╞ adr(I) are all digits↲ ↲ ╞ ┆84┆A user_length and adr_lgth of zero is allowed. If adr_lgth is zero ↓ ┆19┆┆89┆┄┄user_length should also be set to zero.↲ ↲ ╞ ┆84┆The concatenation of the network address and the subaddress may ↓ ┆19┆┆89┆┄┄not always fit the DTE address in length. The DTE handles this ↓ ┆19┆┆89┆┄┄problem according to the following four rules:↲ ↲ ╞ Given:╞ DTE address length╞ ╞ = 14↲ ╞ ╞ network address length ╞ = x↲ ╞ ╞ user identification length╞ = y↲ ╞ ╞ sub address length╞ ╞ = 14-x↲ ↲ ╞ ┆a1┆Rule 1┆e1┆:↲ ╞ ┆84┆If ┆b0┆sending a CALL REQUEST packet ┆f0┆and ┆b0┆(14-x) < y ┆f0┆the user iden┄↓ ┆19┆┆8c┆┆82┆┄tification is truncated to fit the subaddress length.↲ ↲ ╞ ┆a1┆Rule 2┆e1┆:↲ ╞ ┆84┆If ┆b0┆sending a CALL REQUEST packet ┆f0┆and ┆b0┆(14-x) > y ┆f0┆the DTE address ↓ ┆19┆┆8c┆┆82┆┄if filled with binary zero's after the subaddress.↲ ↲ ┆8c┆┄┆a8┆↓ ╞ ┆a1┆Rule 3┆e1┆:↲ ╞ ┆84┆If ┆b0┆receiving an INCOMING CALL packet ┆f0┆and ┆b0┆(14-x) < y ┆f0┆the receiv┄↓ ┆19┆┆8c┆┆82┆┄ed user identification is filled with binary zero's, before the ↓ ┆19┆┆8c┆┆82┆┄routing/searching algorithm is invoked.↲ ↲ ╞ ┆a1┆Rule 4┆e1┆:↲ ╞ ┆84┆If ┆b0┆receiving an INCOMING CALL packet ┆f0┆and ┆b0┆(14-x) > y ┆f0┆the re┄↓ ┆19┆┆8c┆┆82┆┄ceived user identification is truncated, before the rou┄↓ ┆19┆┆8c┆┆82┆┄ting/sear┄ch┄ing algorithm is invoked.↲ ↲ ↲ ╞ The next two examples show the rules impact on the addresses.↲ ↲ ┆b0┆╞ ┆a1┆Example 2:↲ ╞ Given:╞ user_id_length╞ = 3↲ ╞ ╞ user_id╞ ╞ = '123'↲ ╞ ╞ network_addr_length = 13↲ ╞ ╞ own_network_addr╞ = 2381040101201↲ ╞ ╞ called_dte_address = 23810401012011↲ ↲ ╞ This will give:↲ ↲ ╞ Calling dte address in CALL REQUEST packet (rule 1):↲ ╞ ╞ ┆a1┆23810401012011↲ ↲ ╞ ┆84┆User identification subtracted from called_dte_address in an INCO┄↓ ┆19┆┆89┆┄┄MING CALL packet and used in the routing/searching algorithm (rule ↓ ┆19┆┆89┆┄┄3):↲ ╞ ╞ ┆a1┆1↲ ↲ ┆b0┆╞ ┆a1┆Example 3:↲ ╞ Given:╞ user_id_length╞ = 3↲ ╞ ╞ user_id╞ ╞ = '123'↲ ╞ ╞ network_addr_length╞ = 10↲ ╞ ╞ own_network_addr╞ = 2381040201↲ ╞ ╞ called_dte_address╞ = 23810402011234↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ This will give:↲ ↲ ╞ Calling dte address in CALL REQUEST packet (rule 2):↲ ╞ ╞ ┆a1┆23810402011230↲ ↲ ╞ ┆84┆User identification subtracted from called_dte_address in an INCO┄↓ ┆19┆┆89┆┄┄MING CALL packet and used in the routing/searching algorithm (rule ↓ ┆19┆┆89┆┄┄4):↲ ╞ ╞ ┆a1┆1234↲ ↲ ↲ ┆a1┆4.1.6.3╞ Address Procedures.↲ ↲ ╞ ┆84┆In order to be able to perform the above described concatenation/ ↓ ┆19┆┆89┆┄┄separation and packing/unpacking of DTE address to/from X.25 pack┄↓ ┆19┆┆89┆┄┄ets two procedures are defined:↲ ↲ ┆b0┆╞ PROCEDURE pack_adr (↲ ╞ pkt_type╞ : packet_id_type;↲ ╞ VAR user_ref,↲ ╞ ╞ x25_ref : reference;↲ ╞ VAR ufaci_start,↲ ╞ xfaci_start : integer;↲ ╞ head_index : integer;↲ VAR local_user : local_adr_type;↲ ╞ VAR own,↲ ╞ ╞ remote : adr_rec_type;↲ ╞ VAR result : byte↲ );↲ ↲ ╞ pkt_type╞ : ┆84┆Specifies whether it is a CALL REQUEST or ↓ ┆19┆┆9f┆┄┄CALL ACCEPT packet.↲ ↲ ╞ user_ref╞ : ┆84┆Holds the user dte_call_req message.↲ ↲ ╞ x25_ref╞ : Holds the buffer containing the X.25 packet.↲ ↲ ╞ ufaci_start╞ : ┆84┆Points at return to the facilities in the ↓ ┆19┆┆9f┆┄┄user dte_call_req.↲ ↲ ┆8c┆┄┆a8┆↓ ╞ xfaci_start╞ : ┆84┆Points at return to the first byte for ↓ ┆19┆┆9f┆┄┄facilities in the X.25 packet.↲ ↲ ╞ head_index╞ : ┆84┆Points at call to the first data byte in the ↓ ┆19┆┆9f┆┄┄user dte_call_req.↲ ↲ ╞ local_user╞ : ┆84┆Defines the calling local user (sub add┄↓ ┆19┆┆9f┆┄┄ress).↲ ↲ ╞ own╞ ╞ : Defines the calling network address.↲ ↲ ╞ remote╞ ╞ : Contains at return the called DTE address.↲ ↲ ╞ result╞ ╞ : ┆84┆If different from ok (0) there were problems ↓ ┆19┆┆9f┆┄┄in packing the addresses.↲ ↲ ↲ ┆b0┆╞ PROCEDURE unpack_adr (↲ ╞ VAR user_ref,↲ ╞ ╞ x25_ref╞ : reference;↲ ╞ VAR ufaci_start↲ ╞ ╞ xfaci_start : integer;↲ ╞ head_index : integer;↲ ╞ VAR local_user : local_adr_type;↲ ╞ VAR own,↲ ╞ ╞ remote : adr_rec_type↲ );↲ ↲ ╞ user_ref╞ : ┆84┆Holds the 'user' buffer for an INCOMING ↓ ┆19┆┆9f┆┄┄CALL.↲ ↲ ╞ x25_ref╞ : ┆84┆Holds the message containing the X.25 ↓ ┆19┆┆9f┆┄┄INCOMING CALL packet.↲ ↲ ╞ ufaci_start╞ : ┆84┆Points at return to the first byte for ↓ ┆19┆┆9f┆┄┄facilities in the 'user' buffer.↲ ↲ ╞ xfaci_start╞ : ┆84┆Points at return to the first byte of ↓ ┆19┆┆9f┆┄┄facilities in the X.25 packet.↲ ↲ ┆8c┆┄┆a8┆↓ ╞ head_index╞ : ┆84┆Points at call to the first data byte in ↓ ┆19┆┆9f┆┄┄the 'user' buffer.↲ ↲ ╞ local_user╞ : ┆84┆Contains at return the called local user ↓ ┆19┆┆9f┆┄┄(sub address).↲ ↲ ╞ own╞ ╞ : ┆84┆Only network address length (adr_lgth) is ↓ ┆19┆┆9f┆┄┄used.↲ ↲ ╞ remote╞ ╞ : ┆84┆Contains at return the calling DTE address.↲ ↲ ╞ ┆84┆In appendix G are the transfer from user dte_call_req to the X.25 ↓ ┆19┆┆89┆┄┄CALL REQUEST packet, from X.25 INCOMING CALL packet to user mes┄↓ ┆19┆┆89┆┄┄sage shown.↲ ↲ ↲ ┆a1┆4.1.7 Naming of Running Process Incarnations.↲ ↲ ╞ ┆84┆The dte process uses its own name as a prefix for the names of the ↓ ┆19┆┆89┆┄┄children incarnations. Some general conventions for the names have ↓ ┆19┆┆89┆┄┄been defined :↲ ↲ ╞ 1. ┆84┆The dte uses up to four characters (first four) of its own ↓ ┆19┆┆8e┆┄┄name (own.incarname) as prefix.↲ ↲ ╞ 2. ┆84┆Process of the trace, test and snoop systems will have no '_' ↓ ┆19┆┆8e┆┄┄between the prefix and the name.↲ ↲ ╞ ┆84┆This gives the following names of the process incarnations :↲ ↲ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a142328323c464b555f69737d8791ff04╱ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ↓ ↲ ╞ ╞ dte╞ : defined by father process↲ ╞ ╞ dte_access╞ : <prefix>_access↲ ╞ ╞ dte_chan╞ : <prefix>_chan<seq. no>↲ ╞ ╞ dte_hrec╞ : <prefix>_hrec↲ ╞ ╞ dte_lcnzero╞ : <prefix>_lcnzero↲ ╞ ╞ pool_handler╞ : <prefix>_pool↲ ╞ ╞ dtetest╞ : <prefix>test↲ ╞ ╞ dteclock╞ : <prefix>clock↲ ┆8c┆┄┆a7┆↓ ╞ ╞ dtetrace╞ : <prefix>trace↲ ╞ ╞ outtrace╞ : <prefix>outtrace↲ ╞ ╞ snoop╞ : <prefix>snoop↲ ↲ ↲ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d87ffff04╱ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a142328323c464b555f69737d8791ff04╱ ↓ ╞ ┆84┆The procedure ┆b0┆c_name┆f0┆ is used to generate the names :↲ ↲ ╞ ┆b0┆FUNCTION c_name (↲ ╞ prefixx,↲ ╞ suffixx : alfa;↲ ╞ func,↲ ╞ incar_no : byte↲ ╞ ) : alfa;↲ ↲ ╞ prefixx : Name of calling process.↲ ╞ suffixx : Characters to be added.↲ ╞ func : Defines the function to be performed.↲ ╞ incar_no : ┆84┆A sequence number added as the last three ↓ ┆19┆┆98┆┄┄characters if func specifies this.↲ ════════════════════════════════════════════════════════════════════════ ↓ «index» formatlinie til RC manualer↲ ┆14┆┆b3┆↲ ┆14┆┆b3┆┆06┆- ┆0b┆ -↲ ┆a1┆4.2╞ Description of dte.↲ ↲ ╞ ┆84┆The dte (supervisor) process is the parent process of the DTE ↓ ┆19┆┆89┆┄┄Module/System as already described in chapter 2.↲ ╞ The main purpose is:↲ ↲ ╞ 1) ┆84┆creating the other DTE processes and dynamical creating/┄↓ ┆19┆┆8c┆┄┄removing the dte_chan process incarnations↲ ↲ ╞ 2) ┆84┆creation and removal of the DTE Trace and Test Systems↲ ↲ ╞ 3) ┆84┆checking runtime configuration of the DTE↲ ↲ ╞ 4) handling of LCP events and operations↲ ↲ ╞ 5) ┆84┆handling events from the HDLCLCP and connecting/disconnecting ↓ ┆19┆┆8c┆┄┄the hdlc line↲ ↲ ╞ 6) ┆84┆management of the user table in connection with the dte_access ↓ ┆19┆┆8c┆┄┄process↲ ↲ ╞ 7) ┆84┆making the connection between INCOMING CALL's or user ↓ ┆19┆┆8c┆┄┄dte_call_req's, and the local channel process (dte_chanxxx)↲ ↲ ╞ 8) ┆84┆handling the assigned logical channel numbers and set up the ↓ ┆19┆┆8c┆┄┄connection between a logical channel number and a user stream ↓ ┆19┆┆8c┆┄┄number.↲ ↲ ↲ ┆a1┆4.2.1╞ Process Parameters.↲ ↲ ╞ PROCESS dte (↲ ╞ VAR sysvector : system_vector;↲ ╞ VAR dte_ptr,↲ ╞ ╞ sup_ptr,↲ ╞ ╞ lcn0_ptr,↲ ╞ ╞ hrec_ptr,↲ ╞ ╞ pool_ptr,↲ ╞ ╞ hardwait : ! tap_pointer;↲ ┆8c┆┄┆a7┆↓ ╞ VAR hdlc_semp,↲ ╞ ╞ timeout_semp,↲ ╞ ╞ ncp_semp : ! sempointer;↲ ╞ VAR locksem : semaphore;↲ ╞ dte_lcp_id : lcp_ident_type;↲ ╞ hdlc_param : hdlc_cp_type;↲ ╞ dte_conf_rec : dte_cp_type;↲ ╞ own_dte_adr : adr_rec_type;↲ ╞ pool_conf_rec╞ : dte_pc_type;↲ ╞ debug_rec : dte_dc_type↲ ╞ );↲ ↲ ╞ sysvector : The system semaphores.↲ ↲ ╞ dte_ptr : Main semaphore pointer of the DTE module.↲ ↲ ╞ sup_ptr : dte local main semaphore pointer.↲ ↲ ╞ lcn0_ptr : dte_lcnzero main semaphore pointer.↲ ↲ ╞ hrec_ptr : dte_hrec main semaphore pointer.↲ ↲ ╞ pool_ptr : dte_pool main semaphore pointer.↲ ↲ ╞ hardwait : Local hardwait semaphore pointer.↲ ↲ ╞ hdlc_semp : ┆84┆┆84┆Main semaphore pointer of the HDLCLCP module.↲ ↲ ╞ timeout_semp : ┆84┆Main semaphore pointer of the TIMEOUT module.↲ ↲ ╞ ncp_semp : ┆84┆Main semaphore pointer of the NCP module.↲ ↲ ╞ locksem : Console access semaphore.↲ ↲ ╞ dte_lcp_id : lcp_id (lcp address) of the DTE module.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ hdlc_param : hdlc connect parameters↲ ╞ ╞ hdlc_cp_type = record↲ ╞ ╞ test_modem, (* true if modem *)↲ ╞ ╞ ╞ ╞ (* signals shall *)↲ ╞ ╞ ╞ ╞ (* be tested *)↲ ╞ ╞ ╞ com204 : boolean; (* true if HDLC *)↲ ╞ ╞ ╞ (* is COM204 *)↲ ╞ ╞ ╞ c_id,╞ (* see ref (9) *)↲ ╞ ╞ ╞ t1, (* - " - *)↲ ╞ ╞ ╞ n2 : integer; (* - " - *)↲ ╞ ╞ ╞ k : byte; (* - " - *)↲ ╞ ╞ framespace, (* - " - *)↲ ╞ ╞ ╞ abortspace: integer; (* - " - *)↲ ╞ ╞ end;╞ ↓ ↲ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d87ffff04╱ ↓ ↲ ╞ dte_conf_rec : Run time configuration of the DTE module↲ ╞ ╞ dte_cp_type = record↲ x25_lcg :bit4 (* logical group number *)↲ ╞ ╞ dltc, (* default lowest two- *)↲ ╞ ╞ ╞ (* way channel number *)↲ ╞ ╞ dhtc :integer;(* default highest two- *)↲ ╞ ╞ ╞ ╞ (* way channel number *)↲ ╞ ╞ max_chan, (* maximum X.25 channels*)↲ dw_size, (* default window size *)↲ ╞ ╞ maxw_size, (* max window size *)↲ ╞ user_length :byte; (* actual user id *)↲ (* length *)↲ x25_datasize :integer;(* X.25 data packet *)↲ (* size *)↲ end;↲ ↲ ╞ own_dte_adr : The X.25 address of this DTE (see subsection 4.1.6)↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ pool_conf_rec: Configuration of internal pools↲ dte_pc_type = record↲ suphead_no, (* no. of internal *)↲ (* headers *)↲ supmess_no, (* no. of internal *)↲ (* supervisor buffers*)↲ eventbuf_no, (* no. of internal *)↲ (* event buffers *)↲ hdlc_eventno: integer; (* no. of hdlc *)↲ (* event buffers *)↲ end;↲ ↲ ╞ debug_rec : Debug parameters↲ dte_dc_type = record↲ dtetest, (* true if back to *)↲ (* back test *)↲ snoop_on, (* true if internal *)↲ (* message snoop *)↲ def_trace: boolean; (* true if X.25 *)↲ (* level 3 trace *)↲ def_test : testrectype;(* test bits *)↲ (* see section 6.2 *)↲ end;↲ ↲ ↲ ┆a1┆4.2.2╞ States.↲ ↲ ┆84┆The dte process maintains a state variable, dte_state, which ref┄↓ ┆19┆┆89┆┄┄lects the state of the whole DTE module. It also maintains a sta┄te ↓ ┆19┆┆89┆┄┄variable, line_state, which reflects the DTE's view of the hdlc ↓ ┆19┆┆89┆┄┄line (see also subsection 4.2.8).↲ ↲ ╞ ┆b0┆dte_state:↲ ↲ ╞ ┆b0┆ dte_ready ┆84┆┆f0┆the DTE is in ready state, i.e. r1 according to ↓ ┆19┆┆9a┆┆81┆┄the X.25 Recommendation (ref. (1))↲ ↲ ╞ ┆b0┆dte_restart ┆84┆┆f0┆the DTE is in a restart phase, i.e. r2 according ↓ ┆19┆┆9a┆┆81┆┄to the X.25 Recommendation (ref. (1))↲ ↲ ┆8c┆┄┆a8┆↓ ╞ ┆b0┆hdlc_active ┆84┆┆f0┆the hdlc line is connected, but level 3 has not ↓ ┆19┆┆9a┆┆81┆┄yet exchanged RESTART packets↲ ↲ ╞ ┆b0┆net_down ┆84┆┆f0┆the hdlc line is disconnected↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 12: State transition graph for dte_state in process dte.↲ ↲ ↲ ┆b0┆╞ line_state:↲ ↲ ╞ ┆b0┆h_conn ┆f0┆the hdlc line is connected↲ ↲ ╞ ┆b0┆h_conn_ing ┆84┆┆f0┆the hdlc line is being connected, i.e.↲ ┆84┆a connect message has been sent, but an event (0) ↓ ┆19┆┆9a┆┄┄has not yet been received↲ ↲ ╞ ┆b0┆h_disc_ing ┆84┆┆f0┆the hdlc line is being disconnected, i.e.↲ ┆84┆an event (7,8,9 or 10) has been received, but an ↓ ┆19┆┆9a┆┄┄event (3) has not yet been received↲ ↲ ╞ ┆b0┆h_recv_disc ┆84┆┆f0┆the hdlc line has been disconnected by the other ↓ ┆19┆┆9a┆┆81┆┄end, i.e. an event (4) has been received and ↓ ┆19┆┆9a┆┆81┆┄state was h_conn_ing↲ ↲ ╞ ┆b0┆h_disc ┆84┆┆f0┆the hdlc line is disconnected.↲ ↲ ┆8c┆┄┆a8┆↓ ╞ ┆84┆A state transition graph and table for line state is outlined in ↓ ┆19┆┆89┆┄┄subsection 4.2.8.↲ ↲ ↲ ┆a1┆4.2.3╞ Semaphore and Reference Variables.↲ ↲ ╞ ┆84┆Variables of type 'sempointer' and 'tap_pointer' are mentioned in ↓ ┆19┆┆89┆┄┄the semaphore subsection just as they were semaphores.↲ ↲ ╞ ┆a1┆┆b0┆SEMAPHORES↲ ↲ ╞ breaksem╞ ╞ : ┆84┆A semaphore used to hold a break message. ↓ ┆19┆┆9f┆┄┄This message is used by other DTE processes ↓ ┆19┆┆9f┆┄┄to report exceptions to the dte process.↲ ↲ ╞ ev_pool_sem╞ : ┆84┆Used as a DTE global event pool. Each pro┄↓ ┆19┆┆9f┆┄┄cess (except dte) picks up an event buffer ↓ ┆19┆┆9f┆┄┄from this semaphore, puts data in the buf┄↓ ┆19┆┆9f┆┄┄fer, and returns it to the dte process.↲ ↲ ╞ local_insem╞ : ┆84┆Local input semaphore used in connection ↓ ┆19┆┆9f┆┄┄with restart_sem and sync_sem to seperate ↓ ┆19┆┆9f┆┄┄the input stream into channel synchroniza┄↓ ┆19┆┆9f┆┄┄tion messages (sync_sem), restart messages ↓ ┆19┆┆9f┆┄┄(restart_sem), and all others (local_insem).↲ ↲ ╞ own_ev_sem╞ : ┆84┆Used as a local event buffer pool, only ↓ ┆19┆┆9f┆┄┄known by the dte process. The reason for ha┄↓ ┆19┆┆9f┆┄┄ving two internal event pools is to avoid ↓ ┆19┆┆9f┆┄┄the deadlock:↲ ╞ ╞ ╞ ┆84┆the dte process waits a buffer at ↓ ┆19┆┆9f┆┄┄ev_pool_sem, but all the event buffers are ↓ ┆19┆┆9f┆┄┄queued at its main input semaphore.↲ ↲ ╞ poolh_ncpsem╞ : ┆84┆Dummy semaphore used as NCP main semaphore ↓ ┆19┆┆9f┆┄┄in the dte_pool process.↲ ↲ ╞ restart_sem╞ : ┆84┆Local input semaphore, used for restart mes┄↓ ┆19┆┆9f┆┄┄sages (see local_insem).↲ ↲ ┆8c┆┄┆a8┆↓ ╞ sync_sem╞ ╞ : ┆84┆Local input semaphore used for channel syn┄↓ ┆19┆┆9f┆┄┄chronization messages (see local_insem).↲ ↲ ╞ user_key╞ ╞ : ┆84┆Access semaphore (holds a buffer used as a ↓ ┆19┆┆9f┆┄┄key) to the user table.↲ ↲ ╞ int_hdlc_ptr╞ : ┆84┆A sempointer which points at HDLCLCP if X.25 ↓ ┆19┆┆9f┆┄┄trace is off and at the outtrace process if ↓ ┆19┆┆9f┆┄┄X.25 trace is on.↲ ↲ ╞ chan_table(n).╞ : A sempointer pointing at the general_bsem↲ ╞ general_bsem ┆84┆semaphore in the user_table. This is the ↓ ┆19┆┆9f┆┄┄connection from a dte_chan process incarna┄↓ ┆19┆┆9f┆┄┄tion to the general input semaphore of the ↓ ┆19┆┆9f┆┄┄user, who at the moment is associated with ↓ ┆19┆┆9f┆┄┄this dte_chan process incarnation (see sub┄↓ ┆19┆┆9f┆┄┄section 4.2.7).↲ ↲ ╞ chan_table(n).in_ptr: ┆84┆Main 'semaphore' for a dte_chan process in┄↓ ┆19┆┆9f┆┄┄carnation (see subsection 4.2.7).↲ ↲ ╞ chan_table(n). : ┆84┆Synchronization 'semaphore' for a dte_chan↲ ╞ sync_ptr process incarnation (see subsection 4.2.7).↲ ↲ ╞ hrec_table╞ : ┆84┆Array of pointers to the input semaphores of ↓ ┆19┆┆9f┆┄┄the dte_chan process incarnations. A process ↓ ┆19┆┆9f┆┄┄parameter to the dte_hrec process (see sub┄↓ ┆19┆┆9f┆┄┄sections 4.1.1.2 and 4.2.7).↲ ↲ ╞ int_table╞ ╞ : ┆84┆Array of pointers to the input semaphores of ↓ ┆19┆┆9f┆┄┄the dte_chan process incarnations. A process ↓ ┆19┆┆9f┆┄┄parameter to the dte_access process (see ↓ ┆19┆┆9f┆┄┄subsec┄tion 4.1.1.2 and 4.2.7).↲ ↲ ╞ trace_sem and ╞ : Main input semaphore of the dtetrace pro-↲ ╞ trace_ptr ┆84┆cess (trace_ptr(1)) and outtrace process ↓ ┆19┆┆9f┆┄┄(trace_ptr(2)).↲ ↲ ╞ trace_rec.wsem╞ : ┆84┆Answer semaphore used in the tracing proce┄↓ ┆19┆┆9f┆┄┄dures (see subsection 4.1.2.5).↲ ↲ ┆8c┆┄┆a9┆↓ ╞ snoop_ptr╞ ╞ : ┆84┆Array of tap_pointers used by the snoop ↓ ┆19┆┆9f┆┄┄process (see ref (7)).↲ ↲ ╞ dte_test_sem╞ : ┆84┆Main input semaphore of the dtetest process.↲ ↲ ╞ testsem╞ ╞ : ┆84┆Semaphore used as a DTE global test buffer ↓ ┆19┆┆9f┆┄┄pool.↲ ↲ ↲ ┆b0┆╞ ┆a1┆REFERENCES↲ ↲ ╞ clock_ref╞ ╞ : Holds a ┆b0┆get_clock┆f0┆ message.↲ ↲ ╞ header_ref╞ : Working reference.↲ ↲ ╞ key_ref╞ ╞ : ┆84┆Used to hold the key message during access ↓ ┆19┆┆9f┆┄┄to pools and the user table.↲ ↲ ╞ mess_ref╞ ╞ : Holds the message under processing.↲ ↲ ╞ ncp_ref╞ ╞ : ┆84┆Holds an NC-restart request while awaiting ↓ ┆19┆┆9f┆┄┄restart confirmation from the dte_lcnzero ↓ ┆19┆┆9f┆┄┄process.↲ ↲ ╞ ctrl_ref╞ ╞ : ┆84┆Holds a buffer used to disconnect the hdlc ↓ ┆19┆┆9f┆┄┄line or to modem signals setting.↲ ↲ ╞ req_ref╞ ╞ : ┆84┆Working reference.↲ ↲ ╞ timer_ref╞ ╞ : ┆84┆Holds a buffer used for a short delay in ↓ ┆19┆┆9f┆┄┄case of problem at modem signal setting.↲ ↲ ╞ trace_rec.t_ref╞ : ┆84┆┆84┆Working reference used in the tracing proce┄↓ ┆19┆┆9f┆┄┄dures (see subsection 4.1.2.5).↲ ↲ ╞ testref╞ ╞ : ┆84┆Working reference used during copying the ↓ ┆19┆┆9f┆┄┄internal test area to a test buffer.↲ ↲ ↲ ┆8c┆┄┆a7┆↓ ┆a1┆4.2.4╞ Data Structures.↲ ↲ ╞ ┆84┆The following data structures used in the dte process are describ┄↓ ┆19┆┆89┆┄┄ed elsewhere.↲ ↲ ╞ x25_param╞ section 4.1.1.3↲ ╞ user_table╞ section 4.1.1.1↲ ╞ hrec_table╞ section 4.1.1.2↲ ╞ int_table╞ section 4.1.1.2↲ ╞ test╞ ╞ section 6.2.1↲ ╞ testbuf╞ section 6.2.4.1↲ ↲ ╞ ┆84┆The dte process also uses a zone (z) for printing of error ↓ ┆19┆┆89┆┄┄messages and other information on the console.↲ ↲ ╞ ┆84┆Besides these the below described data structures are important ↓ ┆19┆┆89┆┄┄for understanding the internal structure and work of the dte ↓ ┆19┆┆89┆┄┄process.↲ ↲ ╞ dte_param_rec,↲ ╞ new_dte_param╞ : ┆84┆Both of type dte_rec_type defined in the ↓ ┆19┆┆9f┆┄┄DTEENV (appendix B.5). They both contain in┄↓ ┆19┆┆9f┆┄┄formation about lowest and highest assign ↓ ┆19┆┆9f┆┄┄twoway logical channel number, number of in┄↓ ┆19┆┆9f┆┄┄put buffers at the HDLC driver, and values ↓ ┆19┆┆9f┆┄┄for the two timers t30 (idle timer) and t32 ↓ ┆19┆┆9f┆┄┄(ack timer). dte_param_rec contains the ac┄↓ ┆19┆┆9f┆┄┄tual values and new_dte_param the possible ↓ ┆19┆┆9f┆┄┄new values. The change from one set to anot┄↓ ┆19┆┆9f┆┄┄her (updating of seperate values or all) may ↓ ┆19┆┆9f┆┄┄be initiated by the LCP operation ↓ ┆19┆┆9f┆┄┄restart_dte (DTE 54,0).↲ ↲ ╞ chan_vector╞ : ┆84┆Array of pairs of semaphores used as input ↓ ┆19┆┆9f┆┄┄semaphores for the dte_chan process incarna┄↓ ┆19┆┆9f┆┄┄tions. See also chan_table(n).in_prt below.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ sync_vector╞ : ┆84┆Array of pairs of semaphores used as syn┄↓ ┆19┆┆9f┆┄┄chronization semaphores for the dte_chan ↓ ┆19┆┆9f┆┄┄process incarnations.↲ ┆84┆See also chan_table(n).sync_ptr below.↲ ↲ ╞ lcn_table╞ ╞ : ┆84┆Array of type lcn_entry.↲ ╞ ╞ ╞ lcn_entry = record↲ ╞ ╞ ╞ state : lcn_state_type;↲ ╞ ╞ ╞ index_pct : integer;↲ end;↲ ╞ ╞ ╞ ┆84┆Used in creation/removal of dte_chan process ↓ ┆19┆┆9f┆┄┄incarnations (subsection 4.2.7).↲ ↲ ╞ chan_table╞ : ┆84┆Array of dte_chan descriptors. Each entry is ↓ ┆19┆┆9f┆┄┄of type chan_desc.↲ ↲ ╞ chan_desc = record↲ ╞ ╞ lcg╞ : bit4;↲ ╞ ╞ lcn╞ : byte;↲ ╞ ╞ proc_state╞ : proc_state_type;↲ ╞ ╞ in_ptr╞ : tap_pointer;↲ ╞ ╞ sync_ptr╞ : tap_pointer;↲ ╞ ╞ general_bsem╞ : sempointer;↲ ╞ ╞ incar_state╞ : incar_state_type;↲ ╞ ╞ chan_sh╞ : shadow;↲ ╞ ╞ end;↲ ↲ ╞ lcg, lcn╞ : ┆84┆Defines the logical group and channel ↓ ┆19┆┆9f┆┄┄number.↲ ↲ ╞ proc_state╞ : ┆84┆dte_chan process state (see subsection ↓ ┆19┆┆9f┆┄┄4.2.7).↲ ↲ ╞ in_ptr╞ ╞ : dte_chan incarnation main semaphore pointer.↲ ↲ ╞ sync_ptr╞ : ┆84┆dte_chan incarnation synchronization sema┄↓ ┆19┆┆9f┆┄┄phore pointer.↲ ↲ ╞ general_bsem╞ : General input semaphore pointer.↲ ↲ ┆8c┆┄┆a8┆↓ ╞ incar_state╞ : ┆84┆State (iremoved, inot_removed) of the incar┄↓ ┆19┆┆9f┆┄┄nation.↲ ↲ ╞ chan_sh╞ : ┆84┆Pointer to dte_chan incarnation used by the ↓ ┆19┆┆9f┆┄┄operating system.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆4.2.5╞ Semaphores and Message Flow.↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 13: Flow of messages to and from dte.↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆4.2.6╞ Overview of Process Operation.↲ ↲ ╞ ┆84┆In this subsection an overview of the dte process operation is ↓ ┆19┆┆89┆┄┄outlined either as flowcharts or in pseudo Real-Time Pascal code ↓ ┆19┆┆89┆┄┄or in natural text.↲ ↲ ╞ ┆84┆A detailed description of channel set-up and clearing is given in ↓ ┆19┆┆89┆┄┄subsection 4.2.7 and the hdlc event treatment in subsection 4.2.8.↲ ↲ ╞ The different state variables used in the description are:↲ ↲ ┆b0┆╞ dte_state ┆f0┆: see subsection 4.2.2.↲ ↲ ┆b0┆╞ proc_state ┆f0┆: p_exit╞ : ┆84┆exception procedure called in ↓ ┆19┆┆a9┆┆81┆┄channel process↲ ╞ ╞ p_idle╞ : ┆84┆channel process idle either remov┄↓ ┆19┆┆a9┆┄┄ed or stopped (iremoved, inot_rem┄↓ ┆19┆┆a9┆┄┄oved)↲ ╞ ╞ p_active╞ : ┆84┆Virtual Call exsisting↲ ╞ ╞ p_stopping╞ : ┆84┆channel process in stop phase (VC ↓ ┆19┆┆a9┆┄┄clearing)↲ ╞ ╞ p_restart╞ : DTE in restart phase↲ ↲ ┆b0┆╞ lcn_state╞ ┆f0┆: ch_ready╞ : logical channel idle↲ ╞ ╞ ch_data╞ : Virtual Call exsisting↲ ╞ ╞ ch_clearing╞ : Virtual Call is being cleared↲ ↲ ┆b0┆╞ line_state ┆f0┆: see subsection 4.2.2↲ ↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 14: Process dte, main flowchart.↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆┆b0┆PART (A):↲ ↲ ┆84┆ In the initialization part, the following actions are performed:↲ ↲ ╞ - ┆84┆initialization of ┆b0┆get_clock┆f0┆ message and output zone,↲ ╞ - ┆84┆writing the DTE version information on the console, if ↓ ┆19┆┆8e┆┄┄test(4) = true (see subsection 6.2.1)↲ ╞ - ┆84┆checking default values, process parameters and own dte ↓ ┆19┆┆8e┆┄┄address↲ ╞ - ┆84┆initialization of local, tracing and NC variables↲ ╞ - ┆84┆initialization of tables:↲ ╞ ╞ chan_table↲ ╞ ╞ lcn_table↲ ╞ ╞ hrec_table↲ ╞ ╞ int_table↲ ╞ ╞ user_table↲ ╞ - buffer allocation↲ ╞ ╞ sync_mess and restart_mess pools↲ ╞ ╞ hdlc input pools↲ ╞ ╞ X.25 control output pool↲ ╞ ╞ internal event messages↲ ╞ ╞ hdlc event pool↲ ╞ ╞ internal header pool↲ ╞ ╞ internal supervisor message pool↲ ╞ ╞ break message↲ ╞ - ┆84┆initialization (link, create and start) of children processes↲ ╞ - ┆84┆sending ┆b0┆connect_lcp┆f0┆ to the NCP↲ ╞ - ┆84┆sending ┆b0┆connect┆f0┆ and ┆b0┆event┆f0┆ messages to the HDLCLCP and initia┄↓ ┆19┆┆8e┆┆82┆┄lization of all associated variables.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆PART (B):↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 15: Process dte, part (B) flowchart.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆PART (C):↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 16: Process dte, part (C) flowchart.↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆PART (D):↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 17: Process dte, part (D) flowchart.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆PART (E):↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 18: Process dte, part (E) flowchart.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆PART (F):↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ * see ref. (4)↲ ╞ Figure 19: Process dte, part (F) flowchart.↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆PART (G):↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 20: Process dte, part (G) flowchart.↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆PART (H):↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 21: Process dte, part (H) flowchart.↲ ↲ ↲ ↲ ┆b0┆┆b0┆PART (I):↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 22: Process dte, part (I) flowchart.↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆PART (J):↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 23: Process dte, part (J) flowchart.↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆4.2.7╞ Creation and Removal of dte_chan Process Incarnations.↲ ↲ ╞ ┆84┆As already mentioned a Virtual Call is serviced by one dte_chan ↓ ┆19┆┆89┆┄┄process incarnation. The dte process performs the creation, con┄↓ ┆19┆┆89┆┄┄nection to a VC, and removal of these incarnations by maintaining ↓ ┆19┆┆89┆┄┄two tables each containing a state variable:↲ ╞ - logical channel table (lcn_table(n).state)↲ ╞ - channel process table (chan_table(n).proc_state)↲ ↲ ╞ ┆84┆After initialization of the DTE and exchange of RESTART packets on ↓ ┆19┆┆89┆┄┄the DTE/DCE interface, all logical channels are in state ch_ready ↓ ┆19┆┆89┆┄┄and all incarnations in state p_idle. An incarnation is created/┄↓ ┆19┆┆89┆┄┄started either, when a user dte_call_req, or an X.25 packet on a ↓ ┆19┆┆89┆┄┄logical channel in state ch_ready, is received. When the Virtual ↓ ┆19┆┆89┆┄┄Call is cleared the associated dte_chan incarnation is stopped and ↓ ┆19┆┆89┆┄┄the state becomes p_idle, and when the DTE performs an X.25 re┄↓ ┆19┆┆89┆┄┄start all incarnations are stopped and removed.↲ ↲ ╞ ┆84┆Below are the connections between the different tables (lcn_table, ↓ ┆19┆┆89┆┄┄chan_table, user_table, hrec_table and int_table) outlined (figure ↓ ┆19┆┆89┆┄┄24) and sta┄te transition tables (table 4 and 5), including actions ↓ ┆19┆┆89┆┄┄performed, for the two state variables are shown too.↲ ↲ ╞ ┆84┆In the figure an example with logical channel number 5 and 2nd in┄↓ ┆19┆┆89┆┄┄carnation (2nd entry in chan_table) of dte_chan is used. The user ↓ ┆19┆┆89┆┄┄has two active streams/Virtual Calls and the one shown is in the ↓ ┆19┆┆89┆┄┄data phase.↲ ↲ ╞ ┆84┆The semaphore pointers in chan_table and hrec_table is updated ↓ ┆19┆┆89┆┄┄every time a dte_chan process incarnation is created/started or ↓ ┆19┆┆89┆┄┄stopped/removed, whereas in int_table they are initialized at ↓ ┆19┆┆89┆┄┄start and kept. If a semaphore pointer in the hrec_table does ↓ ┆19┆┆89┆┄┄not point to an active dte_chan incarnation it points to the main ↓ ┆19┆┆89┆┄┄semaphore of the dte process in order not to loose any X.25 pack┄↓ ┆19┆┆89┆┄┄ets.↲ ↲ ╞ ┆84┆A special case is logical channel 0, which at start up points to ↓ ┆19┆┆89┆┄┄the main semaphore of the dte process and first changes when the ↓ ┆19┆┆89┆┄┄line becomes connected. Then it is changed to point at the main ↓ ┆19┆┆89┆┄┄semaphore of the dte_lcnzero process. When the line is disconnect┄↓ ┆19┆┆89┆┄┄ed, it is again changed to point to the dte process.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 24: Snap shot of tables connections.↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆╞ proc_state:↲ ╱04002d440c00060000000002015031400000000000000000000000000000000000000000000000000a17222d3843555f69737d8791ffffff04╱ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ↓ ╞ ______________________________________________________________________↲ ╞ state ↲ ╞ ╞ p_exit╞ p_idle╞ p_active╞ p_stopping╞ p_restart ↲ ╞ ┆a1┆ event ↲ ↲ ╞ ╞ p_exit╞ p_exit╞ p_exit╞ p_exit╞ p_exit ↲ ╞ break_mess ↲ pac2 pac2 pac1 pac1 pac1 ↲ ┆a1┆ ↲ ↲ ╞ ╞ ╞ p_active ↲ call_req ↲ inc. call ↲ pac3 ↲ ╞ ┆a1┆ ↲ ↲ ╞ ╞ p_idle╞ p_idle╞ p_idle╞ p_idle╞ p_idle ↲ sync_mess ↲ u2<>ok ↲ pac4 pac4 pac4 pac4 pac4 ↲ ╞ ┆a1┆ ↲ ↲ ╞ sync_mess╞ ?╞ ?╞ ?╞ ?╞ p_restart ↲ ╞ u2 = ok ↲ u3 = user_ pac5 pac5 pac5 pac5 pac7 ↲ ┆a1┆ term ↲ ↲ ╞ sync_mess╞ ?╞ ?╞ p_stopping╞ p_idle╞ p_idle ↲ ╞ u2 = ok ↲ u3 = ok pac5 pac5 pac6 pac9 pac8 ↲ ┆a1┆ ↲ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ╱04002d440c00060000000002015031400000000000000000000000000000000000000000000000000a17222d3843555f69737d8791ffffff04╱ ↓ ↲ ╞ Table 4: ┆84┆Process dte, internal state/action table for a dte_chan ↓ ┆19┆┆92┆┄┄incarnation.↲ ↲ ╞ actions:↲ ↲ ╞ pac1 : clear Virtual Call and print error message↲ ╞ pac2 : print error message↲ ╞ pac3 : ┆84┆create/start dte_chan incarnation and update tables, ↓ ┆19┆┆95┆┄┄send ┆b0┆sync_mess↲ ╞ pac4 : remove process and update tables↲ ╞ pac5 : print error message and stop↲ ╞ pac6 : ┆84┆signal ┆b0┆sync_mess┆f0┆ to dte_chan incarnation and update ↓ ┆19┆┆95┆┆81┆┄hrec_table↲ ╞ pac7 : signal ┆b0┆sync_mess┆f0┆ to dte_chan incarnation↲ ╞ pac8 : remove process↲ ╞ pac9 : stop process↲ ↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ╱04002d440c00060000000002014b31400000000000000000000000000000000000000000000000000a19263340464b555f69737d8791ffff04╱ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ↓ ┆b0┆╞ lcn_state :↲ ↲ ╞ _______________________________________________________↲ ╞ state ↲ ╞ ╞ ch_ready╞ ch_data╞ ch_clearing ↲ ╞ ┆a1┆ event ↲ ↲ ╞ ╞ ch_data ↲ call_req ↲ ╞ ╞ lac1 ↲ ╞ ┆a1┆ ↲ ╞ ╞ ╞ ╞ ╞ ↲ ╞ ╞ ch_data╞ ch_data╞ ch_clearing ↲ ╞ inc.call╞ ╞ ╞ ╞ ↲ ╞ ╞ lac4╞ lac2╞ lac5 ↲ ╞ ┆a1┆ ↲ ╞ ╞ ╞ ╞ ╞ ↲ ╞ clear_req╞ ch_data╞ ch_data╞ ch_ready ↲ ╞ ╞ ╞ ╞ ╞ ↲ ╞ clear_conf╞ lac3╞ lac2╞ lac5 ↲ ╞ ┆a1┆ ↲ ╞ ╞ ╞ ╞ ╞ ↲ ╞ ╞ ch_data╞ ch_data╞ ch_clearing ↲ X.25 packet╞ ╞ ╞ ╞ ↲ ╞ ╞ lac3╞ lac2╞ lac5 ↲ ╞ ┆a1┆ ↲ ╞ sync_mess╞ ╞ ╞ ╞ ↲ ╞ u2 = ok╞ ch_ready╞ ch_ready╞ ch_ready ↲ ╞ u3 = ok╞ ╞ ╞ ╞ ↲ ╞ p_state=╞ ╞ ╞ ╞ ↲ ╞ ┆a1┆p_acitive ╞ ↲ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ╱04002d440c00060000000002014b31400000000000000000000000000000000000000000000000000a19263340464b555f69737d8791ffff04╱ ↓ ↲ ╞ Table 5: ┆84┆Process dte, internal state/action table for a logical ↓ ┆19┆┆92┆┄┄channel.↲ ↲ ╞ actions:↲ ↲ ╞ lac1 : included in pac3↲ ╞ lac2 : signal message to dte_chan incarnation↲ ╞ lac3 : transmit CLEAR CONFIRMATION to the DCE↲ ╞ lac4 : included in pac3↲ ╞ lac5 : discard message↲ ↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆4.2.8╞ HDLC Event Handling.↲ ↲ ╞ ┆84┆All control of the HDLC driver/HDLCLCP is performed by the dte ↓ ┆19┆┆89┆┄┄process. In order to perform this control the dte process main┄↓ ┆19┆┆89┆┄┄tains a state variable, line_state, which is the DTE's wiew of the ↓ ┆19┆┆89┆┄┄state of the line. The state may change every time an event is ↓ ┆19┆┆89┆┄┄returned form the HDLC. In figure 25 a flowchart of the control is ↓ ┆19┆┆89┆┄┄outlined and below is a state transition table for line_state ↓ ┆19┆┆89┆┄┄shown.↲ ↲ ╞ ____________________________________________________↲ ╞ ┆a1┆! event ! state !↲ ╞ ┆a1┆! group ! hdlc number ! A ! B ! C ! D ! E !↲ ╞ ┆a1┆! I ! 0 ! - ! A ! - ! A ! - !↲ ╞ ┆a1┆! II ! 1,11 ! A ! B ! C ! D ! E !↲ ╞ ┆a1┆! III ! 2,3,5,12 ! E ! E ! E ! - ! - !↲ ╞ ┆a1┆! IV ! 4 ! E ! D ! E ! - ! - !↲ ╞ ┆a1┆! V ! 6 ! E ! B ! E ! E ! E !↲ ╞ ┆a1┆! VI ! 7,8,9,10 ! C ! B ! C ! C ! - !↲ ╞ ┆a1┆! VII ! 13,14╞ ! E ! E ! E ! E ! E !↲ ╞ ┆a1┆! VIII ! 15╞ ! A ! B ! C ! D ! E !↲ ↲ ╞ line_state:↲ ╞ h_conn = A↲ ╞ h_conn_ing = B↲ ╞ h_disc_ing = C↲ ╞ h_recv_disc = D↲ ╞ h_disc = E↲ ↲ ╞ Table 6: Process dte, state transition table for line_state.↲ ↲ ╞ ┆84┆The compression of the line state table shown in ref. (9) is ob┄↓ ┆19┆┆89┆┄┄tained by setting both the auto_connect and rnr_disc bits in the ↓ ┆19┆┆89┆┄┄connect message to false and then group the events.↲ ↲ ↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 25: Flowchart for HDLC event treatment.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ┆84┆The DTE operates on four modem signals made avaible by the HDLC ↓ ┆19┆┆89┆┄┄driver. This is ↲ ↲ ╞ - DTR set by the DTE↲ ╞ - DSR╞ tested by the DTE↲ ╞ - RTS set by the DTE↲ ╞ - DCD tested by the DTE↲ ↲ ╞ ┆84┆For a more detailed description please see procedure ┆b0┆set_modem┆f0┆ ↓ ┆19┆┆89┆┆81┆┄subsection 4.1.2.2.↲ ↲ ╞ ┆84┆It is possible to suspend this modem signals setting/testing by ↓ ┆19┆┆89┆┄┄setting the parameter test_modem in the hdlc-param configuration ↓ ┆19┆┆89┆┄┄record (subsection 4.2.1 and subsection 7.1.2) to false. In this ↓ ┆19┆┆89┆┄┄case the signals are read only.↲ ↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ «index» formatlinie til RC manualer↲ ┆14┆┆b3┆↲ ┆14┆┆b3┆┆06┆- ┆0b┆ -↲ ┆a1┆4.3╞ Description of dte_access.↲ ↲ ╞ ┆84┆The dte_access process is the User Interface of the DTE module as ↓ ┆19┆┆89┆┄┄already described in section 2.↲ ╞ The main purpose is:↲ ↲ ╞ 1) ┆84┆interfacing a user to the DTE module and an X.25 ↓ ┆19┆┆8f┆┄┄communication↲ ↲ ╞ 2) ┆84┆establishing the connection between a (user) stream↲ and an X.25 logical channel.↲ ↲ ↲ ┆a1┆4.3.1╞ Process Parameters.↲ ↲ ╞ ┆84┆PROCESS dte_access(↲ ╞ VAR dte_ptr╞ : ! tap_pointer;↲ ╞ VAR sup_ptr╞ : ! sempointer;↲ ╞ VAR event_pool╞ : semaphore;↲ ╞ VAR stream_vector: ! ch_sem_type;↲ ╞ max_stream╞ : byte;↲ ╞ VAR user_table╞ : u_table_type;↲ ╞ VAR user_key╞ : semaphore;↲ ╞ act_user_id_lgth : byte↲ ╞ );↲ ↲ ╞ dte_prt╞ ╞ : ┆84┆Main semaphore pointer of the DTE module and ↓ ┆19┆┆9f┆┄┄the dte_access process.↲ ↲ ╞ sup_ptr╞ ╞ : ┆84┆dte main semaphore pointer↲ ↲ ╞ event_pool╞ : ┆84┆DTE global event pool. Internal event buf┄↓ ┆19┆┆9f┆┄┄fers are hanged up on this semaphore.↲ ↲ ╞ stream_vector╞ : ┆84┆Semaphore pointers to the dte_chan process ↓ ┆19┆┆9f┆┄┄incarnations. Used to route user messages to ↓ ┆19┆┆9f┆┄┄a dte_chan incarnation.↲ ↲ ╞ max_stream╞ : ┆84┆Maximum number of user streams the DTE is ↓ ┆19┆┆9f┆┄┄able to serve.↲ ↲ ┆8c┆┄┆a9┆↓ ╞ user_table╞ : ┆84┆Each connected user is described by an entry ↓ ┆19┆┆9f┆┄┄in user_table. For a detailed description ↓ ┆19┆┆9f┆┄┄please see subsection 4.1.1.1.↲ ↲ ╞ user_key╞ ╞ : Access semaphore to user_table.↲ ↲ ╞ act_user_id_lgth╞ : ┆84┆Actual user identification length. Please ↓ ┆19┆┆9f┆┄┄refer to subsection 4.1.6.↲ ↲ ↲ ┆a1┆4.3.2╞ States.↲ ↲ ╞ ┆84┆The dte_access maintains four state variables:↲ ↲ ╞ - dte_rec.dte_state╞ ╞ : state of the DTE module↲ ↲ ╞ - user_table.user_state╞ : ┆84┆state of a connected user/entry in ↓ ┆19┆┆a9┆┄┄the user table↲ ↲ ╞ - stream_table.stream_state╞ : ┆84┆state of a user stream in the user ↓ ┆19┆┆a9┆┄┄interface↲ ↲ ╞ - stream_table.intern_state╞ : ┆84┆state of a stream internal in the ↓ ┆19┆┆a9┆┄┄process.↲ ↲ ↲ ┆b0┆╞ dte_rec.dte_state:↲ ↲ ╞ ┆84┆Description of the individual states please refer to subsection ↓ ┆19┆┆8c┆┄┄4.2.2.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 26: ┆84┆State transition graph for dte_state in process ↓ ┆19┆┆94┆┄┄dte_access.↲ ↲ ┆b0┆╞ user_table.user_state:↲ ↲ ┆b0┆╞ free╞ ╞ ┆f0┆entry in user table free↲ ↲ ┆b0┆╞ w_resc╞ ╞ ┆84┆┆f0┆the dte_access process is awaiting resources ↓ ┆19┆┆9d┆┆81┆┄(receive general) from the user↲ ↲ ┆b0┆╞ idle╞ ╞ ┆f0┆the user has no active streams↲ ↲ ┆b0┆╞ active╞ ╞ ┆f0┆the user has at least one active stream.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ________________________________________________________________↲ ╞ state ┆82┆free w_resc idle active↲ ╞ ┆a1┆ event ↲ ╞ dte_ ╞ ┆82┆free w_resc active active↲ ┆a1┆ call_req ↲ ╞ dte_ ┆82┆free w_resc idle active↲ ┆a1┆ wait_event ↲ dte_ ┆82┆free idle idle active ↲ ┆a1┆ rec_gen ↲ dte_ ┆82┆w_resc w_resc idle active↲ ┆a1┆ conn_user ↲ dte_ ┆82┆free free free active↲ ┆a1┆ disc_user ↲ all streams ┆82┆idle↲ ┆a1┆ cleared ↲ ╞ X.25 incom. ┆82┆active active↲ ┆a1┆ call ↲ ↲ ╞ Table 7: ┆84┆Process dte_access, state transition table for ↓ ┆19┆┆92┆┄┄user_state.↲ ↲ ╞ ┆84┆In appendix C.1.1 the state/action table correlated with ↓ ┆19┆┆89┆┄┄user_state is outlined.↲ ↲ ┆b0┆╞ stream_table.stream_state:↲ ↲ ┆b0┆╞ clear╞ ╞ ┆f0┆the entry in stream_table is free↲ ↲ ┆b0┆╞ w_uresp╞ ┆84┆┆84┆┆f0┆the stream has been cleared while waiting user ↓ ┆19┆┆9d┆┆81┆┄response on an internal incoming call↲ ↲ ╞ ┆b0┆w_accp╞ ╞ ┆84┆┆84┆┆f0┆the dte_access process is awaiting user re┄↓ ┆19┆┆9d┆┆81┆┄sponse on an internal incoming call↲ ↲ ┆b0┆╞ data╞ ╞ ┆f0┆the stream is ready for data transfer↲ ↲ ┆b0┆╞ u_clear╞ ┆f0┆the user has initiated the clearing phase↲ ↲ ↲ ┆8c┆┄┆a7┆↓ ┆b0┆╞ stream_table.intern_state:↲ ↲ ┆b0┆╞ cleared╞ ┆f0┆no active stream↲ ↲ ┆b0┆╞ waiting╞ ┆84┆┆f0┆the dte_access process is awaiting response ↓ ┆19┆┆9d┆┆81┆┄from the dte process on a chan_start message↲ ↲ ╞ ┆b0┆xfer_data╞ ┆f0┆the stream is ready for data transfer↲ ↲ ┆b0┆╞ clearing╞ ┆84┆┆f0┆the stream has been cleared by the dte_chan ↓ ┆19┆┆9d┆┆81┆┄incarnation, but an answer on 'chan_start' has ↓ ┆19┆┆9d┆┆81┆┄not yet been received.↲ ↲ ↲ ┆a1┆4.3.3╞ Semaphore and Reference Variables.↲ ↲ ╞ ┆84┆Variables of type 'sempointer' and 'tap_pointer' are mentioned in ↓ ┆19┆┆89┆┄┄the semaphore subsection just as they were semaphores.↲ ↲ ↲ ┆b0┆╞ ┆a1┆SEMAPHORES↲ ↲ ╞ testsem╞ ╞ : ┆84┆Semaphore used for queuing of ↓ ┆19┆┆a9┆┄┄messages during internal test ↓ ┆19┆┆a9┆┄┄of the dte_access process. Please ↓ ┆19┆┆a9┆┄┄see section 6.2.↲ ↲ ╞ stream_table.suspend_sem╞ : ┆84┆Semaphore used to queue up user ↓ ┆19┆┆a9┆┄┄messages until a dte_chan incarna┄↓ ┆19┆┆a9┆┄┄tion is active.↲ ↲ ╞ stream_table.chanproc_sem╞ : ┆84┆Semaphore pointer to the associat┄↓ ┆19┆┆a9┆┄┄ed dte_chan incarnation.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆╞ ┆a1┆REFERENCES↲ ↲ ╞ event_ref╞ ╞ ╞ : ┆84┆Working reference during event ge┄↓ ┆19┆┆a9┆┄┄neration.↲ ↲ ╞ req_ref╞ ╞ ╞ : ┆84┆Holds the message under process┄↓ ┆19┆┆a9┆┄┄ing.↲ ↲ ╞ key_ref╞ ╞ ╞ : ┆84┆Used to hold the key message du┄↓ ┆19┆┆a9┆┄┄ring access to the user_table.↲ ↲ ╞ aref╞ ╞ ╞ : Working reference.↲ ↲ ╞ mref╞ ╞ ╞ : Working reference.↲ ↲ ╞ stream_table.internal_ref╞ : ┆84┆Hold either an internal incoming ↓ ┆19┆┆a9┆┄┄call or internal clear message ↓ ┆19┆┆a9┆┄┄while wait┄ing user response.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆4.3.4╞ Data Structures.↲ ↲ ╞ ┆84┆The following data structures used in the dte_access process are ↓ ┆19┆┆89┆┄┄described elsewhere.↲ ↲ ╞ user_table╞ section 4.1.1.1↲ ╞ stream_vector╞ section 4.1.1.2↲ ↲ ╞ ┆84┆Besides these the below described data structures are important ↓ ┆19┆┆89┆┄┄for understanding the internal structure and work of the dte_ac┄↓ ┆19┆┆89┆┄┄cess process↲ ↲ ╞ stream_table╞ ╞ : ┆84┆Each entry in this table describes ↓ ┆19┆┆a9┆┄┄a user stream including routing ↓ ┆19┆┆a9┆┄┄pointers to the associated ↓ ┆19┆┆a9┆┄┄dte_chan incarnation. Type is ↓ ┆19┆┆a9┆┄┄stream_type described below↲ ↲ ╞ channel_table╞ ╞ : ┆84┆Arrays of integers, which acts as ↓ ┆19┆┆a9┆┄┄pointers to stream_table for a ↓ ┆19┆┆a9┆┄┄conversion from dte_chan incarna┄↓ ┆19┆┆a9┆┄┄tion numbers to entry numbers in ↓ ┆19┆┆a9┆┄┄stream_table.↲ ↲ ↲ ╞ stream_type = record↲ ╞ stream_state╞ : state of the stream (see section 4.3.2)↲ ╞ user_index╞ : index to user_table (byte)↲ ╞ channel_no╞ : index to channel_table (byte)↲ ╞ stream_event╞ : last stream event, type (byte)↲ ╞ cause╞ ╞ : last stream event, cause (byte)↲ ╞ diagnostic╞ : last stream event, diagnostic code (byte)↲ ╞ no_of_lost_ev╞ : number of lost events (byte)↲ ╞ chanproc_sem╞ : please refer to section 4.3.3 (sempointer)↲ ╞ suspend_bsem╞ : please refer to section 4.3.3 (sempointer)↲ ╞ internal_ref╞ : please refer to section 4.3.3 (sempointer)↲ ╞ intern_state╞ : internal stream state (see section 4.3.2)↲ ╞ end;↲ ↲ ↲ ┆8c┆┄┆a8┆↓ ┆a1┆4.3.5╞ Semaphores and Message Flow.↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 27: Flow of messages to and from dte_access.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆4.3.6╞ Overview of Process Operation.↲ ↲ ╞ ┆84┆In this subsection an overview of the dte_access process operation ↓ ┆19┆┆89┆┄┄is outlined either as flowcharts or in pseudo Real-Time Pascal co┄↓ ┆19┆┆89┆┄┄de or in natural text.↲ ↲ ╞ ┆84┆All received messages are divided into four groups:↲ ↲ ┆b0┆╞ group 1:↲ ╞ ╞ - dte_call_req╞ ╞ (user)↲ ╞ ╞ - dte_wait_event╞ ╞ (user)↲ ╞ ╞ - dte_rec_gen╞ ╞ (user)↲ ↲ ┆b0┆╞ group 2:↲ ┆b0┆╞ group 2u:↲ ╞ ╞ - dte_rec_dedic╞ ╞ (user)↲ ╞ ╞ - dte_send_data╞ ╞ (user)↲ ╞ ╞ - dte_send_intrupt╞ ╞ (user)↲ ╞ ╞ - dte_change_input╞ ╞ (user)↲ ╞ ╞ - dte_reset_req╞ ╞ (user)↲ ╞ ╞ - dte_sync_stream╞ ╞ (user)↲ ╞ ╞ - dte_acc_inc_call╞ ╞ (user)↲ ╞ ╞ - dte_clear_req╞ ╞ (user)↲ ╞ ╞ - inc_s_event╞ ╞ (dte_chan)↲ ╞ ╞ - stream_cleared╞ ╞ (dte_chan)↲ ↲ ┆b0┆╞ group 2x:↲ ╞ ╞ - chan_start╞ ╞ (dte_access)↲ ╞ ╞ - clear_event╞ ╞ (dte_chan)↲ ↲ ┆b0┆╞ group 3:↲ ╞ ╞ - dte_conn_user╞ ╞ (user)↲ ╞ ╞ - dte_disc_user╞ ╞ (user)↲ ╞ ╞ - inc_call╞ ╞ (dte_chan)↲ ╞ ╞ - restart_start╞ ╞ (dte)↲ ╞ ╞ - restart_end╞ ╞ (dte)↲ ╞ ╞ - inc_u_event╞ ╞ (dte_chan)↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 28: Process dte_access, main flowchart↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆PART (A):↲ ↲ ┆84┆In the initialization part, the only actions performed is ini┄↓ ┆19┆┆89┆┄┄tialization of stream_table and channel_table and setting ↓ ┆19┆┆89┆┄┄dte_rec.dte_state to 'net_down'.↲ ↲ ↲ ┆b0┆PART (B):↲ ↲ ╞ In appendix C.1.1 the state/action table is shown.↲ ↲ ↲ ┆b0┆PART (C):↲ and↲ ┆b0┆PART (D)↲ ↲ ╞ In appendix C.1.2 a combined state/action table is shown↲ ↲ ↲ ┆b0┆PART (E):↲ ↲ ╞ In appendix C.1.3 the state/action table is shown.↲ ↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆4.4╞ Description of dte_hrec↲ ↲ ╞ ┆84┆The dte_hrec process is the process in the DTE module handling the ↓ ┆19┆┆89┆┄┄input buffers to/from the HDLC complex.↲ ╞ The main purpose is:↲ ↲ ╞ 1) ┆84┆try to keep a specified number of input buffers at the HDLC ↓ ┆19┆┆8f┆┄┄driver↲ ↲ ╞ 2) ┆84┆routing input buffers, received from the HDLC driver either ↓ ┆19┆┆8f┆┄┄to a dte_chan incarnation, which is servicing the specifi┄↓ ┆19┆┆8f┆┄┄ed (in the received data) logical channel or dte_lcnzero↲ ↲ ╞ 3) tracing the received X.25 packets.↲ ↲ ↲ ┆a1┆4.4.1╞ Process Parameters.↲ ↲ ╞ PROCESS dte_hrec (↲ ╞ VAR in_ptr╞ : ! tap_pointer;↲ ╞ VAR sup_ptr,↲ ╞ hdlc_ptr╞ : ! sempointer;↲ ╞ VAR bigbuf,↲ ╞ smallbuf,↲ ╞ trace_buf╞ : ph_type;↲ ╞ VAR event_pool╞ : semaphore;↲ ╞ VAR chan_sem╞ : ! ch_sem_type;↲ ╞ max_chan╞ : byte;↲ ╞ bigsize╞ : integer;↲ ╞ VAR trace_on╞ : ! boolean↲ );↲ ↲ ↲ ╞ in_ptr╞ ╞ : dte_hrec main semaphore pointer↲ ↲ ╞ sup_ptr╞ ╞ : dte main semaphore pointer↲ ↲ ╞ hdlc_ptr╞ ╞ : Main semaphore pointer of the HDLCLCP module↲ ↲ ┆8c┆┄┆a7┆↓ ╞ bigbuf╞ ╞ : Big buffer pool (see subsection 4.1.3)↲ ↲ ╞ smallbuf╞ ╞ : Small buffer pool (see subsection 4.1.3)↲ ↲ ╞ trace_buf╞ ╞ : ┆84┆Trace buffer pool (see subsection 4.1.3 and ↓ ┆19┆┆9f┆┄┄section 6.1).↲ ↲ ╞ event_pool╞ : ┆84┆DTE global event pool. Internal event ↓ ┆19┆┆9f┆┄┄buffers are hanged up on this semaphore.↲ ↲ ╞ chan_sem╞ ╞ : ┆84┆Semaphore pointers to the dte_chan ↓ ┆19┆┆9f┆┄┄incarnations and dte_lcnzero process.↲ ╞ ╞ ╞ ┆84┆Used to route input buffers received from ↓ ┆19┆┆9f┆┄┄the HDLC driver. The pointers are changed ↓ ┆19┆┆9f┆┄┄dynamically by the dte process.↲ ↲ ╞ max_chan╞ ╞ : ┆84┆Maximum number of X.25 logical channels.↲ ↲ ╞ bigsize╞ ╞ : Size in bytes of big buffers.↲ ↲ ╞ trace_on╞ ╞ : ┆84┆Boolean indicating whether the X.25 packet ↓ ┆19┆┆9f┆┄┄flow shall be traced (true) or not (false). ↓ ┆19┆┆9f┆┄┄Changed dynamically by the dte process.↲ ↲ ↲ ┆a1┆4.4.2╞ States.↲ ↲ ╞ ┆84┆This process does not use any state variables.↲ ↲ ↲ ┆a1┆4.4.3╞ Semaphore and Reference Variables.↲ ↲ ┆b0┆╞ ┆a1┆SEMAPHORES↲ ↲ ╞ trace_rec.wsem╞ : ┆84┆Answer semaphore used in the tracing ↓ ┆19┆┆9f┆┄┄procedure (see subsection 4.1.2.5).↲ ↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆╞ ┆a1┆REFERENCES↲ ↲ ╞ key_ref╞ ╞ : ┆84┆Used to hold the key buffer during access to ↓ ┆19┆┆9f┆┄┄pools.↲ ↲ ╞ mess_ref╞ ╞ : Holds the message under processing.↲ ↲ ╞ msg_ref╞ ╞ : Working reference.↲ ↲ ╞ help_ref╞ ╞ : Working reference in buffer pool requests.↲ ↲ ╞ req_buf╞ ╞ : Holds a buffer request message.↲ ↲ ╞ trace_rec.t_ref╞ : ┆84┆Working reference used in the tracing ↓ ┆19┆┆9f┆┄┄procedure (see subsection 4.1.2.5).↲ ↲ ↲ ┆a1┆4.4.4╞ Data Structures.↲ ↲ ╞ ┆84┆The following data structure used in the dte_hrec process is desc┄↓ ┆19┆┆89┆┄┄ribed elsewhere.↲ ↲ ╞ chan_sem╞ section 4.1.1.2↲ ↲ ╞ ┆84┆Besides this the below described data structure is important for ↓ ┆19┆┆89┆┄┄understanding the internal structure and work of the dte_hrec pro┄↓ ┆19┆┆89┆┄┄cess.↲ ↲ ╞ x25_rec╞ : ┆84┆Contains the lowest (ltc) and highest (htc) ↓ ┆19┆┆9f┆┄┄logical channel number for two way communi┄↓ ┆19┆┆9f┆┄┄cation, and the associated index (ltci, ↓ ┆19┆┆9f┆┄┄htci) to chan_sem.↲ ╞ ╞ ╞ ┆84┆These variables are used to calculate the ↓ ┆19┆┆9f┆┄┄index to chan_sem for a received logical ↓ ┆19┆┆9f┆┄┄channel number (index = lcn-ltc+ltci) and to ↓ ┆19┆┆9f┆┄┄check whether the channel number is inside ↓ ┆19┆┆9f┆┄┄the assigned interval.↲ ↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆4.4.5╞ Semaphores and Message Flow.↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 29: Flow of messages to and from dte_hrec.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆4.4.6╞ Overview of Process Operation.↲ ↲ ╞ ┆84┆In this section an overview of the dte_hrec process operation is ↓ ┆19┆┆89┆┄┄outlined either as flowcharts or in pseudo Real Time Pascal code ↓ ┆19┆┆89┆┄┄or in natural text.↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ * packet_id in (data, incoming_call, call_connected, diagnostic)↲ ↲ ╞ Figure 30: Process dte_hrec, main flowchart.↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆PART (A):↲ ↲ ┆84┆In the initialization part, the only action performed is allo┄↓ ┆19┆┆89┆┄┄cation and initialization of a buffer request message.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆4.5╞ Description of dte_lcnzero.↲ ↲ ╞ ┆84┆The dte_lcnzero process is the process in the DTE module servicing ↓ ┆19┆┆89┆┄┄the X.25 logical channel zero.↲ ╞ The main purpose is:↲ ↲ ╞ 1) handling the channel zero functions:↲ ╞ - restart request↲ ╞ - restart indication↲ ╞ - restart confirmation↲ ╞ - diagnostic↲ ↲ ╞ ┆84┆If the RESTART INDICATION, RESTART CONFIRMATION or DIAGNOSTIC pac┄↓ ┆19┆┆89┆┄┄kets have a logical channel number different from zero the packet ↓ ┆19┆┆89┆┄┄is (by dte_hrec) routed to the dte_chan incarnation handling the ↓ ┆19┆┆89┆┄┄actual logical channel.↲ ↲ ↲ ┆a1┆4.5.1╞ Process Parameters.↲ ↲ ╞ PROCESS dte_lcnzero (↲ ╞ VAR in_ptr╞ : ! tap_pointer;↲ ╞ VAR hdlc_ptr,↲ ╞ operator,↲ ╞ sup_ptr╞ : ! sempointer;↲ ╞ VAR event_pool↲ ╞ testsem╞ : semaphore;↲ ╞ VAR bigbuf↲ ╞ smallbuf↲ ╞ x25_buf╞ : ph_type;↲ ╞ bigsize╞ : integer;↲ ╞ VAR test╞ : ! testrectype;↲ ╞ VAR global_time : ! integer↲ ╞ );↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ in_ptr╞ ╞ : dte_lcnzero main semaphore pointer.↲ ↲ ╞ hdlc_ptr╞ ╞ : ┆84┆Main semaphore pointer of the HDLCLCP ↓ ┆19┆┆9f┆┄┄module.↲ ↲ ╞ operator╞ ╞ : ┆84┆Main semaphore pointer of the operator ↓ ┆19┆┆9f┆┄┄process.↲ ↲ ╞ sup_ptr╞ ╞ : ┆84┆Main semaphore pointer of the dte process.↲ ↲ ╞ event_pool╞ : ┆84┆DTE global event pool. Internal event ↓ ┆19┆┆9f┆┄┄buffers are hanged up on this semaphore.↲ ↲ ╞ testsem╞ ╞ : ┆84┆Semaphore used as a DTE global test buffer ↓ ┆19┆┆9f┆┄┄pool.↲ ↲ ╞ bigbuf╞ ╞ : Big buffer pool (see subsection 4.1.3).↲ ↲ ╞ smallbuf╞ ╞ : Small buffer pool (see subsection 4.1.3).↲ ↲ ╞ x25_buf╞ ╞ : ┆84┆X.25 control output packet buffer pool (see ↓ ┆19┆┆9f┆┄┄subsection 4.1.3).↲ ↲ ╞ bigsize╞ ╞ : Size in bytes of big buffers.↲ ↲ ╞ test╞ ╞ : Testbits array (see section 6.2).↲ ↲ ╞ global_time╞ : ┆84┆DTE global time used to time stamp test ↓ ┆19┆┆9f┆┄┄records.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆4.5.2╞ States.↲ ↲ ╞ ┆84┆The dte_lcnzero process maintains a state variable 'p_level_state' ↓ ┆19┆┆89┆┄┄which reflects the state of the X.25 packet level (DTE module ↓ ┆19┆┆89┆┄┄state). Furthermore the process maintains a state variable in con┄↓ ┆19┆┆89┆┄┄nection with timer t20 (restart timer).↲ ↲ ┆b0┆╞ p_level_state:↲ ↲ ╞ ┆84┆description of the individual states please refer to subsection ↓ ┆19┆┆8c┆┄┄4.2.2.↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 31: ┆84┆State transition graph for p_level_state in process ↓ ┆19┆┆94┆┄┄dte_lcnzero.↲ ↲ ↲ ┆b0┆╞ tt20.state:↲ ↲ ╞ please refer to subsection 4.1.4.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆4.5.3╞ Semaphore and Reference Variables.↲ ↲ ┆b0┆╞ ┆a1┆SEMAPHORES↲ ↲ ╞ timer_sem╞ : Answer semaphore for timer regret messages.↲ ↲ ╞ wait_buf_sem╞ : ┆84┆Answer semaphore for buffer request mes┄↓ ┆19┆┆9f┆┄┄sages.↲ ↲ ↲ ┆b0┆╞ ┆a1┆REFERENCES↲ ↲ ╞ book_ref╞ : Holds a timer regret message.↲ ↲ ╞ help_ref╞ : Working reference.↲ ↲ ╞ key_ref╞ : ┆84┆Used to hold the key message during access ↓ ┆19┆┆9f┆┄┄to pools.↲ ↲ ╞ mess_ref╞ : Holds the message under processing.↲ ↲ ╞ supmess_ref╞ : ┆84┆Holds an internal message for communication ↓ ┆19┆┆9f┆┄┄with the dte process.↲ ↲ ╞ wait_buf╞ : Holds a buffer request message.↲ ↲ ↲ ┆a1┆4.5.4╞ Data Structures.↲ ↲ ╞ ┆84┆The following data structures used in the dte_lcnzero process are ↓ ┆19┆┆89┆┄┄de┄scribed elsewhere:↲ ↲ ╞ x25_param╞ section 4.1.1.3↲ ╞ tt20╞ ╞ section 4.1.4↲ ╞ testbuf╞ section 6.2.4.2↲ ↲ ╞ ┆84┆Besides these the dte_lcnzero process uses a zone (outzone) for ↓ ┆19┆┆89┆┄┄printing of error messages on the console.↲ ↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆4.5.5╞ Semaphores and Message Flow.↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 32: Flow of messages to and from dte_lcnzero.↲ ┆8c┆┄┆a7┆↓ ┆a1┆4.5.6╞ Overview of Process Operation.↲ ↲ ╞ ┆84┆In this section an overview of the dte_lcnzero process operation ↓ ┆19┆┆89┆┄┄is outlined either as flowcharts or in pseudo Real-Time Pascal ↓ ┆19┆┆89┆┄┄code or in natural text.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 33: Process dte_lcnzero, main flowchart.↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆PART (A):↲ ↲ ┆84┆In the initialization part the following actions are performed.↲ ↲ ╞ - ┆84┆initialization of regret, buffer request, and supervisor mes┄↓ ┆19┆┆8e┆┄┄sages↲ ╞ - initialization of state variables↲ ╞ - initialization of variable 'x25_param'↲ ↲ ↲ ┆b0┆PART (B):↲ ↲ ┆84┆The state_machine is implemented as an state/action table, which ↓ ┆19┆┆89┆┄┄is shown in appendix C.2, and a short description of the actions ↓ ┆19┆┆89┆┄┄are given here too.↲ ↲ ↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ «index» formatlinie til RC manualer↲ ┆14┆┆b3┆↲ ┆14┆┆b3┆┆06┆- ┆0b┆ -↲ ┆a1┆4.6 Description of dte_chan.↲ ↲ ╞ ┆84┆The dte_chan process is the process in the DTE module servicing an ↓ ┆19┆┆89┆┄┄X.25 Virtual Call/User stream.↲ ╞ The main purpose is:↲ ↲ ╞ 1) ┆84┆┆84┆Providing the services of an X.25 Virtual Call to a user, ↓ ┆19┆┆8f┆┄┄i.e. implementing the main part of the X.25 recommendation.↲ ↲ ↲ ┆a1┆4.6.1╞ Process Parameters.↲ ↲ ╞ PROCESS dte_chan(↲ ╞ VAR in_ptr,↲ ╞ sync_ptr╞ : ! tap_pointer;↲ ╞ VAR dte_int_ptr,↲ ╞ sup_ptr,↲ ╞ hdlc_ptr,↲ ╞ timeout_ptr,↲ ╞ gen_bsem╞ : ! sempointer;↲ ╞ VAR bigbuf,↲ ╞ smallbuf,↲ ╞ x25_buf╞ : ph_type;↲ ╞ VAR breaksem↲ ╞ event_pool,↲ ╞ testsem╞ : semaphore;↲ ╞ VAR b_upd_stat: : ! boolean;↲ ╞ own_adr_rec╞ : adr_rec_type;↲ ╞ x25_datasize ╞ : integer;↲ ╞ VAR test╞ : ! testrectype;↲ ╞ VAR global_time╞ : ! integer↲ ╞ );↲ ↲ ╞ in_ptr╞ ╞ : dte_chan main semaphore pointer.↲ ↲ ╞ sync_ptr╞ ╞ : ┆84┆dte_chan synchronization semaphore pointer ↓ ┆19┆┆9f┆┄┄(see subsection 4.2.7).↲ ↲ ╞ dte_int_ptr╞ : ┆84┆Main semaphore pointer of the dte_access ↓ ┆19┆┆9f┆┄┄process.↲ ↲ ┆8c┆┄┆a9┆↓ ╞ sup_ptr╞ ╞ : Main semaphore pointer of the dte process.↲ ↲ ╞ hdlc_ptr╞ ╞ : ┆84┆Main semaphore pointer of the HDLCLCP mo┄↓ ┆19┆┆9f┆┄┄dule.↲ ↲ ╞ timeout_ptr╞ : ┆84┆Main semaphore pointer of the TIMEOUT mo┄↓ ┆19┆┆9f┆┄┄dule.↲ ↲ ╞ gen_bsem╞ ╞ : ┆84┆General input semaphore pointer for the as┄↓ ┆19┆┆9f┆┄┄sociated user.↲ ↲ ╞ bigbuf╞ ╞ : Big buffer pool (see subsection 4.1.3).↲ ↲ ╞ smallbuf╞ ╞ : Small buffer pool (see subsection 4.1.3).↲ ↲ ╞ x25_buf╞ ╞ : ┆84┆X.25 control output packets buffer pool (see ↓ ┆19┆┆9f┆┄┄subsection 4.1.3).↲ ↲ ╞ breaksem╞ ╞ : ┆84┆Semaphore holding the break message used in ↓ ┆19┆┆9f┆┄┄the exception procedure.↲ ↲ ╞ event_pool╞ : ┆84┆DTE global event pool. Internal event buf┄↓ ┆19┆┆9f┆┄┄fers are queued at this semaphore.↲ ↲ ╞ testsem╞ ╞ : ┆84┆Semaphore used as a DTE global test buffer ↓ ┆19┆┆9f┆┄┄pool.↲ ↲ ╞ b_upd_stat╞ : ┆84┆If true update of statistical counters shall ↓ ┆19┆┆9f┆┄┄be performed.↲ ↲ ╞ own_adr_rec╞ : Own network address (see subsection 4.1.6).↲ ↲ ╞ x25_datasize╞ : ┆84┆The maximum length of the data field in an ↓ ┆19┆┆9f┆┄┄X.25 data packet.↲ ↲ ╞ test╞ ╞ : Testbits arrray (see section 6.2).↲ ↲ ╞ global_time╞ : ┆84┆DTE global time used to time stamp test re┄↓ ┆19┆┆9f┆┄┄cords.↲ ↲ ↲ ┆8c┆┄┆a9┆↓ ┆a1┆4.6.2╞ States.↲ ↲ ╞ ┆84┆The dte_chan process operates mainly on one state variable, ↓ ┆19┆┆89┆┄┄chan_rec.chan_state. Furthermore it uses a state variable for each ↓ ┆19┆┆89┆┄┄timer (t11m, t12m, t21, t22, t23, t30 and t31) needed. For a de┄↓ ┆19┆┆89┆┄┄tailed description of the timer states please refer to subsection ↓ ┆19┆┆89┆┄┄4.1.4.↲ ↲ ┆b0┆╞ chan_rec.chan_state↲ ↲ ┆b0┆╞ xidle╞ ╞ ┆f0┆: the channel is in ready state↲ ┆b0┆╞ xdtecall╞ ┆f0┆: ┆84┆the DTE is awaiting DCE response on a CALL ↓ ┆19┆┆9f┆┆81┆┄REQUEST↲ ┆b0┆╞ xdcecall╞ ┆f0┆: ┆84┆the DTE is awaiting user response on an IN┄↓ ┆19┆┆9f┆┆81┆┄COMING CALL↲ ┆b0┆╞ xdteclear╞ ┆f0┆: ┆84┆the DTE is awaiting DCE response on a CLEAR ↓ ┆19┆┆9f┆┆81┆┄REQUEST↲ ┆b0┆╞ xretclear╞ ┆f0┆: ┆84┆a CLEAR REQUEST has been retransmitted at ↓ ┆19┆┆9f┆┆81┆┄least once↲ ┆b0┆╞ xdata╞ ╞ ┆f0┆: ┆84┆the DTE and DCE is in the data phase and ↓ ┆19┆┆9f┆┆81┆┄both ready↲ ┆b0┆╞ xdata_wic╞ ┆f0┆: ┆84┆as xdata and the DTE is awaiting INTERRUPT ↓ ┆19┆┆9f┆┆81┆┄CONFIRMATION↲ ┆b0┆╞ wsync╞ ╞ ┆f0┆: ┆84┆as xdata and the DTE is awaiting user syn┄↓ ┆19┆┆9f┆┆81┆┄chronization on a reset event↲ ┆b0┆╞ ndte╞ ╞ ┆f0┆: as xdata, but the DTE is not ready↲ ┆b0┆╞ ndte_wic╞ ┆f0┆: as xdata_wic, but the DTE is not ready↲ ┆b0┆╞ ndte_wsync╞ ┆f0┆: as wsync, but the DTE is not ready↲ ┆b0┆╞ ndce╞ ╞ ┆f0┆: as xdata, but the DCE is not ready↲ ┆b0┆╞ ndce_wic╞ ┆f0┆: as xdata_wic, but the DCE is not ready↲ ┆b0┆╞ ndce_wsync╞ ┆f0┆: as wsync, but the DCE is not ready↲ ┆b0┆╞ ndcte╞ ╞ ┆f0┆: as xdata, but the DTE and DCE are not ready↲ ┆b0┆╞ ndcte_wic╞ ┆f0┆: ┆84┆as xdata_wic, but the DTE and DCE are not ↓ ┆19┆┆9f┆┆81┆┄ready↲ ┆b0┆╞ ndctewsync╞ ┆f0┆: ┆84┆as wsync, but the DTE and DCE are not ready↲ ┆b0┆╞ xreset╞ ╞ ┆f0┆: ┆84┆RESET INDICATION received from the DCE, the ↓ ┆19┆┆9f┆┆81┆┄DTE is awaiting user response, and no RESET ↓ ┆19┆┆9f┆┆81┆┄CONFIRMATION is transmitted to the DCE yet↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆╞ ureset╞ ╞ ┆f0┆: ┆84┆dte_reset_req received from the user, the ↓ ┆19┆┆9f┆┆81┆┄DTE is awaiting DCE confirmation↲ ┆b0┆╞ ereset╞ ╞ ┆f0┆: ┆84┆the DTE has reset the Virtual Call, and is ↓ ┆19┆┆9f┆┆81┆┄awaiting both user response and DCE confir┄↓ ┆19┆┆9f┆┆81┆┄mation.↲ ↲ ╞ ┆84┆In appendix C.3 state transitions tables for the state variable is ↓ ┆19┆┆89┆┄┄outlined.↲ ↲ ↲ ┆a1┆4.6.3╞ Semaphores and Reference Variables.↲ ↲ ╞ ┆84┆Variables of type 'sempointer' and 'tap_pointer' are mentioned in ↓ ┆19┆┆89┆┄┄the semaphore subsection just as they were semaphores.↲ ↲ ┆b0┆╞ ┆a1┆SEMAPHORES↲ ↲ ╞ hardwait╞ : ┆84┆Semaphore used in cases where hardwait is ↓ ┆19┆┆9f┆┄┄required and as answer semaphore for buffer ↓ ┆19┆┆9f┆┄┄requests.↲ ╞ exsem╞ ╞ : Semaphore used in the exception procedure.↲ ╞ local_insem1╞ : Local input semaphore number 1.↲ ╞ local_insem2╞ : Local input semaphore number 2.↲ ╞ own_buf_sem╞ : Used to queue X.25 output headers.↲ ╞ rdata_sem╞ : ┆84┆Used to queue dedicated input buffers from ↓ ┆19┆┆9f┆┄┄the user.↲ ╞ s_sdata_sem╞ : ┆84┆Used to queue not yet processed user ↓ ┆19┆┆9f┆┄┄dte_send_data messages.↲ ╞ s_sint_sem╞ : ┆84┆Used to queue not yet processed user ↓ ┆19┆┆9f┆┄┄dte_send_intrupt messages.↲ ╞ timer_sem╞ : Answer semaphore for timer requests.↲ ╞ user_int_sem╞ : ┆84┆Local input semaphore for user ↓ ┆19┆┆9f┆┄┄dte_send_intrupt messages.↲ ╞ w_sint_sem╞ : ┆84┆Holds one unacknowledge user ↓ ┆19┆┆9f┆┄┄dte_send_intrupt message.↲ ╞ w_x25data_sem╞ : ┆84┆Used to temporary queue X.25 DATA packets ↓ ┆19┆┆9f┆┄┄(received) in state ndte.↲ ╞ local_in.ptr╞ : ┆84┆Semaphore pointer to the actual local input ↓ ┆19┆┆9f┆┄┄semaphore.↲ ↲ ↲ ┆8c┆┄┆a9┆↓ ┆b0┆╞ ┆a1┆REFERENCES↲ ↲ ╞ book_upd_ref╞ : Holds an timer booking/updating message.↲ ╞ event_ref╞ : Working reference during event generation.↲ ╞ key_ref╞ : ┆84┆Holds the key message during buffer pool ac┄↓ ┆19┆┆9f┆┄┄cess.↲ ╞ mess_ref╞ : Holds the message under processing.↲ ╞ req_ref╞ : Working reference.↲ ╞ reset_ref╞ : ┆84┆Used to temporary queue a user dte_reset_req ↓ ┆19┆┆9f┆┄┄or dte_sync_stream message.↲ ╞ sync_ref╞ : Holds the synchronization message.↲ ╞ timer_ref╞ : Working reference during start of a timer.↲ ╞ user_ref╞ : ┆84┆Used to temporary queue a user dte_call_req ↓ ┆19┆┆9f┆┄┄or dte_clear_req message.↲ ╞ wait_buf╞ : Working reference during buffer requests.↲ ╞ workref╞ : Working reference.↲ ╞ x25_ref╞ : Holds temporary the X.25 output buffer.↲ ╞ not_ack_data(n).↲ ╞ buf_ref : ┆84┆Holds a returned but yet not acknowledge ↓ ┆19┆┆9f┆┄┄user dte_send_data buffer. The buffer is re┄↓ ┆19┆┆9f┆┄┄turned when all preciding 'packets' and it ↓ ┆19┆┆9f┆┄┄self are acknowledge.↲ ↲ ┆a1┆4.6.4╞ Data Structures.↲ ↲ ╞ ┆84┆The following data structures used in the dte_chan process are de┄↓ ┆19┆┆89┆┄┄scribed elsewhere.↲ ↲ ╞ dte_timers╞ section 4.1.4↲ ╞ x25_param╞ section 4.1.1.3↲ ╞ sav_x25_param╞ section 4.1.1.3↲ ╞ testbuf╞ section 6.2.4.3↲ ↲ ╞ ┆84┆The variable dte_timers is an array of 7 elements, where each ele┄↓ ┆19┆┆89┆┄┄ment is described in section 4.1.4.↲ ↲ ╞ ┆84┆Besides these the below described data structures are important ↓ ┆19┆┆89┆┄┄for understanding the internal structure and work of the dte_chan ↓ ┆19┆┆89┆┄┄process.↲ ↲ ┆8c┆┄┆a8┆↓ ╞ chan_rec╞ ╞ : ┆84┆Record containing all relevant information ↓ ┆19┆┆9f┆┄┄concerning the actual serviced logical chan┄↓ ┆19┆┆9f┆┄┄nel. The type is ch_rec_type.↲ ↲ ╞ ch_rec_type = record↲ ╞ ╞ chan_state╞ : c_state_type;↲ ╞ ╞ sem_index╞ : integer;↲ ╞ ╞ stream_no╞ : byte;↲ ╞ ╞ local_user╞ : local_adr_type;↲ ╞ ╞ user_no,↲ ╞ ╞ multi_buffer,↲ ╞ ╞ rcv_buf_type╞ : byte;↲ ╞ ╞ s_prio╞ : 0..7;↲ ╞ ╞ remote_dte╞ : adr_rec_type;↲ ╞ ╞ w_rec╞ : window_rec_desc;↲ ╞ ╞ t30_norm,↲ ╞ ╞ ack_timer╞ : integer;↲ ╞ ╞ stream_status╞ : stat_rec_type;↲ ╞ ╞ f_field_lgth╞ : byte;↲ ╞ ╞ f_field╞ : faci_type;↲ ╞ ╞ end;↲ ↲ ╞ chan_state╞ : ┆84┆State of the logical channel viewed by the ↓ ┆19┆┆9f┆┄┄DTE (see subsection 4.6.2).↲ ╞ sem_index╞ : ┆84┆Index to the dte_chanxxx main semaphore ↓ ┆19┆┆9f┆┄┄area (see subsection 4.1.1.2).↲ ╞ stream_no╞ : ┆84┆The associated stream number (see subsection ↓ ┆19┆┆9f┆┄┄4.1.5).↲ ╞ local_user╞ : ┆84┆The identification of the user in semi oc┄↓ ┆19┆┆9f┆┄┄tets and the length of this identification ↓ ┆19┆┆9f┆┄┄(see subsection 4.1.6).↲ ╞ user_no╞ : User number in the DTE.↲ ╞ multi_buffer╞ : ┆84┆The indicated (by user) maximum degree of ↓ ┆19┆┆9f┆┄┄multibuffering on output.↲ ╞ rev_buf_type╞ : ┆84┆Defines the type of input buffers, 1 = dedi┄↓ ┆19┆┆9f┆┄┄cated input, 0 = general input (see ref. ↓ ┆19┆┆9f┆┄┄(3)).↲ ╞ s_prio╞ ╞ : ┆84┆The indicated priority divided by 32 to get ↓ ┆19┆┆9f┆┄┄a number in (0..7), which is accepted by the ↓ ┆19┆┆9f┆┄┄HDLC driver.↲ ┆8c┆┄┆a8┆↓ ╞ remote_dte╞ : ┆84┆The address of the remote DTE (see subsec┄↓ ┆19┆┆9f┆┄┄tion 4.1.6).↲ ╞ w_rec╞ ╞ : ┆84┆Record containing all information for the ↓ ┆19┆┆9f┆┄┄window mechanism (see subsection 4.6.8).↲ ╞ t30_norm╞ : The value of t30 (idle timer).↲ ╞ ack_timer╞ : ┆84┆The value of acknowledge timer. This is used ↓ ┆19┆┆9f┆┄┄to specify the maximum timer period from re┄↓ ┆19┆┆9f┆┄┄ceival of a packet to it is acknowledged.↲ ╞ stream_status╞ : ┆84┆Record containing stream/channel status in┄↓ ┆19┆┆9f┆┄┄formation for internal use. The type is de┄↓ ┆19┆┆9f┆┄┄fined in the external DTE environment ↓ ┆19┆┆9f┆┄┄XDTEENV (appendix B.2).↲ ╞ f_field_lgth╞ : X.25 facility field length.↲ ╞ f_field╞ : X.25 facilities.↲ ↲ ↲ ╞ not_ack_data╞ : ┆84┆This record structure is used to secure that ↓ ┆19┆┆9f┆┄┄the user output buffers are returned in the ↓ ┆19┆┆9f┆┄┄same sequence as received and only when they ↓ ┆19┆┆9f┆┄┄are acknowledged by the DCE. The type and ↓ ┆19┆┆9f┆┄┄function are described in subsection 4.6.9.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆4.6.5╞ Semaphores and Message Flow.↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 34: Flow of messages to and from dte_chan.↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆4.6.6╞ Overview of Process Operation.↲ ↲ ╞ ┆84┆In this section an overview of the dte_chan process operation is ↓ ┆19┆┆89┆┄┄outlined either as flowcharts or in pseudo Real-Time Pascal code ↓ ┆19┆┆89┆┄┄or in natural text.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 35: Process dte_chan, main flowchart.↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ┆84┆As shown in the flowchart (figure 35) the initialization is sepe┄↓ ┆19┆┆89┆┄┄rated in two part, one concerning general process variables (PART ↓ ┆19┆┆89┆┄┄(A)) and one concerning logical channel variables (PART (B)).↲ ↲ ↲ ┆b0┆PART (A):↲ ↲ ╞ general process variables:↲ ╞ - chan_rec.chan_state (for test purpose)↲ ╞ - timer- and buffer allocation messages↲ ╞ - local input sempointer↲ ╞ - test buffer pointers↲ ╞ - variable chan_active (:= false).↲ ↲ ↲ ┆b0┆PART (B):↲ ↲ logical channel variables:↲ ╞ - special variables↲ ╞ - not_ack_data↲ ╞ - timer array↲ ╞ - chan_rec↲ ╞ - logical group and number in x25_param↲ ╞ - window variables↲ ╞ (the last three from the sync buffer).↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆PART (C):↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 36: Process dte_chan, part (C) flowchart.↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆PART (D):↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 37: Process dte_chan, part (D) flowchart.↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆┆81┆PART (E):↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 38: Process dte_chan, part (E) flowchart.↲ ↲ ┆b0┆PART (F):↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 39: Process dte_chan, part (F) flowchart.↲ ↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆PART (G):↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 40: Process dte_chan, part (G) flowchart.↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆PART (H):↲ ↲ ╞ ┆84┆If general input is used the message is returned with result ↓ ┆19┆┆89┆┄┄'fct_not_allw',↲ ╞ otherwise↲ ╞ - ┆84┆if state is waiting user confirmation (xreset, wsync, ↓ ┆19┆┆8b┆┄┄ndce_wsync, ndte_wsync, ndctewsync, ereset) the message is re┄↓ ┆19┆┆8b┆┄┄turned with 'not_processed',↲ ╞ - ┆84┆if state is dte not ready and/or window closed in data state ↓ ┆19┆┆8b┆┄┄(xdata, xdata_wic, ndce, ndce_wic, ndte, ndte_wic, ndcte, ↓ ┆19┆┆8b┆┄┄ndcte_wic) and enough resources are received the state machine ↓ ┆19┆┆8b┆┄┄is called (PART (I)) to open the window,↲ ╞ - ┆84┆if state is dte ready and waiting resources (send_rnr = true) ↓ ┆19┆┆8b┆┄┄and enough resources are received the state machine is called ↓ ┆19┆┆8b┆┄┄(PART (I)) to open the window,↲ ╞ - ┆84┆if state is dte ready (xdata, xdata_wic, ndce, ndce_wic) and the ↓ ┆19┆┆8b┆┄┄window has been closed the state machine is called (PART (I)) to ↓ ┆19┆┆8b┆┄┄open the window.↲ ↲ ┆b0┆↲ ┆b0┆PART (I):↲ ↲ ╞ ┆84┆The procedure ┆b0┆state_machine(event, current_state)┆f0┆ is called in ↓ ┆19┆┆89┆┆81┆┄order to perform the needed action and get the next state.↲ ┆84┆↲ ↲ ┆b0┆PART (K):↲ ↲ ┆84┆An NC request is received. The specified operation is performed ↓ ┆19┆┆89┆┄┄and the buffer returned to the NCP. 'Sense channel' and 'get chan┄↓ ┆19┆┆89┆┄┄nel statistics' are the only LCP operations performed by the ↓ ┆19┆┆89┆┄┄dte_chan process.↲ ↲ ╞ ┆84┆If not any of these an error in the dte process has occured.↲ ↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆PART (L):↲ ↲ ╞ ┆84┆The stop alogrithm contains the following steps:↲ ↲ ╞ 1. ┆84┆The sync_mess is returned to dte with u2 = ok and u3 = ↓ ┆19┆┆90┆┄┄user_term.↲ ╞ 2. ┆84┆The dte_chan process awaits the returnal of the sync_mess ↓ ┆19┆┆90┆┄┄at the sync semaphore.↲ ╞ 3. ┆84┆The dte changes the sempointer in the hrec_table.↲ ╞ 4. ┆84┆The dte signals the sync_mess to the dte_chan process.↲ ╞ 5. ┆84┆The dte_chan proccess empties its local semaphores, its in┄↓ ┆19┆┆90┆┄┄put (main) semaphore, releases the X.25 output headers, ↓ ┆19┆┆90┆┄┄sets the local input semaphore to number 1, and returns ↓ ┆19┆┆90┆┄┄the sync_mess with u2 = ok and u3 = ok, before waiting at ↓ ┆19┆┆90┆┄┄the sync semaphore for at new start indication.↲ ↲ ↲ ┆a1┆4.6.7╞ Description of dte_chan local input semaphores.↲ ↲ ╞ ┆84┆As already mentioned the dte_chan process has two local input se┄↓ ┆19┆┆89┆┄┄maphores. These are used in order to be able to seperate the dif┄↓ ┆19┆┆89┆┄┄ferent input messages received at the main input semaphore. In or┄↓ ┆19┆┆89┆┄┄der to not always check on a number to find the actual semaphore a ↓ ┆19┆┆89┆┄┄record type is defined (insem_type). The variable (local_in) of ↓ ┆19┆┆89┆┄┄this type contains a sempointer (to the actual semaphore) and the ↓ ┆19┆┆89┆┄┄number of the semaphore (1 or 2).↲ ↲ ╞ ┆84┆In the local procedures ┆b0┆ret_inuserb, ret_wsdata┆f0┆ the not actual se┄↓ ┆19┆┆89┆┆81┆┄maphore is used as a queue semaphore and at returnal from the pro┄↓ ┆19┆┆89┆┆81┆┄cedures this semaphore becomes the actual input semaphore:↲ ↲ ╞ ┆b0┆before call: ┆f0┆local_in↲ local_insem1↲ ↲ ↲ ╞ ╞ ╞ 1╞ ╞ local_insem2↲ ↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆╞ in the procedure:↲ ╞ ╞ ╞ actual_sem = local_insem1↲ ╞ ╞ ╞ next_sem = local_insem2↲ ↲ ┆b0┆╞ after return:┆f0┆ local_in↲ ╞ ╞ ╞ ╞ ╞ local_insem1↲ ↲ ╞ ╞ ╞ 2╞ ╞ local_insem2↲ ↲ ↲ ┆a1┆4.6.8╞ The Strategy for Acknowledgement of Data Packets.↲ ↲ ╞ ┆84┆Because of the correlation of credit and acknowledgement in the ↓ ┆19┆┆89┆┄┄X.25 recommendation, an acknowledgement cannot be sent without at ↓ ┆19┆┆89┆┄┄the same time giving credit to more data. This mechanism is in the ↓ ┆19┆┆89┆┄┄dte_chan process administrated by defining a window descriptor re┄↓ ┆19┆┆89┆┄┄cord (see below). The window size is the maximum number of out┄↓ ┆19┆┆89┆┄┄standing packets, and the lower window edge is the last acknowled┄↓ ┆19┆┆89┆┄┄ged packet plus 1, i.e. the first unacknowledge packet.↲ ↲ ╞ ┆84┆The window description record (chan_rec.w_rec) contains the follo┄↓ ┆19┆┆89┆┄┄wing fields:↲ ↲ ╞ w_recv (bit 3) : window size for receiving↲ ╞ w_xmit ( - )╞ : window size for transmitting↲ ╞ slw ( - ) : lower window edge for sending↲ ╞ rlw ( - ) : lower window edge for receiving↲ ╞ nsps ( - ) : next P(S) to be sent↲ ╞ lrps ( - ) : last received P(S)↲ ╞ rdataqueue (integer): ┆84┆number of queued dedicated user input buf┄↓ ┆19┆┆9f┆┄┄fers. If mode is general-input rdataqueue ↓ ┆19┆┆9f┆┄┄equals w_recv+1 allways.↲ ╞ init_phase (boolean): ┆84┆indicates the initial phase where the normal ↓ ┆19┆┆9f┆┄┄algorithm does not work, i.e. speciel calcu┄↓ ┆19┆┆9f┆┄┄lations in the procedure w_algorithm are ↓ ┆19┆┆9f┆┄┄performed.↲ ↲ ╞ ┆84┆The acknowledgement strategy depends on the input mode (dedicated, ↓ ┆19┆┆89┆┄┄general), which is indicated by the user at call establishment ↓ ┆19┆┆89┆┄┄(see ref. (3)).↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆╞ ┆a1┆dedicated:↲ ↲ ╞ An RR packet is sent if↲ ╞ 1) ┆84┆the window is closed and one or more input buffers are ↓ ┆19┆┆8f┆┄┄awailable, and no output data is queued in the dte_chan pro┄↓ ┆19┆┆8f┆┄┄cess.↲ ╞ 2) ┆84┆expiration of either the idle timer or the ack timer (expla┄↓ ┆19┆┆8f┆┄┄nation of these timers see below).↲ ↲ ╞ ┆a1┆┆b0┆general:↲ ↲ ╞ ┆84┆An RR packet is sent as quickly as possible. It is the same stra┄↓ ┆19┆┆89┆┄┄tegy as for dedicated with the exception that the input buffer li┄↓ ┆19┆┆89┆┄┄mitation is not used.↲ ↲ ╞ ┆84┆With the fact in mind that rdataqueue = w_recv+1 in case of general input ↓ ┆19┆┆89┆┄┄and that piggy backing of acknowledgement is possible the follow┄↓ ┆19┆┆89┆┄┄ing flowchart decribes the acknowledgement strategy.↲ ↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ a: send window open ((nsps-slw) mod 8 < w_xmit)↲ ╞ b: possible to move receive window (rdataqueue > 0)↲ ╞ c: receive window closed (lrps = (rlw + w_recv) mod 8)↲ ↲ ╞ Figure 41: Acknowledgement strategy flowchart.↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ┆84┆The two timers mentioned in this subsection are:↲ ↲ ╞ ┆b0┆idle timer ┆f0┆┆b0┆: ┆84┆┆f0┆this timer is defined in order to avoid long pe┄↓ ┆19┆┆9a┆┆82┆┄riods with no traffic and the following dead ↓ ┆19┆┆9a┆┆82┆┄lock situation.↲ ↲ ╞ ╞ ╞ ┆b0┆DCE╞ ╞ DTE↲ ╞ ╞ ╞ data(4)↲ ↲ ╞ ╞ ╞ ╞ data(5)↲ ╞ ╞ send window↲ ╞ ╞ ┆81┆closed↲ ╞ ╞ ╞ ╞ RR(6)↲ ↲ ↲ ╞ ┆b0┆ack timer :┆f0┆ ┆84┆this timer is defined in order to optimize the ↓ ┆19┆┆9a┆┆81┆┄use of piggy backing:↲ ╞ ╞ ┆84┆If no data to send, then wait a very short time ↓ ┆19┆┆9a┆┄┄(possible zero) before sending RR to see, if the ↓ ┆19┆┆9a┆┄┄user allready has delivered output data to the ↓ ┆19┆┆9a┆┄┄DTE.↲ ↲ ╞ The default values of the timers are↲ ↲ ╞ idle timer : 30 secs.↲ ╞ ack timer : 1 sec.↲ ↲ ╞ ┆84┆These may be changed in the dte process using an LCP operation ↓ ┆19┆┆89┆┄┄(DTE 54,0) (see ref. (4)) and are delivered to the dte_chan pro┄↓ ┆19┆┆89┆┄┄cess at call establishment in the ┆b0┆sync_mess┆f0┆ (subsection 3.2.5.1).↲ ↲ ↲ ┆a1┆4.6.9╞ Maintenance of Output Data Sequence.↲ ↲ ╞ ┆84┆The dte_chan process returns output data from a user in the same ↓ ┆19┆┆89┆┄┄sequence as received. To support this feature a variable ↓ ┆19┆┆89┆┄┄(not_ack_data) of type not_ack_type is defined. Furthermore output ↓ ┆19┆┆89┆┄┄data are first returned at the time, when they are acknowledged by ↓ ┆19┆┆89┆┄┄the DCE.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ not_ack_type = record↲ ╞ buf_ref╞ : reference;↲ ╞ ╞ not_returned,↲ ╞ ╞ level3_ack : boolean;↲ ╞ ╞ end;↲ ↲ ╞ not_ack_data = array (0..7) of not_ack_type;↲ ↲ ╞ next_ack_buf : byte;↲ ↲ ╞ ┆84┆next_ack_buf points to the next buffer to be returned to the user.↲ ↲ ╞ ┆84┆When an user output data is sent to the HDLC for transmission the ↓ ┆19┆┆89┆┄┄u3 field in the user buffer is set to the P(S) value of the packet ↓ ┆19┆┆89┆┄┄and this number is furthermore used as index in not_ack_data. At ↓ ┆19┆┆89┆┄┄the same time not_returned is set to true and level3_ack to false.↲ ↲ ╞ ┆84┆When an output message is returned from the HDLC not_returned is ↓ ┆19┆┆89┆┄┄set to false and the buffer is 'hanged' on the reference buf_ref. ↓ ┆19┆┆89┆┄┄Then all preciding buffers from next_ack_buf up to the first where ↓ ┆19┆┆89┆┄┄not_returned = true or level3_ack = false are returned to the ↓ ┆19┆┆89┆┄┄user, and at last next_ack_buf is moved.↲ ↲ ╞ ┆84┆When a packet is acknowledged by the DCE, level3_ack is set to ↓ ┆19┆┆89┆┄┄true, and all preciding buffers from next_ack_buf up to the first ↓ ┆19┆┆89┆┄┄where not_returned = true or level3_ack = false are returned to ↓ ┆19┆┆89┆┄┄the user, and at last next_ack_buf is moved.↲ ════════════════════════════════════════════════════════════════════════ ↓ «index» formatlinie til RC manualer↲ ┆14┆┆b3┆↲ ┆14┆┆b3┆┆06┆- ┆0b┆ -↲ ┆a1┆5.╞ ERROR MESSAGES.↲ ↲ ╞ ┆84┆The DTE System procedures error messages in several cases.↲ ↲ ╞ ┆84┆Most of the error messages mean that one of the surrounding mo┄↓ ┆19┆┆89┆┄┄dules has reacted in an unexpected way or the programmer has sup┄↓ ┆19┆┆89┆┄┄plied the module with wrong default parameter values.↲ ↲ ╞ ┆84┆In other situations the module will exit through the PANIC subrou┄↓ ┆19┆┆89┆┄┄tine, and the programmer must then check up the source programs ↓ ┆19┆┆89┆┄┄for internal errors.↲ ↲ ╞ ┆84┆In both cases some of the errors are fatal (exit of process incar┄↓ ┆19┆┆89┆┄┄nation) and others are only warnings.↲ ↲ ╞ ┆84┆As already mentioned in subsection 4.1.2.4 the DTE System uses two ↓ ┆19┆┆89┆┄┄procedures for error information, ┆b0┆error_text┆f0┆ for writing in natu┄↓ ┆19┆┆89┆┆81┆┄ral text and ┆b0┆error_report┆f0┆ for numeric information only.↲ ↲ ╞ ┆84┆In the following two sections the error messages from the indi┄vi┄↓ ┆19┆┆89┆┄┄dual processes will be outlined.↲ ↲ ↲ ┆a1┆5.1╞ Error Messages from error_text.↲ ↲ ╞ ┆84┆In this section error messages procedures by using ┆b0┆error_text ┆f0┆is ↓ ┆19┆┆89┆┆81┆┄described.↲ ╞ The format of the description is:↲ ↲ ╞ - error text↲ ╞ - explanation↲ ╞ - fatal/warning, process name.↲ ↲ ╞ The messages are arranged in alfabetic order.↲ ↲ ↲ ┆b0┆╞ ****╞ ┆84┆call from DTE ACC not stacked↲ ╞ ╞ ┆84┆A ┆b0┆chan_start ┆f0┆message from dte_access is not stacked with ↓ ┆19┆┆93┆┆81┆┄a user request message.↲ ╞ ╞ Fatal, dte.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆┆b0┆╞ ****╞ CHAN exception in <incarnation name>↲ ╞ followed by either↲ ╞ ┆b0┆****╞ ┆84┆CHAN exception in chan process state = idle/exit: ↓ ┆19┆┆93┆┆81┆┆82┆<state>↲ ╞ ╞ or↲ ┆b0┆╞ ****╞ CHAN exception, VC cleared, lcn = <no>↲ ┆b0┆╞ ****╞ CHAN vers: <no1>↲ ╞ ╞ ┆84┆An exception in a dte_chan process incarnation has oc┄↓ ┆19┆┆93┆┄┄cured. If the first case is printed, the exception has ↓ ┆19┆┆93┆┄┄occured in the state idle (<state>=1) or exit (<state> ↓ ┆19┆┆93┆┄┄=0). In the second case, the Virtual Call with logical ↓ ┆19┆┆93┆┄┄channel num┄ber <no> is cleared. <no1> is the version ↓ ┆19┆┆93┆┄┄number of the dte_chan process.↲ ╞ ╞ Warning, dte.↲ ↲ ┆b0┆╞ ****╞ create <name> not possible: <no>↲ ╞ ╞ ┆84┆It was not possible to create an incarnation of the ↓ ┆19┆┆93┆┄┄<name> process.↲ ╞ ╞ ┆84┆<no> is the result from the call of create (see ref. ↓ ┆19┆┆93┆┄┄(13)).↲ ↲ ╞ ╞ <name> are:↲ ╞ ╞ DTE ACC╞ fatal, dte↲ ╞ ╞ DTE CHAN╞ fatal, dte↲ ╞ ╞ DTE CLOCK╞ fatal, dtetest↲ ╞ ╞ DTE HREC╞ fatal, dte↲ ╞ ╞ DTE LCN0╞ fatal, dte↲ ╞ ╞ DTE POOLH╞ fatal, dte↲ ╞ ╞ DTE TEST╞ warning, dte↲ ╞ ╞ DTE SNOOP╞ warning, dte↲ ╞ ╞ OUTTRACE╞ warning, dte↲ ╞ ╞ TRACE╞ ╞ warning, dte↲ ╞ ╞ Fatal/warning, dte/dtetest↲ ↲ ╞ ┆b0┆****╞ default LTCN greater than default HTCN↲ ╞ ╞ ┆84┆The default assigned interval limits are not pos┄sible. ↓ ┆19┆┆93┆┄┄Lower number greater than higher.↲ ╞ ╞ Fatal, dte.↲ ↲ ┆8c┆┄┆a7┆↓ ┆b0┆****╞ default window size out of range : <no>╞ ↲ ╞ ╞ ┆84┆The default window size is greater than 7. <no> is the ↓ ┆19┆┆93┆┄┄value of dte_conf_rec.dw_size.↲ ╞ ╞ Fatal, dte.↲ ↲ ┆b0┆╞ ****╞ diagnostic packet not allowed↲ ╞ ╞ ┆84┆The procedure ┆b0┆dec_x25 ┆b0┆┆f0┆(see subsection 4.1.2.1) gives the ↓ ┆19┆┆93┆┆82┆┄result 'diag_not_allw'. Error in procedure, if module is ↓ ┆19┆┆93┆┆82┆┄used as DTE.↲ ╞ ╞ Warning, dte_lcnzero.↲ ↲ ┆b0┆╞ ****╞ DTE disconnected from NCP↲ ╞ ╞ Warning, dte.↲ ↲ ┆b0┆╞ ****╞ DTE received HDLC exception/parity error↲ ┆b0┆╞ ****╞ DTE gives up to connect DRIVER↲ ╞ ╞ ┆84┆The DTE has received an event indicating an HDLCLCP ex┄↓ ┆19┆┆93┆┄┄ception or an parity error in the controller.↲ ╞ ╞ Warning, dte.↲ ↲ ┆b0┆╞ ****╞ error in default HTC, LTC : <no>↲ ╞ ╞ ┆84┆The default assigned interval (ltc, htc) is greater than ↓ ┆19┆┆93┆┄┄dte_conf_rec.max_chan. <no> = htc-ltc+1.↲ ╞ ╞ Fatal, dte.↲ ↲ ┆b0┆╞ ****╞ error in own DTE ADDRESS at index = <no>↲ ╞ ╞ ┆84┆The digit at index <no> is not within the range 0..9.↲ ╞ ╞ Fatal, dte.↲ ↲ ┆b0┆╞ ****╞ error in request_event_buf from NCP : <no>↲ ╞ ╞ ┆84┆A ┆b0┆request_event_buf ┆f0┆message is returned from the NCP ↓ ┆19┆┆93┆┆81┆┄with an unexpected u2 value (<no>).↲ ╞ ╞ Warning, dte.↲ ↲ ┆b0┆╞ ****╞ exception received from unknown process↲ ╞ ╞ ┆84┆A ┆b0┆break ┆f0┆message is received from an unknown process.↲ ╞ ╞ Warning, dte.↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆╞ ****╞ HDLC control operation returned with user term↲ ┆b0┆╞ ****╞ DTE gives up to connect DRIVER↲ ╞ ╞ ┆84┆An HDLC control operation is returned with an result in┄↓ ┆19┆┆93┆┄┄dicating either HDLCLCP exception or controller parity ↓ ┆19┆┆93┆┄┄error.↲ ╞ ╞ Warning, dte.↲ ↲ ┆b0┆╞ ****╞ illegal channel↲ ╞ ╞ ┆84┆The procedure ┆b0┆dec_x25 ┆f0┆(see subsection 4.1.2.1) gives the ↓ ┆19┆┆93┆┆81┆┄result 'ill_channel'. I.e. logical channel number is not ↓ ┆19┆┆93┆┆81┆┄zero.↲ ╞ ╞ Warning, dte_lcnzero.↲ ↲ ┆b0┆╞ ****╞ illegal HDLC connect ident : <no>↲ ╞ ╞ ┆84┆The default parameter hdlc_param.c_id has a negative va┄↓ ┆19┆┆93┆┄┄lue (<no>).↲ ╞ ╞ Fatal, dte.↲ ↲ ┆b0┆╞ ****╞ illegal HDLC retransmission counter : <no>↲ ╞ ╞ ┆84┆The default parameter hdlc_param.n2 is out of range (┆a1┆<┆e1┆0 ↓ ┆19┆┆93┆┄┄or ┆a1┆>┆e1┆64). <no> is the actual value.↲ ╞ ╞ Fatal, dte.↲ ↲ ┆b0┆╞ ****╞ illegal HDLC retransmission timer : <no>↲ ╞ ╞ ┆84┆The default parameter hdlc_param.t1 has a negative value ↓ ┆19┆┆93┆┄┄(<no>).↲ ╞ ╞ Fatal, dte.↲ ↲ ┆b0┆╞ ****╞ illegal operation from sup : <no>↲ ╞ ╞ ┆84┆An unknown operation, <no>, is received from the dte ↓ ┆19┆┆93┆┄┄process.↲ ╞ ╞ Warning, dte_lcnzero.↲ ↲ ┆b0┆╞ ****╞ illegal state in channel proc desc↲ ╞ ╞ ┆84┆A ┆b0┆sync_mess ┆f0┆is received in an illegal state (p_idle, ↓ ┆19┆┆93┆┆81┆┄p_exit).↲ ╞ ╞ Fatal, dte.↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆╞ ****╞ illegal value of outstanding HDLC frames : <no>↲ ╞ ╞ ┆84┆The default parameter hdlc_param.k equals zero (<no> = ↓ ┆19┆┆93┆┄┄0).↲ ╞ ╞ Fatal, dte.↲ ↲ ┆b0┆╞ ****╞ inc. of Head-pool not possible : <no>↲ ╞ ╞ ┆84┆It was not possible to increment the number of buffers ↓ ┆19┆┆93┆┄┄in head_pool. <no> indicates the number of buffers, ↓ ┆19┆┆93┆┄┄which the pool already is initialized with.↲ ╞ ╞ Fatal, dte.↲ ↲ ┆b0┆╞ ****╞ inc. of Smess-pool not possible : <no>↲ ╞ ╞ ┆84┆It was not possible to increment the number of buffers ↓ ┆19┆┆93┆┄┄in supmesspool. <no> is the number of buffers, which ↓ ┆19┆┆93┆┄┄the pool already is initialized with.↲ ╞ ╞ Fatal, dte.↲ ↲ ┆b0┆╞ ****╞ init of Big-pool not possible : <no>↲ ╞ ╞ ┆84┆Initialization of bigpool (big input buffers see subsec┄↓ ┆19┆┆93┆┄┄tion 4.1.3) with the required number of buffers is not ↓ ┆19┆┆93┆┄┄pos┄sible. <no> is the number of buffers from initpool.↲ ╞ ╞ Fatal, dte.↲ ↲ ┆b0┆╞ ****╞ init of Chres-pool not possible : <no>↲ ╞ ╞ ┆84┆Initialization of ch_res_pool (channel restart messages) ↓ ┆19┆┆93┆┄┄with dte_conf_rec.max_chan buffers not possible. <no> is ↓ ┆19┆┆93┆┄┄the number of buffers from initpool.↲ ╞ ╞ Fatal, dte.↲ ↲ ┆b0┆╞ ****╞ init of Event-pool not possible : <no>↲ ╞ ╞ ┆84┆Initialization of event_pool (own internal event buf┄↓ ┆19┆┆93┆┄┄fers) with pool_conf_rec.eventbuf_no number of buffers ↓ ┆19┆┆93┆┄┄is not possible. <no> is the number of buffers from ↓ ┆19┆┆93┆┄┄initpool.↲ ╞ ╞ Fatal, dte.↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆╞ ****╞ init of HDLC event not possible : <no>↲ ╞ ╞ ┆84┆Initialization of hdlc_ev_pool (hdlc event pool) with ↓ ┆19┆┆93┆┄┄pool_conf_rec.hdlc_eventno number of buffers is not ↓ ┆19┆┆93┆┄┄possible. <no> is the number of buffers from initpool.↲ ╞ ╞ Fatal, dte.↲ ↲ ┆b0┆╞ ****╞ init of ┆a1┆┆e1┆H┆e1┆eader-pool not possible : <no>↲ ╞ ╞ ┆84┆Initialization of head_pool with the required number of ↓ ┆19┆┆93┆┄┄buffers is not possible. <no> is the required number, ↓ ┆19┆┆93┆┄┄pool_conf_rec.suphead_no.↲ ╞ ╞ Fatal, dte.↲ ↲ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ↓ ┆b0┆╞ ****╞ init of Small-pool not possible : <no>↲ ╞ ╞ ┆84┆Initialization of smallpool (small input buffers see ↓ ┆19┆┆93┆┄┄sub┄section 4.1.3) with the required numbers of buffers ↓ ┆19┆┆93┆┄┄is not possible. <no> is the number of buffers from ↓ ┆19┆┆93┆┄┄init┄pool.↲ ╞ ╞ Fatal, dte.↲ ↲ ┆b0┆╞ ****╞ init of Smess-pool not possible : <no>↲ ╞ ╞ ┆84┆Initialization of supmesspool with the required number ↓ ┆19┆┆93┆┄┄of buffers is not possible. <no> is the required number, ↓ ┆19┆┆93┆┄┄pool_conf_rec.supmess_no.↲ ╞ ╞ Fatal, dte.↲ ↲ ┆b0┆╞ ****╞ init of Sync-pool not possible : <no>↲ ╞ ╞ ┆84┆Initialization of sync_pool with dte_conf_rec.max_chan ↓ ┆19┆┆93┆┄┄buffers not possible. <no> is the number of buffers from ↓ ┆19┆┆93┆┄┄initpool.↲ ╞ ╞ Fatal, dte.↲ ↲ ┆b0┆╞ ****╞ init of X.25-pool not possible : <no>↲ ╞ ╞ ┆84┆Initialization of x25pool (X.25 control output buffers ↓ ┆19┆┆93┆┄┄see subsection 4.1.3) with the required number of buf┄↓ ┆19┆┆93┆┄┄fers is not possible. <no> is the number of buffers from ↓ ┆19┆┆93┆┄┄in┄itpool.↲ ╞ ╞ Fatal, dte.↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆╞ ****╞ link of <name> not possible : <no>↲ ╞ ╞ ┆84┆It was not possible to link the <name> process. <no> is ↓ ┆19┆┆93┆┄┄the result from the call of link.↲ ↲ ╞ ╞ <name> are:↲ ╞ ╞ DTE ACC╞ fatal↲ ╞ ╞ DTE CHAN╞ fatal↲ ╞ ╞ DTE HREC fatal↲ ╞ ╞ DTE LCN0╞ fatal↲ ╞ ╞ DTE POOLH fatal↲ ╞ ╞ DTE SNOOP╞ warning↲ ╞ ╞ DTE TEST╞ warning↲ ╞ ╞ OUTTRACE╞ warning↲ ╞ ╞ TRACE╞ warning↲ ╞ ╞ Fatal/warning, dte.↲ ↲ ┆b0┆╞ ****╞ local user address length greater than max_u_adr: <no>↲ ╞ ╞ ┆84┆Max_u_adr = 5. <no> is the value of dte_conf_rec.u┄↓ ┆19┆┆93┆┄┄ser_length.↲ ╞ ╞ Fatal, dte.↲ ↲ ╞ ┆b0┆****╞ local user address length negative: <no>↲ ╞ ╞ ┆84┆The user address may not be negative. <no> is the actual ↓ ┆19┆┆93┆┄┄value.↲ ╞ ╞ Fatal, dte.↲ ↲ ┆b0┆╞ ****╞ ┆84┆max chan to big. Recompile with new value of m_max_chan. ↓ ┆19┆┆93┆┆81┆┆82┆┆b0┆Cur = <no>↲ ╞ ╞ ┆84┆The default parameter dte_conf_rec.max_chan greater than ↓ ┆19┆┆93┆┄┄the maximum number of channels (m_max_chan). <no> is the ↓ ┆19┆┆93┆┄┄current value of m_max_chan.↲ ╞ ╞ Fatal, dte.↲ ↲ ╞ ┆b0┆****╞ max window size: <mw>↲ ╞ ╞ ┆b0┆smaller than default window size: <dw>↲ ╞ ╞ ┆84┆The indicated max window size is to small, <mw> and <dw> ↓ ┆19┆┆93┆┄┄are the actual values.↲ ╞ ╞ Fatal, dte.↲ ↲ ┆8c┆┄┆a7┆↓ ╞ ┆b0┆****╞ max window size to big: <mw>↲ ╞ ╞ ┆84┆Max window size greater than 7, <mw> is the actual ↓ ┆19┆┆93┆┄┄value.↲ ╞ ╞ Fatal, dte.↲ ↲ ╞ ┆b0┆****╞ NCP busy, function : <no>↲ ╞ ╞ ┆84┆The NCP has returned a message with u2 = 'busy'. <no> is ↓ ┆19┆┆93┆┄┄the operation code (u1) of the message.↲ ╞ ╞ Warning, dte.↲ ↲ ┆b0┆╞ ****╞ no HDLC connect buffer.↲ ╞ ╞ No buffer in hdlc_pool.↲ ╞ ╞ Fatal, dte.↲ ↲ ┆b0┆╞ ****╞ not all buffers released, remaining : <no>↲ ╞ ╞ ┆84┆After removed of the TRACE system, all trace buffers was ↓ ┆19┆┆93┆┄┄not released. <no> is the number of missing buffers.↲ ╞ ╞ Warning, dte.↲ ↲ ┆b0┆╞ ****╞ not enough pickups to internal snoop↲ ╞ ╞ ┆84┆The default value max_pickups was to small (<max_chan) ↓ ┆19┆┆93┆┄┄to perform any internal snoop.↲ ╞ ╞ Warning, dte.↲ ↲ ┆b0┆╞ ****╞ not message in u2 : <no>↲ ╞ ╞ ┆84┆A message with u2 <> '7' is received from the dte pro┄↓ ┆19┆┆93┆┄┄cess. Actual value is <no>.↲ ╞ ╞ Warning, dte_lcnzero.↲ ↲ ┆b0┆╞ ****╞ not possible to connect to the NCP : <no>↲ ╞ ╞ ┆84┆A ┆b0┆connect_lcp ┆f0┆message is returned from the NCP with u2 ↓ ┆19┆┆93┆┆81┆┄<> 'ok'. <no> is the returned u2 value.↲ ╞ ╞ Warning, dte.↲ ↲ ╞ ┆b0┆****╞ own address length negative: <no>↲ ╞ ╞ ┆84┆Own address length may not be negative, <no> is the ↓ ┆19┆┆93┆┄┄actual value.↲ ╞ ╞ Fatal, dte.↲ ↲ ┆8c┆┄┆a7┆↓ ┆b0┆╞ ****╞ only snoop of main semaphores↲ ╞ ╞ ┆84┆The default value max_pickups (netenv appendix B.1), was ↓ ┆19┆┆93┆┄┄too small for snoop of both main- and sync sema┄phores of ↓ ┆19┆┆93┆┄┄the dte_chan process incarnations.↲ ╞ ╞ Warning, dte.↲ ↲ ┆b0┆╞ ****╞ state table error. Received mess : <no>↲ ╞ ╞ ┆84┆The message received (opcode = <no>) provokes a state ↓ ┆19┆┆93┆┄┄table error.↲ ╞ ╞ Fatal, dte_lcnzero.↲ ↲ ╞ ┆b0┆****╞ ┆84┆sum of own address length and user length greater than ↓ ┆19┆┆93┆┆81┆┆82┆14↲ ╞ ╞ ┆b0┆own address length: <no>↲ ╞ ╞ ┆b0┆user length : <no1>↲ ╞ ╞ ┆84┆Own dte address length and subaddress length are to big ↓ ┆19┆┆93┆┄┄to fit into the defined length dte_addr_length (=14). ↓ ┆19┆┆93┆┄┄<no> and <no1> are the actual values.↲ ╞ ╞ Fatal, dte.↲ ↲ ┆b0┆╞ ****╞ supmess pool empty↲ ╞ ╞ ┆84┆The supervisor message pool (restart- and diagnostic in┄↓ ┆19┆┆93┆┄┄dications) is empty.↲ ╞ ╞ Fatal, dte_lcnzero.↲ ↲ ┆b0┆╞ ****╞ supmess pool only init with : <no>↲ ╞ ╞ ┆84┆Initialization error with supmess_pool. <no> is the num┄↓ ┆19┆┆93┆┄┄ber of buffers, the pool is initialized with.↲ ╞ ╞ Warning, dte_lcnzero.↲ ↲ ┆b0┆╞ ****╞ unexpected DTE LCN0 result↲ ╞ ╞ ┆84┆A ┆b0┆restart_start ┆f0┆message is returned from dte_lcnzero ↓ ┆19┆┆93┆┆81┆┄with unexpected u2 value. ┆b0┆This error message is preceded ↓ ┆19┆┆93┆┆82┆┆82┆by a print of the message fields.↲ ╞ ╞ Fatal, dte.↲ ↲ ┆b0┆╞ ****╞ unexpected HDLC event result : <no>↲ ╞ ╞ ┆84┆An HDLC event buffer is returned with an unexpected u2 ↓ ┆19┆┆93┆┄┄value (<no>).↲ ╞ ╞ Warning, dte.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆╞ ****╞ unexpected HDLC result : <no>↲ ╞ ╞ ┆84┆An HDLC driver operation is returned with an unexpected ↓ ┆19┆┆93┆┄┄u2 value (<no>).↲ ╞ ╞ Fatal, dte.↲ ↲ ┆b0┆╞ ****╞ unexpected HDLC result (1,12) on mess : <no>↲ ╞ ╞ ┆84┆The HDLC operation <no> is returned with either result 1 ↓ ┆19┆┆93┆┄┄(driver temporary removed) or 12 (line speed measure┄↓ ┆19┆┆93┆┄┄ment).↲ ╞ ╞ Fatal, dte.↲ ↲ ┆b0┆╞ ****╞ unexpected HDLC result (8) on mess : <no>↲ ╞ ╞ ┆84┆The HDLC operation <no> is returned with result 8 (line ↓ ┆19┆┆93┆┄┄allready connected).↲ ╞ ╞ Fatal, dte.↲ ↲ ┆b0┆╞ ****╞ unexpected NCP result↲ ╞ ╞ ┆84┆An NCP operation is returned with an unexpected u2 val┄↓ ┆19┆┆93┆┄┄ue. ┆b0┆This error message is preceded by a print of the ↓ ┆19┆┆93┆┆81┆┆82┆message fields.↲ ╞ ╞ Fatal, dte.↲ ↲ ┆b0┆╞ ****╞ unexpected result in sup message↲ ╞ ╞ ┆84┆A dte (supervisor) message is received with an unexpec┄↓ ┆19┆┆93┆┄┄ted result. ┆b0┆This error message is preceded by a print of ↓ ┆19┆┆93┆┆81┆┆82┆the message fields.↲ ╞ ╞ Warning, dte.↲ ↲ ┆b0┆╞ ****╞ unexpected sup result : <no>↲ ╞ ╞ ┆84┆A dte_lcnzero message is returned with an unexpected u2 ↓ ┆19┆┆93┆┄┄value (<no>).↲ ╞ ╞ Fatal, dte_lcnzero.↲ ↲ ┆b0┆╞ ****╞ unexpected TIMER result : <no>↲ ╞ ╞ ┆84┆A timer request is returned with an unexpected u2 value ↓ ┆19┆┆93┆┄┄(<no>).↲ ╞ ╞ Fatal, dte_lcnzero.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆╞ ****╞ unexpected u3 value in p_active : <no>↲ ╞ ╞ ┆84┆A ┆b0┆sync_mess ┆f0┆is received with an unexpected u3 value ↓ ┆19┆┆93┆┆81┆┄(<no>) in state p_active.↲ ╞ ╞ Fatal, dte.↲ ↲ ┆b0┆╞ ****╞ unexpected u3 value in p_restart : <no>↲ ╞ ╞ ┆84┆A ┆b0┆sync_mess ┆f0┆is received with an unexpected u3 value ↓ ┆19┆┆93┆┆81┆┄(<no>) in state p_restart.↲ ╞ ╞ Fatal, dte.↲ ↲ ┆b0┆╞ ****╞ unexpected u3 value in p_stopping : <no>↲ ╞ ╞ ┆84┆A ┆b0┆sync_mess ┆f0┆is received with an unexpected u3 value ↓ ┆19┆┆93┆┆81┆┄(<no>) in state p_stopping.↲ ╞ ╞ Fatal, dte.↲ ↲ ┆b0┆╞ ****╞ unknown message from DTE┆a1┆┆e1┆_LCN0↲ ╞ ╞ ┆84┆A message with an unknown operation code (u1 value) is ↓ ┆19┆┆93┆┄┄received from the dte_lcnzero process. ┆b0┆This error messa┄↓ ┆19┆┆93┆┆81┆┆82┆ge is preceded by a print of the message fields.↲ ╞ ╞ Warning, dte.↲ ↲ ┆b0┆╞ ****╞ unknown process id↲ ╞ ╞ ┆84┆A message is received with an unknown u4 value. ┆b0┆This ↓ ┆19┆┆93┆┆81┆┆82┆error message is preceded by a print of the message ↓ ┆19┆┆93┆┆81┆┆82┆fields.↲ ╞ ╞ Warning, dte/dte_lcnzero.↲ ↲ ┆b0┆╞ ****╞ X.25 data packet length negative : <no>↲ ╞ ╞ ┆84┆<no> is the value of dte_conf_rec.x25_datasize.↲ ╞ ╞ Fatal, dte.↲ ↲ ┆b0┆╞ ****╞ ┆84┆X.25 trace stopped caused by exception incarnation ↓ ┆19┆┆93┆┆81┆┆82┆<name>↲ ╞ ╞ ┆b0┆DTETRACE version: <no>↲ ╞ ╞ ┆84┆┆84┆An exception in a dtetrace process (version <no>) has ↓ ┆19┆┆93┆┄┄occured. The TRACE system is removed.↲ ╞ ╞ Warning, dte.↲ ↲ ↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆╞ ****╞ WARNING: HDLC driver and internal state error : <no>↲ ╞ ╞ ┆84┆The line state in the HDLC driver and internal in the ↓ ┆19┆┆93┆┄┄DTE does not correspond. <no> is the value of the inter┄↓ ┆19┆┆93┆┄┄nal line state.↲ ╞ ╞ Warning, dte.↲ ↲ ↲ ┆a1┆5.2╞ Error Messages from error_report and trace.↲ ↲ ╞ ┆84┆In case ┆b0┆error_report ┆f0┆is used to produce error messages the struc┄↓ ┆19┆┆89┆┆81┆┄ture of a message is↲ ↲ ┆b0┆╞ trace╞ ╞ excode = AABB╞ called from error_report↲ ╞ maybe followed by↲ ┆b0┆╞ trace╞ ╞ excode = 00u1╞ called from error_report↲ ┆b0┆╞ trace╞ ╞ excode = 00u2╞ called from error_report↲ ┆b0┆╞ trace╞ ╞ excode = 00u3╞ called from error_report↲ ┆b0┆╞ trace ╞ ╞ excode = 00u4╞ called from error_report↲ ╞ and maybe at last↲ ┆b0┆╞ trace ╞ ╞ excode = 0001╞ called from panic↲ ↲ ╞ The values of the excode's are↲ ╞ AA = process version number↲ ╞ BB = different information↲ ╞ u1 = u1 value of a possible message↲ ╞ u2 = u2 value of a possible message↲ ╞ u3 = u3 value of a possible message↲ ╞ u4 = u4 value of a possible message↲ ↲ ╞ ┆84┆The second to fifth trace do only appear, if a message is invol┄↓ ┆19┆┆89┆┄┄ved in the error and the last trace is only to provoke a process ↓ ┆19┆┆89┆┄┄exit (exception).↲ ↲ ╞ ┆84┆The interpretation of the traces is not simple. It requires an ↓ ┆19┆┆89┆┄┄source listning, because no number is given to the individual er┄↓ ┆19┆┆89┆┄┄rors.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ┆84┆This print procedure is followed in the processes:↲ ╞ dte_access, dte_chan, dte_hrec and dte_lcnzero.↲ ↲ ╞ ┆84┆If a trace with excode = 00FF occures it is an indication of, that ↓ ┆19┆┆89┆┄┄in the exception procedure (in dte, dte_chan, dte_lcnzero) no in┄↓ ┆19┆┆89┆┄┄ternal testbuffer was empty, so no copy of the internal testarea ↓ ┆19┆┆89┆┄┄is performed.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ «index» formatlinie til RC manualer↲ ┆14┆┆b3┆↲ ┆14┆┆b3┆┆06┆- ┆0b┆ -↲ ┆a1┆6.╞ TRACE AND DEBUG TOOLS.↲ ↲ ╞ ┆84┆At runtime several possibilities exists to see what is happening ↓ ┆19┆┆89┆┄┄either inside the DTE System or on the communication line.↲ ↲ ╞ ┆84┆dtetrace (section 6.1) is used to trace the X.25 level 3 communi┄↓ ┆19┆┆89┆┄┄cation on the console, dtetest (section 6.2) is used to control ↓ ┆19┆┆89┆┄┄internal test of 3 processes (dte, dte_lcnzero, and dte_chanxxx), ↓ ┆19┆┆89┆┄┄and generation of dte_access test messages, and some messages on ↓ ┆19┆┆89┆┄┄the console, and dtesnoop (section 6.3) is used to snoop messages ↓ ┆19┆┆89┆┄┄received at the main and synchronization semaphores of the ↓ ┆19┆┆89┆┄┄dte_chan process.↲ ↲ ╞ ┆84┆This three systems are ┆b0┆not mandatory┆f0┆ for normal run of the DTE mo┄↓ ┆19┆┆89┆┆81┆┄dule. They can be outmitted at link time (see subsection 7.3.2).↲ ↲ ↲ ┆a1┆6.1╞ Trace System.↲ ↲ ╞ ┆84┆As mentioned above the trace system is used to print the X.25 ↓ ┆19┆┆89┆┄┄level 3 communication on the console. The system consists of 2 ↓ ┆19┆┆89┆┄┄processes (dtetrace and outtrace), three external procedures ↓ ┆19┆┆89┆┄┄(init_trace, end_trace, and tracing) and a buffer pool (trace_buf) ↓ ┆19┆┆89┆┄┄of the type specified in subsection 4.1.3.↲ ↲ ╞ ┆84┆In the following four subsections an overview and a short descrip┄↓ ┆19┆┆89┆┄┄tion of the system are given. Furthermore the output on the con┄↓ ┆19┆┆89┆┄┄sole is explained.↲ ↲ ↲ ┆a1┆6.1.1╞ Process Overview and Operation.↲ ↲ ╞ ┆84┆In figure 42 the trace messages flow are outlined together with an ↓ ┆19┆┆89┆┄┄indication of where the X.25 level 3 communication are traced ↓ ┆19┆┆89┆┄┄(i.e. in which processes the in-/output buffers are copied.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 42: Message flow in the trace system.↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ┆84┆As indicated in figure 42 the output flow are traced in the pro┄↓ ┆19┆┆89┆┄┄cess outtrace and the input flow in dte_hrec.↲ ↲ ╞ ┆84┆The trace system may be in three states:↲ ↲ ╞ 1) removed↲ ╞ 2) created and not active↲ ╞ 3) created and active.↲ ↲ ┆84┆╞ ┆84┆Only in the last state the copy of data buffers will be performed, ↓ ┆19┆┆89┆┄┄and only in the last two states the data flow will pass through ↓ ┆19┆┆89┆┄┄the process outtrace.↲ ↲ ╞ ┆84┆The states of the system can be changed dynamicly using an LCP ↓ ┆19┆┆89┆┄┄operation (DTE 53,0). The state is indicated using two boolean va┄↓ ┆19┆┆89┆┄┄riables (in process dte).↲ ↲ ╞ _____________________________________________________↲ ╞ ! trace_run ! ┆82┆false┆81┆ ! ┆82┆true┆81┆ !↲ ╞ ! ! ! !↲ ╞ ┆a1┆! trace_on ! ! !↲ ! ┆82┆false┆81┆ ! ┆82┆removed┆81┆ ! created and !↲ ╞ ┆a1┆!┆a1┆ ! ! not active !↲ ╞ ! ┆82┆true┆81┆ ! ! created and !↲ ╞ ┆a1┆! ! ! active !↲ ↲ ╞ Table 8: State variables of the trace system.↲ ↲ ╞ ┆84┆Whenever the variable trace_on changes from false to true or oppo┄↓ ┆19┆┆89┆┄┄site, it is indicated on the console (format and text please see ↓ ┆19┆┆89┆┄┄subsection 6.1.4) using the external procedures ┆b0┆init_trace┆f0┆ and ↓ ┆19┆┆89┆┆81┆┄┆b0┆end_trace┆f0┆. The copying process of data in-/output is performed us┄↓ ┆19┆┆89┆┆82┆┄ing the external procedure ┆b0┆tracing┆f0┆. All three procedures are exp┄↓ ┆19┆┆89┆┆83┆┄lained in subsection 4.1.2.5.↲ ↲ ╞ ┆84┆Whenever a trace buffer is outfilled (either by ┆b0┆init_trace, ↓ ┆19┆┆89┆┆81┆┆82┆end_trace┆f0┆ or ┆b0┆tracing┆f0┆) it is returned (in the procedure) to the ↓ ┆19┆┆89┆┆82┆┄main semaphore of the dtetrace process.↲ ↲ ┆8c┆┄┆a7┆↓ ╞ ┆84┆In the dtetrace process the data are time stamped and formatted ↓ ┆19┆┆89┆┄┄according to a standard format and operator defined parameters ↓ ┆19┆┆89┆┄┄(subsection 6.1.3), put in a standard zone output buffer and this ↓ ┆19┆┆89┆┄┄buffer is signalled to the operator process. The trace buffer is ↓ ┆19┆┆89┆┄┄then returned to the common pool trace_buf.↲ ↲ ╞ ┆84┆The two processed constituting the trace system has the following ↓ ┆19┆┆89┆┄┄process heads.↲ ↲ ╞ ┆b0┆PROCESS dte_trace (↲ ╞ opsem╞ : sempointer;↲ ╞ VAR trace_ptr : ! tap_pointer;↲ ╞ VAR trace_buf : ph_type;↲ ╞ VAR break_sem : semaphore;↲ ╞ console_out : boolean↲ ╞ );↲ ↲ ┆b0┆╞ PROCESS out_trace (↲ ╞ VAR in_ptr : ! tap_pointer;↲ ╞ VAR hdlc_sem : ! sempointer;↲ ╞ VAR trace_buf : ph_type;↲ ╞ VAR trace_on : ! boolean↲ ╞ );↲ ↲ ╞ opsem╞ ╞ : ┆84┆Pointer to the main semaphore of the opera┄↓ ┆19┆┆9f┆┄┄tor process.↲ ↲ ╞ trace_ptr╞ ╞ : ┆84┆Main semaphore pointer of the dtetrace pro┄↓ ┆19┆┆9f┆┄┄cess.↲ ↲ ╞ trace_buf╞ ╞ : Trace buffer pool.↲ ↲ ╞ break_sem╞ ╞ : ┆84┆Semaphore holding the break message used in ↓ ┆19┆┆9f┆┄┄the exception procedure.↲ ↲ ╞ console_out╞ : ┆84┆If true the version id is printed on the ↓ ┆19┆┆9f┆┄┄console at process start↲ ↲ ╞ in_ptr╞ ╞ : ┆84┆Main semaphore pointer of the outtrace pro┄↓ ┆19┆┆9f┆┄┄cess.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ hdlc_sem╞ ╞ : Semaphore pointer to the HDLCLCP.↲ ↲ ╞ trace_on╞ ╞ : ┆84┆Boolean indicating whether the X.25 packet ↓ ┆19┆┆9f┆┄┄flow shall be traced (true) or not (false). ↓ ┆19┆┆9f┆┄┄Changed dynamicly by the dte process.↲ ↲ ↲ ┆a1┆6.1.2╞ External Communication.↲ ↲ ╞ ┆84┆For operator communication standard RTP input/output zones (ref. ↓ ┆19┆┆89┆┄┄(15)) are used. The format of a trace buffer is described below. A ↓ ┆19┆┆89┆┄┄trace buffer is only generated in one of the tracing procedures ↓ ┆19┆┆89┆┄┄(subsection 4.1.2.5).↲ ↲ ╞ ┆a1┆┆b0┆Message name┆e1┆: timeread↲ ↲ ╞ ┆a1┆Message format┆e1┆:↲ ╞ ╞ message sent╞ ╞ answer recv.↲ ╞ u1╞ ╞ 1╞ ╞ unch↲ ╞ u2╞ ╞ 7╞ ╞ 0↲ ╞ u3╞ ╞ -╞ ╞ 0↲ ╞ u4╞ ╞ -╞ ╞ unch↲ ↲ ╞ buf╞ ╞ -╞ ╞ delaytype↲ ↲ ╞ delaytype is defined in the standard environment.↲ ↲ ╞ ┆a1┆Function┆e1┆:↲ ↲ ╞ ┆84┆The dtetrace process requests the timer process to return the cur┄↓ ┆19┆┆89┆┄┄rent time and date. These are used to time stamp the console out┄↓ ┆19┆┆89┆┄┄put.↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆╞ ┆a1┆Message name┆e1┆: trace_init↲ ↲ ╞ ┆a1┆Message format┆e1┆:↲ ╞ ╞ message recv.↲ ╞ u1╞ ╞ 2↲ ╞ u2╞ ╞ -↲ ╞ u3╞ ╞ -↲ ╞ u4╞ ╞ -↲ ↲ ╞ buf╞ ╞ -↲ ↲ ╞ ┆a1┆Function┆e1┆:↲ ↲ ╞ ┆84┆The message indicates, that the level 3 trace has been started. ↓ ┆19┆┆89┆┄┄Start identification (see subsection 6.1.4) including date and ↓ ┆19┆┆89┆┄┄time is printed on the console.↲ ↲ ┆b0┆╞ ┆a1┆Message name┆e1┆: trace_end↲ ↲ ╞ ┆a1┆Message format┆e1┆:↲ ╞ ╞ message recv.↲ ╞ u1╞ ╞ 4↲ ╞ u2╞ ╞ -↲ ╞ u3╞ ╞ -↲ ╞ u4╞ ╞ -↲ ↲ ╞ buf╞ ╞ -↲ ↲ ╞ ┆a1┆Function┆e1┆:↲ ↲ ╞ ┆84┆The message indicates, that the level 3 trace has been stopped. ↓ ┆19┆┆89┆┄┄Stop identification (see subsection 6.1.4) including date and time ↓ ┆19┆┆89┆┄┄is printed on the console.↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆╞ ┆a1┆Message name┆e1┆: trace_data↲ ↲ ╞ ┆a1┆Message format┆e1┆:↲ ╞ ╞ message recv.↲ ╞ u1╞ ╞ 3↲ ╞ u2╞ ╞ -↲ ╞ u3╞ direction↲ ╞ u4╞ ╞ -↲ ↲ ╞ buf╞ trace_buf_type↲ ↲ ╞ trace_buf_type = record↲ ╞ ╞ ╞ first, last, next : integer;↲ ╞ ╞ ╞ x25_packet : x25_packet_type;↲ ╞ ╞ ╞ end;↲ ↲ ╞ x25_packet_type is the copied X.25 packet.↲ ↲ ╞ ┆a1┆Function┆e1┆:↲ ↲ ╞ ┆84┆The received message contains an X.25 packet, which is decoded us┄↓ ┆19┆┆89┆┄┄ing the procedure ┆b0┆dec_x25┆f0┆ (see subsection 4.1.2.1). The result ↓ ┆19┆┆89┆┆81┆┄from this decoding together with the time and direction (received ↓ ┆19┆┆89┆┆81┆┄= 0, sent = 1) is formatted and printed on the console (see sub┄↓ ┆19┆┆89┆┆81┆┄section 6.1.4).↲ ↲ ┆b0┆╞ ┆a1┆Message name┆e1┆: trace_error↲ ↲ ╞ ┆a1┆Message format┆e1┆:↲ ╞ ╞ message recv.↲ ╞ u1╞ ╞ 5↲ ╞ u2╞ ╞ -↲ ╞ u3╞ ╞ -↲ ╞ u4╞ error_type↲ ↲ ╞ buf -↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ┆a1┆Function┆e1┆:↲ ↲ ╞ ┆84┆An error in one of the trace procedures has occured. At the moment ↓ ┆19┆┆89┆┄┄only one error has been identified (copy error in tracing, ↓ ┆19┆┆89┆┄┄error_type = 1). An identification of the error is printed on the ↓ ┆19┆┆89┆┄┄console.↲ ↲ ↲ ┆a1┆6.1.3╞ Operator Commands.↲ ↲ ╞ ┆84┆As mentioned in subsection 6.1.1 the operator can set parameters ↓ ┆19┆┆89┆┄┄de┄fining some of the format for the trace output. The following ↓ ┆19┆┆89┆┄┄com┄mands are available:↲ ↲ ┆b0┆╞ data yes no ╞ ┆f0┆: ┆84┆If the option is yes, the user data field of ↓ ┆19┆┆9f┆┆81┆┄an X.25 DATA packet is printed on the next ↓ ┆19┆┆9f┆┆81┆┄line in either ascii or hexadecimal format. ↓ ┆19┆┆9f┆┆81┆┄If the option is no the data is not printed. ↓ ┆19┆┆9f┆┆81┆┄┆b0┆Default : no.↲ ↲ ┆b0┆╞ call yes no╞ ┆f0┆: ┆84┆If the option is yes, the address fields and ↓ ┆19┆┆9f┆┆81┆┄facility fields of CALL REQUEST and INCOM┄↓ ┆19┆┆9f┆┆81┆┄ING CALL are printed on the next line in ↓ ┆19┆┆9f┆┆81┆┄either ascii or hexadecimal format. If the ↓ ┆19┆┆9f┆┆81┆┄option is no, no extra fields are printed.↲ ╞ ╞ ╞ ┆b0┆Default : no.↲ ↲ ┆b0┆╞ diag yes no╞ ┆f0┆: ┆84┆If the option is yes, the DIAGNOSTIC expla┄↓ ┆19┆┆9f┆┆81┆┄nation field is printed on the next line in ↓ ┆19┆┆9f┆┆81┆┄either ascii or hexadecimal format. If the ↓ ┆19┆┆9f┆┆81┆┄option is no, the field is not printed.↲ ╞ ╞ ╞ ┆b0┆Default : no.↲ ↲ ┆b0┆╞ hex╞ ╞ ┆f0┆: ┆84┆The print format is changed to hexadecimal. ↓ ┆19┆┆9f┆┆81┆┄┆b0┆Default format.↲ ↲ ╞ ┆b0┆ascii╞ ╞ ┆f0┆: ┆84┆The print format is changed to ascii.↲ ╞ ╞ ╞ ┆b0┆Not default format.↲ ↲ ┆8c┆┄┆a7┆↓ ╞ ┆84┆If an error occurs in the commands the dtetrace process answers ↓ ┆19┆┆89┆┄┄with:↲ ↲ ╞ ┆a1┆┆e1┆ ┆b0┆**** WHAT ?↲ ↲ ↲ ┆a1┆6.1.4╞ Traceoutput Description.↲ ↲ ╞ ┆84┆In this subsection the fields of a trace are explained and in ap┄↓ ┆19┆┆89┆┄┄pendix D.1 an example of a trace is shown.↲ ↲ ╞ ┆84┆When the trace system is activate the following line is printed:↲ ↲ ╞ ┆a1┆┆e1┆ ┆b0┆*** X.25 trace initialized at <date and time>↲ ↲ ╞ and at deactivation:↲ ↲ ╞ ┆a1┆┆e1┆ ┆b0┆*** trace stopped at <date and time>↲ ↲ ╞ ┆84┆Each line in between these two has the following format:↲ ↲ ╞ <time>╞ ╞ : Time stamp.↲ ↲ ╞ recv/send╞ : Direction of flow (input/output).↲ ↲ ╞ <packet id>╞ : Packet type (e.g. data, rr, reset req).↲ ↲ ╞ LCN = <no>╞ : Logical channel number.↲ ↲ ╞ qdm=<no> / -d-=<no> : ┆84┆The values of the q-, d-, and m- bits if ↓ ┆19┆┆9f┆┄┄they are included in the packet format.↲ ↲ ╞ PS = <no>╞ ╞ : ┆84┆Send sequence number if included in the pac┄↓ ┆19┆┆9f┆┄┄ket format.↲ ↲ ╞ PR = <no>╞ ╞ : ┆84┆Acknowledge sequence number (next expected) ↓ ┆19┆┆9f┆┄┄if included in the packet format.↲ ↲ ╞ octet 4 = <no>╞ : If included in the packet format.↲ ↲ ┆8c┆┄┆a8┆↓ ╞ octet 5 = <no>╞ : If included in the packet format.↲ ↲ ╞ size ╞ ╞ : ┆84┆The length of the packet incl. the X.25 head if ↓ ┆19┆┆9f┆┄┄the packet is either a CALL REQUEST, INCOM┄↓ ┆19┆┆9f┆┄┄ING CALL, CALL ACCEPTED, CALL CONNECTED, ↓ ┆19┆┆9f┆┄┄DIAGNOSTIC or DATA.↲ ↲ ╞ ┆84┆If the user data field of the packet is printed (see subsection ↓ ┆19┆┆89┆┄┄6.1.3) this will occure on the next line.↲ ↲ ╞ ┆84┆The following error texts may occure in connection with the trace ↓ ┆19┆┆89┆┄┄system.↲ ↲ ╞ ┆a1┆┆e1┆ ┆b0┆ >>>> packet smaller than 3 bytes↲ ↲ ↲ ╞ ┆a1┆┆e1┆ ┆b0┆ >>> packet format error↲ ↲ ↲ ╞ ┆a1┆┆e1┆ ┆b0┆>>> unknown packet type↲ ↲ ↲ ╞ ┆a1┆┆e1┆ ┆b0┆ >>> trace buffer copy error↲ ↲ ↲ ╞ ┆a1┆┆e1┆ ┆b0┆ >>> unknown trace opcode↲ ↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆6.2╞ Internal Test System.↲ ↲ ╞ ┆84┆A possibility exists to generate internal test records in the ↓ ┆19┆┆89┆┄┄three dte processes: dte, dte_lnczero, dte_chanxxx, and to 'read' ↓ ┆19┆┆89┆┄┄variables in the dte_access process. Furthermore information ↓ ┆19┆┆89┆┄┄concerning the status of the communication line may be printed on ↓ ┆19┆┆89┆┄┄the console. The link between the DTE Mo┄dule and the console/ope┄↓ ┆19┆┆89┆┄┄rator is the dtetest process. To maintain a DTE global timer a ↓ ┆19┆┆89┆┄┄dteclock process exists.↲ ↲ ╞ ┆84┆In the following four subsections an overview and short descrip┄↓ ┆19┆┆89┆┄┄tion of the system are given. Furthermore the input from / output ↓ ┆19┆┆89┆┄┄to the console are explained. ↲ ↲ ↲ ┆a1┆6.2.1╞ Process Overview and Operation.↲ ↲ ╞ ┆84┆As mentioned above the dtetest process is the link between the in┄↓ ┆19┆┆89┆┄┄ternal test generation and the console. In the three processes ↓ ┆19┆┆89┆┄┄dte, dte_lcnzero and dte_chanxxx testrecords are generated in the ↓ ┆19┆┆89┆┄┄procedure ┆b0┆otest┆f0┆, (triggered by certant events) and stored in ↓ ┆19┆┆89┆┆81┆┄an inter┄nal testarea of each process. Whenever this area is full, ↓ ┆19┆┆89┆┆81┆┄the pro┄cess tries to copy it to a testbuffer requested from the ↓ ┆19┆┆89┆┆81┆┄test se┄maphore. If it succed the area is cleared otherwise it is ↓ ┆19┆┆89┆┆81┆┄used cyclic.↲ ↲ ╞ ┆84┆The testbuffer is returned to the main semaphore of the dtetest ↓ ┆19┆┆89┆┄┄process. This process signals the buffer to the test semaphore if ↓ ┆19┆┆89┆┄┄not imme┄diatly print is required. If later on, a print is ↓ ┆19┆┆89┆┄┄requested, the dtetest process will search the test semaphore for ↓ ┆19┆┆89┆┄┄testbuffers from the required process, format the test records and ↓ ┆19┆┆89┆┄┄use a stand┄ard i/o zone to print the testrecords on the console.↲ ↲ ╞ ┆84┆As can be seen from this the testbuffers are used as a spooling ↓ ┆19┆┆89┆┄┄queue with a certant life time. The life time depends on the rate ↓ ┆19┆┆89┆┄┄by which testrecords are generated, the number of buffers, and how ↓ ┆19┆┆89┆┄┄many processes generating testrecords.↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ┆84┆In figure 43 the testmessage flow is outlined.↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 43: Message flow of testmessages.↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ┆84┆Whether a process shall generate testrecords or not depends on a ↓ ┆19┆┆89┆┄┄bit in the testbit record (┆b0┆test┆f0┆). Beside these bits the testbit ↓ ┆19┆┆89┆┆81┆┄record contains bits, which value indicate whether version infor┄↓ ┆19┆┆89┆┆81┆┄mation and information con┄cerning the status of the com┄mu┄nication ↓ ┆19┆┆89┆┆81┆┄line shall be printed or not. The test┄bit record is described ↓ ┆19┆┆89┆┆81┆┄below.↲ ↲ ╞ ┆84┆These last informations are printed directly from the dte process, ↓ ┆19┆┆89┆┄┄and at the time the event occurs. The bits controlling the prin┄↓ ┆19┆┆89┆┄┄ting cannot be set from the console via the dte┄test process, but ↓ ┆19┆┆89┆┄┄can be read.↲ ↲ ╞ test = packed array (1..8) of boolean;↲ ↲ ╞ ________________________↲ ╞ ┆a1┆┆e1┆ ┆a1┆ 1 2 3 4 5 6 7 8 ↲ ╞ ╞ ╞ line event printing↲ ╞ ╞ modem signals printing↲ ╞ ╞ level 3 restart printing↲ ╞ ╞ line state printing↲ ╞ ╞ version printing↲ ╞ dte_lcnzero test generation↲ ╞ dte_chan test generation↲ ╞ dte test generation.↲ ↲ ╞ ┆84┆If a bit is true the actions described will be performed, other┄↓ ┆19┆┆89┆┄┄wise nothing.↲ ↲ ┆b0┆╞ dte test generation╞ ┆f0┆: ┆84┆the dte process will generate in┄↓ ┆19┆┆a9┆┆81┆┄ternal testrecords↲ ↲ ╞ ┆b0┆dte_chan test generation╞ ┆f0┆: ┆84┆the dte_chan incarnations will ge┄↓ ┆19┆┆a9┆┆81┆┄nerate internal testrecords↲ ↲ ┆b0┆╞ dte_lcnzero test generation╞ ┆f0┆: ┆84┆the dte_lcnzero process will gene┄↓ ┆19┆┆a9┆┆81┆┄rate internal testrecords↲ ↲ ┆b0┆╞ version printing┆f0┆╞ ╞ : ┆84┆the dte, dtetest and dtetrace will ↓ ┆19┆┆a9┆┆81┆┄print version information on the ↓ ┆19┆┆a9┆┆81┆┄console at start time↲ ↲ ┆8c┆┄┆a9┆↓ ╞ ┆b0┆line state printing╞ ╞ ┆f0┆: ┆84┆the internal line state (see sub┄↓ ┆19┆┆a9┆┆81┆┄sec┄tion 4.2.2) and the line event ↓ ┆19┆┆a9┆┆81┆┄are printed every time an event ↓ ┆19┆┆a9┆┆81┆┄buffer is returned from the HDLC↲ ↲ ┆b0┆╞ level 3 restart printing╞ ┆f0┆: ┆84┆whenever the DTE performs an re┄↓ ┆19┆┆a9┆┆81┆┄start, the event causing the re┄↓ ┆19┆┆a9┆┆81┆┄start is printed↲ ↲ ┆b0┆╞ modem signals printing╞ ┆f0┆: ┆84┆if it is not possible to set the ↓ ┆19┆┆a9┆┆81┆┄modem signals (subsection 4.1.2.2) ↓ ┆19┆┆a9┆┆81┆┄pro┄perly, the value of the signals ↓ ┆19┆┆a9┆┆81┆┄are printed↲ ↲ ┆b0┆╞ line event printing╞ ╞ ┆f0┆: ┆84┆the received line event (from the ↓ ┆19┆┆a9┆┆81┆┄HDLC) is printed.↲ ↲ ╞ ┆84┆All the different texts and formats are outlined in subsection ↓ ┆19┆┆89┆┄┄6.2.4.↲ ↲ ╞ ┆84┆The individual bits in the testbit record can be changed using ↓ ┆19┆┆89┆┄┄either an LCP operation (DTE 52,0) or directly from the console. ↓ ┆19┆┆89┆┄┄The last possibility only includes bit 1, 2 and 3. The operator ↓ ┆19┆┆89┆┄┄commands are explained in subsection 6.2.3.↲ ↲ ╞ ┆84┆An internal test (e.g. in dte) can be started/stopped by setting ↓ ┆19┆┆89┆┄┄the appropriate bit to true/false respectively. This action only ↓ ┆19┆┆89┆┄┄starts or stops the ┆a1┆generation┆e1┆ of testrecords, nothing is printed ↓ ┆19┆┆89┆┄┄on the console. In order to get the formatted testrecords, the op┄↓ ┆19┆┆89┆┄┄erator has to issue the command '┆b0┆print┆f0┆', while the test still is ↓ ┆19┆┆89┆┆81┆┄active. This command will starts the printing of the testrecords ↓ ┆19┆┆89┆┆81┆┄on the console and will continue until (and include) the next buf┄↓ ┆19┆┆89┆┆81┆┄fer of the specified process type is received by the dtetest pro┄↓ ┆19┆┆89┆┆81┆┄cess.↲ ↲ ╞ ┆84┆An other possibility is to set the dtetest process in the mode ↓ ┆19┆┆89┆┄┄'┆b0┆running┆f0┆', which means that all received testbuffers are printed ↓ ┆19┆┆89┆┆81┆┄immediately.↲ ↲ ┆8c┆┄┆a7┆↓ ╞ ┆84┆Furthermore it is possible to get the current value of the test ↓ ┆19┆┆89┆┄┄area copied to a testbuffer immediately using the command ↓ ┆19┆┆89┆┄┄'┆b0┆provoke┆f0┆'.↲ ↲ ╞ ┆84┆The above mentioned commands and their format are explained in ↓ ┆19┆┆89┆┄┄subsection 6.2.3.↲ ↲ ╞ ┆84┆All test records contain a dte global time stamp, i.e. a time only ↓ ┆19┆┆89┆┄┄relevant to the processes of the DTE Module. This makes it poss┄↓ ┆19┆┆89┆┄┄ible to correlate events happening in different DTE processes. The ↓ ┆19┆┆89┆┄┄dteclock process (internal process in dtetest) maintains this ↓ ┆19┆┆89┆┄┄'clock' (global_time) by reques┄ting a timer interrupt each 200msec ↓ ┆19┆┆89┆┄┄from the TIMER.↲ ↲ ╞ ┆84┆The process head of the dtetest and dteclock processes are defined as:↲ ↲ ┆b0┆╞ PROCESS dte_test (↲ ╞ VAR mainsem╞ : semaphore;↲ ╞ VAR operatorsem : ! sempointer;↲ ╞ VAR dte_test_hook,↲ ╞ breaksem : semaphore;↲ ╞ VAR global_time : integer;↲ ╞ VAR test_record : testrectype↲ ╞ );↲ ↲ ╞ ┆b0┆PROCESS dteclock (↲ ╞ VAR mainsem : semaphore;↲ ╞ VAR global_time : integer↲ ╞ );↲ ↲ ↲ ╞ mainsem╞ ╞ : Own main semaphore.↲ ↲ ╞ operatorsem╞ : ┆84┆Main semaphore pointer of the operator pro┄↓ ┆19┆┆9f┆┄┄cess.↲ ↲ ╞ dte_test_hook╞ : ┆84┆Semaphore used as a DTE global testbuffer ↓ ┆19┆┆9f┆┄┄pool (testsem).↲ ↲ ┆8c┆┄┆a7┆↓ ╞ breaksem╞ ╞ : ┆84┆Semaphore holding the break message used in ↓ ┆19┆┆9f┆┄┄the exception procedure.↲ ↲ ╞ global_time╞ : ┆84┆DTE global time used to time stamp testre┄↓ ┆19┆┆9f┆┄┄cords.↲ ↲ ╞ test_record╞ : testbits record.↲ ↲ ↲ ┆a1┆6.2.2╞ External Communication.↲ ↲ ╞ ┆84┆For operator communication standard RTP input/output zones (ref. ↓ ┆19┆┆89┆┄┄(15)) are used. Beside these messages only two type of messages ↓ ┆19┆┆89┆┄┄(dte_access test answers and testmessages) are received by the dtetest ↓ ┆19┆┆89┆┄┄pro┄cess and one (timer request answers) by the dteclock process.↲ ↲ ┆b0┆╞ ┆a1┆Message name┆e1┆: timer_mess↲ ↲ ╞ ┆a1┆Message format┆e1┆:↲ ╞ ╞ message sent╞ ╞ answer recv.↲ ╞ u1╞ ╞ 5╞ ╞ unch↲ ╞ u2╞ 200╞ ╞ result↲ ╞ u3╞ ╞ 0╞ ╞ 0↲ ╞ u4╞ ╞ -╞ ╞ unch↲ ↲ ╞ buf╞ ╞ -╞ ╞ -↲ ↲ ╞ ┆a1┆Function┆e1┆:↲ ↲ ╞ ┆84┆The dteclock process requests the timer process to return the mes┄↓ ┆19┆┆89┆┄┄sage after the time specified : 200 * 2**0 msec = 200 msec.↲ ↲ ╞ ┆a1┆Result┆e1┆:↲ ↲ ╞ ok╞ ╞ (0) : message processed properly.↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆╞ ┆a1┆Message name┆e1┆: dte_test_message↲ ↲ ╞ ┆a1┆Message format┆e1┆:↲ ╞ ╞ message recv.↲ ╞ u1╞ ╞ 3↲ ╞ u2╞ ╞ 7↲ ╞ u3╞ process_type↲ ╞ u4╞ ╞ 0↲ ↲ ╞ buf╞ testbuf↲ ↲ ╞ testbuf = record↲ ╞ ╞ first, last, next : integer;↲ ╞ ╞ testarea : ┆84┆array (0.. testmax) of↲ ╞ ╞ ╞ ╞ testrecords;↲ ╞ ╞ end;↲ ↲ ╞ ┆84┆The different testrecords are explained in subsection 6.2.4.↲ ↲ ╞ ┆a1┆Function┆e1┆:↲ ↲ ╞ ┆84┆The dtetest process checks if the testrecords shall be printed ↓ ┆19┆┆89┆┄┄immediately, and if so the proper actions are performed. If not, ↓ ┆19┆┆89┆┄┄the value of u4 is changed to not_printed (=1) and the message is ↓ ┆19┆┆89┆┄┄queued at the testbuffer hook (testsem) for later printing if re┄↓ ┆19┆┆89┆┄┄quired.↲ ↲ ╞ process_type is:↲ ↲ ╞ 0 : dte process↲ ╞ 1 : dte_lcnzero process↲ ╞ 3+y : dte_chan process incarnation number y (dte_chany).↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ┆b0┆┆a1┆Message name:┆e1┆ dte_access_test↲ ↲ ╞ ┆a1┆Message format:↲ ╞ ╞ message sent answer recv.↲ ╞ u1╞ ╞ func╞ ╞ ╞ unch↲ ╞ u2╞ ╞ 7╞ ╞ ill_opcode↲ ╞ u3╞ user_no/stream_no/ch_index╞ unch↲ ╞ u4╞ -╞ ╞ see below↲ ↲ ╞ buf╞ -╞ ╞ testbuf↲ ↲ ╞ testbuf = array (1..14) of bytes;↲ ↲ ╞ ┆a1┆Function:↲ ↲ ╞ ┆84┆A dte_access test message is received and the testbuf is printed ↓ ┆19┆┆89┆┄┄on the console, each byte both as a digit and hexadecimal. The ↓ ┆19┆┆89┆┄┄dtetest process generates the test message on operator request ↓ ┆19┆┆89┆┄┄(see subsection 6.2.3) and sends it to the dte_access process. ↓ ┆19┆┆89┆┄┄Func specifies which variable values the dte_access process shall ↓ ┆19┆┆89┆┄┄return. The correlation between func and u3 is :↲ ↲ ╞ ╞ func╞ u3╞ ╞ variable↲ ╞ ╞ 128╞ user_no╞ ╞ user_table↲ ╞ ╞ 160╞ stream_no╞ ╞ stream_table↲ ╞ ╞ 224╞ ch_index╞ ╞ channel_table↲ ↲ ╞ ┆84┆The user_no, stream_no and ch_index may be changed in the dte_ac┄↓ ┆19┆┆89┆┄┄cess process, if it is outside the interval defined for the table ↓ ┆19┆┆89┆┄┄in question. The returned value (in u4) is the nearest limit.↲ ↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆6.2.3╞ Operator Commands.↲ ↲ ╞ ┆84┆As mentioned in subsection 6.2.1 the operator can control the test ↓ ┆19┆┆89┆┄┄generation and printing from the console and generate dte_access ↓ ┆19┆┆89┆┄┄test messages. To support this control the following commands are ↓ ┆19┆┆89┆┄┄available:↲ ↲ ╞ ┆84┆In the commands <process name> has to be substituted with one of ↓ ┆19┆┆89┆┄┄the following↲ ╞ ╞ dte_sup for the dte process↲ ╞ ╞ dte_chan for the dte_chan processes↲ ╞ ╞ dte_lcnzero for the dte_lcnzero process.↲ ↲ ↲ ┆b0┆╞ start <process name> run↲ ↲ ╞ ┆84┆Testrecord generation is started in the specified process or if ↓ ┆19┆┆89┆┄┄the option is ┆b0┆run ┆f0┆immediately print of testbuffers is started.↲ ↲ ↲ ┆b0┆╞ stop <process name> run↲ ↲ ╞ ┆84┆Testrecord generation is stopped in the specified process or if ↓ ┆19┆┆89┆┄┄the option is ┆b0┆run ┆f0┆the immediately print of testbuffers is stopped.↲ ↲ ↲ ┆b0┆╞ print <process name> test_rec↲ ↲ ╞ ┆84┆The queued testbuffers from the specified process, which not al┄↓ ┆19┆┆89┆┄┄ready are printed, are printed in a predefined format (see subsec┄↓ ┆19┆┆89┆┄┄tion 6.2.4). Furthermore a bit is set indicating that the next ↓ ┆19┆┆89┆┄┄buffer received from the process shall be printed. If the option ↓ ┆19┆┆89┆┄┄┆b0┆test_rec ┆f0┆is used, the value of the testbits record is printed. If ↓ ┆19┆┆89┆┆81┆┄a testbit is true a text is printed otherwise nothing. The corre┄↓ ┆19┆┆89┆┆81┆┄la┄tion be┄tween texts and bits are:↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ dte test generation╞ bit 1 : DTE_SUP↲ ╞ dte_chan test generation bit 2 : DTE_CHAN↲ ╞ dte_lcnzero test generation bit 3 : DTE_LCNZERO↲ ╞ version print╞ bit 4 : CONSOLE ID↲ ╞ line state printing╞ bit 5 : HDLC_STATE↲ ╞ level 3 restart printing bit 6 : LEVEL3_MESS↲ ╞ modem signals printing bit 7 : MODEM_SIGNAL↲ ╞ line event printing bit 8 : HDLC_EVENT↲ ↲ ┆b0┆╞ provoke dte_sup dte_lcnzero dte_chan <no>↲ ↲ ╞ ┆84┆The DTE module is required to provoke the specified process incar┄↓ ┆19┆┆89┆┄┄nation to copy the current testarea to a testbuffer and return ↓ ┆19┆┆89┆┄┄this to the dtetest process. <no> specifies the last three digits ↓ ┆19┆┆89┆┄┄in the dte_chan incarnation name, which can be obtained utilizing ↓ ┆19┆┆89┆┄┄the OPSYS command '┆b0┆list┆f0┆'.↲ ↲ ╞ ┆b0┆create <func> <no>↲ ↲ ╞ ┆84┆A dte_access test message is generate and sent to the dte_access ↓ ┆19┆┆89┆┄┄process. Only one test message can be outstanding. When the ↓ ┆19┆┆89┆┄┄message is returned from the dte_access process, the buffer is ↓ ┆19┆┆89┆┄┄printed on the console (please see subsection 6.2.4.5). The ↓ ┆19┆┆89┆┄┄following values of func are allowed :↲ ↲ ╞ <func>╞ u1╞ <no>╞ ╞ buffer at return↲ ╞ 1╞ 128 = (1*4+0)*32╞ user number╞ ┆84┆contains infor┄↓ ┆19┆┆bb┆┄┄mation from ↓ ┆19┆┆bb┆┄┄user_table(user ↓ ┆19┆┆bb┆┄┄number)↲ ╞ 2╞ 160 = (1*4+1)*32╞ stream number ╞ ┆84┆contains infor┄↓ ┆19┆┆bb┆┄┄mation from ↓ ┆19┆┆bb┆┄┄stream_table(stream ↓ ┆19┆┆bb┆┄┄number)↲ ╞ 3╞ 224 = (1*4+3)*32╞ channel index╞ ┆84┆contains infor┄↓ ┆19┆┆bb┆┄┄mation from ↓ ┆19┆┆bb┆┄┄channel_table(channel ↓ ┆19┆┆bb┆┄┄index)↲ ↲ ┆8c┆┄┆a7┆↓ ╞ ┆84┆If <no> is smaller than 1 it is set to 1 and if it is greater than ↓ ┆19┆┆89┆┄┄255 it is set to 255.↲ ↲ ↲ ┆a1┆6.2.4╞ Testoutput Description.↲ ↲ ╞ ┆84┆In the following three subsections are the format of the testre┄↓ ┆19┆┆89┆┄┄cords and testoutput print described. Each subsection is dedicated ↓ ┆19┆┆89┆┄┄to one process. In subsection 6.2.4.4 the printed text concer┄ning ↓ ┆19┆┆89┆┄┄the status of the communication line are shown and explained, and ↓ ┆19┆┆89┆┄┄in the last subsection the dte_access test message buffer.↲ ↲ ╞ ┆84┆Several of the test informations are written as text strings on ↓ ┆19┆┆89┆┄┄the console. These text strings are all marked with (*) and out┄↓ ┆19┆┆89┆┄┄lined in appendix D.2. Furthermore are two examples of a testout ↓ ┆19┆┆89┆┄┄print shown in appendix D.3.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆6.2.4.1╞ Testoutput from Process dte.↲ ↲ ╞ ┆84┆The testrecords generated in the dte process have the following ↓ ┆19┆┆89┆┄┄format:↲ ↲ ╞ packed record↲ ╞ ╞ time╞ : integer;↲ ╞ ╞ kind╞ : 0..15;↲ ╞ ╞ state╞ : 0..3;↲ ╞ ╞ fbool╞ : 0..1;↲ ╞ ╞ dummy╞ : 0..1;↲ ╞ ╞ fb1,↲ ╞ ╞ fb2╞ : byte;↲ ╞ ╞ fi╞ : integer;↲ ╞ ╞ end;↲ ↲ ↲ ╞ time╞ ╞ : Global dte time stamp.↲ ╞ kind (*)╞ : Testrecord type (see table 9).↲ ╞ state (*)╞ : ┆84┆The current value of the dte state variable ↓ ┆19┆┆9f┆┄┄in the dte process.↲ ╞ fbool╞ ╞ : Boolean parameter field.↲ ╞ fb1, fb2╞ : Byte parameter fields.↲ ╞ fi╞ ╞ : Integer parameter field.↲ ↲ ╞ ┆84┆fbool, fb1, fb2, and fi contains different information depending ↓ ┆19┆┆89┆┄┄of kind. In table 9 the connections between kind and the parameter ↓ ┆19┆┆89┆┄┄fields are shown.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Table 9: Process dte, testrecord kind and parameter fields.↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆84┆In the dtetest process each testrecord is processed and formatted ↓ ┆19┆┆89┆┄┄to one print line with the format:↲ ↲ ┆b0┆╞ <time> <kind> <dte state> <fbool> <fb1> <fb2> <fi>↲ ↲ ╞ ┆84┆except if kind = 15, in which case <dte state> and <fbool> are ↓ ┆19┆┆89┆┄┄out┄mitted.↲ ↲ ╞ ┆84┆The text printed for the different kind values are shown in table ↓ ┆19┆┆89┆┄┄9, whereas the texts printed for the other fields are outlined in ↓ ┆19┆┆89┆┄┄ap┄pendix D.2.↲ ↲ ↲ ┆a1┆6.2.4.2╞ Testoutput from Process dte_lcnzero.↲ ↲ ╞ ┆84┆The testrecords generated in the dte_lcnzero process have the fol┄↓ ┆19┆┆89┆┄┄lowing format:↲ ↲ ╞ packed record↲ ╞ ╞ time╞ : integer;↲ ╞ ╞ kind╞ : 0..15;↲ ╞ ╞ state╞ : 0..3;↲ ╞ ╞ dummy╞ : 0..3;↲ ╞ ╞ field1,↲ ╞ ╞ field2,↲ ╞ ╞ field3╞ : byte;↲ ╞ ╞ end;↲ ↲ ╞ time╞ ╞ : Global dte time stamp.↲ ╞ kind (*)╞ ╞ : Testrecord type (see table 10).↲ ╞ state (*)╞ ╞ : ┆84┆The current value of the dte state vari┄↓ ┆19┆┆a1┆┄┄able in the dte_lcnzero process.↲ ╞ field1, field2, field3: ┆84┆Parameter fields depending of kind. The ↓ ┆19┆┆a1┆┄┄connections are shown in table 10.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Table 10: ┆84┆Process dte_lcnzero, testrecord kind and parameter ↓ ┆19┆┆93┆┄┄fields.↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ┆84┆In the dtetest process each testrecord is processed and formatted ↓ ┆19┆┆89┆┄┄to one print line with the format:↲ ↲ ┆b0┆╞ <time> <kind> <dte state> <field1> <field2> <field3> <aux>↲ ↲ ╞ ┆84┆<aux> depends of the type of testrecord (kind). In appendix D.2 ↓ ┆19┆┆89┆┄┄these dependants are outlined.↲ ↲ ╞ ┆84┆The text printed for the different kind values are shown in table ↓ ┆19┆┆89┆┄┄10, whereas the texts printed for the other fields are outlined in ↓ ┆19┆┆89┆┄┄appendix D.2.↲ ↲ ↲ ┆a1┆6.2.4.3╞ Testoutput from Process dte_chan.↲ ↲ ╞ ┆84┆The testrecords generated in the dte_chan process have the follow┄↓ ┆19┆┆89┆┄┄ing format:↲ ↲ ╞ packed record↲ ╞ ╞ time╞ : integer;↲ ╞ ╞ kind╞ : 0..15;↲ ╞ ╞ c_active,↲ ╞ ╞ field5╞ : boolean;↲ ╞ ╞ dummy1╞ : 0..3;↲ ╞ ╞ state╞ : 0..31;↲ ╞ ╞ dummy2╞ : 0..7;↲ ╞ ╞ field1,↲ ╞ ╞ field2,↲ ╞ ╞ field3,↲ ╞ ╞ field4╞ : byte;↲ ╞ ╞ end;↲ ↲ ╞ time╞ ╞ : Global dte time stamp.↲ ╞ kind (*)╞ ╞ : Testrecord type (see table 11).↲ ╞ c_active (*)╞ : ┆84┆The variable 'chan_active', which is true if ↓ ┆19┆┆9f┆┄┄the dte_chan process incarnation is active.↲ ╞ state (*)╞ ╞ : ┆84┆The current value of the variable↲ ┆84┆'chan_rec.chan_state'.↲ ╞ field1, field2, field3,↲ ╞ field4, field5 (*)╞ : ┆84┆Parameter fields depending of kind. The con┄↓ ┆19┆┆9f┆┄┄nections are shown in table 11.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Table 11: Process dte_chan, testrecord kind and parameter fields.↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ┆84┆In the dtetest process each testrecord is processed and formatted ↓ ┆19┆┆89┆┄┄to one print line with the format:↲ ↲ ↲ ╞ ┆b0┆<time> <kind> <state> <c_active> <field5>↲ ╞ ┆b0┆┆84┆<dec.field1> <hex.field1> <dec.field2> <hex.field2> <dec.field3> ↓ ┆19┆┆89┆┆81┆┆82┆<hex.field3> <dec.field4> <hex.field 4> <aux>↲ ↲ ↲ ╞ ┆84┆<aux> depends of the type of testrecord (kind) and in appendix D.2 ↓ ┆19┆┆89┆┄┄these dependants are outlined.↲ ↲ ┆84┆The text printed for the different kind values are shown in table ↓ ┆19┆┆89┆┄┄11, whereas the texts printed for the other fields are outlined in ↓ ┆19┆┆89┆┄┄appendix D.2.↲ ↲ ↲ ┆a1┆6.2.4.4╞ Communication Line Status Information.↲ ↲ ╞ ┆84┆As mentioned in subsection 6.2.1 different information concerning ↓ ┆19┆┆89┆┄┄the status of the communication line may be printed on the con┄↓ ┆19┆┆89┆┄┄sole. Below are each text printed described and they are groupped ↓ ┆19┆┆89┆┄┄according to which bit setting in the testbits record, that will ↓ ┆19┆┆89┆┄┄provoke the print. The internal dte procedure ┆b0┆dte_message┆f0┆ is used ↓ ┆19┆┆89┆┆81┆┄to format the printed text. <hh.mm.ss> is time (hour, minute, ↓ ┆19┆┆89┆┆81┆┄second) when the DTE observes the event.↲ ↲ ┆b0┆╞ ┆a1┆line event↲ ↲ ╞ ┆a1┆┆e1┆ <hh.mm.ss> line up↲ ↲ ╞ ┆84┆The communicaiton line is connected on level 2 (hdlc connection ↓ ┆19┆┆89┆┄┄performed).↲ ↲ ↲ ╞ ┆a1┆┆e1┆ <hh.mm.ss> line event <xx>↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ┆84┆An hdlc line event has been reported to the DTE.↲ ╞ ┆84┆The line state is not changed. <xx> is the event number returned ↓ ┆19┆┆89┆┄┄from the HDLC (please refer to ref. (9)).↲ ↲ ╞ ┆a1┆┆e1┆ <hh.mm.ss> line down↲ ↲ ╞ The communicaiton line is disconnected.↲ ╞ The previous state was level 2 ready.↲ ↲ ┆e1┆╞ ┆a1┆┆e1┆ <hh.mm.ss> network down↲ ↲ ↲ ╞ The communicaiton line is disconnected.↲ ╞ The previous state was level 3 ready.↲ ↲ ↲ ┆b0┆╞ ┆a1┆modem signals↲ ↲ ↲ ╞ modem signals : DTR=<x> RTS=<x> RI=<x> SQD=<x>┆e1┆ DSR=<x> DCD=<x>↲ ↲ ↲ ╞ ┆84┆The value of the modem signals are printed. <x> will be either 0 ↓ ┆19┆┆89┆┄┄or 1, signal not set or signal set respectively.↲ ↲ ↲ ┆b0┆╞ ┆a1┆level 3 restart↲ ↲ ↲ ╞ ┆a1┆┆e1┆ <hh.mm.ss> dte restarted↲ ↲ ↲ ╞ ┆84┆The DTE has received a RESTART INDICATION packet from the DCE, ↓ ┆19┆┆89┆┄┄and has conformed it. The restart phase is initiated.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ┆a1┆┆e1┆ <hh.mm.ss> dte restart timeout <no>↲ ↲ ╞ ┆84┆A restart timeout has occured in the DTE. A new RESTART REQUEST ↓ ┆19┆┆89┆┄┄packet is transmitted to the DCE. <no> is the restart timeout ↓ ┆19┆┆89┆┄┄periode in seconds.↲ ↲ ╞ ┆a1┆┆e1┆ <hh.mm.ss> dte restarted by NC↲ ↲ ╞ ┆84┆The DTE has initiated a restart phase requested by the NC (by ↓ ┆19┆┆89┆┄┄the LCP operation DTE 54,0).↲ ↲ ↲ ╞ ┆a1┆┆b0┆line state↲ ↲ ↲ ╞ ┆a1┆┆e1┆ internal line state : <text> : <xx>↲ ↲ ↲ ╞ ┆84┆An event buffer has been returned from the HDLC, indicating a line ↓ ┆19┆┆89┆┄┄event. <text> is the dte internal line state and is printed as ↓ ┆19┆┆89┆┄┄(connected, connecting, d_connecting, disc_recv, disconnected) and ↓ ┆19┆┆89┆┄┄equals the states described in subsection 4.2.2. <no> is the line ↓ ┆19┆┆89┆┄┄event number returned from the HDLC (please refer to ref. (9)).↲ ↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆6.2.4.5╞ dte_access Test Message Print.↲ ↲ ╞ ┆84┆The contens of testbuf (subsection 6.2.2 message ┆b0┆dte_access_test┆f0┆) ↓ ┆19┆┆89┆┆81┆┄depends on the u1 value. Testbuf is an array of 14 bytes, which ↓ ┆19┆┆89┆┆81┆┄contain the following information :↲ ↲ ╞ func 1 (128) 2 (160) 3 (224)↲ ╞ testbuf byte↲ ╞ 1╞ user state╞ stream state╞ conn stream/255↲ ╞ 2╞ no of user streams╞ user index╞ not used↲ ╞ 3╞ no of lost stream╞ channel number╞ not used↲ ╞ ╞ events↲ ╞ 4╞ no of lost user╞ no. of buffers at╞ not used↲ ╞ ╞ events╞ ╞ suspend sem↲ ╞ 5╞ no of buffers at╞ 0╞ ╞ not used↲ ╞ ╞ event sem↲ ╞ 6╞ no of buffers at╞ 0= internal ref nil╞ not used↲ ╞ ╞ general sem╞ 1= int. ref not nil↲ ╞ 7╞ lost user event,╞ 0╞ ╞ not used↲ ╞ ╞ type↲ ╞ 8╞ lost user event,╞ intern state╞ not used↲ ╞ ╞ cause↲ ╞ 9╞ lost user event,╞ 0╞ ╞ not used↲ ╞ ╞ diagnostic↲ ╞ 10╞ not used╞ ╞ 0╞ ╞ not used↲ ╞ 11╞ not used╞ ╞ lost stream event,╞ not used↲ ╞ ╞ ╞ ╞ type↲ ╞ 12╞ not used╞ ╞ lost stream event,╞ not used↲ ╞ ╞ ╞ ╞ cause↲ ╞ 13╞ not used╞ ╞ lost stream event,╞ not used↲ ╞ ╞ ╞ ╞ diagnostic↲ ╞ 14╞ not used╞ ╞ no of lost events╞ not used↲ ↲ ╞ ┆84┆The printing on the console will contain a header line↲ ↲ ╞ ╞ ╞ ┆b0┆user index :↲ ╞ ┆b0┆Operation : <func> stream no : <u3> / <u4>↲ ╞ ╞ ╞ ┆b0┆stream no :↲ ↲ ┆8c┆┄┆a7┆↓ ╞ ┆84┆This line will be followed by a line where each byte in the ↓ ┆19┆┆89┆┄┄testbuf is printed as a digit and one line where the byte is ↓ ┆19┆┆89┆┄┄printed hexadecimal.↲ ↲ ╞ ┆84┆For the state variables and event types the following interpre┄↓ ┆19┆┆89┆┄┄tation can be applied :↲ ↲ ╞ ┆a1┆user state┆e1┆ (please see also subsection 4.3.2)↲ ╞ ╞ 0 = free↲ ╞ ╞ 1 = w_resc↲ ╞ ╞ 2 = idle↲ ╞ ╞ 3 = active↲ ↲ ╞ ┆a1┆stream state┆e1┆ (please see also subsection 4.3.2)↲ ╞ ╞ 0 = clear↲ ╞ ╞ 1 = w_uresp↲ ╞ ╞ 2 = w_accp↲ ╞ ╞ 3 = data↲ ╞ ╞ 4 = u_clear↲ ↲ ╞ ┆a1┆intern state┆e1┆ (please see also subsection 4.3.2)↲ ╞ ╞ 0 = cleared↲ ╞ ╞ 2 = waiting↲ ╞ ╞ 3 = data_xfer↲ ╞ ╞ 4 = clearing↲ ↲ ╞ ┆a1┆event type┆e1┆↲ ╞ ╞ 16 = dte_ev_disc,╞ line disconnected↲ ╞ ╞ 24 = dte_ev_clear,╞ stream cleared↲ ╞ ╞ 32 = dte_ev_rstst,╞ dte restarted↲ ╞ ╞ 40 = dte_ev_reset,╞ stream reset↲ ╞ ╞ 48 = dte_ev_inc,╞ INCOMING CALL lost↲ ╞ ╞ 56 = dte_ev_data,╞ DATA packet lost↲ ╞ ╞ 64 = dte_ev_intrupt, INTERRUPT packet lost↲ ↲ ↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆6.3╞ Message Snoop.↲ ↲ ╞ ┆84┆In order to snoop messages and answers received at not global ↓ ┆19┆┆89┆┄┄known semaphores, the dte process can start an incarnation of the ↓ ┆19┆┆89┆┄┄gene┄ral snooper process. This incarnation is called dtesnoop. The ↓ ┆19┆┆89┆┄┄ge┄neral snooper is described in ref. (7).↲ ↲ ╞ ┆84┆The semaphores that can be snooped are the main input and sync se┄↓ ┆19┆┆89┆┄┄maphores of the dte_chan process incarnations (in the dte process ↓ ┆19┆┆89┆┄┄the chan_vector and sync_vector).↲ ↲ ╞ ┆84┆One configuration parameter to the dtesnoop process is 'max_pick┄↓ ┆19┆┆89┆┄┄ups'. If max_pickups is greater than twice the maximum number of ↓ ┆19┆┆89┆┄┄channel processes (max_chan) both the input and sync semaphores ↓ ┆19┆┆89┆┄┄are snooped. If it is greater than max_chan but smaller than twice ↓ ┆19┆┆89┆┄┄max_chan only the input semaphores are snooped, and if it is smal┄↓ ┆19┆┆89┆┄┄ler than max_chan no semaphores are snooped. The followning rules ↓ ┆19┆┆89┆┄┄can be applied:↲ ↲ ╞ max_pickups ┆a1┆>┆e1┆ 2 * max_chan : input and sync semaphores↲ ╞ 2 * max_chan > max_pickups ┆a1┆>┆e1┆ max_chan : input semaphores only↲ ╞ max_chan > max_pickups ╞ : none.↲ ════════════════════════════════════════════════════════════════════════ ↓ «index» formatlinie til RC manualer↲ ┆14┆┆b3┆↲ ┆14┆┆b3┆┆06┆- ┆0b┆ -↲ ↲ ↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆7.╞ CONFIGURATION GUIDE.↲ ↲ ╞ ┆84┆This chapter will give a short description of the configuration ↓ ┆19┆┆89┆┄┄constants, the storage requirements and the compilation of the DTE ↓ ┆19┆┆89┆┄┄System.↲ ↲ ↲ ┆a1┆7.1╞ Configuration Parameters.↲ ↲ ╞ ┆84┆In the DTE System principel many parameters can be changed in ↓ ┆19┆┆89┆┄┄order to optimize the storage requirements and performance of the ↓ ┆19┆┆89┆┄┄modules:↲ ╞ ┆84┆Several of these parameters are allready optimized, so in the next ↓ ┆19┆┆89┆┄┄two subsections only the parameters of normally interest are des┄↓ ┆19┆┆89┆┄┄cribed. They can be divided into two groups, one where the parame┄↓ ┆19┆┆89┆┄┄ter values must be defined at compilation time (subsection 7.1.1) ↓ ┆19┆┆89┆┄┄and one where the parameter values are defined at incarnation cre┄↓ ┆19┆┆89┆┄┄ate time (subsection 7.1.2).↲ ↲ ╞ ┆84┆In subsection 7.1.3 are the default values of some interesting DTE ↓ ┆19┆┆89┆┄┄parameters outlined, and in subsection 7.1.4 are parameters con┄↓ ┆19┆┆89┆┄┄cer┄ning the trace, test and snoop systems described.↲ ↲ ↲ ┆a1┆7.1.1╞ Compilation Parameters.↲ ↲ ╞ ┆84┆These parameters are found in the configuration environment (stan┄↓ ┆19┆┆89┆┄┄dard : STDCONF) and in DTEENV.↲ ↲ ┆b0┆╞ m_max_chan╞ ┆f0┆: ┆84┆Defines the maximum of logical channels ↓ ┆19┆┆9f┆┆81┆┄(dte_chan process incarnations) the DTE can ↓ ┆19┆┆9f┆┆81┆┄handle simultaneously (┆b0┆in STDCONF set to ↓ ┆19┆┆9f┆┆82┆┆82┆20┆f0┆).↲ ↲ ┆b0┆╞ max_user╞ ╞ ┆f0┆: ┆84┆Defines the maximum of simultaneously con┄↓ ┆19┆┆9f┆┆81┆┄nected users (┆b0┆in STDCONF set to 5┆f0┆).↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆╞ max_inbufs╞ ┆f0┆: ┆84┆Defines the maximum of input buffers the ↓ ┆19┆┆9f┆┆81┆┄dte_hrec process tries to maintain at the ↓ ┆19┆┆9f┆┆81┆┄HDLC. The ac┄tual value may be changed by an ↓ ┆19┆┆9f┆┆81┆┄LCP opera┄tion (DTE 54,0) and the default va┄↓ ┆19┆┆9f┆┆81┆┄lue is outlined in subsection 7.1.3. (┆b0┆in ↓ ┆19┆┆9f┆┆82┆┆82┆DTE┄ENV set to 10┆f0┆).↲ ↲ ┆b0┆╞ testmax╞ ╞ ┆f0┆: ┆84┆Defines the number of test records in the ↓ ┆19┆┆9f┆┆81┆┄internal testareas and in the testbuffers ↓ ┆19┆┆9f┆┆81┆┄(┆b0┆in DTEENV set to 20┆f0┆).↲ ↲ ↲ ┆a1┆7.1.2╞ Creation Parameters.↲ ↲ ╞ ┆84┆At creation time it is possible to define several parameters of ↓ ┆19┆┆89┆┄┄the DTE System. They are gathered in four record types.↲ ↲ ╞ hdlc_cp_type╞ : ┆84┆Parameters for the HDLC communication.↲ ↲ ╞ dte_cp_type╞ : ┆84┆Parameters concerning the DTE and X.25 com┄↓ ┆19┆┆9f┆┄┄munication.↲ ↲ ╞ dte_pc_type╞ : ┆84┆Parameters for buffer pools configuration.↲ ↲ ╞ dte_dc_type╞ : ┆84┆Parameters concerning the debug, trace and ↓ ┆19┆┆9f┆┄┄test facilities.↲ ↲ ╞ ┆84┆These four types are defined in CNNETENV and a default value is ↓ ┆19┆┆89┆┄┄assigned to them in CRPARMENV.↲ ↲ ╞ ┆84┆The individuel fields are described in subsection 4.2.1 so here ↓ ┆19┆┆89┆┄┄will only a recommended value be mentioned. A question mark indi┄↓ ┆19┆┆89┆┄┄cates that the value depends on the system the DTE is running in.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ hdlc_cp_type:↲ ╞ test_modem╞ : ?↲ ╞ com204╞ ╞ : normally true↲ ╞ c_id╞ ╞ : 2100╞ (= 2.1 secs.)↲ ╞ t1╞ ╞ : 1400 (= 1.4 secs.)↲ ╞ n2╞ ╞ : 10↲ ╞ k╞ ╞ : 6↲ ╞ framespace╞ : 4 (= 40 microsecs.)↲ ╞ abortspace╞ : 2╞ (= 20 microsecs.)↲ ↲ ╞ dte_cp_type:↲ ╞ x25_lcg╞ : ?↲ ╞ dltc╞ ╞ : ?↲ ╞ dhtc╞ ╞ : ? (<= dltc + max_chan)↲ ╞ max_chan╞ : ?↲ ╞ dw_size╞ : normally 2↲ mw_size : ?↲ user_length╞ : actual_u_lgt (defined in CNNETENV)↲ ╞ x25_datasize : ?↲ ↲ ╞ dte_pc_type:↲ ╞ suphead_no╞ : 6↲ ╞ supmess_no╞ : 6↲ ╞ eventbuf_no╞ : 3↲ ╞ hdlc_eventno╞ : 3↲ ↲ ╞ dte_dc_type:↲ ╞ dtetest╞ : false↲ ╞ snoop_on╞ : false↲ ╞ def_trace╞ : false↲ ╞ def_test╞ : ?, ?, ?, true, false, true, ?, ?↲ ↲ ╞ ┆84┆Some of the parameters can be changed by an LCP operation:↲ ↲ ╞ dltc, dhtc╞ : DTE 54,0↲ ╞ def_trace╞ : DTE 53,0↲ ╞ def_test╞ : DTE 52,0↲ ↲ ╞ ┆84┆Furthermore def_test can be changed partly from the console (sec┄↓ ┆19┆┆89┆┄┄tion 6.2).↲ ↲ ↲ ┆8c┆┄┆aa┆↓ ┆a1┆7.1.3╞ Special Default Values.↲ ↲ ╞ ┆84┆As mentioned in subsection 4.1.4 several timers are used in the ↓ ┆19┆┆89┆┄┄DTE module. The value (may be only a default value) of these ti┄↓ ┆19┆┆89┆┄┄mers are defined in DTEENV in the record timer_def.↲ ╞ The following values are recommended:↲ ↲ ╞ t11m = 20 secs : < DCE call request timeout↲ ╞ t12m = 20 secs : < DCE reset request timeout↲ ╞ t21 = 200 secs : DTE call request timeout↲ ╞ t22 = 180 secs : DTE reset request timeout↲ ╞ t23 = 180 secs : DTE clear request timeout↲ ╞ t30 = 30 secs : DTE idle timeout↲ ╞ t31 = 30 secs : DTE data hold timeout↲ ╞ ack_timer = 1 sec : DTE acknowledge delay timeout↲ ╞ t20 = 180 secs : DTE restart request timeout↲ ╞ t50 = 1 sec : Timer period for sense DSR set↲ ╞ t51 = 2 secs : Timer period for sense DCD set↲ ╞ t52 = 5 secs : ┆84┆Timer period to get the modem signals in ↓ ┆19┆┆a3┆┄┄a steady state↲ ╞ t60 = 10 secs : ┆84┆Timer period before initiating NC re┄↓ ┆19┆┆a3┆┄┄start.↲ ↲ ╞ ┆84┆t30 and ack_timer may be changed by the LCP operation DTE 54,0.↲ ↲ ╞ ┆84┆In connection with the NC system the DTE maintains a bit mask ↓ ┆19┆┆89┆┄┄(nc_mask) defining which NC event, that shall be generated. In ↓ ┆19┆┆89┆┄┄DTEENV a default value (dnc_mask) is defined. The value of this ↓ ┆19┆┆89┆┄┄depends of the system the DTE is running in, and the information ↓ ┆19┆┆89┆┄┄that is required for Network Control Management. The variable may ↓ ┆19┆┆89┆┄┄be changed by the LCP operation DTE 1,0.↲ ↲ ╞ ┆84┆The dte_hrec process tries to maintain a certant number of input ↓ ┆19┆┆89┆┄┄buffers at the HDLC. The default value (dn_buf) of this parameter ↓ ┆19┆┆89┆┄┄is def┄ined in DTEENV (set to 5) and may be changed by the LCP op┄e┄↓ ┆19┆┆89┆┄┄ration DTE 54,0. The upper limit for this parameter is max_inbufs ↓ ┆19┆┆89┆┄┄(see subsection 7.1.1).↲ ↲ ↲ ┆8c┆┄┆a7┆↓ ┆a1┆7.1.4╞ Configuration of Trace, Test and Snoop Systems.↲ ↲ ╞ ┆84┆┆a1┆┆b0┆dtetrace↲ ↲ ╞ In this system two parameters are of interest:↲ ↲ ╞ trace_buf_no╞ : Number of trace buffers↲ ╞ ╞ ╞ ┆b0┆(in dte_trace set to 10)↲ ↲ ╞ trace_buf_size╞ : Size in bytes of a trace buffer↲ ┆b0┆╞ ╞ ╞ (in TRACEENV set to 300)↲ ↲ ↲ ┆b0┆╞ ┆a1┆dtetest↲ ↲ ╞ The only parameter of interest is:↲ ↲ ╞ dtetestbufno╞ : Number of test buffers↲ ┆b0┆╞ ╞ ╞ (in dte_test set to 20)↲ ↲ ↲ ┆b0┆╞ ┆a1┆dtesnoop↲ ↲ ╞ The only parameter of interest is:↲ ↲ ╞ max_pickups╞ : ┆84┆Number of pickup processes. It is a compila┄↓ ┆19┆┆9f┆┄┄tion parameter to the snooper process. It ↓ ┆19┆┆9f┆┄┄should be greater than or equal to twice ↓ ┆19┆┆9f┆┄┄max_chan (see section 6.3) if snoop shall be ↓ ┆19┆┆9f┆┄┄performed.↲ ┆b0┆╞ ╞ ╞ (in NETENV set to 20).↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆7.2╞ Storage Requirements.↲ ↲ ╞ ┆84┆This section lists the storage requirements for the DTE System. ↓ ┆19┆┆89┆┄┄The reader is warned that the numerical values are subject to ↓ ┆19┆┆89┆┄┄changes as new versions of the module, compiler or allocator algo┄↓ ┆19┆┆89┆┄┄rithm emerge. Furthermore the storage requirements depends on some ↓ ┆19┆┆89┆┄┄configuration parameters. The calculation will show these connec┄↓ ┆19┆┆89┆┄┄tions and most of the parameters will be fixed to the value defin┄↓ ┆19┆┆89┆┄┄ed by the current versions.↲ ↲ ╞ The current versions are↲ ↲ ╞ RC3502/1 Operating System, Release 6.01 84.04.05↲ ╞ Real-Time Pascal, Release 8.01, 84.04.05↲ ╞ DTE module, Version 14, 85.10.21↲ ╞ DTETRACE, Version 6, 85.07.30↲ ╞ DTETEST,╞ ╞ Version 16, 85.10.14↲ ╞ DTESNOOP,╞ ╞ ╞ , 83.12.05.↲ ↲ ╞ ┆84┆The storage requirements may be divided into two:↲ ╞ - ┆84┆the static requirements which are independent of the creation ↓ ┆19┆┆8e┆┄┄pa┄rameters and↲ - ┆84┆the dynamic requirements which depend on the creation parame┄↓ ┆19┆┆8e┆┄┄ters.↲ ↲ ╞ ┆84┆Orthogonally, storage is required for three different purposes: ↓ ┆19┆┆89┆┄┄code, stacks and buffer pools.↲ ↲ ╞ ┆84┆The storage for code is of static type, whereas the storage for ↓ ┆19┆┆89┆┄┄stacks and pools may be divided into a static and a dynamic part.↲ ↲ ╞ ┆84┆The following three subsections give the code, stack and pool re┄↓ ┆19┆┆89┆┄┄quirements of the components of the DTE System, whereas subsection ↓ ┆19┆┆89┆┄┄7.2.4 gives an overview of the total requirements.↲ ↲ ╞ ┆84┆As mentioned above several of the configuration parameters will be ↓ ┆19┆┆89┆┄┄fixed in the calculation. ┆b0┆Only in subsection 7.2.4 ┆f0┆the parameters ↓ ┆19┆┆89┆┆81┆┄will be fixed. The only two parameters that not will be fixed are ↓ ┆19┆┆89┆┆81┆┄the actual number of logical channels (max_chan), and the max ↓ ┆19┆┆89┆┆81┆┄window size (mw_size).↲ ↲ ┆8c┆┄┆a9┆↓ ╞ ┆84┆This means that the dynamic parts in subsection 7.2.4 will only ↓ ┆19┆┆89┆┄┄depend of the value of↲ ↲ ╞ ╞ ╞ N = max_chan.↲ ╞ ╞ ╞ W = mw_size↲ ↲ ↲ ┆a1┆7.2.1╞ Code.↲ ↲ ╞ ┆84┆The specified requirements are those obtained by means of the ↓ ┆19┆┆89┆┄┄PLIBLOOKUP utility.↲ ↲ ╞ process/procedure name╞ ╞ bytes↲ ╞ ╞ dte╞ ╞ ╞ 31244↲ ╞ ╞ dte_access╞ ╞ 7960↲ ╞ ╞ dte_chan╞ ╞ ╞ 23946↲ ╞ ╞ dte_lcnzero╞ ╞ 5276↲ ╞ ╞ dte_hrec╞ ╞ ╞ 1644↲ ╞ ╞ dte_pool╞ ╞ ╞ 1430↲ ↲ ╞ ╞ dtetrace╞ ╞ ╞ 4242↲ ╞ ╞ outtrace╞ ╞ ╞ 348↲ ↲ ╞ ╞ dtetest╞ ╞ ╞ 9792↲ ↲ ╞ ╞ dte procedures╞ ╞ 5344↲ ╞ ╞ X.25 procedures╞ ╞ 7042↲ ╞ ╞ pool procedures╞ ╞ 1766↲ ↲ ╞ ╞ dtesnoop╞ ╞ ╞ 13000↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆7.2.2╞ Stack.↲ ↲ ╞ dte:╞ ╞ ╞ ╞ ╞ bytes↲ ╞ basic╞ ╞ ╞ ╞ ╞ 2329↲ ╞ extra per compilation defined channel (m_max_chan) ╞ 16↲ ╞ extra per possible user (max_user)╞ 27↲ ╞ extra per testrecord (testmax)╞ 7↲ ╞ extra per creation defined channel (max_chan)╞ 71↲ ↲ ╞ dte_access:↲ ╞ basic╞ ╞ ╞ ╞ ╞ 464↲ ╞ extra per creation defined channel (max_chan)╞ 30↲ ↲ ╞ dte_chan:↲ ╞ basic╞ ╞ ╞ ╞ ╞ 1190↲ ╞ extra per testrecord╞ ╞ (testmax) ╞ 8↲ ↲ ╞ dte_lcnzero:↲ ╞ basic╞ ╞ ╞ ╞ ╞ 990↲ ╞ extra per testrecord╞ ╞ (testmax) ╞ 6↲ ↲ ╞ dte_hrec:↲ ╞ basic╞ ╞ ╞ ╞ ╞ 424↲ ↲ ╞ dte_pool:↲ ╞ basic╞ ╞ ╞ ╞ ╞ 400↲ ↲ ╞ dtetrace:↲ ╞ basic╞ ╞ ╞ ╞ ╞ 666↲ ↲ ╞ outtrace:↲ ╞ basic╞ ╞ ╞ ╞ ╞ 312↲ ↲ ╞ dtetest:↲ ╞ basic╞ ╞ ╞ ╞ ╞ 780↲ ↲ dteclock:↲ basic╞ ╞ ╞ ╞ ╞ 210↲ ↲ ┆8c┆┄┆a7┆↓ ╞ dtesnoop:↲ ╞ basic╞ ╞ ╞ ╞ ╞ 610↲ ╞ extra per pickup incarnation (max_pickups) 340↲ ↲ ↲ ┆a1┆7.2.3╞ Buffer Pools.↲ ↲ ╞ ┆84┆In this subsection the buffer requirements are outlined. Some of ↓ ┆19┆┆89┆┄┄the pools are initialized dynamicly during normal run. They are ↓ ┆19┆┆89┆┄┄mark with 'dyn' and a normal used number is estimated and used to ↓ ┆19┆┆89┆┄┄calculate the requirements. This number is indicated in brackets ↓ ┆19┆┆89┆┄┄after 'dyn'. The reader is warned that because of this the re┄↓ ┆19┆┆89┆┄┄quirements may be greater in special situations.↲ ↲ ╞ process pool name number of buffer total↲ ╞ ┆a1┆ buffers size bytes↲ ↲ ╞ ┆b0┆dte ┆f0┆trace_pool 1 32+0 32↲ ╞ clock_pool 1 32+12 44↲ ╞ console_pool 3 32+82 342↲ ╞ break_pool 1 32+16 48↲ ╞ head_pool suphead_no 32+0↲ ╞ event_pool eventbuf_no 32+92↲ ╞ supmesspool supmess_no 32+10↲ ╞ lcp_pool 2 32+8 80↲ ╞ sync_pool max_chan 32+16↲ ╞ ch_res_pool max_chan 32+0↲ ╞ hdlc_pool dyn (2) 32+20 104↲ ╞ hdlc_ev_pool hdlc_eventno 32+0↲ ╞ smallpool 2*max_chan 32+12↲ ╞ bigpool max (max_inbufs,↲ ╞ ╞ ╞ 6+max_chan* 32+9+x25_datasize↲ mw_size div 2)↲ ╞ x25pool╞ max_chan 32+12↲ ╞ bufkeypool 3 32+0 96↲ ╞ shadow buffers 8 32+0 256↲ ╞ chan shadow buf. max_chan 32+0↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆╞ dte_access↲ ┆f0┆control_pool dyn (3) 32+0↲ ↲ ┆b0┆╞ dte_chan ┆f0┆bookpool╞ ╞ 1╞ 32+6 38↲ ╞ ╞ callpool╞ ╞ 2╞ 32+106 276↲ ╞ ╞ headpool╞ ╞ 3╞ 32+0 96↲ ╞ ╞ timeout_pool 3 32+2 102↲ ╞ ╞ u_eventpool╞ 3╞ 32+10 126↲ ╞ ╞ x25head_pool dyn (max 32+0 64↲ mw_size)↲ ↲ ┆b0┆╞ dte_lcnzero↲ ┆f0┆console_pool 1 32+82 114↲ ╞ ╞ headpool╞ ╞ 1╞ 32+0╞ ╞ 32↲ ╞ ╞ supmess_pool dyn (2) 32+4 72↲ ╞ ╞ timeout_pool 2╞ 32+12 88↲ ↲ ┆b0┆╞ dte_hrec ┆f0┆head_pool max_inbufs 32+0↲ ╞ ╞ trace_pool 1 32+0 32↲ ↲ ┆b0┆╞ dte_pool ┆f0┆ncppool╞ ╞ 1╞ 32+8 40↲ ╞ ╞ starthead╞ 1╞ 32+0 32↲ ↲ ┆b0┆╞ dtetrace ┆f0┆consolepool╞ 6╞ 32+82 684↲ ╞ ╞ trace_pool trace_buf_no 32+8+trace_buf_size↲ ╞ ╞ bufkeypool╞ 1╞ 32+0 32↲ ╞ ╞ timepool╞ ╞ 1╞ 32+12 44↲ ↲ ┆b0┆╞ outtrace ┆f0┆trace_pool╞ 1╞ 32+0 32↲ ↲ ┆b0┆╞ dtetest ┆f0┆inpool╞ ╞ 1╞ 32+82╞ ╞ 114↲ ╞ ╞ outpool╞ ╞ 3╞ 32+82╞ ╞ 342↲ ╞ ╞ dtetestpool dtetestbufno 32+174↲ ╞ ╞ acc_test ╞ ╞ 1╞ 32+14 46↲ ↲ ┆b0┆dtelock┆f0┆ timerpool 1 32+0 32↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ┆84┆The figures for the dtesnoop process are taken from ref. (7) and ↓ ┆19┆┆89┆┄┄gives:↲ ↲ ╞ message buffers╞ : 470 bytes + 130 bytes * max_pickups↲ ╞ log buffer╞ : ┆84┆defined by command BZ but at least ╞ ╞ ╞ ↓ ┆19┆┆9f┆┄┄┆84┆48 bytes + 2 bytes * (pick-up size) where ↓ ┆19┆┆9f┆┄┄pick-up size is defined by the command PZ.↲ ↲ ╞ ┆84┆The above mentioned requirements can be summarized to↲ ↲ ┆b0┆╞ ┆a1┆dte↲ ╞ 1002 + suphead_no * 32 + eventbuf_no * 124↲ ╞ + supmess_no * 42 + hdlc_eventno * 32↲ ╞ + max_chan * 244↲ ╞ + max (max_inbufs, 6 + max_chan* mw_size div 2)↲ *(41 + x25_datasize) bytes.↲ ↲ ┆b0┆╞ ┆a1┆dte_access↲ ╞ 96 bytes↲ ↲ ┆b0┆╞ ┆a1┆dte_chan↲ ╞ 638 bytes + mw_size * 32↲ ↲ ┆b0┆╞ ┆a1┆dte_lcnzero↲ ╞ 306 bytes↲ ↲ ┆b0┆╞ ┆84┆┆a1┆dte_hrec↲ ╞ 32 + max_inbufs * 32 bytes↲ ↲ ┆b0┆╞ ┆a1┆dte_pool↲ ╞ 72 bytes↲ ↲ ┆b0┆╞ ┆a1┆dtetrace↲ ╞ 760 + trace_buf_no * (40 + trace_buf_size) bytes↲ ↲ ┆b0┆╞ ┆a1┆outtrace↲ ╞ 32 bytes↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆ ┆a1┆dtetest↲ ╞ 502 + dtetestbufno * 206 bytes↲ ↲ ┆b0┆┆a1┆dtelock↲ 32↲ ↲ ┆b0┆╞ ┆a1┆dtesnoop↲ ╞ 470 + max_pickups * 130 bytes + (log buffer)↲ ↲ ↲ ┆a1┆7.2.4╞ Static and Dynamic Requirements.↲ ↲ ╞ ┆84┆The figures calculated in subsections 7.2.1 to 7.2.3 will with the ↓ ┆19┆┆89┆┄┄parameter values defined for DTE Version 14 and the bellow de┄↓ ┆19┆┆89┆┄┄scribed creation parameters give the requirements outlined in ↓ ┆19┆┆89┆┄┄table 12.↲ ↲ ╞ Parameter values:↲ ╞ m_max_chan╞ ╞ = 20↲ ╞ max_user╞ ╞ = 5↲ ╞ testmax╞ ╞ = 20↲ ╞ max_pickups╞ ╞ = 20↲ ╞ suphead_no╞ ╞ = 6↲ ╞ eventbuf_no╞ ╞ = 3↲ ╞ supmess_no╞ ╞ = 6↲ ╞ hdlc_eventno╞ ╞ = 3↲ ╞ max_inbufs╞ ╞ = 10↲ ╞ x25_datasize╞ ╞ = 256↲ ╞ trace_buf_no╞ ╞ = 10↲ ╞ trace_buf_size╞ ╞ = 300↲ ╞ dtetestbufno╞ ╞ = 20↲ ╞ max_chan╞ ╞ = N↲ ╞ mw_size = W↲ max_inbufs ┆a1┆<┆e1┆ 6 + N * W div 2↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ process/procedures code stack buffers↲ ┆81┆┆a1┆ bytes bytes bytes ╞ ╞ ↲ ↲ dte 31244 2924 + 72*N 344 + 212*N + 149* ┆81┆┆a1┆N*W↲ ┆81┆2↲ ╞ dte_access 7960 464 + 30*N 96↲ dte_chan 23946 1350 638 + 32*W↲ ╞ dte_lcnzero 5276 1110 306↲ ╞ dte_hrec 1644 424 352↲ dte_pool 1430 400 72↲ ↲ dte procedures 5344 - -↲ X25 procedures 7042 - -↲ pool procedures 1766 - -↲ ↲ ╞ dtetrace 4242 666 4160↲ ╞ outtrace 348 312 32↲ ↲ ╞ dtetest 9792 780 4622↲ ╞ dteclock - 210 32↲ ↲ ╞ dtesnoop 13000 7410 3070 + log buffer↲ ↲ ↲ ↲ ╞ Table 12: Storage requirements of the DTE System.↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ┆84┆Using this table the following static and dynamic requirements can ↓ ┆19┆┆89┆┄┄be set up. W is set to 2 (normally default value).↲ ↲ ┆b0┆╞ ┆a1┆DTE module↲ ↲ ╞ Static:↲ ╞ Code╞ ╞ ╞ 85652 bytes↲ ╞ Stacks dte╞ ╞ ╞ 2924 -↲ ╞ ╞ dte_access╞ ╞ 464 -↲ ╞ ╞ dte_lcnzero╞ ╞ 1110 -↲ ╞ ╞ dte_hrec╞ ╞ 424 -↲ ╞ ╞ dte_pool╞ ╞ 400 -↲ ╞ Pools dte╞ ╞ ╞ 344 -↲ ╞ ╞ dte_access╞ ╞ 96 -↲ ╞ ╞ dte_lcnzero╞ ╞ 306 -↲ ╞ ╞ dte_hrec╞ ╞ 352 -↲ ╞ ╞ dte_pool╞ ┆e1┆┆e1┆ ┆a1┆ 72 - ↲ ╞ ╞ ╞ ╞ 92144 bytes↲ ↲ ╞ Dynamic at creation (per logical channel):↲ ╞ Stacks dte╞ ╞ ╞ 72 bytes↲ ╞ ╞ dte_access╞ ╞ 30 -↲ ╞ Pools dte╞ ╞ ┆a1┆┆e1┆ ┆a1┆ 212 - ↲ ╞ ╞ ╞ ╞ ╞ 314 bytes↲ ↲ ╞ Dynamic at runtime (per active logical channel):↲ ╞ Stacks dte_chan╞ ╞ ╞ 1350 bytes↲ ╞ Pools dte_chan╞ ╞ ╞ 638+32*2 ↲ ╞ dte ┆a1┆ 149+212 ↲ ╞ ╞ ╞ ╞ ╞ ╞ 2201 bytes↲ ↲ ╞ ┆84┆For the test, trace and snoop system static requirements means, ↓ ┆19┆┆89┆┄┄what is required even if the system is not activated, but loaded, ↓ ┆19┆┆89┆┄┄and dynamic is the requirements, when the system is active.↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆╞ ┆a1┆Trace System↲ ↲ ╞ Static:↲ ╞ Code╞ ╞ ╞ 4590 bytes↲ ↲ ╞ Dynamic:↲ ╞ Stacks dtetrace╞ ╞ 666 bytes↲ ╞ ╞ outtrace╞ ╞ 312 -↲ ╞ Pools dtetrace ╞ ╞ 4160 -↲ ╞ ╞ outtrace╞ ╞ ┆a1┆ 32 - ↲ ╞ ╞ ╞ ╞ ╞ 5170 bytes↲ ↲ ┆b0┆╞ ┆a1┆Test System↲ ↲ ╞ Static:↲ ╞ Code╞ ╞ ╞ 9792 bytes↲ ╞ Stack╞ ╞ ╞ 990 -↲ ╞ Pools╞ ╞ ┆a1┆╞ 4654 - ↲ ╞ ╞ ╞ ╞ ╞ 13436 bytes↲ ↲ ┆b0┆╞ NB: The test system will allways be created, if it is loaded.↲ ↲ ↲ ┆b0┆╞ ┆a1┆Snoop System↲ ↲ ╞ Static:↲ ╞ Code╞ ╞ ┆a1┆┆e1┆╞ 13000 bytes↲ ↲ ╞ Dynamic:↲ ╞ Stack dtesnoop╞ ╞ 7410 bytes↲ ╞ Pools dtesnoop╞ ┆a1┆╞ 3070 - + log buffer ↲ ╞ ╞ ╞ ╞ ╞ 10480 bytes + log buffer↲ ↲ ╞ ┆84┆From the above outlined figures the following systems requirements ↓ ┆19┆┆89┆┄┄can be deduced.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ A) ┆a1┆DTE System without Test, Trace and Snoop Systems:↲ ↲ ╞ 92144 bytes + N * 314 bytes + N * 2201 bytes↲ ↲ ╞ B) ┆a1┆DTE System including Test System:↲ ↲ ╞ 107580 bytes + N * 314 bytes + N * 2201 bytes↲ ↲ ╞ C) ┆a1┆DTE System including Test and Trace System↲ ↲ ╞ trace not activated↲ ╞ 112170 bytes + N * 314 bytes + N * 2201 bytes↲ ↲ ╞ trace activated↲ ╞ 117340 bytes + N * 314 bytes + N * 2201 bytes↲ ↲ ╞ D) ┆a1┆DTE System including Snoop System (activated)↲ ↲ ╞ 116624 bytes + N * 314 bytes + N * 2201 bytes + log buffer.↲ ↲ ↲ ┆a1┆7.3╞ Module Compilation.↲ ↲ ╞ ┆84┆In this section the jobs for compilation of the DTE System and ↓ ┆19┆┆89┆┄┄listning of the source texts are explained.↲ ↲ ↲ ┆a1┆7.3.1╞ Version Information.↲ ↲ ╞ ┆84┆When the DTE starts up different information are written on the ↓ ┆19┆┆89┆┄┄console (see section 7.4 and 6.2). The version number and date of ↓ ┆19┆┆89┆┄┄the DTE module are contained in the RC8000 file DTEINFOENV. ↓ ┆19┆┆89┆┄┄Besides this version number each process of the DTE has its own ↓ ┆19┆┆89┆┄┄version number, which is the first variable in the VAR section of ↓ ┆19┆┆89┆┄┄the program. This may help the programmer in decoding an RC3502 ↓ ┆19┆┆89┆┄┄stack dump.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆7.3.2╞ Compilation jobs.↲ ↲ ╞ ┆84┆To support the generation of a binary DTE module several jobs ↓ ┆19┆┆89┆┄┄exists. They are gathered in the library (lib) file LIBJDTE.↲ ↲ ╞ The contents of LIBJDTE is↲ ↲ ╞ jdtegen╞ : DTE generation job↲ ╞ jdtelib╞ : External DTE library generation job↲ ╞ jdtelist╞ : DTE listning job↲ ╞ jdteproc╞ : External DTE procedure generation job↲ ╞ jdtetest╞ : Test System generation job↲ ╞ jdtetrace╞ : Trace System generation job↲ ╞ jdteutlist╞ : Job for listning of Test and Trace System↲ ╞ jeditchenv╞ : Help job for the DTE generation↲ ╞ jlibinsert╞ : Help job for the DTE generation↲ ╞ jpoollib╞ : External pool library generation job↲ ╞ jx25bib╞ : External X.25 library generation job↲ ╞ jx25proc╞ : External X.25 procedure generation job↲ ╞ stdconf╞ : Standard configuration file↲ ╞ jdtepunch╞ : ┆84┆Job generating the DTE boot file from the ↓ ┆19┆┆9f┆┄┄binary files.↲ ↲ ╞ ┆84┆All jobs will ask the operator some questions about name of source ↓ ┆19┆┆89┆┄┄library, which process to compile/list and so on, and the operator ↓ ┆19┆┆89┆┄┄can in this way choose to generate his own system. In ap┄pendix F ↓ ┆19┆┆89┆┄┄some examples of this dialog is shown.↲ ↲ ╞ ┆84┆All tempory files are removed by the job after compilation/list┄↓ ┆19┆┆89┆┄┄ning, and all binary files generated in the compilation will be ↓ ┆19┆┆89┆┄┄created at ┆b0┆user scope.↲ ↲ ╞ ┆84┆After a compilation it is necessary to reformat the binary files ↓ ┆19┆┆89┆┄┄with the job 'jdtepunch' also located in the job library LIBJDTE. ↓ ┆19┆┆89┆┄┄The result of this is a boot file, DTEBOOT. During this reformat┄↓ ┆19┆┆89┆┄┄ting it is possible to select whether the Test System and/or Trace ↓ ┆19┆┆89┆┄┄System shall be included or not.↲ ↲ ╞ ┆84┆The Snoop System has to be part of the basic system or loaded se┄↓ ┆19┆┆89┆┄┄peratly.↲ ↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆7.4╞ Creation of the DTE Module/System.↲ ↲ ╞ ┆84┆The module process parameters can, because the dte process is the ↓ ┆19┆┆89┆┄┄parent process, be found in section 4.2 and 7.1.2.↲ ↲ ╞ ┆84┆The parent of the DTE System must supply the relevant parameters ↓ ┆19┆┆89┆┄┄(see subsection 4.2.1), but only the following two are configura┄↓ ┆19┆┆89┆┄┄ting the module.↲ ↲ ╞ max_chan╞ : The maximum of active logical channels.↲ ╞ maxw_size : The maximum window size.↲ ↲ ╞ The needed creation parameters are:↲ ↲ ╞ Process parameters : please refer to subsection 4.2.1.↲ ╞ Stack size : 1462 + max_chan * 36 (words).↲ ╞ Priority : stdpriority (= -3) is recommended.↲ ↲ ╞ ┆84┆When the DTE module is created and starts up the following text ↓ ┆19┆┆89┆┄┄will be printed on the console if test(4) is true:↲ ↲ ╞ >dte↲ ╞ DATE 85.10.21. Version 14, env. 34.↲ ╞ ┆a1┆┆e1┆ Max channels 5. Max. users 5.↲ ↲ ╞ ┆84┆This indicates the date (85.10.21) and version number (14) of the ↓ ┆19┆┆89┆┄┄DTE module, the version number (34) of the internal dte environ┄↓ ┆19┆┆89┆┄┄ment DTEENV. Furthermore the configuration parameters max_chan and ↓ ┆19┆┆89┆┄┄max_users are printed.↲ ↲ ╞ ┆84┆When the Trace System is created the following text will be print┄↓ ┆19┆┆89┆┄┄ed on the console↲ ↲ ╞ >dtetrace↲ ╞ DTE TRACE Release 006 85.07.30↲ ╞ ┆a1┆┆e1┆ Number of trace buf: 10↲ ↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ «index» formatlinie til RC manualer↲ ┆14┆┆b3┆↲ ┆14┆┆b3┆┆06┆- ┆0b┆ -↲ ┆a1┆8.╞ SOURCE TEXT ORGANIZATION.↲ ↲ ╞ ┆84┆The source texts to the DTE System and the different compilation ↓ ┆19┆┆89┆┄┄and list jobs are organized in several RC8000 library files (lib ↓ ┆19┆┆89┆┄┄files) and normal RC8000 files. The following files constitute the ↓ ┆19┆┆89┆┄┄DTE System:↲ ↲ ╞ dteinfoenv╞ ┆84┆version information, number and date↲ xpoolenv╞ ╞ external pool handler environment↲ ╞ xdteenv ┆84┆external dte environment (constants and types ↓ ┆19┆┆9d┆┄┄needed by a user)↲ ╞ xtraceenv╞ ╞ external trace environment↲ ╞ xx25env╞ ╞ external X.25 environment↲ ╞ dtenetenv╞ ╞ comprimized netenv↲ ↲ ╞ libtdte<xx>╞ ┆84┆DTE source texts and external procedures (lib ↓ ┆19┆┆9d┆┄┄file)↲ ╞ libtx25╞ ╞ external X.25 procedures (lib file)↲ ↲ ╞ libjdte╞ ╞ ┆84┆compilation and list jobs for model 1 (lib ↓ ┆19┆┆9d┆┄┄file)↲ ╞ libjdte2╞ ╞ ┆84┆compilation and list jobs for model 2 (lib ↓ ┆19┆┆9d┆┄┄file)↲ ↲ ╞ ┆84┆Besides these files the following CENTERNET files are needed for ↓ ┆19┆┆89┆┄┄compilation of the DTE System:↲ ↲ ╞ netenv╞ ╞ general network environment↲ ╞ cnnetenv╞ ╞ general CENTERNET environment↲ ╞ xncpenv╞ ╞ external NCP environment↲ ↲ ╞ ┆84┆In figure 44 the connections between the source texts, the compi┄↓ ┆19┆┆89┆┄┄la┄tion jobs, the binary files, the CRC16 job and the load file are ↓ ┆19┆┆89┆┄┄shown.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 44: DTE System text and job connections.↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ┆84┆The contents of the lib-files, the plib-files are shown in appen┄↓ ┆19┆┆89┆┄┄dix E.↲ ↲ ╞ ┆84┆At boot file generation it is possible to decide whether the Trace ↓ ┆19┆┆89┆┄┄System and/or the Test System shall be integrated in the dteboot ↓ ┆19┆┆89┆┄┄file. These options are input to the jdtepunch job.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆14┆┆b3┆┆06┆- ┆0b┆ -↲ ↲ ↲ ↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆┆a1┆A. REFERENCES↲ ↲ ╞ (1) ┆a1┆Recommendation X.25↲ ┆84┆CCITT, Yellow Book┆14┆┆b3┆┆06┆↲ ╞ ┆84┆Services and Facilities, Terminal Equipment and Interfaces↲ ╞ ┆84┆ Vol. III - Fascicle VIII.2.↲ ╞ Geneva 1981.↲ ↲ ╞ (2) ┆a1┆Recommendation X.121↲ ╞ CCITT, Yellow Book↲ ╞ Data Communication Networks↲ ╞ Transmission, Signalling and Switching, Network aspects,↲ ╞ Maintenance, Administrative arrangements↲ ╞ Vol. VIII - Fascicle VIII.3↲ Geneva 1981.↲ ↲ ╞ (3) RCSL No 991-10316↲ ╞ ┆a1┆CENTERNET, DTE Module↲ ╞ ┆a2┆┆e2┆┆a1┆Programming Guide, Rev. 3.00↲ ╞ Per Høgh, October 1985.↲ ↲ ╞ (4) RCSL No 991-10315↲ ╞ ┆a1┆CENTERNET, Network Control,↲ ╞ ┆a1┆DTE LCP Specification Sheets, Rev. 2.00↲ ╞ Per Høgh, October 1985.↲ ↲ ╞ (5) ┆84┆PAXNET↲ ╞ ┆a1┆The User and LCP Interface of the Pool Handler↲ ╞ ┆a1┆Reference Manual, Rev. 1.00↲ ╞ Jørgen Linderoth, March 1983.↲ ↲ ╞ (6) DOKS NR. SP.TSSYS.15/2↲ ╞ ┆a1┆Alarm-system↲ ╞ ┆a1┆Systembeskrivelse for TS Timeoutmodulet↲ ╞ Ole Ejby Reinau, May 1980.↲ ↲ ╞ (7) RCSL No 43-GL11870↲ ╞ ┆a1┆RC3502 Snooper↲ ╞ ┆a1┆User's Guide↲ ╞ Valther Rasmussen, October 1982.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ (8) RCSL No 43-GL12166↲ ╞ ┆a1┆CENTERNET, CNADAM↲ ╞ ┆a1┆Reference Manual, Rev. 2.00↲ ╞ Peter Holm, December 1983.↲ ↲ ╞ (9) RCSL No 52-AA1214↲ ╞ ┆a1┆RC3546 HDLC Driver↲ ╞ ┆a1┆Reference Manual↲ ╞ Per Mondrup, December 1983.↲ ↲ (10) RCSL No 43-GL11424↲ ╞ ┆a1┆NCP Data Structures,↲ ╞ ┆a1┆Reference Manual, Rev. 1.02↲ ╞ Claus Houlberg Hansen, August 1981.↲ ↲ (11) RCSL No 52-AA964↲ ╞ ┆a1┆PASCAL80, Report↲ ╞ Jørgen Staunstrup, January 1980.↲ ↲ (12) RCSL No 42-i1539↲ ╞ ┆a1┆PASCAL80, User's Guide↲ ╞ Jan Bardino, October 1980.↲ ↲ (13) RCSL No 42-i1542↲ ╞ ┆a1┆RC3502 - PASCAL80, Reference Manual↲ ╞ Bo Bagger Laursen, November 1980.↲ ↲ (14) RCSL No 52-AA1072↲ ╞ ┆a1┆RC3502 REAL TIME PASCAL↲ ╞ ┆a1┆Extensions to the Reference Manual↲ ╞ Bo Bagger Laursen, October 1981.↲ ↲ (15) RCSL No 52-AA1056↲ ╞ ┆a1┆RC3502 REAL TIME PASCAL↲ ╞ ┆a1┆Character Input/Output Routines↲ ╞ Bo Bagger Laursen, June 1981.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆┆a1┆B.╞ ENVIRONMENTS↲ ↲ ╞ ┆84┆In this appendix are the different RTP environments to the DTE ↓ ┆19┆┆89┆┄┄System listed. Furthermore a lookup of necessary external ↓ ┆19┆┆89┆┄┄environments is shown in B.1. In B.8 is an example (STDCONF) of ↓ ┆19┆┆89┆┄┄the configuration environment shown.↲ ↲ ↲ ┆b0┆┆a1┆B.1╞ External Environments↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆┆a1┆B.2╞ xdteenv↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆┆a1┆B.3╞ xx25env↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆┆a1┆B.4╞ xtraceenv↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆┆a1┆B.5╞ dteenv↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆┆a1┆B.6╞ dtebreakenv↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆┆a1┆B.7╞ hdlcenv↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆┆a1┆B.8╞ stdconf↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆┆a1┆C.╞ STATE/ACTION TABLES↲ ↲ ╞ ┆84┆In this appendix are the state/action tables for the dte_access ↓ ┆19┆┆89┆┄┄(C.1), dte_lcnzero (C.2), and dte_chan (C.3) shown and a short ↓ ┆19┆┆89┆┄┄description of each action is given.↓ ↲ ↲ ┆b0┆┆a1┆C.1╞ dte_access↲ ↲ ╞ ┆84┆As mentioned in subsection 4.3.6 the dte_access process contains ↓ ┆19┆┆89┆┄┄four state/action tables↲ ↲ ╞ ╞ - one for user dependent actions↲ ╞ ╞ - one for stream dependent actions↲ ╞ ╞ - one for internal stream dependent actions↲ ╞ ╞ - one for stream independent actions.↲ ↲ ╞ ┆84┆Because of the connection between the tables stream dependent and ↓ ┆19┆┆89┆┄┄internal stream dependent, one table (C.1.2) outline the two im┄↓ ┆19┆┆89┆┄┄plemented state/action tables. Furthermore is the call request and ↓ ┆19┆┆89┆┄┄incomming call events included in this table. The other two are ↓ ┆19┆┆89┆┄┄shown as they are implemented.↲ ↲ ↲ ┆b0┆┆a1┆C.1.1╞ User Dependent↲ ↲ ╞ __________________________________________________________________↲ ╞ state free w_resc idle active↲ ┆a1┆event╞ ╞ ╞ ╞ ╞ ╞ ╞ ↲ ╞ call free╞ w_resc active active↲ ╞ request↲ ╞ ┆a1┆ not_conn ill_ureq call_init call_init ↲ wait free w_resc idle active↲ event↲ ┆a1┆ not_conn queue_ebuf queue_ebuf queue_ebuf ↲ receive free idle idle active↲ general↲ ┆a1┆ not_conn queue_gbuf queue_gbuf queue_gbuf ↲ ↲ ╞ Table 13: Process dte_access, user dependent state/action table.↲ ↲ ┆8c┆┄┆a9┆↓ ╞ ┆a1┆Actions:↲ ↲ ↲ ╞ ┆b0┆call_init╞ ╞ ┆f0┆: ┆84┆Check if the dte_state is ready, and a free ↓ ┆19┆┆9f┆┆81┆┄stream awailable. If it is, start call set-↓ ┆19┆┆9f┆┆81┆┄up phase by requesting a logical channel ↓ ┆19┆┆9f┆┆81┆┄from the dte process.↲ ↲ ╞ ┆b0┆queue_ebuf╞ ┆f0┆: ┆84┆Queue the event buffer at the semaphore ↓ ┆19┆┆9f┆┆81┆┄w_event_bsem. Then check if any event is ↓ ┆19┆┆9f┆┆81┆┄lost and if so generate an event.↲ ↲ ╞ ┆b0┆queue_gbuf╞ ┆f0┆: ┆84┆Queue the input buffer at the semaphore ↓ ┆19┆┆9f┆┆81┆┄general_bsem.↲ ↲ ╞ ┆b0┆ill_ureq╞ ╞ ┆f0┆: ┆84┆Return the message with result 'function not ↓ ┆19┆┆9f┆┆81┆┄allowed' (fct_not_allw)↲ ↲ ╞ ┆b0┆not_conn╞ ╞ ┆f0┆: ┆84┆Return the message with result 'user un┄↓ ┆19┆┆9f┆┆81┆┄known' (recv_unkw).↲ ↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆┆a1┆C.1.2╞ Stream Dependent↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ┆a1┆Actions:↲ ↲ ┆b0┆╞ queue_ureq╞ ┆f0┆: ┆84┆The message is signalled to the associated ↓ ┆19┆┆9f┆┆81┆┄dte_chan process incarnation.↲ ↲ ╞ ┆b0┆call_accept╞ ┆f0┆: ┆84┆Depending of the intern_state either the ↓ ┆19┆┆9f┆┆81┆┄message is signalled to the semaphore sus┄↓ ┆19┆┆9f┆┆81┆┄pend_bsem or the call set-up phase is ended, ↓ ┆19┆┆9f┆┆81┆┄including forwarding the message to the as┄↓ ┆19┆┆9f┆┆81┆┄sociated dte_chan process incarnation.↲ ↲ ╞ ┆b0┆call_rejct╞ ┆f0┆: ┆84┆The stream is cleared and the message ↓ ┆19┆┆9f┆┆81┆┄forwarded to the dte_chan process ↓ ┆19┆┆9f┆┆81┆┄incarnation in order to clear the Virtual ↓ ┆19┆┆9f┆┆81┆┄Call.↲ ↲ ╞ ┆b0┆user_clear╞ ┆f0┆: ┆84┆Depending of intern_state the message is ↓ ┆19┆┆9f┆┆81┆┄either signal to the dte_chan process incar┄↓ ┆19┆┆9f┆┆81┆┄nation or the semaphore suspend_bsem.↲ ↲ ╞ ┆b0┆chan_alloc╞ ┆f0┆: ┆84┆The logical channel has been allocated, so ↓ ┆19┆┆9f┆┆81┆┄the stream is initialized.↲ ↲ ╞ ┆b0┆chan_clear╞ ┆f0┆: ┆84┆The logical channel has been allocated, but ↓ ┆19┆┆9f┆┆81┆┄cleared by the dte_chan process incarnation. ↓ ┆19┆┆9f┆┆81┆┄The stream is cleared in the interface ↓ ┆19┆┆9f┆┆81┆┄(dte_access).↲ ↲ ╞ ┆b0┆xfer_event╞ ┆f0┆: ┆84┆A stream event is generated.↲ ↲ ╞ ┆b0┆clear_ch╞ ╞ ┆f0┆: ┆84┆The message is awaiting chan_start answer.↲ ↲ ╞ ┆b0┆clear_strm╞ ┆f0┆: ┆84┆The stream clearing phase is started.↲ ↲ ╞ ┆b0┆st_cleared╞ ┆f0┆: ┆84┆The stream clearing phase is ended.↲ ↲ ╞ ┆b0┆switch_mode╞ ┆f0┆: ┆84┆Switch input mode from dedicated to general.↲ ↲ ╞ ┆b0┆retn_notpr╞ ┆f0┆: ┆84┆Return the message with result ↓ ┆19┆┆9f┆┆81┆┄not_processed.↲ ↲ ┆8c┆┄┆a9┆↓ ╞ ┆b0┆ill_sreq╞ ╞ ┆f0┆: ┆84┆Return the message with result 'function not ↓ ┆19┆┆9f┆┆81┆┄allowed' (fct_not_allw).↲ ↲ ╞ ┆b0┆unkw_req╞ ╞ ┆f0┆: ┆84┆Return the message with result 'illegal ope┄↓ ┆19┆┆9f┆┆81┆┄ration' (ill_opcode).↲ ↲ ↲ ┆b0┆┆a1┆C.1.3╞ Stream Independent↲ ╱04002d440c00060000000003014e31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ↓ ↲ ┆a1┆┆e1┆╞ ____________________________________________________________________↲ state dte_ hdlc_ net_↲ dte_ready restart active down↲ ┆a1┆┆e1┆ ┆a1┆event ↲ connect dte_ready dte_restart hdlc_active net_down↲ ↲ ┆a1┆ conn_user conn_user conn_user conn_user ↲ ┆e1┆┆a1┆┆e1┆╞ disconnect dte_ready dte_restart hdlc_active net_down↲ ↲ ┆a1┆ disc_user disc_user disc_user disc_user ↲ inc call dte_ready dte_restart hdlc_active net_down↲ ↲ ┆a1┆ xfer_call rest_state rest_state rest_state ↲ restart_ dte_restart dte_restart hdlc_active net_down↲ start↲ ┆a1┆ restart_dte restarted restarted restarted ↲ restart_end dte_ready dte_ready dte_ready dte_ready↲ ↲ ┆a1┆ restart_dte restart_dte restart_dte restart_dte↲ ┆a1┆┆e1┆ inc_u_event dte_ready dte_restart hdlc_active net_down↲ ↲ ┆a1┆ xfer_u_event rest_state rest_state rest_state ↲ ↲ ╞ Table 15: Process dte_access, stream independent state/action table.↲ ↲ ╞ ┆a1┆Actions:↲ ↲ ╞ ┆b0┆conn_user╞ ╞ ┆f0┆: ┆84┆Find an empty user entry and connect the user.↲ ↲ ┆8c┆┄┆a6┆↓ ╞ ┆b0┆disc_user╞ ╞ ┆f0┆: ┆84┆Disconnect the user.↲ ↲ ╞ ┆b0┆xfer_call╞ ╞ ┆f0┆: ┆84┆Find the requested user and a free stream. If ↓ ┆19┆┆9f┆┆81┆┄ok transfer the incoming call to the user.↲ ↲ ╞ ┆b0┆restart_dte╞ ┆f0┆: ┆84┆Get the restart parameters and generate an user ↓ ┆19┆┆9f┆┆81┆┄event. If necessary clear all streams.↲ ↲ ╞ ┆b0┆rest_state╞ ┆f0┆: ┆84┆Return message with result 'dte_restarted'.↲ ↲ ╞ ┆b0┆restarted╞ ╞ ┆f0┆: ┆84┆Nothing is performed.↲ ↲ ╞ ┆b0┆xfer_u_event╞ ┆f0┆: ┆84┆A user event is generated.↲ ┆b0┆↲ ↲ ┆b0┆┆a1┆C.2╞ dte_lcnzero↲ ↲ ╞ ┆84┆As mentioned in subsection 4.5.6 the dte_lcnzero process contains ↓ ┆19┆┆89┆┄┄one state/action table implemented as a state machine. This table ↓ ┆19┆┆89┆┄┄is shown below and a short description of the actions is given ↓ ┆19┆┆89┆┄┄too.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ state r1 r2 r4 r5 ↲ dte_ dte_ hdlc_ net_↲ ┆a1┆┆e1┆ ┆a1┆event ready restart active down ↲ restart_indi r1 r1 r1 r5↲ ┆a1┆┆e1┆ lcn = 0↲ ╞ ┆a1┆ A10 A15 A15 A1↲ restart_conf r2 r1 r1 r5↲ lcn = 0↲ ┆a1┆ A12 A15 A15 A1↲ diagnostic r1 r2 r4 r5↲ lcn = 0↲ ┆a1┆ A13 A13 A13 A13↲ ↲ ↲ ╞ _________________________________________________________↲ all other r1 r2 r4 r5↲ X.25 packets↲ ┆a1┆ A1 A1 A1 A1↲ ↲ ↲ ╞ _________________________________________________________↲ NC restart r2 r2 r4 r5↲ request↲ ┆a1┆ A14 A0 A14 A2↲ hdlc_ r5 r5 r5 r4↲ connected↲ ┆a1┆ A9 A9 A9 A17↲ hdlc_ r5 r5 r5 r5↲ disconnected↲ ┆a1┆ A0 A5 A5 A9↲ timer t20 r5 r2 r4 r5↲ ┆a1┆┆e1┆expired↲ ┆a1┆ A9 A16 A16 A9↲ ↲ ╞ Table 16: Process dte_lcnzero, state/action table.↲ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ╱04002d440c00060000000003014e31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ┆a1┆Actions:↲ ↲ ╞ ┆b0┆A0 ┆f0┆: Return message with result 'ok'↲ ↲ ╞ ┆b0┆A1 ┆f0┆: Return message to pool.↲ ↲ ╞ ┆b0┆A2 ┆f0┆: Return message with result 'rejected'.↲ ↲ ╞ ┆b0┆A5 ┆f0┆: ┆84┆Stop timer t20 (state := t_stop) and↲ ╞ return message with result 'ok'↲ ↲ ╞ ┆b0┆A9 ┆f0┆: (* State table error *)↲ ↲ ╞ ┆b0┆A10┆f0┆: (* Restart indication received *)↲ ┆84┆Inform the dte process, send restart con┄firmation to DCE ↓ ┆19┆┆91┆┄┄and generate an NC event.↲ ↲ ╞ ┆b0┆A12┆f0┆: (* DCE local procedure error *)↲ ┆84┆Send restart request to DCE, start timer t20 (state := ↓ ┆19┆┆91┆┄┄t_run) and inform the dte process.↲ ↲ ╞ ┆b0┆A13┆f0┆: (* Diagnostic received *)↲ Generate an NC event and inform the dte process.↲ ↲ ╞ ┆b0┆A14┆f0┆: (* Restart requested by the DTE *)↲ ┆84┆Send restart request to DCE, start timer t20 (state := ↓ ┆19┆┆91┆┄┄t_run) and return message with result ok.↲ ↲ ╞ ┆b0┆A15┆f0┆: (* Restart phase ended *)↲ ┆84┆Stop timer t20 (state := t_stop), inform the dte process ↓ ┆19┆┆91┆┄┄and generate an NC event.↲ ↲ ╞ ┆b0┆A16┆f0┆: (* Timer t20 has expired *)↲ ┆84┆Send restart request to the DCE start timer t20 (state := ↓ ┆19┆┆91┆┄┄t_run) and inform the dte process.↲ ↲ ╞ ┆b0┆A17┆f0┆: (* hdlc line connected *)↲ ╞ ┆84┆Start timer t20 (state := t_run) and return message with ↓ ┆19┆┆91┆┄┄result ok.↲ ↲ ↲ ┆8c┆┄┆a9┆↓ ┆b0┆┆a1┆C.3╞ dte_chan↲ ↲ ╞ ┆84┆As mentioned in subsection 4.6.6 the dte_chan process contains one ↓ ┆19┆┆89┆┄┄state/action table, implemented as a state machine. This table is ↓ ┆19┆┆89┆┄┄shown below as 5 subtables and a short description of each action ↓ ┆19┆┆89┆┄┄is given too. To get a clearer view of the state transitions 4 ↓ ┆19┆┆89┆┄┄figures (fig. 45 to fig. 48) outlines the call set-up/clear phase, ↓ ┆19┆┆89┆┄┄the data phase and the reset phase.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ┆84┆All actions are grouped depending of the overall type of action to ↓ ┆19┆┆89┆┄┄be performed. ↓ ┆19┆┆89┆┄┄Six groups have been identified:↲ ↲ ╞ A0-A9 : returnal/discard of message/answer.↲ A10-A19: call set-up phase↲ A20-A29: clear phase↲ A30-A39: normal data transfer↲ A40-A49: reset phase↲ A50-A54: special actions↲ ↲ ╞ ┆a1┆Actions:↲ ↲ ╞ ┆b0┆A0 ┆f0┆: Dummy.↲ ↲ ╞ ┆b0┆A1 ┆f0┆: ┆84┆Discard small or big packet by returning buffer to pool.↲ ↲ ╞ ┆b0┆A2 ┆f0┆: ┆84┆Discard big packet by returning buffer to pool.↲ ↲ ╞ ┆b0┆A4 ┆f0┆: ┆84┆(* State table error *)↲ ╞ ┆84┆Trace event.↲ ↲ ╞ ┆b0┆A5 ┆f0┆: Return message with result 'ok'↲ ↲ ╞ ┆b0┆A6 ┆f0┆: ┆84┆Return message with result 'not_processed'.↲ ↲ ╞ ┆b0┆A8 ┆f0┆: ┆84┆Return message with result 'fct_not_allw'.↲ ↲ ╞ ┆b0┆A10┆f0┆: ┆84┆(* Incomming call received *)↲ ╞ ┆84┆The packet is checked, tables are updated, data are moved to ↓ ┆19┆┆8e┆┄┄a general input buffer and this buffer is signalled to the ↓ ┆19┆┆8e┆┄┄dte_access process. If the check fails, a CLEAR REQUEST pac┄↓ ┆19┆┆8e┆┄┄ket is transmitted to the DCE, and an NC event is generated.↲ ↲ ╞ ┆b0┆A11┆f0┆: (* Call request is received from the user *)↲ ╞ ┆84┆The message is checked, tables are updated, and an X.25 CALL ↓ ┆19┆┆8e┆┄┄REQUEST packet is build up and transmitted to the DCE. If any ↓ ┆19┆┆8e┆┄┄thing went wrong the user is informed by returnal of the buf┄↓ ┆19┆┆8e┆┄┄fer and a stream event.↲ ↲ ┆8c┆┄┆a8┆↓ ╞ ┆b0┆A12┆f0┆: (* The user has rejected the incomming call *)↲ ╞ ┆84┆A CLEAR REQUEST packet is transmitted to the DCE and table ↓ ┆19┆┆8e┆┄┄chan_rec is updated. An NC event is genereated.↲ ↲ ╞ ┆b0┆A13┆f0┆: ┆84┆(* The Virtual Call has been cleared before the user has ↓ ┆19┆┆8e┆┆81┆┄responded *)↲ ╞ ┆84┆If the user is accepting the call set-up, the message is ↓ ┆19┆┆8e┆┄┄returned with result 'not_processed'. All internal messages ↓ ┆19┆┆8e┆┄┄are released.↲ ↲ ╞ ┆b0┆A16┆f0┆: ┆84┆(* The call set-up is accepted by the DCE. A call connected ↓ ┆19┆┆8e┆┆81┆┄packet is received *)↲ ╞ ┆84┆The CALL CONNECTED data is moved to the user dte_call_req ↓ ┆19┆┆8e┆┄┄message and returned to the user. An NC event is generated ↓ ┆19┆┆8e┆┄┄and tables, pool, and timers are updated. If dedicated input ↓ ┆19┆┆8e┆┄┄is used, the state machine is prepared for sending an RNR ↓ ┆19┆┆8e┆┄┄packet.↲ ↲ ┆b0┆╞ A17┆f0┆: ┆84┆(* The call set-up is accepted by the user. A call_accept ↓ ┆19┆┆8e┆┆81┆┄message is received *)↲ ╞ ┆84┆A CALL ACCEPTED packet is transmitted to the DCE. An NC event ↓ ┆19┆┆8e┆┄┄is generated, and tables, pool, and timers are updated.↲ ╞ ┆84┆If dedicated input is used, the state machine is prepared for ↓ ┆19┆┆8e┆┄┄sending an RNR packet.↲ ↲ ╞ ┆b0┆A18┆f0┆: ┆84┆(* Timeout t11m: the user has not answered a Virtual Call ↓ ┆19┆┆8e┆┆81┆┄set-up request *)↲ ╞ ┆84┆The logical channel is cleared by transmitting a CLEAR ↓ ┆19┆┆8e┆┄┄REQUEST packet to the DCE and informing the user through the ↓ ┆19┆┆8e┆┄┄dte_access process. An NC event is generated.↲ ↲ ╞ ┆b0┆A19┆f0┆: ┆84┆(* Timeout t21: the DCE has not answered a call request pac┄↓ ┆19┆┆8e┆┆81┆┄ket *)↲ ╞ ┆84┆The logical channel is cleared by transmitting a CLEAR RE┄↓ ┆19┆┆8e┆┄┄QUEST packet to the DCE and informing the user through the ↓ ┆19┆┆8e┆┄┄dte_access process. An NC event is generated.↲ ↲ ╞ ┆b0┆A21┆f0┆: (* DCE local procedure error in state xidle *)↲ ╞ ┆84┆A CLEAR REQUEST packet is transmitted to the DCE.↲ ↲ ┆8c┆┄┆a8┆↓ ╞ ┆b0┆A22┆f0┆: (* A clear indication packet is received in state xidle *)↲ ╞ ┆84┆A CLEAR CONFIRMATION packet is transmitted to the DCE, and ↓ ┆19┆┆8e┆┄┄the internal stop procedure is initiated.↲ ↲ ┆b0┆╞ A23┆f0┆: (* A clear indication packet is received *)↲ ╞ ┆84┆A CLEAR CONFIRMATION packet is transmitted to the DCE. The ↓ ┆19┆┆8e┆┄┄user is informed through the dte_access process. All user ↓ ┆19┆┆8e┆┄┄buffers are returned with result 'not_processed'. An NC event ↓ ┆19┆┆8e┆┄┄is generated and the internal stop procedure is initiated.↲ ↲ ┆b0┆╞ A24┆f0┆: (* DCE local procedure error *)↲ ╞ ┆84┆A CLEAR REQUEST packet is transmitted to the DCE. The user is ↓ ┆19┆┆8e┆┄┄informed through the dte_access process. All user buffers are ↓ ┆19┆┆8e┆┄┄returned with result 'not_processed'. An NC event is gene┄↓ ┆19┆┆8e┆┄┄rated.↲ ↲ ┆b0┆╞ A25┆f0┆: (* A clear request message is received from the user *)↲ ╞ ┆84┆A CLEAR REQUEST packet is transmitted to the DCE. All user ↓ ┆19┆┆8e┆┄┄buffers are returned, and an NC event is generated.↲ ↲ ┆b0┆╞ A26┆f0┆: ┆84┆(* Timeout t23: the DCE has not answered a clear request ↓ ┆19┆┆8e┆┆81┆┄packet *)↲ ╞ ┆84┆A CLEAR REQUEST packet is transmitted to the DCE. If state is ↓ ┆19┆┆8e┆┄┄xdteclear all remaining user buffers are returned, and the ↓ ┆19┆┆8e┆┄┄clearing phase of the stream (interface to user) is finished ↓ ┆19┆┆8e┆┄┄by informing the dte_access process.↲ ↲ ┆b0┆╞ A27┆f0┆: ┆84┆(* A clear indication or confirmation packet is received in ↓ ┆19┆┆8e┆┆81┆┄state xret_clear *)↲ ╞ ┆84┆An NC event is generated and the internal stop procedure is ↓ ┆19┆┆8e┆┄┄initiated.↲ ↲ ┆b0┆╞ A29┆f0┆: ┆84┆(* A clear indication or confirmation packet is received as ↓ ┆19┆┆8e┆┆81┆┄an answer on a clear request packet *)↲ ╞ ┆84┆All pending user buffers are returned and the clearing phase ↓ ┆19┆┆8e┆┄┄of the stream (interface to user) is finished by informing ↓ ┆19┆┆8e┆┄┄the dte_access process. The internal stop procedure is ↓ ┆19┆┆8e┆┄┄initiated.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ ┆b0┆A30┆f0┆: (* A data packet is received *)↲ ╞ ┆84┆The sequence counters (P(R), P(S)) are checked. If not ok an ↓ ┆19┆┆8e┆┄┄reset phase is initiated by sending a RESET REQUEST packet to ↓ ┆19┆┆8e┆┄┄the DCE.↲ ↲ ╞ ┆84┆If ok, the data is moved to a user buffer (either general or ↓ ┆19┆┆8e┆┄┄dedicated input depending on chan_rec.rcv_buf_type, receive ↓ ┆19┆┆8e┆┄┄buffer type). If the P(R) acknowledged any send_data message ↓ ┆19┆┆8e┆┄┄these are returned if possible. If the window has been moved, ↓ ┆19┆┆8e┆┄┄data can be sent if any. An RR packet is transmitted to the ↓ ┆19┆┆8e┆┄┄DCE if necessary. The timer t30 is updated.↲ ↲ ┆b0┆╞ A31┆f0┆: (* An interrupt packet is received *)↲ ╞ ┆84┆The interrupt data is moved to a user general input buffer, ↓ ┆19┆┆8e┆┄┄which is returned to the user, and an INTERRUPT CONFIRMATION ↓ ┆19┆┆8e┆┄┄packet is transmitted to the DCE.↲ ↲ ┆b0┆╞ A32┆f0┆: ┆84┆(* A data packet is received in a state, where the DTE is not ↓ ┆19┆┆8e┆┆81┆┄ready *)↲ ╞ ┆84┆The sequence counters (P(R), P(S)) are checked. If not ok an ↓ ┆19┆┆8e┆┄┄reset phase is initiated by sending a RESET REQUEST packet to ↓ ┆19┆┆8e┆┄┄the DCE.↲ ↲ ╞ ┆84┆If ok, queue the packet if the bit data_lost in status_word ↓ ┆19┆┆8e┆┄┄is not already set. If it is, discard the packet.↲ ↲ ╞ ┆84┆If the P(R) acknowledged any send_data message these are ↓ ┆19┆┆8e┆┄┄returned if possible.↲ ↲ ┆b0┆╞ A33┆f0┆: (* An rr or rnr is received *)↲ ╞ ┆84┆The sequence counter P(R) is checked. If not ok an reset ↓ ┆19┆┆8e┆┄┄phase is initiated by sending a RESET REQUEST packet to the ↓ ┆19┆┆8e┆┄┄DCE. If the window has been moved, data can be sent if any. ↓ ┆19┆┆8e┆┄┄If the P(R) acknowledged any send_data messages these are ↓ ┆19┆┆8e┆┄┄returned if possible.↲ ↲ ┆b0┆╞ A34┆f0┆: (* Internal event: window open *)↲ ╞ ┆84┆Enough dedicated input buffers has been supplied by the user ↓ ════════════════════════════════════════════════════════════════════════ ↓ ┆19┆┆8e┆┄┄to set the Virtual Call in dte ready, by transmitting an RR ↓ ┆19┆┆8e┆┄┄packet to the DCE. If any X.25 DATA packets are queued, ↓ ┆19┆┆8e┆┄┄'receive' these and return the data to the user in a ↓ ┆19┆┆8e┆┄┄dedicated input buffer.↲ ↲ ┆b0┆╞ A35┆f0┆: (* A send_data message is received *)↲ ╞ ┆84┆The size of the message is checked, so an X.25 header can be ↓ ┆19┆┆8e┆┄┄in front of the user data. If ok an X.25 DATA packet is ↓ ┆19┆┆8e┆┄┄transmitted to the DCE if internal resources available and ↓ ┆19┆┆8e┆┄┄window open. If not possible to sent DATA packet it is queue ↓ ┆19┆┆8e┆┄┄at a semaphore.↲ ↲ ┆b0┆╞ A36┆f0┆: (* A send_interrupt message is received *)↲ ╞ ┆84┆The size of the message is checked, so an X.25 header can be ↓ ┆19┆┆8e┆┄┄in front of the user data. If ok an X.25 INTERRUPT packet is ↓ ┆19┆┆8e┆┄┄transmitted to the DCE.↲ ↲ ┆b0┆╞ A37┆f0┆: (* Timeout t30: idle timer *)↲ ╞ ┆84┆An RR packet is transmitted to the DCE.↲ ↲ ┆b0┆╞ A38┆f0┆: (* An interrupt confirmation packet is received *)↲ ╞ ┆84┆The now acknowledged interrupt is returned to the user. If ↓ ┆19┆┆8e┆┄┄any dte_send_interrupt is pending the first is transmitted to ↓ ┆19┆┆8e┆┄┄the DCE as an X.25 INTERRUPT packet.↲ ↲ ┆b0┆╞ A40┆f0┆: (* An reset request message is received *)↲ ╞ ┆84┆An reset phase is initiated by transmitting an RESET REQUEST ↓ ┆19┆┆8e┆┄┄packet to the DCE. All user buffers are returned.↲ ↲ ┆b0┆╞ A41┆f0┆: ┆84┆(* An reset indication packet is received in state wsync, ↓ ┆19┆┆8e┆┆81┆┄ndce_wsync *)↲ ╞ ┆84┆An RESET CONFIRMATION packet is transmitted to the DCE. All ↓ ┆19┆┆8e┆┄┄user buffers are returned.↲ ↲ ┆b0┆╞ A42┆f0┆: (* Timeout t12m: DCE reset timeout *)↲ ╞ ┆84┆An RESET CONFIRMATION packet is transmitted to the DCE. If ↓ ┆19┆┆8e┆┄┄dedicated input is used, the state machine is prepared for ↓ ┆19┆┆8e┆┄┄sending an RNR packet.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆╞ A43┆f0┆: (* A sync message is received *)↲ ╞ ┆84┆The message is queued until an RESET CONFIRMATION packet is ↓ ┆19┆┆8e┆┄┄received.↲ ↲ ╞ ┆b0┆A44┆f0┆: (* A sync message is received *)↲ ╞ ┆84┆The reset phase is ended by sending a RESET CONFIRMATION ↓ ┆19┆┆8e┆┄┄packet to the DCE and returning the dte_sync_stream message ↓ ┆19┆┆8e┆┄┄to the user. If dedicated input is used, the state machine is ↓ ┆19┆┆8e┆┄┄prepared for sending an RNR packet.↲ ↲ ┆b0┆╞ A45┆f0┆: (* An reset indication packet is received *)↲ ╞ ┆84┆The user is informed through the dte_access process and all ↓ ┆19┆┆8e┆┄┄user buffers are returned with result 'not_processed_. Timer ↓ ┆19┆┆8e┆┄┄t12m is started.↲ ↲ ┆b0┆╞ A46┆f0┆: ┆84┆(* An reset indication packet is received in state ↓ ┆19┆┆8e┆┆81┆┄ndte_wsync, ndctewsync *)↲ ╞ ┆84┆An RESET CONFIRMATION packet is transmitted to the DCE. All ↓ ┆19┆┆8e┆┄┄user buffers are returned, and any X.25 DATA packets queued ↓ ┆19┆┆8e┆┄┄are discarded.↲ ╞ ┆84┆The state machine is prepared for sending an RNR packet.↲ ↲ ┆b0┆╞ A47┆f0┆: ┆84┆(* An reset indication or confirmation packet is received *)↲ ╞ ┆84┆The reset phase is ended. Return a possible dte_reset_req ↓ ┆19┆┆8e┆┄┄message. If dedicated input is used and not enough dedicated ↓ ┆19┆┆8e┆┄┄input buffers are supplied by the user, the state machine is ↓ ┆19┆┆8e┆┄┄prepared for sending an RNR packet.↲ ↲ ┆b0┆╞ A48┆f0┆: ┆84┆(* Timeout t22: the DCE has not answered an reset request ↓ ┆19┆┆8e┆┆81┆┄packet *)↲ ╞ ┆84┆An RESET REQUEST packet is transmitted to the DCE, and timer ↓ ┆19┆┆8e┆┄┄t22 is started.↲ ↲ ┆b0┆╞ A49┆f0┆: (* DCE local procedure error *)↲ ╞ ┆84┆All user buffers are returned. If state is xreset or any ↓ ┆19┆┆8e┆┄┄xxx_wsync the user is not informed. Otherwise the user is ↓ ┆19┆┆8e┆┄┄informed through the dte_access process. Timer t22 is ↓ ┆19┆┆8e┆┄┄started.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆╞ A50┆f0┆: ┆84┆(* A send data message received in any state with dte not ↓ ┆19┆┆8e┆┆81┆┄ready *)↲ ╞ ┆84┆The message size is checked, so an X.25 header can be in front ↓ ┆19┆┆8e┆┄┄of the user data. If ok queue the message at a semaphore.↲ ↲ ┆b0┆╞ A51┆f0┆: ┆84┆(* A send interrupt message is received in a state with an ↓ ┆19┆┆8e┆┆81┆┄unacknowledged X.25 interrupt *)↲ ╞ ┆84┆The message is queued at a semaphore.↲ ↲ ┆b0┆╞ A52┆f0┆: (* Timeout t31: data lost timer *)↲ ╞ ┆84┆Discard any queued X.25 DATA packets and if any is discarded ↓ ┆19┆┆8e┆┄┄set the bit data_lost in the status_word.↲ ↲ ┆b0┆╞ A53┆f0┆: (* Internal event: xdata ┆a1┆d┆e1┆te ┆a1┆n┆e1┆ot ┆a1┆r┆e1┆eady *)↲ ╞ ┆84┆An RNR packet is transmitted to the DCE.↲ ↲ ┆b0┆╞ A54┆f0┆: (* A change input mode message is received *)↲ ╞ ┆84┆All dedicated input buffers are returned with result ↓ ┆19┆┆8e┆┄┄'not_processed', and an RR packet is transmitted to the DCE.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 45: ┆84┆Process dte_chan, state transition graph for the call ↓ ┆19┆┆94┆┄┄set-up and clear phase.↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 46: ┆84┆Process dte_chan, state transition graph for the data ↓ ┆19┆┆94┆┄┄phase.↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 47: ┆84┆Process dte_chan, state transition graph for the reset ↓ ┆19┆┆94┆┄┄phase, part 1.↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ↲ ↲ ↲ ↲ ┆81┆↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 48: ┆84┆Process dte_chan, state transition graph for the reset ↓ ┆19┆┆94┆┄┄phase, part 2.↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆┆a1┆D.╞ TRACE AND TEST DESCRIPTION↲ ↲ ╞ ┆84┆In this appendix examples of trace output (D.1) and internal ↓ ┆19┆┆89┆┄┄testoutput (D.3) is shown. Furthermore are the text strings used ↓ ┆19┆┆89┆┄┄in writing the internal testoutput on the console described.↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆┆a1┆D.1 ╞ Trace Example↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆┆a1┆D.2╞ Testoutput Conversion↲ ↲ ╞ ┆84┆As mentioned in subsection 6.2.4 the format of the printed ↓ ┆19┆┆89┆┄┄testoutput line for the processes dte_lcnzero and dte_chan depends ↓ ┆19┆┆89┆┄┄of the testrecord type (kind).↲ ╞ ┆84┆In table 18 these dependants are outlined.↲ ↲ ╞ dte_lcnzero print line:↲ ↲ ╞ ┆b0┆<time> <kind> <dte state> <field1> <field2> <field3> <aux>↲ ↲ ╞ dte_chan print line:↲ ↲ ╞ ┆b0┆<time> <kind> <state> <c_active> <field5>↲ ╞ ┆b0┆<dec.field1> <hex.field1> <dec.field2> <hex.field2>↲ ╞ ┆b0┆<dec.field3> <hex.field3> <dec.field4> <hex.field4>↲ ╞ ┆b0┆<aux>↲ ↲ ╱04002d440c00060000000003015031400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ↓ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ╞ ______________________________________________________________________↲ ╞ ╞ ┆82┆text┆81┆ kind ┆82┆<aux>┆81┆↲ ╞ ┆a1┆ ╞ no ╞ ↲ ╞ dte_lcnzero ┆a1┆ ┆a1┆x25-er 0 <packet_id> <decode result> ↲ ╞ ╞ ┆a1┆ ┆a1┆a-lcn0 1 ↲ ╞ ╞ ┆a1┆ ┆a1┆timer 2 <t20 state> ↲ ╞ ╞ ┆a1┆ ┆a1┆ev/ac 3 <packet_id><event><action><t20 state>↲ ╞ ╞ ┆a1┆ ┆a1┆unknw 4 ↲ ╞ ┆a1┆╞ ┆a1┆sup-er 5 ↲ ╞ dte_chan ┆a1┆ ┆a1┆u-dedi 0 ↲ ╞ ╞ ┆a1┆ ┆a1┆lcp-op 2 ↲ ╞ ╞ ┆a1┆ ┆a1┆unkw-m 3 ↲ ╞ ╞ ┆a1┆ ┆a1┆a-chan 4 ↲ ╞ ╞ ┆a1┆ ┆a1┆a-hrec 6 <packet_id> <decode result> ↲ ╞ ╞ ┆a1┆ ┆a1┆a-hxmit 7 ↲ ╞ ╞ ┆a1┆ ┆a1┆supmes 8 ↲ ╞ ╞ ┆a1┆ ┆a1┆timer 9 <timer state> ↲ ╞ ╞ ┆a1┆ ┆a1┆unkw-a 10 ↲ ╞ ╞ ┆a1┆ ┆a1┆c-stop 11 <stop cause> ↲ ╞ ╞ ┆a1┆ ┆a1┆c-init 12 ↲ ╞ ╞ ┆a1┆ ┆a1┆ev/ac 13 <event> <action> ↲ ┆a1┆╞ ┆a1┆CONT. 15 ↲ ↲ ╱04002d440c00060000000003014b31400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ╱04002d440c00060000000003015031400000000000000000000000000000000000000000000000000a141e28323c464b555f69737d8791ff04╱ ↓ ╞ Table 18: ┆84┆Print format for testoutput from the processes ↓ ┆19┆┆93┆┄┄dte_lcnzero and dte_chan.↲ ↲ ↲ ┆b0┆╞ ┆a1┆parameter <dte state> in dte and dte_lcnzero testoutput:↲ ↲ ╞ READY╞ : ┆84┆the DTE is in ready state, i.e. r1 according to the ↓ ┆19┆┆95┆┄┄X.25 Recommendation (ref. (1)).↲ ↲ ╞ RESTART╞ : ┆84┆the DTE is in a restart phase, i.e. r2 according to ↓ ┆19┆┆95┆┄┄the X.25 Recommendation (ref. (1)).↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ H-ACTIVE╞ : ┆84┆the hdlc line is connected, but level 3 has not yet ↓ ┆19┆┆95┆┄┄exchanged restart packets.↲ ↲ ╞ NET DOWN╞ : ┆84┆the hdlc line is disconnected.↲ ↲ ┆b0┆╞ ┆a1┆parameter <packet-id> in dte_lcnzero and dte_chan:↲ ↲ ╞ DATA╞ : DCE data packet↲ ╞ CALL╞ : incomming call packet↲ ╞ CALL-A╞ : call connected packet↲ ╞ CLEAR╞ : clear indication packet↲ ╞ CLEAR-C╞ : DCE clear confirmation packet↲ ╞ RESET╞ : reset indication packet↲ ╞ RESET-C╞ : DCE reset confirmation packet↲ ╞ INT╞ : DCE interrupt packet↲ ╞ INT-C╞ : DCE interrupt confirmation packet↲ ╞ DIAG╞ : Diagnostic packet↲ ╞ RR╞ : DCE rr (modulo 8) packet↲ ╞ RNR╞ : DCE rnr (modulo 8) packet↲ ╞ REJ╞ : DTE rej (modulo 8) packet↲ ╞ RESTART╞ : restart indication packet↲ ╞ RESTA-C╞ : DCE restart confirmation packet↲ ╞ ???????╞ : unknown packet↲ ↲ ┆b0┆╞ ┆a1┆parameter <decode result> in dte_lcnzero and dte_chan:↲ ↲ ╞ ok╞ : the packet decoding was performed without error↲ ╞ lgth-e╞ : the packet is shorter than 2 octets↲ ╞ form-e╞ : error in the general format identifier↲ ╞ qbit-e╞ : the Q-bit is not allowed in call packets↲ ╞ i-chan╞ : ┆84┆a restart, restart confirmation or diagnostic packet ↓ ┆19┆┆95┆┄┄on a channel different from zero.↲ ╞ diagna╞ : the diagnostic packet is not allowed↲ ╞ rej-na╞ : the rej packet is not allowed from the DCE.↲ ╞ unk-id╞ : ┆84┆the packet type is unknown or the packet length is ↓ ┆19┆┆95┆┄┄shorter than 3 octets.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆╞ ┆a1┆parameter <timer state> in dte_lcnzero and dte_chan:↲ ↲ ╞ run╞ : the timer is active↲ ╞ stop╞ : the timer is stopped↲ ╞ updt╞ : ┆84┆the timer will be updated (started) as soon as ↓ ┆19┆┆95┆┄┄resources are available.↲ ↲ ┆b0┆╞ ┆a1┆parameter <event> in dte_lcnzero:↲ ↲ ╞ rest-xt╞ : restart indication received from the network↲ ╞ rest-xc╞ : ┆84┆restart confirmation received from the network↲ ╞ x-diag╞ : diagnostic packet received from the network↲ ╞ r-buf╞ : ┆84┆buffer request message returned from the dte_pool ↓ ┆19┆┆95┆┄┄process↲ ╞ rest-sr╞ : restart request received from the dte process↲ ╞ c-hdlc╞ : hdlc connected indication received↲ ╞ d-hdlc╞ : hdlc disconnected indication received↲ ╞ t20-exp╞ : timer t20 expired↲ ↲ ┆b0┆╞ ┆a1┆parameter <state> in dte_chan:↲ ↲ ╞ ┆84┆The texts printed all equal those described in subsection 4.6.2.↲ ↲ ┆b0┆╞ ┆a1┆parameter <c_active> and <send_rnr> in dte_chan:↲ ↲ ╞ T╞ : true↲ ╞ F╞ : false↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆╞ ┆a1┆parameter <stop cause> in dte_chan:↲ ↲ ╞ dtecl╞ : DTE initated clearing↲ ╞ dceer╞ : ┆84┆clearing initiated because of an DCE error in call ↓ ┆19┆┆95┆┄┄set-up↲ ╞ cacce╞ : error in generation of an call accepted packet↲ ╞ uterm╞ : user initiated clearing↲ ╞ dcecl╞ : DCE clearing in state xidle↲ ╞ calle╞ : error in generation of an call request packet↲ ╞ incrj╞ : incomming call rejected↲ ╞ srest╞ : restart indicated by the dte process↲ ╞ timeo╞ : timeout in xdteclear state↲ ╞ ruser╞ : remote user initiated clearing↲ ╞ ?????╞ : unknown result↲ ↲ ┆b0┆╞ ┆a1┆parameter <event> in dte_chan:↲ ↲ ╞ ┆84┆The texts equal those in the state/action tables in appendix C.3.↲ ↲ ╞ w-open╞ : the X.25 window has been moved↲ ╞ enghres╞ : enough buffers have been supplied by the user↲ ╞ callreq╞ : call request message from the user↲ ╞ inc-acp╞ : incomming call accepted by the user↲ ╞ inc-rej╞ : incomming call rejected↲ ╞ s-data╞ : send data message from the user↲ ╞ s-intrp╞ : send interrupt message from the user↲ ╞ ci-mode╞ : change input mode message from the user↲ ╞ clr-req╞ : clear request message from the user↲ ╞ sync╞ : synchronize stream message from the user↲ ╞ t11╞ : timer t11m has expired↲ ╞ t12╞ : timer t12m has expired↲ ╞ t21 : timer t21 has expired↲ ╞ t22╞ : timer t22 has expired↲ ╞ t23╞ : timer t23 has expired↲ ╞ t30╞ : timer t30 has expired↲ ╞ t31╞ : timer t31 has expired↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ xinccal╞ : X.25 incomming call received↲ ╞ xcalcon╞ : X.25 call connected packet received↲ ╞ xclear╞ : X.25 clear indication received↲ ╞ xclr-co╞ : X.25 clear confirmation packet received↲ ╞ xdatrnr╞ : internal event: xdata dte not ready↲ ╞ xdata╞ : X.25 data packet received↲ ╞ xint╞ : X.25 interrupt packet received↲ ╞ xint-co╞ : X.25 interrupt confirmation packet received↲ ╞ xrr╞ : X.25 rr packet received↲ ╞ xrnr╞ : X.25 rnr packet received↲ ╞ xreset╞ : X.25 reset indication received↲ ╞ xresetc╞ : X.25 reset confirmation packet received↲ ╞ others╞ : other undefined or illegal X.25 packet received↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆┆a1┆D.3╞ Testoutput Examples↲ ↲ ┆a1┆┆b0┆D.3.1╞ Process dte↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆┆a1┆D.3.2╞ Process dte_chan_001↲ ↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆┆a1┆E.╞ CONTENTS OF LIBRARIES↲ ↲ ╞ ┆84┆In this appendix are the contents of the different DTE libraries ↓ ┆19┆┆89┆┄┄shown. In E.1 the libraries operated on by the fp utility ┆b0┆lib ↓ ┆19┆┆89┆┆81┆┆82┆┆f0┆(source libraries) and in E.2 those operated on by the fp ↓ ┆19┆┆89┆┆81┆┄utilities ┆b0┆pliblookup┆f0┆, ┆b0┆plibinsert┆f0┆, ┆b0┆plibextract ┆f0┆and ┆b0┆plibdelete ↓ ┆19┆┆89┆┆85┆┆82┆┆f0┆(binary libraries).↲ ↲ ↲ ┆b0┆┆a1┆E.1╞ Lib-Files↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆┆a1┆E.2╞ Plib-Files↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆b0┆┆a1┆F.╞ COMPILATION EXAMPLES↲ ↲ ╞ ┆84┆In this appendix four compilation examples are shown. In F.1 is ↓ ┆19┆┆89┆┄┄the operator dialogue during an update of an existing binary dte ↓ ┆19┆┆89┆┄┄shown. In F.2 is the generation of the X.25 procedure library ↓ ┆19┆┆89┆┄┄shown and in F.3 an update of the same library. The trace system ↓ ┆19┆┆89┆┄┄generation is shown in F.4. All operator operations are indicated ↓ ┆19┆┆89┆┄┄by block faced types.↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆┆b0┆F.1╞ Update of an Existing Binary dte.↲ ┆81┆↲ ╞ ┆b0┆lib set.libjdte jdtegen↲ ↲ ╞ end 38↲ ╞ ┆b0┆i jdtegen↲ ╞ *************** CENTERNET DTE MODULE COMPILATION ***************↲ type FILE NAME of SOURCE DTE : ┆b0┆libtdte14↲ ╞ ┆81┆-----------------------------------------↲ ╞ compilation of DTE supervisor type 1,yes ↲ ╞ compilation of DTE access type 2.yes↲ ╞ compilation of DTE channel p. type 3.yes↲ ╞ compilation of DTE lcn zero type 4.yes↲ ╞ compilation of hrec type 5.yes↲ ╞ compilation of DTE poolhandler type 6.yes↲ ╞ in one line ended with <cr>↲ ╞ ┆b0┆5.yes↲ ╞ Type name of DTE CONFIGURATION file↲ ╞ standard file : type stdconf↲ ╞ ┆b0┆stdconf↲ ╞ Type yes if listning of DTE configuration file↲ is wanted ELSE no !!↲ ╞ ┆b0┆no↲ ↲ ╞ information: segm pr. buf optimized: 34↲ ╞ end↲ ╞ UPDATE of an EXISTING or NEW binary DTE ????↲ ╞ Type yes or no : ┆b0┆yes↲ ╞ Type NAME of EXISTING or NEW binary DTE : ┆b0┆bdte20↲ dte hrec compilation↲ ╞ dte hrec procwess generated↲ ╞ binary dte updated↲ ╞ ***lookup tempdte unknown↲ ╞ dte generation ended↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆┆b0┆F.2╞ Generation of the X.25 Procedure Library.↲ ↲ ╞ ┆b0┆lib set.libjdte jx25lib↲ ↲ ╞ end 38↲ ┆b0┆╞ i jx25lib↲ ╞ ********** CENTERNET EXTERNAL X25 LIBRARY GENERATION **********↲ ╞ type FILE NAME of SOURCE X.25 : ┆b0┆libx25↲ ╞ fastmove: a temporary output file created on disc↲ ↲ ╞ end 38↲ ╞ edit begin.↲ ╞ ; (**** check x25 facilities ****)↲ ╞ ; (**** check faci spec ****)↲ ╞ ; (**** procedure code x25 ****)↲ ╞ ; (**** procedure decode x25 ****)↲ ; (**** init x25 facility check ****)↲ ╞ ; (**** init window ****)↲ ╞ ; (**** pack address ****)↲ ╞ ; (**** unpack address ****)↲ ╞ . (**** procedure w_algorithm ****)↲ ↲ ╞ 1136 line, end document.↲ ╞ edit end.↲ x25 library generation↲ ╞ x25 library generated↲ ╞ x25 external procedure library compilation ended↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆┆b0┆F.3╞ Update of the X.25 Procedure Library.↲ ↲ ╞ ┆b0┆lib set.libjdte jx25proc↲ ↲ ╞ end 38↲ ╞ ┆b0┆i jx25proc↲ ╞ ********** CENTERNET X25 External Procedure Compilation **********↲ type FILE NAME of SOURCE X.25↲ ╞ ended with a æ ┆b0┆: libtx25æ↲ ╞ type NAME of EXTERNAL PROCEDURE,↲ ╞ ended with a æ ┆b0┆: packadræ↲ type yes if LISTNING of source else no↲ ╞ ┆b0┆no↲ ↲ ╞ end 38↲ ╞ x25 external procedure compilation↲ ╞ x25 library updated↲ ╞ x25 procedure compilation ended↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆┆b0┆F.4╞ Generation of the Trace System.↲ ↲ ╞ ┆b0┆lib set.libjdte jdtetrace↲ ↲ ╞ end 38↲ ╞ ┆b0┆i jdtetrace↲ ╞ *********** CENTERNET DTE TRACE SYSTEM COMPILATION ***********↲ ╞ type FILE NAME of SOURCE DTE TRACE ┆b0┆: libtdte14↲ ╞ ┆81┆----------------------------------------------↲ ╞ compilation of DTE trace type 1.yes↲ ╞ compilation of DTE outtrace type 2.yes↲ in one line ended with <cr>↲ ╞ ┆b0┆1.yes 2.yes↲ ╞ UPDATE of an EXISTING binary DTE TRACE SYSTEM ????↲ ╞ type yes or no ┆b0┆: no↲ ╞ dte trace compilation↲ ╞ dte trace process generated↲ ╞ dte outtrace compilation↲ ╞ dte outtrace process generated↲ ╞ ***lookup tempdte unknown↲ ╞ dte trace system generation ended↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆┆b0┆G.╞ BUFFER LAYOUT IN CALL SET-UP PHASE.↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 49: ┆84┆Layout and transfer of call-parameters from User ↓ ┆19┆┆94┆┄┄dte_call_req to X.25 CALL REQUEST packet.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ↲ ╞ Figure 50: ┆84┆Layout and transfer of call parameters from an INCOMING ↓ ┆19┆┆94┆┄┄CALL Packet to an Internal Buffer and a User Buffer.↲ ↲ ════════════════════════════════════════════════════════════════════════ ↓ ┆a1┆┆b0┆H.╞ INDEX↲ ↲ ┆a1┆┆b0┆H.1╞ Survey of Figures.↲ ↲ ╞ Figure 1: Process tree of the External DTE and its environment.↲ ╞ Figure 2: ┆84┆Process tree of the DTE debugging, test and trace ↓ ┆19┆┆94┆┄┄tools.↲ ╞ Figure 3: Message flow of normale data.↲ ╞ Figure 4: Message flow of interrupt data.↲ ╞ Figure 5: Message flow of X.25 control packet output.↲ ╞ Figure 6: Message flow at Virtual Call Set-up.↲ ╞ Figure 7: External Interfaces of the DTE module.↲ ╞ Figure 8: Message flow between the DTE module and the NCP.↲ ╞ Figure 9: Snap shot of routing pointers.↲ ╞ Figure 10: Buffer flow for bigbuf, smallbuf, x25buf.↲ ╞ Figure 11: Relation between streams and logical channels.↲ ╞ Figure 12: State transition graph for dte_state in process dte.↲ ╞ Figure 13: Flow of messages to and from dte.↲ ╞ Figure 14: process dte, main flowchart.↲ ╞ Figure 15: process dte, part (B) flowchart.↲ ╞ Figure 16: process dte, part (C) flowchart.↲ ╞ Figure 17: Process dte, part (D) flowchart.↲ ╞ Figure 18: Process dte, part (E) flowchart.↲ ╞ Figure 19: Process dte, part (F) flowchart.↲ ╞ Figure 20: Process dte, part (G) flowchart.↲ ╞ Figure 21: process dte, part (H) flowchart.↲ ╞ Figure 22: Process dte, part (I) flowchart.↲ ╞ Figure 23: Process dte, part (J) flowchart.↲ ╞ Figure 24: Snap shot of tables connections.↲ ╞ Figure 25: Flowchart for HDLC event treatment.↲ ╞ Figure 26: ┆84┆State transition graph for dte_state in process ↓ ┆19┆┆94┆┄┄dte_access.↲ ╞ Figure 27: Flow of message to and from dte_access.↲ ╞ Figure 28: Process dte_access, main flowchart.↲ ╞ Figure 29: Flow of messages to and from dte_hrec.↲ ╞ Figure 30: Process dte_hrec, main flowchart.↲ ╞ Figure 31: ┆84┆State transition graph for p_level_state in process ↓ ┆19┆┆94┆┄┄dte_lcnzero.↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ Figure 32: Flow of messages to and from dte_lcnzero.↲ ╞ Figure 33: Process dte_lcnzero, main flowchart.↲ ╞ Figure 34: Flow of messages to and from dte_chan.↲ ╞ Figure 35: Process dte_chan, main flowchart.↲ ╞ Figure 36: Process dte_chan, part (C) flowchart.↲ ╞ Figure 37: Process dte_chan, part (D) flowchart.↲ ╞ Figure 38: process dte_chan, part (E) flowchart.↲ ╞ Figure 39: Process dte_chan, part (F) flowchart.↲ ╞ Figure 40: Process dte_chan, part (G) flowchart.↲ ╞ Figure 41: Acknowledgement strategy flowchart.↲ ╞ Figure 42: Message flow in the trace system.↲ ╞ Figure 43: Message flow of testmessages.↲ ╞ Figure 44: DTE System text and job connections.↲ ╞ Figure 45: ┆84┆Process dte_chan, state transition graph for the call ↓ ┆19┆┆94┆┄┄set-up and clear phases.↲ ╞ Figure 46: ┆84┆Process dte_chan, state transition graph for the data ↓ ┆19┆┆94┆┄┄phase.↲ ╞ Figure 47: ┆84┆Process dte_chan, state transition graph for the reset ↓ ┆19┆┆94┆┄┄phase, part 1.↲ ╞ Figure 48: ┆84┆Process dte_chan, state transition graph for the reset ↓ ┆19┆┆94┆┄┄phase, part 2.↲ ╞ Figure 49: ┆84┆Layout and transfer of call parameters from User Call ↓ ┆19┆┆94┆┄┄Request to X.25 Call request.↲ ╞ Figure 50: ┆84┆Layout and transfer of call parameters fron an Incoming ↓ ┆19┆┆94┆┄┄Call Packet to an Internal Buffer and a User Buffer.↲ ↲ ↲ ┆a1┆┆b0┆H.2╞ Survey of Tables.↲ ↲ ╞ Table 1: Processing of DTE User operations.↲ ╞ Table 2: HDLC operations utilized by the DTE module.↲ ╞ Table 3: ┆84┆Environments in which address types and constants are ↓ ┆19┆┆93┆┄┄defined.↲ ╞ Table 4: ┆84┆Process dte, internal state/action table for dte_chan ↓ ┆19┆┆93┆┄┄incarnations.↲ ╞ Table 5: ┆84┆Process dte, internal state/action table for logical ↓ ┆19┆┆93┆┄┄channels.↲ ════════════════════════════════════════════════════════════════════════ ↓ ╞ Table 6: Process dte, state transition table for line_state.↲ ╞ Table 7: ┆84┆Process dte_access, state transition table for ↓ ┆19┆┆93┆┄┄user_state.↲ ╞ Table 8: State variables of the Trace System.↲ ╞ Table 9: Process dte, testrecord kind and parameter fields.↲ ╞ Table 10: ┆84┆Process dte_lcnzero, testrecord kind and parameter ↓ ┆19┆┆93┆┄┄fields.↲ ╞ Table 11: Process dte_chan, testrecord kind and parameter fields.↲ ╞ Table 12: Storage requirements of the DTE System.↲ ╞ Table 13: Process dte_access, user dependent state/action table.↲ ╞ Table 14: Process dte_access, stream dependent state/action table.↲ ╞ Table 15: ┆84┆Process dte_access, stream independent state/action ↓ ┆19┆┆93┆┄┄table.↲ ╞ Table 16: Process dte_lcnzero, state/action table.↲ ╞ Table 17: Process dte_chan, state/action table.↲ ╞ Table 18: ┆84┆Print format for testoutput from the processes ↓ ┆19┆┆93┆┄┄dte_lcnzero and dte_chan.↲ ↲ ↲ ┆a1┆┆b0┆H.3╞ Survey of Examples.↲ ↲ ╞ Example 1: Example of DTE address.↲ ╞ Example 2: ┆84┆Example of user_id_length greater than sub address ↓ ┆19┆┆94┆┄┄length.↲ ╞ Example 3: ┆84┆Example of user_id_length smaller than sub address ↓ ┆19┆┆94┆┄┄length.↲ ╞ Example 4: Operator commands for update of an existing binary dte.↲ ╞ Example 5: ┆84┆Operator commands for generating the X.25 procedure ↓ ┆19┆┆94┆┄┄library.↲ ╞ Example 6: ┆84┆Operator commands for update of the X.25 procedure ↓ ┆19┆┆94┆┄┄library.↲ ╞ Example 7: Operator commands for generating the Trace System.↲ ════════════════════════════════════════════════════════════════════════ ↓ ↲ ↲ ┆1a┆┆1a┆.4. All operator operations are i
0x00000…00020 (0,) 00 00 00 00 00 00 00 00 42 05 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 08 4e 00 00 00 ┆ B N ┆ 0x00020…00040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ ┆ 0x00040…00047 00 00 00 00 00 00 00 ┆ ┆ 0x00047…00080 Params { 0x00047…00080 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x00047…00080 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x00047…00080 } 0x00080…00083 FormFeed { 0x00080…00083 0c 80 80 ┆ ┆ 0x00080…00083 } 0x00083…000a0 0a 14 b3 06 69 0d 0a 14 b3 0d 0a a1 b0 54 41 42 4c 45 20 4f 46 20 43 4f 4e 54 45 4e 54 ┆ i TABLE OF CONTENT┆ 0x000a0…000c0 53 05 50 41 47 45 0d 0a 0d 0a b0 31 2e 20 20 49 4e 54 52 4f 44 55 43 54 49 4f 4e 20 f0 2e 2e 2e ┆S PAGE 1. INTRODUCTION ...┆ 0x000c0…000e0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x000e0…00100 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 20 31 0d 0a 20 20 20 20 31 2e 31 ┆................... 1 1.1┆ 0x00100…00120 20 20 53 74 72 75 63 74 75 72 65 20 6f 66 20 74 68 69 73 20 4d 61 6e 75 61 6c 20 2e 2e 2e 2e 2e ┆ Structure of this Manual .....┆ 0x00120…00140 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x00140…00160 20 20 20 31 0d 0a 20 20 20 20 31 2e 32 20 20 54 65 72 6d 69 6e 6f 6c 6f 67 79 20 61 6e 64 20 4e ┆ 1 1.2 Terminology and N┆ 0x00160…00180 6f 74 61 74 69 6f 6e 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆otation ........................┆ 0x00180…001a0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 20 32 0d 0a 0d 0a b0 32 2e 20 20 4d 4f 44 55 4c 45 ┆............. 2 2. MODULE┆ 0x001a0…001c0 20 4f 56 45 52 56 49 45 57 20 f0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ OVERVIEW .....................┆ 0x001c0…001e0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 ┆.............................. ┆ 0x001e0…00200 20 34 0d 0a 0d 0a b0 33 2e 20 20 50 52 4f 43 45 53 53 20 43 4f 4d 4d 55 4e 49 43 41 54 49 4f 4e ┆ 4 3. PROCESS COMMUNICATION┆ 0x00200…00220 (1,) 20 f0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ ..............................┆ 0x00220…00240 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 31 36 09 0d 0a 20 20 20 20 33 2e 31 20 20 45 ┆............... 16 3.1 E┆ 0x00240…00260 78 74 65 72 6e 61 6c 20 43 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆xternal Communication ..........┆ 0x00260…00280 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 31 ┆............................. 1┆ 0x00280…002a0 36 0d 0a 09 33 2e 31 2e 31 20 20 44 54 45 20 55 73 65 72 20 49 6e 74 65 72 66 61 63 65 20 2e 2e ┆6 3.1.1 DTE User Interface ..┆ 0x002a0…002c0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x002c0…002e0 2e 2e 20 20 31 37 0d 0a 09 33 2e 31 2e 32 20 20 41 63 63 65 73 73 20 74 6f 20 74 68 65 20 48 44 ┆.. 17 3.1.2 Access to the HD┆ 0x002e0…00300 4c 43 4c 43 50 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆LCLCP ..........................┆ 0x00300…00320 2e 2e 2e 2e 2e 2e 2e 20 20 31 38 0d 0a 09 33 2e 31 2e 33 20 20 41 63 63 65 73 73 20 74 6f 20 74 ┆....... 18 3.1.3 Access to t┆ 0x00320…00340 68 65 20 4e 43 50 20 4d 6f 64 75 6c 65 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆he NCP Module ..................┆ 0x00340…00360 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 32 31 0d 0a 20 20 20 20 33 2e 32 20 20 49 6e 74 65 72 ┆............ 21 3.2 Inter┆ 0x00360…00380 6e 61 6c 20 43 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆nal Communication ..............┆ 0x00380…003a0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 32 35 0d 0a 09 ┆......................... 25 ┆ 0x003a0…003c0 33 2e 32 2e 31 20 20 50 72 6f 63 65 73 73 20 64 74 65 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆3.2.1 Process dte .............┆ 0x003c0…003e0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 ┆.............................. ┆ 0x003e0…00400 32 36 0d 0a 09 20 20 20 20 20 20 20 33 2e 32 2e 31 2e 31 20 20 4d 65 73 73 61 67 65 73 20 72 65 ┆26 3.2.1.1 Messages re┆ 0x00400…00420 (2,) 63 65 69 76 65 64 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ceived .........................┆ 0x00420…00440 2e 2e 2e 20 20 32 36 0d 0a 09 20 20 20 20 20 20 20 33 2e 32 2e 31 2e 32 20 20 4d 65 73 73 61 67 ┆... 26 3.2.1.2 Messag┆ 0x00440…00460 65 73 20 73 65 6e 74 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆es sent ........................┆ 0x00460…00480 2e 2e 2e 2e 2e 2e 2e 2e 20 20 33 32 0d 0a 09 33 2e 32 2e 32 20 20 50 72 6f 63 65 73 73 20 64 74 ┆........ 32 3.2.2 Process dt┆ 0x00480…004a0 65 20 61 63 63 65 73 73 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆e access .......................┆ 0x004a0…004c0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 33 34 0d 0a 09 20 20 20 20 20 20 20 33 2e 32 2e 32 ┆............. 34 3.2.2┆ 0x004c0…004e0 2e 31 20 20 4d 65 73 73 61 67 65 73 20 72 65 63 65 69 76 65 64 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆.1 Messages received ..........┆ 0x004e0…00500 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 33 34 0d 0a 09 33 2e 32 2e 33 20 20 ┆.................. 34 3.2.3 ┆ 0x00500…00520 50 72 6f 63 65 73 73 20 64 74 65 20 68 72 65 63 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆Process dte hrec ...............┆ 0x00520…00540 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 34 32 0d 0a 09 20 20 ┆....................... 42 ┆ 0x00540…00560 20 20 20 20 20 33 2e 32 2e 33 2e 31 20 20 4d 65 73 73 61 67 65 73 20 72 65 63 65 69 76 65 64 20 ┆ 3.2.3.1 Messages received ┆ 0x00560…00580 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 34 32 ┆............................ 42┆ 0x00580…005a0 0d 0a 09 33 2e 32 2e 34 20 20 50 72 6f 63 65 73 73 20 64 74 65 20 6c 63 6e 7a 65 72 6f 20 2e 2e ┆ 3.2.4 Process dte lcnzero ..┆ 0x005a0…005c0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x005c0…005e0 2e 20 20 34 33 0d 0a 09 20 20 20 20 20 20 20 33 2e 32 2e 34 2e 31 20 20 4d 65 73 73 61 67 65 73 ┆. 43 3.2.4.1 Messages┆ 0x005e0…00600 20 72 65 63 65 69 76 65 64 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ received ......................┆ 0x00600…00620 (3,) 2e 2e 2e 2e 2e 2e 20 20 34 34 0d 0a 09 20 20 20 20 20 20 20 33 2e 32 2e 34 2e 32 20 20 4d 65 73 ┆...... 44 3.2.4.2 Mes┆ 0x00620…00640 73 61 67 65 73 20 73 65 6e 74 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆sages sent .....................┆ 0x00640…00660 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 34 37 0d 0a 09 33 2e 32 2e 35 20 20 50 72 6f 63 65 73 73 ┆........... 47 3.2.5 Process┆ 0x00660…00680 20 64 74 65 20 63 68 61 6e 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ dte chan ......................┆ 0x00680…006a0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 34 38 0d 0a 09 20 20 20 20 20 20 20 33 2e ┆................ 48 3.┆ 0x006a0…006c0 32 2e 35 2e 31 20 20 4d 65 73 73 61 67 65 73 20 72 65 63 65 69 76 65 64 20 2e 2e 2e 2e 2e 2e 2e ┆2.5.1 Messages received .......┆ 0x006c0…006e0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 34 39 0d 0a 09 20 20 20 20 ┆..................... 49 ┆ 0x006e0…00700 20 20 20 33 2e 32 2e 35 2e 32 20 20 4d 65 73 73 61 67 65 73 20 73 65 6e 74 20 2e 2e 2e 2e 2e 2e ┆ 3.2.5.2 Messages sent ......┆ 0x00700…00720 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 35 32 0d 0a ┆.......................... 52 ┆ 0x00720…00740 09 33 2e 32 2e 36 20 20 50 72 6f 63 65 73 73 20 64 74 65 20 70 6f 6f 6c 20 2e 2e 2e 2e 2e 2e 2e ┆ 3.2.6 Process dte pool .......┆ 0x00740…00760 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 ┆............................... ┆ 0x00760…00780 20 35 34 0d 0a 0d 0a b0 34 2e 20 20 50 52 4f 43 45 53 53 20 44 45 53 43 52 49 50 54 49 4f 4e 53 ┆ 54 4. PROCESS DESCRIPTIONS┆ 0x00780…007a0 20 f0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ ..............................┆ 0x007a0…007c0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 35 35 0d 0a 20 20 20 20 34 2e 31 20 20 47 ┆................ 55 4.1 G┆ 0x007c0…007e0 65 6e 65 72 61 6c 20 49 6e 66 6f 72 6d 61 74 69 6f 6e 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆eneral Information .............┆ 0x007e0…00800 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 35 ┆............................. 5┆ 0x00800…00820 (4,) 36 0d 0a 09 34 2e 31 2e 31 20 20 43 6f 6d 6d 6f 6e 20 44 61 74 61 20 53 74 72 75 63 74 75 72 65 ┆6 4.1.1 Common Data Structure┆ 0x00820…00840 73 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆s ..............................┆ 0x00840…00860 2e 2e 20 20 35 36 0d 0a 09 20 20 20 20 20 20 20 34 2e 31 2e 31 2e 31 20 20 55 73 65 72 20 54 61 ┆.. 56 4.1.1.1 User Ta┆ 0x00860…00880 62 6c 65 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ble ............................┆ 0x00880…008a0 2e 2e 2e 2e 2e 2e 2e 20 20 35 36 0d 0a 09 20 20 20 20 20 20 20 34 2e 31 2e 31 2e 32 20 20 53 65 ┆....... 56 4.1.1.2 Se┆ 0x008a0…008c0 6d 61 70 68 6f 72 65 20 41 72 65 61 20 66 6f 72 20 64 74 65 20 63 68 61 6e 20 78 78 78 20 2e 2e ┆maphore Area for dte chan xxx ..┆ 0x008c0…008e0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 35 37 0d 0a 09 20 20 20 20 20 20 20 34 2e 31 2e 31 2e ┆............ 57 4.1.1.┆ 0x008e0…00900 33 20 20 78 32 35 20 70 61 72 61 6d 20 74 79 70 65 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆3 x25 param type ..............┆ 0x00900…00920 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 35 38 0d 0a 09 20 20 20 20 20 20 20 34 ┆................. 58 4┆ 0x00920…00940 2e 31 2e 31 2e 34 20 20 5a 6f 6e 65 73 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆.1.1.4 Zones ..................┆ 0x00940…00960 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 36 30 0d 0a 09 34 2e 31 ┆...................... 60 4.1┆ 0x00960…00980 2e 32 20 20 43 6f 6d 6d 6f 6e 20 6f 72 20 47 65 6e 65 72 61 6c 20 50 72 6f 63 65 64 75 72 65 73 ┆.2 Common or General Procedures┆ 0x00980…009a0 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 36 30 0d ┆ .......................... 60 ┆ 0x009a0…009c0 0a 09 20 20 20 20 20 20 20 34 2e 31 2e 32 2e 31 20 20 58 2e 32 35 20 50 72 6f 63 65 64 75 72 65 ┆ 4.1.2.1 X.25 Procedure┆ 0x009c0…009e0 73 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆s ..............................┆ 0x009e0…009e6 20 20 36 30 0d 0a ┆ 60 ┆ 0x009e6…009e9 FormFeed { 0x009e6…009e9 0c 80 a6 ┆ ┆ 0x009e6…009e9 } 0x009e9…00a00 0a 14 b3 06 69 69 0d 0a 0d 0a 09 20 20 20 20 20 20 20 34 2e 31 2e 32 ┆ ii 4.1.2┆ 0x00a00…00a20 (5,) 2e 32 20 20 4d 6f 64 65 6d 20 53 69 67 6e 61 6c 73 20 48 61 6e 64 6c 69 6e 67 20 2e 2e 2e 2e 2e ┆.2 Modem Signals Handling .....┆ 0x00a20…00a40 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 36 33 0d 0a 09 20 20 20 20 20 20 20 ┆.................. 63 ┆ 0x00a40…00a60 34 2e 31 2e 32 2e 33 20 20 55 73 65 72 20 54 61 62 6c 65 20 4f 70 65 72 61 74 69 6f 6e 73 20 2e ┆4.1.2.3 User Table Operations .┆ 0x00a60…00a80 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 36 34 0d 0a 09 20 20 ┆....................... 64 ┆ 0x00a80…00aa0 20 20 20 20 20 34 2e 31 2e 32 2e 34 20 20 45 72 72 6f 72 20 54 65 78 74 20 50 72 6f 63 65 64 75 ┆ 4.1.2.4 Error Text Procedu┆ 0x00aa0…00ac0 72 65 73 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 36 35 ┆res ........................ 65┆ 0x00ac0…00ae0 0d 0a 09 20 20 20 20 20 20 20 34 2e 31 2e 32 2e 35 20 20 54 72 61 63 69 6e 67 20 50 72 6f 63 65 ┆ 4.1.2.5 Tracing Proce┆ 0x00ae0…00b00 64 75 72 65 73 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆dures ..........................┆ 0x00b00…00b20 2e 20 20 36 36 0d 0a 09 20 20 20 20 20 20 20 34 2e 31 2e 32 2e 36 20 20 49 6e 74 65 72 6e 61 6c ┆. 66 4.1.2.6 Internal┆ 0x00b20…00b40 20 54 65 73 74 20 50 72 6f 63 65 64 75 72 65 73 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ Test Procedures ...............┆ 0x00b40…00b60 2e 2e 2e 2e 2e 2e 20 20 36 37 0d 0a 09 34 2e 31 2e 33 20 20 42 75 66 66 65 72 20 50 6f 6f 6c 73 ┆...... 67 4.1.3 Buffer Pools┆ 0x00b60…00b80 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ ...............................┆ 0x00b80…00ba0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 36 38 0d 0a 09 34 2e 31 2e 34 20 20 54 69 6d 65 72 73 20 ┆........... 68 4.1.4 Timers ┆ 0x00ba0…00bc0 69 6e 20 74 68 65 20 44 54 45 20 4d 6f 64 75 6c 65 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆in the DTE Module ..............┆ 0x00bc0…00be0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 37 31 0d 0a 09 34 2e 31 2e 35 20 20 52 65 ┆................ 71 4.1.5 Re┆ 0x00be0…00c00 6c 61 74 69 6f 6e 20 62 65 74 77 65 65 6e 20 53 74 72 65 61 6d 73 20 61 6e 64 20 4c 6f 67 69 63 ┆lation between Streams and Logic┆ 0x00c00…00c20 (6,) 61 6c 20 43 68 61 6e 6e 65 6c 73 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 37 32 0d 0a 09 34 2e 31 2e ┆al Channels ......... 72 4.1.┆ 0x00c20…00c40 36 20 20 41 64 64 72 65 73 73 65 73 20 75 73 65 64 20 62 79 20 74 68 65 20 44 54 45 20 2e 2e 2e ┆6 Addresses used by the DTE ...┆ 0x00c40…00c60 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 37 33 0d 0a ┆.......................... 73 ┆ 0x00c60…00c80 09 20 20 20 20 20 20 20 34 2e 31 2e 36 2e 31 20 20 55 73 65 72 20 49 64 65 6e 74 69 66 69 63 61 ┆ 4.1.6.1 User Identifica┆ 0x00c80…00ca0 74 69 6f 6e 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 ┆tion .......................... ┆ 0x00ca0…00cc0 20 37 36 0d 0a 09 20 20 20 20 20 20 20 34 2e 31 2e 36 2e 32 20 20 44 54 45 20 41 64 64 72 65 73 ┆ 76 4.1.6.2 DTE Addres┆ 0x00cc0…00ce0 73 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆s ..............................┆ 0x00ce0…00d00 2e 2e 2e 2e 20 20 37 37 0d 0a 09 20 20 20 20 20 20 20 34 2e 31 2e 36 2e 33 20 20 41 64 64 72 65 ┆.... 77 4.1.6.3 Addre┆ 0x00d00…00d20 73 73 20 50 72 6f 63 65 64 75 72 65 73 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ss Procedures ..................┆ 0x00d20…00d40 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 37 39 0d 0a 09 34 2e 31 2e 37 20 20 4e 61 6d 69 6e 67 20 6f 66 ┆......... 79 4.1.7 Naming of┆ 0x00d40…00d60 20 52 75 6e 6e 69 6e 67 20 50 72 6f 63 65 73 73 20 49 6e 63 61 72 6e 61 74 69 6f 6e 73 20 2e 2e ┆ Running Process Incarnations ..┆ 0x00d60…00d80 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 38 31 0d 0a 20 20 20 20 34 2e 32 20 20 44 65 73 ┆.............. 81 4.2 Des┆ 0x00d80…00da0 63 72 69 70 74 69 6f 6e 20 6f 66 20 64 74 65 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆cription of dte ................┆ 0x00da0…00dc0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 38 33 0d ┆........................... 83 ┆ 0x00dc0…00de0 0a 20 20 20 20 20 20 09 34 2e 32 2e 31 20 20 50 72 6f 63 65 73 73 20 50 61 72 61 6d 65 74 65 72 ┆ 4.2.1 Process Parameter┆ 0x00de0…00e00 73 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆s ..............................┆ 0x00e00…00e20 (7,) 2e 2e 2e 2e 2e 2e 20 20 38 33 0d 0a 09 34 2e 32 2e 32 20 20 53 74 61 74 65 73 20 2e 2e 2e 2e 2e ┆...... 83 4.2.2 States .....┆ 0x00e20…00e40 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x00e40…00e60 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 38 36 0d 0a 09 34 2e 32 2e 33 20 20 53 65 6d 61 70 68 6f ┆........... 86 4.2.3 Semapho┆ 0x00e60…00e80 72 65 20 61 6e 64 20 52 65 66 65 72 65 6e 63 65 20 56 61 72 69 61 62 6c 65 73 20 2e 2e 2e 2e 2e ┆re and Reference Variables .....┆ 0x00e80…00ea0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 38 38 0d 0a 09 34 2e 32 2e 34 20 20 44 61 ┆................ 88 4.2.4 Da┆ 0x00ea0…00ec0 74 61 20 53 74 72 75 63 74 75 72 65 73 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ta Structures ..................┆ 0x00ec0…00ee0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 39 31 0d 0a 09 34 2e 32 2e ┆..................... 91 4.2.┆ 0x00ee0…00f00 35 20 20 53 65 6d 61 70 68 6f 72 65 73 20 61 6e 64 20 4d 65 73 73 61 67 65 20 46 6c 6f 77 20 2e ┆5 Semaphores and Message Flow .┆ 0x00f00…00f20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 20 39 34 0d 0a ┆.......................... 94 ┆ 0x00f20…00f40 09 34 2e 32 2e 36 20 20 4f 76 65 72 76 69 65 77 20 6f 66 20 50 72 6f 63 65 73 73 20 4f 70 65 72 ┆ 4.2.6 Overview of Process Oper┆ 0x00f40…00f60 61 74 69 6f 6e 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 ┆ation ......................... ┆ 0x00f60…00f80 20 39 35 0d 0a 09 34 2e 32 2e 37 20 20 43 72 65 61 74 69 6f 6e 20 61 6e 64 20 52 65 6d 6f 76 61 ┆ 95 4.2.7 Creation and Remova┆ 0x00f80…00fa0 6c 20 6f 66 20 64 74 65 20 63 68 61 6e 20 50 72 6f 63 65 73 73 20 49 6e 63 61 72 6e 61 74 69 6f ┆l of dte chan Process Incarnatio┆ 0x00fa0…00fc0 6e 20 2e 2e 20 31 30 36 0d 0a 09 34 2e 32 2e 38 20 20 48 44 4c 43 20 45 76 65 6e 74 20 48 61 6e ┆n .. 106 4.2.8 HDLC Event Han┆ 0x00fc0…00fe0 64 6c 69 6e 67 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆dling ..........................┆ 0x00fe0…01000 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 31 31 30 0d 0a 20 20 20 20 34 2e 33 20 20 44 65 73 63 72 69 70 74 ┆......... 110 4.3 Descript┆ 0x01000…01020 (8,) 69 6f 6e 20 6f 66 20 64 74 65 20 61 63 63 65 73 73 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ion of dte access ..............┆ 0x01020…01040 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 31 31 33 0d 0a 09 34 2e 33 ┆...................... 113 4.3┆ 0x01040…01060 2e 31 20 20 50 72 6f 63 65 73 73 20 50 61 72 61 6d 65 74 65 72 73 20 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆.1 Process Parameters .........┆ 0x01060…01080 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 31 31 33 0d ┆........................... 113 ┆ 0x01080…010a0 0a 09 34 2e 33 2e 32 20 20 53 74 61 74 65 73 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ 4.3.2 States ................┆ 0x010a0…010c0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x010c0…010e0 20 31 31 34 0d 0a 09 34 2e 33 2e 33 20 20 53 65 6d 61 70 68 6f 72 65 20 61 6e 64 20 52 65 66 65 ┆ 114 4.3.3 Semaphore and Refe┆ 0x010e0…01100 72 65 6e 63 65 20 56 61 72 69 61 62 6c 65 73 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆rence Variables ................┆ 0x01100…01120 2e 2e 2e 2e 2e 20 31 31 37 0d 0a 09 34 2e 33 2e 34 20 20 44 61 74 61 20 53 74 72 75 63 74 75 72 ┆..... 117 4.3.4 Data Structur┆ 0x01120…01140 65 73 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆es .............................┆ 0x01140…01160 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 31 31 39 0d 0a 09 34 2e 33 2e 35 20 20 53 65 6d 61 70 68 6f 72 ┆.......... 119 4.3.5 Semaphor┆ 0x01160…01180 65 73 20 61 6e 64 20 4d 65 73 73 61 67 65 20 46 6c 6f 77 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆es and Message Flow ............┆ 0x01180…011a0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 31 32 30 0d 0a 09 34 2e 33 2e 36 20 20 4f 76 65 ┆............... 120 4.3.6 Ove┆ 0x011a0…011c0 72 76 69 65 77 20 6f 66 20 50 72 6f 63 65 73 73 20 4f 70 65 72 61 74 69 6f 6e 20 2e 2e 2e 2e 2e ┆rview of Process Operation .....┆ 0x011c0…011e0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 31 32 31 0d 0a 20 20 20 20 34 2e ┆.................... 121 4.┆ 0x011e0…01200 34 20 20 44 65 73 63 72 69 70 74 69 6f 6e 20 6f 66 20 64 74 65 20 68 72 65 63 20 2e 2e 2e 2e 2e ┆4 Description of dte hrec .....┆ 0x01200…01220 (9,) 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x01220…01240 2e 20 31 32 34 0d 0a 09 34 2e 34 2e 31 20 20 50 72 6f 63 65 73 73 20 50 61 72 61 6d 65 74 65 72 ┆. 124 4.4.1 Process Parameter┆ 0x01240…01260 73 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆s ..............................┆ 0x01260…01280 2e 2e 2e 2e 2e 2e 20 31 32 34 0d 0a 09 34 2e 34 2e 32 20 20 53 74 61 74 65 73 20 2e 2e 2e 2e 2e ┆...... 124 4.4.2 States .....┆ 0x01280…012a0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x012a0…012c0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 31 32 35 0d 0a 09 34 2e 34 2e 33 20 20 53 65 6d 61 70 68 6f ┆........... 125 4.4.3 Semapho┆ 0x012c0…012e0 72 65 20 61 6e 64 20 52 65 66 65 72 65 6e 63 65 20 56 61 72 69 61 62 6c 65 73 20 2e 2e 2e 2e 2e ┆re and Reference Variables .....┆ 0x012e0…01300 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 31 32 35 0d 0a 09 34 2e 34 2e 34 20 20 44 61 ┆................ 125 4.4.4 Da┆ 0x01300…01320 74 61 20 53 74 72 75 63 74 75 72 65 73 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ta Structures ..................┆ 0x01320…01340 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 31 32 36 0d 0a 09 34 2e 34 2e ┆..................... 126 4.4.┆ 0x01340…01360 35 20 20 53 65 6d 61 70 68 6f 72 65 73 20 61 6e 64 20 4d 65 73 73 61 67 65 20 46 6c 6f 77 20 2e ┆5 Semaphores and Message Flow .┆ 0x01360…01380 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 31 32 37 0d 0a ┆.......................... 127 ┆ 0x01380…013a0 09 34 2e 34 2e 36 20 20 4f 76 65 72 76 69 65 77 20 6f 66 20 50 72 6f 63 65 73 73 20 4f 70 65 72 ┆ 4.4.6 Overview of Process Oper┆ 0x013a0…013c0 61 74 69 6f 6e 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 ┆ation ......................... ┆ 0x013c0…013c5 31 32 38 0d 0a ┆128 ┆ 0x013c5…013c8 FormFeed { 0x013c5…013c8 0c 80 a5 ┆ ┆ 0x013c5…013c8 } 0x013c8…013e0 0a 14 b3 06 69 69 69 0d 0a 0d 0a 20 20 20 20 34 2e 35 20 20 44 65 73 63 ┆ iii 4.5 Desc┆ 0x013e0…01400 72 69 70 74 69 6f 6e 20 6f 66 20 64 74 65 20 6c 63 6e 7a 65 72 6f 20 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ription of dte lcnzero .........┆ 0x01400…01420 (10,) 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 31 33 30 0d 0a ┆.......................... 130 ┆ 0x01420…01440 09 34 2e 35 2e 31 20 20 50 72 6f 63 65 73 73 20 50 61 72 61 6d 65 74 65 72 73 20 2e 2e 2e 2e 2e ┆ 4.5.1 Process Parameters .....┆ 0x01440…01460 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 ┆............................... ┆ 0x01460…01480 31 33 30 0d 0a 09 34 2e 35 2e 32 20 20 53 74 61 74 65 73 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆130 4.5.2 States ............┆ 0x01480…014a0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x014a0…014c0 2e 2e 2e 2e 20 31 33 32 0d 0a 09 34 2e 35 2e 33 20 20 53 65 6d 61 70 68 6f 72 65 73 20 61 6e 64 ┆.... 132 4.5.3 Semaphores and┆ 0x014c0…014e0 20 52 65 66 65 72 65 6e 63 65 20 56 61 72 69 61 62 6c 65 73 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ Reference Variables ...........┆ 0x014e0…01500 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 31 33 33 0d 0a 09 34 2e 35 2e 34 20 20 44 61 74 61 20 53 74 72 75 ┆......... 133 4.5.4 Data Stru┆ 0x01500…01520 63 74 75 72 65 73 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ctures .........................┆ 0x01520…01540 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 31 33 33 0d 0a 09 34 2e 35 2e 35 20 20 53 65 6d 61 ┆.............. 133 4.5.5 Sema┆ 0x01540…01560 70 68 6f 72 65 73 20 61 6e 64 20 4d 65 73 73 61 67 65 20 46 6c 6f 77 20 2e 2e 2e 2e 2e 2e 2e 2e ┆phores and Message Flow ........┆ 0x01560…01580 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 31 33 34 0d 0a 09 34 2e 35 2e 36 20 ┆................... 134 4.5.6 ┆ 0x01580…015a0 20 4f 76 65 72 76 69 65 77 20 6f 66 20 50 72 6f 63 65 73 73 20 4f 70 65 72 61 74 69 6f 6e 20 2e ┆ Overview of Process Operation .┆ 0x015a0…015c0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 31 33 35 0d 0a 20 20 ┆........................ 135 ┆ 0x015c0…015e0 20 20 34 2e 36 20 20 44 65 73 63 72 69 70 74 69 6f 6e 20 6f 66 20 64 74 65 20 63 68 61 6e 20 2e ┆ 4.6 Description of dte chan .┆ 0x015e0…01600 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x01600…01620 (11,) 2e 2e 2e 2e 2e 20 31 33 38 0d 0a 09 34 2e 36 2e 31 20 20 50 72 6f 63 65 73 73 20 50 61 72 61 6d ┆..... 138 4.6.1 Process Param┆ 0x01620…01640 65 74 65 72 73 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆eters ..........................┆ 0x01640…01660 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 31 33 38 0d 0a 09 34 2e 36 2e 32 20 20 53 74 61 74 65 73 20 2e ┆.......... 138 4.6.2 States .┆ 0x01660…01680 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x01680…016a0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 31 34 30 0d 0a 09 34 2e 36 2e 33 20 20 53 65 6d ┆............... 140 4.6.3 Sem┆ 0x016a0…016c0 61 70 68 6f 72 65 73 20 61 6e 64 20 52 65 66 65 72 65 6e 63 65 20 56 61 72 69 61 62 6c 65 73 20 ┆aphores and Reference Variables ┆ 0x016c0…016e0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 31 34 31 0d 0a 09 34 2e 36 2e 34 ┆.................... 141 4.6.4┆ 0x016e0…01700 20 20 44 61 74 61 20 53 74 72 75 63 74 75 72 65 73 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ Data Structures ..............┆ 0x01700…01720 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 31 34 32 0d 0a 09 ┆......................... 142 ┆ 0x01720…01740 34 2e 36 2e 35 20 20 53 65 6d 61 70 68 6f 72 65 73 20 61 6e 64 20 4d 65 73 73 61 67 65 20 46 6c ┆4.6.5 Semaphores and Message Fl┆ 0x01740…01760 6f 77 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 31 ┆ow ........................... 1┆ 0x01760…01780 34 35 0d 0a 09 34 2e 36 2e 36 20 20 4f 76 65 72 76 69 65 77 20 6f 66 20 50 72 6f 63 65 73 73 20 ┆45 4.6.6 Overview of Process ┆ 0x01780…017a0 4f 70 65 72 61 74 69 6f 6e 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆Operation ......................┆ 0x017a0…017c0 2e 2e 2e 20 31 34 36 0d 0a 09 34 2e 36 2e 37 20 20 44 65 73 63 72 69 70 74 69 6f 6e 20 6f 66 20 ┆... 146 4.6.7 Description of ┆ 0x017c0…017e0 64 74 65 20 63 68 61 6e 20 6c 6f 63 61 6c 20 69 6e 70 75 74 20 73 65 6d 61 70 68 6f 72 65 73 20 ┆dte chan local input semaphores ┆ 0x017e0…01800 2e 2e 2e 2e 2e 2e 2e 2e 20 31 35 34 0d 0a 09 34 2e 36 2e 38 20 20 54 68 65 20 53 74 72 61 74 65 ┆........ 154 4.6.8 The Strate┆ 0x01800…01820 (12,) 67 79 20 66 6f 72 20 41 63 6b 6e 6f 77 6c 65 64 67 65 6d 65 6e 74 20 6f 66 20 44 61 74 61 20 50 ┆gy for Acknowledgement of Data P┆ 0x01820…01840 61 63 6b 65 74 73 20 2e 2e 2e 2e 2e 2e 20 31 35 35 0d 0a 09 34 2e 36 2e 39 20 20 4d 61 69 6e 74 ┆ackets ...... 155 4.6.9 Maint┆ 0x01840…01860 61 6e 63 65 20 6f 66 20 4f 75 74 70 75 74 20 44 61 74 61 20 53 65 71 75 65 6e 63 65 20 2e 2e 2e ┆ance of Output Data Sequence ...┆ 0x01860…01880 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 31 35 38 0d 0a 0d 0a b0 35 20 20 20 45 ┆.................. 158 5 E┆ 0x01880…018a0 52 52 4f 52 20 4d 45 53 53 41 47 45 53 20 f0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆RROR MESSAGES .................┆ 0x018a0…018c0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x018c0…018e0 2e 2e 2e 20 31 36 30 0d 0a 20 20 20 20 35 2e 31 20 20 45 72 72 6f 72 20 4d 65 73 73 61 67 65 73 ┆... 160 5.1 Error Messages┆ 0x018e0…01900 20 66 72 6f 6d 20 65 72 72 6f 72 20 74 65 78 74 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ from error text ...............┆ 0x01900…01920 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 31 36 30 0d 0a 20 20 20 20 35 2e 32 20 20 45 ┆................ 160 5.2 E┆ 0x01920…01940 72 72 6f 72 20 4d 65 73 73 61 67 65 73 20 66 72 6f 6d 20 65 72 72 6f 72 20 72 65 70 6f 72 74 20 ┆rror Messages from error report ┆ 0x01940…01960 61 6e 64 20 74 72 61 63 65 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 31 37 ┆and trace ................... 17┆ 0x01960…01980 31 0d 0a 0d 0a b0 36 2e 20 20 54 52 41 43 45 20 41 4e 44 20 44 45 42 55 47 20 54 4f 4f 4c 53 20 ┆1 6. TRACE AND DEBUG TOOLS ┆ 0x01980…019a0 f0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ ...............................┆ 0x019a0…019c0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 31 37 33 0d 0a 20 20 20 20 36 2e 31 20 20 54 72 61 ┆.............. 173 6.1 Tra┆ 0x019c0…019e0 63 65 20 53 79 73 74 65 6d 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ce System ......................┆ 0x019e0…01a00 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 31 37 33 0d ┆........................... 173 ┆ 0x01a00…01a20 (13,) 0a 20 20 20 20 20 20 20 20 20 36 2e 31 2e 31 20 20 50 72 6f 63 65 73 73 20 4f 76 65 72 76 69 65 ┆ 6.1.1 Process Overvie┆ 0x01a20…01a40 77 20 61 6e 64 20 4f 70 65 72 61 74 69 6f 6e 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆w and Operation ................┆ 0x01a40…01a60 2e 2e 2e 2e 2e 2e 2e 2e 20 31 37 33 0d 0a 20 20 20 20 20 20 20 20 20 36 2e 31 2e 32 20 20 45 78 ┆........ 173 6.1.2 Ex┆ 0x01a60…01a80 74 65 72 6e 61 6c 20 43 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ternal Communication ...........┆ 0x01a80…01aa0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 31 37 37 0d 0a 20 20 20 20 20 ┆..................... 177 ┆ 0x01aa0…01ac0 20 20 20 20 36 2e 31 2e 33 20 20 4f 70 65 72 61 74 6f 72 20 43 6f 6d 6d 61 6e 64 73 20 2e 2e 2e ┆ 6.1.3 Operator Commands ...┆ 0x01ac0…01ae0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x01ae0…01b00 2e 2e 20 31 38 30 0d 0a 20 20 20 20 20 20 20 20 20 36 2e 31 2e 34 20 20 54 72 61 63 65 6f 75 74 ┆.. 180 6.1.4 Traceout┆ 0x01b00…01b20 70 75 74 20 44 65 73 63 72 69 70 74 69 6f 6e 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆put Description ................┆ 0x01b20…01b40 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 31 38 31 0d 0a 20 20 20 20 36 2e 32 20 20 49 6e ┆............... 181 6.2 In┆ 0x01b40…01b60 74 65 72 6e 61 6c 20 54 65 73 74 20 53 79 73 74 65 6d 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ternal Test System .............┆ 0x01b60…01b80 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 31 38 33 ┆............................ 183┆ 0x01b80…01ba0 0d 0a 20 20 20 20 20 20 20 20 20 36 2e 32 2e 31 20 20 50 72 6f 63 65 73 73 20 4f 76 65 72 76 69 ┆ 6.2.1 Process Overvi┆ 0x01ba0…01bc0 65 77 20 61 6e 64 20 4f 70 65 72 61 74 69 6f 6e 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ew and Operation ...............┆ 0x01bc0…01be0 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 31 38 33 0d 0a 20 20 20 20 20 20 20 20 20 36 2e 32 2e 32 20 20 45 ┆......... 183 6.2.2 E┆ 0x01be0…01c00 78 74 65 72 6e 61 6c 20 43 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆xternal Communication ..........┆ 0x01c00…01c20 (14,) 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 31 38 38 0d 0a 20 20 20 20 ┆...................... 188 ┆ 0x01c20…01c40 20 20 20 20 20 36 2e 32 2e 33 20 20 4f 70 65 72 61 74 6f 72 20 43 6f 6d 6d 61 6e 64 73 20 2e 2e ┆ 6.2.3 Operator Commands ..┆ 0x01c40…01c60 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x01c60…01c80 2e 2e 2e 20 31 39 31 0d 0a 20 20 20 20 20 20 20 20 20 36 2e 32 2e 34 20 20 54 65 73 74 6f 75 74 ┆... 191 6.2.4 Testout┆ 0x01c80…01ca0 70 75 74 20 44 65 73 63 72 69 70 74 69 6f 6e 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆put Description ................┆ 0x01ca0…01cc0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 31 39 33 0d 0a 20 20 20 20 20 20 20 20 20 20 ┆................ 193 ┆ 0x01cc0…01ce0 20 20 20 20 20 20 36 2e 32 2e 34 2e 31 20 20 54 65 73 74 6f 75 74 70 75 74 20 66 72 6d 20 50 72 ┆ 6.2.4.1 Testoutput frm Pr┆ 0x01ce0…01d00 6f 63 65 73 73 20 64 74 65 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 31 39 ┆ocess dte ................... 19┆ 0x01d00…01d20 34 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 36 2e 32 2e 34 2e 32 20 20 54 65 73 74 ┆4 6.2.4.2 Test┆ 0x01d20…01d40 6f 75 74 70 75 74 20 66 72 6f 6d 20 50 72 6f 63 65 73 73 20 64 74 65 20 6c 63 6e 7a 65 72 6f 20 ┆output from Process dte lcnzero ┆ 0x01d40…01d50 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 31 39 36 0d 0a ┆.......... 196 ┆ 0x01d50…01d53 FormFeed { 0x01d50…01d53 0c 80 a4 ┆ ┆ 0x01d50…01d53 } 0x01d53…01d60 0a 14 b3 06 69 76 0d 0a 0d 0a 20 20 20 ┆ iv ┆ 0x01d60…01d80 20 20 20 20 20 20 20 20 20 20 20 20 20 36 2e 32 2e 34 2e 33 20 20 54 65 73 74 6f 75 74 70 75 74 ┆ 6.2.4.3 Testoutput┆ 0x01d80…01da0 20 66 72 6f 6d 20 50 72 6f 63 65 73 73 20 64 74 65 20 63 68 61 6e 20 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ from Process dte chan .........┆ 0x01da0…01dc0 2e 2e 2e 2e 20 31 39 38 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 36 2e 32 2e 34 2e ┆.... 198 6.2.4.┆ 0x01dc0…01de0 34 20 20 43 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 4c 69 6e 65 20 53 74 61 74 75 73 20 49 6e 66 ┆4 Communication Line Status Inf┆ 0x01de0…01e00 6f 72 6d 61 74 69 6f 6e 20 2e 2e 2e 2e 2e 2e 2e 2e 20 32 30 30 0d 0a 20 20 20 20 20 20 20 20 20 ┆ormation ........ 200 ┆ 0x01e00…01e20 (15,) 20 20 20 20 20 20 20 36 2e 32 2e 34 2e 35 20 20 64 74 65 20 61 63 63 65 73 73 20 54 65 73 74 20 ┆ 6.2.4.5 dte access Test ┆ 0x01e20…01e40 4d 65 73 73 61 67 65 20 50 72 69 6e 74 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 32 ┆Message Print ................ 2┆ 0x01e40…01e60 30 33 0d 0a 20 20 20 20 36 2e 33 20 20 4d 65 73 73 61 67 65 20 53 6e 6f 6f 70 20 2e 2e 2e 2e 2e ┆03 6.3 Message Snoop .....┆ 0x01e60…01e80 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x01e80…01ea0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 32 30 35 0d 0a 0d 0a b0 37 2e 20 20 43 4f 4e 46 49 47 55 52 ┆........... 205 7. CONFIGUR┆ 0x01ea0…01ec0 41 54 49 4f 4e 20 47 55 49 44 45 20 f0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ATION GUIDE ...................┆ 0x01ec0…01ee0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 32 30 37 ┆............................ 207┆ 0x01ee0…01f00 0d 0a 20 20 20 20 37 2e 31 20 20 43 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 50 61 72 61 6d 65 74 ┆ 7.1 Configuration Paramet┆ 0x01f00…01f20 65 72 73 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ers ............................┆ 0x01f20…01f40 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 32 30 37 0d 0a 20 20 20 20 20 20 20 20 20 37 2e 31 2e 31 20 20 43 ┆......... 207 7.1.1 C┆ 0x01f40…01f60 6f 6d 70 69 6c 61 74 69 6f 6e 20 50 61 72 61 6d 65 74 65 72 73 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ompilation Parameters ..........┆ 0x01f60…01f80 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 32 30 37 0d 0a 20 20 20 20 ┆...................... 207 ┆ 0x01f80…01fa0 20 20 20 20 20 37 2e 31 2e 32 20 20 43 72 65 61 74 69 6f 6e 20 50 61 72 61 6d 65 74 65 72 73 20 ┆ 7.1.2 Creation Parameters ┆ 0x01fa0…01fc0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x01fc0…01fe0 2e 2e 2e 20 32 30 38 0d 0a 20 20 20 20 20 20 20 20 20 37 2e 31 2e 33 20 20 53 70 65 63 69 61 6c ┆... 208 7.1.3 Special┆ 0x01fe0…02000 20 44 65 66 61 75 6c 74 20 56 61 6c 75 65 73 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ Default Values ................┆ 0x02000…02020 (16,) 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 32 31 30 0d 0a 20 20 20 20 20 20 20 20 20 37 ┆................ 210 7┆ 0x02020…02040 2e 31 2e 34 20 20 43 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 6f 66 20 54 72 61 63 65 2c 20 54 65 ┆.1.4 Configuration of Trace, Te┆ 0x02040…02060 73 74 20 61 6e 64 20 53 6e 6f 6f 70 20 53 79 73 74 65 6d 73 20 2e 2e 2e 2e 2e 2e 2e 2e 20 32 31 ┆st and Snoop Systems ........ 21┆ 0x02060…02080 31 0d 0a 20 20 20 20 37 2e 32 20 20 53 74 6f 72 61 67 65 20 52 65 71 75 69 72 65 6d 65 6e 74 73 ┆1 7.2 Storage Requirements┆ 0x02080…020a0 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ ...............................┆ 0x020a0…020c0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 32 31 32 0d 0a 20 20 20 20 20 20 20 20 20 37 2e 32 2e 31 20 20 ┆.......... 212 7.2.1 ┆ 0x020c0…020e0 43 6f 64 65 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆Code ...........................┆ 0x020e0…02100 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 32 31 33 0d 0a 20 20 20 ┆....................... 213 ┆ 0x02100…02120 20 20 20 20 20 20 37 2e 32 2e 32 20 20 53 74 61 63 6b 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ 7.2.2 Stack .............┆ 0x02120…02140 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x02140…02160 2e 2e 2e 2e 20 32 31 34 0d 0a 20 20 20 20 20 20 20 20 20 37 2e 32 2e 33 20 20 42 75 66 66 65 72 ┆.... 214 7.2.3 Buffer┆ 0x02160…02180 20 50 6f 6f 6c 73 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ Pools .........................┆ 0x02180…021a0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 32 31 35 0d 0a 20 20 20 20 20 20 20 20 20 ┆................. 215 ┆ 0x021a0…021c0 37 2e 32 2e 34 20 20 53 74 61 74 69 63 20 61 6e 64 20 44 79 6e 61 6d 69 63 20 52 65 71 75 69 72 ┆7.2.4 Static and Dynamic Requir┆ 0x021c0…021e0 65 6d 65 6e 74 73 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 32 ┆ements ....................... 2┆ 0x021e0…02200 31 38 0d 0a 20 20 20 20 37 2e 33 20 20 4d 6f 64 75 6c 65 20 43 6f 6d 70 69 6c 61 74 69 6f 6e 20 ┆18 7.3 Module Compilation ┆ 0x02200…02220 (17,) 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x02220…02240 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 32 32 32 0d 0a 20 20 20 20 20 20 20 20 20 37 2e 33 2e 31 20 ┆........... 222 7.3.1 ┆ 0x02240…02260 20 56 65 72 73 69 6f 6e 20 49 6e 66 6f 72 6d 61 74 69 6f 6e 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ Version Information ...........┆ 0x02260…02280 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 32 32 32 0d 0a 20 20 ┆........................ 222 ┆ 0x02280…022a0 20 20 20 20 20 20 20 37 2e 33 2e 32 20 20 43 6f 6d 70 69 6c 61 74 69 6f 6e 20 4a 6f 62 73 20 2e ┆ 7.3.2 Compilation Jobs .┆ 0x022a0…022c0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x022c0…022e0 2e 2e 2e 2e 2e 20 32 32 33 0d 0a 20 20 20 20 37 2e 34 20 20 43 72 65 61 74 69 6f 6e 20 6f 66 20 ┆..... 223 7.4 Creation of ┆ 0x022e0…02300 74 68 65 20 44 54 45 20 4d 6f 64 75 6c 65 2f 53 79 73 74 65 6d 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆the DTE Module/System ..........┆ 0x02300…02320 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 32 32 34 0d 0a 0d 0a b0 38 2e 20 20 53 ┆.................. 224 8. S┆ 0x02320…02340 4f 55 52 43 45 20 54 45 58 54 20 4f 52 47 41 4e 49 5a 41 54 49 4f 4e 20 f0 2e 2e 2e 2e 2e 2e 2e ┆OURCE TEXT ORGANIZATION .......┆ 0x02340…02360 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x02360…02380 2e 2e 2e 20 32 32 35 0d 0a 0d 0a b0 41 2e 20 20 52 45 46 45 52 45 4e 43 45 53 20 f0 2e 2e 2e 2e ┆... 225 A. REFERENCES ....┆ 0x02380…023a0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x023a0…023c0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 32 32 39 0d 0a 0d 0a b0 42 2e 20 ┆.................... 229 B. ┆ 0x023c0…023e0 20 45 4e 56 49 52 4f 4e 4d 45 4e 54 53 20 f0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ ENVIRONMENTS .................┆ 0x023e0…02400 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x02400…02420 (18,) 2e 2e 2e 2e 2e 20 32 33 31 0d 0a 20 20 20 20 42 2e 31 20 20 45 78 74 65 72 6e 61 6c 20 45 6e 76 ┆..... 231 B.1 External Env┆ 0x02420…02440 69 72 6f 6e 6d 65 6e 74 73 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ironments ......................┆ 0x02440…02460 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 32 33 31 0d 0a 20 20 20 20 42 2e 32 20 ┆.................. 231 B.2 ┆ 0x02460…02480 20 78 64 74 65 65 6e 76 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ xdteenv .......................┆ 0x02480…024a0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 ┆............................... ┆ 0x024a0…024c0 32 33 32 0d 0a 20 20 20 20 42 2e 33 20 20 78 78 32 35 65 6e 76 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆232 B.3 xx25env ..........┆ 0x024c0…024e0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x024e0…02500 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 32 33 36 0d 0a 20 20 20 20 42 2e 34 20 20 78 74 72 61 63 ┆............ 236 B.4 xtrac┆ 0x02500…02520 65 65 6e 76 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆eenv ...........................┆ 0x02520…02540 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 32 34 34 0d 0a 20 ┆......................... 244 ┆ 0x02540…02560 20 20 20 42 2e 35 20 20 64 74 65 65 6e 76 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ B.5 dteenv .................┆ 0x02560…02580 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x02580…025a0 2e 2e 2e 2e 2e 2e 20 32 34 37 0d 0a 20 20 20 20 42 2e 36 20 20 64 74 65 62 72 65 61 6b 65 6e 76 ┆...... 247 B.6 dtebreakenv┆ 0x025a0…025c0 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ ...............................┆ 0x025c0…025e0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 32 37 33 0d 0a 20 20 20 20 42 2e 37 ┆................... 273 B.7┆ 0x025e0…02600 20 20 68 64 6c 63 65 6e 76 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ hdlcenv ......................┆ 0x02600…02620 (19,) 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x02620…02640 20 32 37 34 0d 0a 20 20 20 20 42 2e 38 20 20 73 74 64 63 6f 6e 66 20 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ 274 B.8 stdconf .........┆ 0x02640…02660 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x02660…02673 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 32 37 36 0d 0a ┆............. 276 ┆ 0x02673…02676 FormFeed { 0x02673…02676 0c 80 a3 ┆ ┆ 0x02673…02676 } 0x02676…02680 0a 14 b3 06 76 0d 0a 0d 0a b0 ┆ v ┆ 0x02680…026a0 43 2e 20 20 53 54 41 54 45 2f 41 43 54 49 4f 4e 20 54 41 42 4c 45 53 20 f0 2e 2e 2e 2e 2e 2e 2e ┆C. STATE/ACTION TABLES .......┆ 0x026a0…026c0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x026c0…026e0 2e 2e 2e 2e 2e 2e 2e 2e 20 32 37 37 0d 0a 20 20 20 20 43 2e 31 20 20 64 74 65 20 61 63 63 65 73 ┆........ 277 C.1 dte acces┆ 0x026e0…02700 73 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆s ..............................┆ 0x02700…02720 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 32 37 37 0d 0a 20 20 20 20 20 ┆..................... 277 ┆ 0x02720…02740 20 20 20 20 43 2e 31 2e 31 20 20 55 73 65 72 20 44 65 70 65 6e 64 65 6e 74 20 2e 2e 2e 2e 2e 2e ┆ C.1.1 User Dependent ......┆ 0x02740…02760 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x02760…02780 2e 2e 20 32 37 37 0d 0a 20 20 20 20 20 20 20 20 20 43 2e 31 2e 32 20 20 53 74 72 65 61 6d 20 44 ┆.. 277 C.1.2 Stream D┆ 0x02780…027a0 65 70 65 6e 64 65 6e 74 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ependent .......................┆ 0x027a0…027c0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 32 37 39 0d 0a 20 20 20 20 20 20 20 20 20 43 2e ┆............... 279 C.┆ 0x027c0…027e0 31 2e 33 20 20 53 74 72 65 61 6d 20 49 6e 64 65 70 65 6e 64 65 6e 74 20 2e 2e 2e 2e 2e 2e 2e 2e ┆1.3 Stream Independent ........┆ 0x027e0…02800 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 32 38 32 ┆............................ 282┆ 0x02800…02820 (20,) 0d 0a 20 20 20 20 43 2e 32 20 20 64 74 65 20 6c 63 6e 7a 65 72 6f 20 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ C.2 dte lcnzero .........┆ 0x02820…02840 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x02840…02860 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 32 38 33 0d 0a 20 20 20 20 43 2e 33 20 20 64 74 65 20 63 68 61 6e ┆......... 283 C.3 dte chan┆ 0x02860…02880 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ ...............................┆ 0x02880…028a0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 32 38 36 0d 0a 0d 0a b0 44 ┆...................... 286 D┆ 0x028a0…028c0 2e 20 20 54 52 41 43 45 20 41 4e 44 20 54 45 53 54 20 44 45 53 43 52 49 50 54 49 4f 4e 20 f0 2e ┆. TRACE AND TEST DESCRIPTION .┆ 0x028c0…028e0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x028e0…02900 2e 2e 2e 2e 2e 2e 2e 20 33 30 33 0d 0a 20 20 20 20 44 2e 31 20 20 54 72 61 63 65 20 45 78 61 6d ┆....... 303 D.1 Trace Exam┆ 0x02900…02920 70 6c 65 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ple ............................┆ 0x02920…02940 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 33 30 34 0d 0a 20 20 20 20 44 2e ┆.................... 304 D.┆ 0x02940…02960 32 20 20 54 65 73 74 6f 75 74 70 75 74 20 43 6f 6e 76 65 72 73 69 6f 6e 20 2e 2e 2e 2e 2e 2e 2e ┆2 Testoutput Conversion .......┆ 0x02960…02980 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x02980…029a0 2e 20 33 30 35 0d 0a 20 20 20 20 44 2e 33 20 20 54 65 73 74 6f 75 74 70 75 74 20 45 78 61 6d 70 ┆. 305 D.3 Testoutput Examp┆ 0x029a0…029c0 6c 65 73 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆les ............................┆ 0x029c0…029e0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 33 31 31 0d 0a 20 20 20 20 20 20 20 20 20 44 2e 33 ┆.............. 311 D.3┆ 0x029e0…02a00 2e 31 20 20 50 72 6f 63 65 73 73 20 64 74 65 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆.1 Process dte ................┆ 0x02a00…02a20 (21,) 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 33 31 31 0d ┆........................... 311 ┆ 0x02a20…02a40 0a 20 20 20 20 20 20 20 20 20 44 2e 33 2e 32 20 20 50 72 6f 63 65 73 73 20 64 74 65 20 63 68 61 ┆ D.3.2 Process dte cha┆ 0x02a40…02a60 6e 20 30 30 31 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆n 001 ..........................┆ 0x02a60…02a80 2e 2e 2e 2e 2e 2e 2e 2e 20 33 31 32 0d 0a 0d 0a b0 45 2e 20 20 43 4f 4e 54 45 4e 54 53 20 4f 46 ┆........ 312 E. CONTENTS OF┆ 0x02a80…02aa0 20 4c 49 42 52 41 52 49 45 53 20 f0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ LIBRARIES ....................┆ 0x02aa0…02ac0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 33 31 33 0d 0a 20 ┆......................... 313 ┆ 0x02ac0…02ae0 20 20 20 45 2e 31 20 20 4c 69 62 2d 46 69 6c 65 73 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆ E.1 Lib-Files ..............┆ 0x02ae0…02b00 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x02b00…02b20 2e 2e 2e 2e 2e 2e 20 33 31 33 0d 0a 20 20 20 20 45 2e 32 20 20 50 6c 69 62 2d 46 69 6c 65 73 20 ┆...... 313 E.2 Plib-Files ┆ 0x02b20…02b40 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x02b40…02b60 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 33 31 35 0d 0a 0d 0a b0 46 2e 20 20 ┆................... 315 F. ┆ 0x02b60…02b80 43 4f 4d 50 49 4c 41 54 49 4f 4e 20 45 58 41 4d 50 4c 45 53 20 f0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆COMPILATION EXAMPLES ..........┆ 0x02b80…02ba0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x02ba0…02bc0 2e 2e 2e 2e 20 33 31 37 0d 0a 20 20 20 20 46 2e 31 20 20 55 70 64 61 74 65 20 6f 66 20 61 6e 20 ┆.... 317 F.1 Update of an ┆ 0x02bc0…02be0 45 78 69 73 74 69 6e 67 20 42 69 6e 61 72 79 20 64 74 65 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆Existing Binary dte ............┆ 0x02be0…02c00 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 33 31 38 0d 0a 20 20 20 20 46 2e 32 20 20 ┆................. 318 F.2 ┆ 0x02c00…02c20 (22,) 47 65 6e 65 72 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 58 2e 32 35 20 50 72 6f 63 65 64 75 72 65 ┆Generation of the X.25 Procedure┆ 0x02c20…02c40 20 4c 69 62 72 61 72 79 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 33 ┆ Library ..................... 3┆ 0x02c40…02c60 31 39 0d 0a 20 20 20 20 46 2e 33 20 20 55 70 64 61 74 65 20 6f 66 20 74 68 65 20 58 2e 32 35 20 ┆19 F.3 Update of the X.25 ┆ 0x02c60…02c80 50 72 6f 63 65 64 75 72 65 20 4c 69 62 72 61 72 79 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆Procedure Library ..............┆ 0x02c80…02ca0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 33 32 30 0d 0a 20 20 20 20 46 2e 34 20 20 47 65 6e 65 72 61 ┆........... 320 F.4 Genera┆ 0x02ca0…02cc0 74 69 6f 6e 20 6f 66 20 74 68 65 20 54 72 61 63 65 20 53 79 73 74 65 6d 20 2e 2e 2e 2e 2e 2e 2e ┆tion of the Trace System .......┆ 0x02cc0…02ce0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 33 32 31 0d 0a 0d 0a ┆........................ 321 ┆ 0x02ce0…02d00 b0 47 2e 20 20 42 55 46 46 45 52 20 4c 41 59 4f 55 54 20 49 4e 20 43 41 4c 4c 20 53 45 54 2d 55 ┆ G. BUFFER LAYOUT IN CALL SET-U┆ 0x02d00…02d20 50 20 50 48 41 53 45 20 f0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆P PHASE .......................┆ 0x02d20…02d40 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 33 32 33 0d 0a 0d 0a b0 48 2e 20 20 49 4e 44 45 58 20 f0 2e 2e 2e ┆......... 323 H. INDEX ...┆ 0x02d40…02d60 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x02d60…02d80 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 33 32 35 0d 0a ┆.......................... 325 ┆ 0x02d80…02da0 20 20 20 20 48 2e 31 20 20 53 75 72 76 65 79 20 6f 66 20 46 69 67 75 72 65 73 20 2e 2e 2e 2e 2e ┆ H.1 Survey of Figures .....┆ 0x02da0…02dc0 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x02dc0…02de0 2e 2e 2e 2e 2e 2e 2e 20 33 32 35 0d 0a 20 20 20 20 48 2e 32 20 20 53 75 72 76 65 79 20 6f 66 20 ┆....... 325 H.2 Survey of ┆ 0x02de0…02e00 54 61 62 6c 65 73 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆Tables .........................┆ 0x02e00…02e20 (23,) 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 20 33 32 36 0d 0a 20 20 20 20 48 2e ┆.................... 326 H.┆ 0x02e20…02e40 33 20 20 53 75 72 76 65 79 20 6f 66 20 45 78 61 6d 70 6c 65 73 20 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆3 Survey of Examples ..........┆ 0x02e40…02e60 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e ┆................................┆ 0x02e60…02e67 2e 20 33 32 37 0d 0a ┆. 327 ┆ 0x02e67…02e6a FormFeed { 0x02e67…02e6a 0c 80 a0 ┆ ┆ 0x02e67…02e6a } 0x02e6a…02e80 0a 16 20 66 6f 72 6d 61 74 6c 69 6e 69 65 20 74 69 6c 20 52 43 20 ┆ formatlinie til RC ┆ 0x02e80…02ea0 6d 61 6e 75 61 6c 65 72 0d 0a 14 b3 0d 0a 14 b3 06 2d 20 0b 20 2d 0d 0a a1 b0 31 2e 09 49 4e 54 ┆manualer - - 1. INT┆ 0x02ea0…02ec0 52 4f 44 55 43 54 49 4f 4e 2e 0d 0a 0d 0a 09 84 54 68 69 73 20 70 61 70 65 72 20 69 73 20 74 68 ┆RODUCTION. This paper is th┆ 0x02ec0…02ee0 65 20 72 65 66 65 72 65 6e 63 65 20 64 6f 63 75 6d 65 6e 74 20 66 6f 72 20 74 68 65 20 45 78 74 ┆e reference document for the Ext┆ 0x02ee0…02f00 65 72 6e 61 6c 20 44 54 45 20 4d 6f 64 75 6c 65 2e 20 0a 19 89 80 80 54 68 69 73 20 6d 6f 80 64 ┆ernal DTE Module. This mo d┆ 0x02f00…02f20 75 6c 65 20 69 6e 74 65 72 66 61 63 65 73 20 61 20 43 45 4e 54 45 52 4e 45 54 20 54 65 72 6d 69 ┆ule interfaces a CENTERNET Termi┆ 0x02f20…02f40 6e 61 6c 20 43 6f 6e 63 65 6e 74 72 61 74 6f 72 20 28 54 43 29 20 74 6f 20 61 20 0a 19 89 80 80 ┆nal Concentrator (TC) to a ┆ 0x02f40…02f60 70 61 63 6b 65 74 20 73 77 69 74 63 68 65 64 20 6e 65 74 77 6f 72 6b 20 75 73 69 6e 67 20 74 68 ┆packet switched network using th┆ 0x02f60…02f80 65 20 43 43 49 54 54 20 72 65 63 6f 6d 6d 65 6e 64 61 74 69 6f 6e 20 58 2e 32 35 20 28 72 65 66 ┆e CCITT recommendation X.25 (ref┆ 0x02f80…02fa0 2e 20 0a 19 89 80 80 28 31 29 29 20 66 6f 72 20 74 68 65 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f ┆. (1)) for the communicatio┆ 0x02fa0…02fc0 6e 20 62 65 74 77 65 65 6e 20 61 20 54 43 20 61 6e 64 20 61 20 6e 65 74 77 6f 72 6b 20 61 63 63 ┆n between a TC and a network acc┆ 0x02fc0…02fe0 65 73 73 20 6e 6f 64 65 2e 0d 0a 0d 0a 09 84 54 68 65 20 6d 6f 64 75 6c 65 20 64 6f 65 73 20 6e ┆ess node. The module does n┆ 0x02fe0…03000 6f 74 20 73 75 70 70 6f 72 74 20 74 68 65 20 74 6f 74 61 6c 20 73 65 74 20 6f 66 20 66 75 6e 63 ┆ot support the total set of func┆ 0x03000…03020 (24,) 74 69 6f 6e 73 20 64 65 73 63 72 69 62 65 64 20 0a 19 89 80 80 69 6e 20 72 65 66 2e 20 28 31 29 ┆tions described in ref. (1)┆ 0x03020…03040 2e 20 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 73 65 72 76 69 63 65 73 20 61 72 65 20 a1 6e 6f ┆. The following services are no┆ 0x03040…03060 74 e1 20 69 6d 70 6c 65 6d 65 6e 74 65 64 3a 0d 0a 0d 0a 09 20 20 20 2d 20 50 65 72 6d 61 6e 65 ┆t implemented: - Permane┆ 0x03060…03080 6e 74 20 56 69 72 74 75 61 6c 20 43 69 72 63 75 69 74 20 28 50 56 43 29 2e 0d 0a 09 20 20 20 2d ┆nt Virtual Circuit (PVC). -┆ 0x03080…030a0 20 44 61 74 61 67 72 61 6d 2e 0d 0a 09 20 20 20 2d 20 54 68 65 20 4f 70 74 69 6f 6e 61 6c 20 55 ┆ Datagram. - The Optional U┆ 0x030a0…030c0 73 65 72 20 46 61 63 69 6c 69 74 69 65 73 20 3a 0d 0a 20 20 09 20 20 20 20 20 20 20 20 2d 20 46 ┆ser Facilities : - F┆ 0x030c0…030e0 61 73 74 20 73 65 6c 65 63 74 2e 0d 0a 09 20 20 20 20 20 20 20 20 2d 20 44 54 45 2d 72 65 6a 65 ┆ast select. - DTE-reje┆ 0x030e0…03100 63 74 2e 0d 0a 0d 0a 09 84 41 64 64 69 74 69 6f 6e 61 6c 20 66 75 6e 63 74 69 6f 6e 73 20 61 74 ┆ct. Additional functions at┆ 0x03100…03120 20 74 68 65 20 75 73 65 72 20 69 6e 74 65 72 66 61 63 65 20 28 73 65 76 65 72 61 6c 20 73 69 6d ┆ the user interface (several sim┆ 0x03120…03140 75 6c 74 61 6e 65 6f 75 73 20 0a 19 89 80 80 75 73 65 72 73 2c 20 74 77 6f 20 74 79 70 65 20 6f ┆ultaneous users, two type o┆ 0x03140…03160 66 20 75 73 65 72 20 69 6e 70 75 74 73 29 20 61 72 65 20 73 75 70 70 6f 72 74 65 64 2e 0d 0a 0d ┆f user inputs) are supported. ┆ 0x03160…03180 0a 09 84 54 68 65 20 6d 6f 64 75 6c 65 20 64 65 73 63 72 69 62 65 64 20 69 6e 20 74 68 69 73 20 ┆ The module described in this ┆ 0x03180…031a0 52 65 66 65 72 65 6e 63 65 20 4d 61 6e 75 61 6c 20 69 73 20 6c 65 76 65 6c 20 33 20 6f 66 20 52 ┆Reference Manual is level 3 of R┆ 0x031a0…031c0 65 63 6f 6d 80 0a 19 89 80 80 6d 65 6e 64 61 74 69 6f 6e 20 58 2e 32 35 2e 20 49 74 20 75 74 69 ┆ecom mendation X.25. It uti┆ 0x031c0…031e0 6c 69 7a 65 73 20 74 68 65 20 52 43 33 35 30 32 20 48 44 4c 43 20 44 72 69 76 65 72 20 28 72 65 ┆lizes the RC3502 HDLC Driver (re┆ 0x031e0…03200 66 2e 20 28 39 29 29 20 74 6f 20 0a 19 89 80 80 69 6d 70 6c 65 6d 65 6e 74 20 74 68 65 20 77 68 ┆f. (9)) to implement the wh┆ 0x03200…03220 (25,) 6f 6c 65 20 72 65 63 6f 6d 6d 65 6e 64 61 74 69 6f 6e 2e 0d 0a 0d 0a 09 84 54 68 65 20 69 6d 70 ┆ole recommendation. The imp┆ 0x03220…03240 6c 65 6d 65 6e 74 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 44 54 45 20 53 79 73 74 65 6d 20 69 73 ┆lementation of the DTE System is┆ 0x03240…03260 20 64 6f 6e 65 20 69 6e 20 52 43 33 35 30 32 20 52 65 61 6c 2d 54 69 6d 65 20 0a 19 89 80 80 50 ┆ done in RC3502 Real-Time P┆ 0x03260…03280 61 73 63 61 6c 20 28 52 54 50 29 20 61 73 20 64 65 66 69 6e 65 64 20 69 6e 20 72 65 66 2e 20 28 ┆ascal (RTP) as defined in ref. (┆ 0x03280…032a0 31 31 29 20 74 6f 20 72 65 66 2e 20 28 31 35 29 2e 0d 0a 0d 0a 09 84 54 68 65 20 72 65 61 64 65 ┆11) to ref. (15). The reade┆ 0x032a0…032c0 72 20 6f 66 20 74 68 69 73 20 6d 61 6e 75 61 6c 20 6f 75 67 68 74 20 74 6f 20 62 65 20 66 61 6d ┆r of this manual ought to be fam┆ 0x032c0…032e0 69 6c 69 61 72 20 77 69 74 68 20 74 68 65 20 64 6f 63 75 6d 65 6e 74 73 20 0a 19 89 80 80 6c 69 ┆iliar with the documents li┆ 0x032e0…03300 73 74 65 64 20 69 6e 20 61 70 70 65 6e 64 69 78 20 41 2e 0d 0a 0d 0a 0d 0a a1 31 2e 31 09 53 74 ┆sted in appendix A. 1.1 St┆ 0x03300…03320 72 75 63 74 75 72 65 20 6f 66 20 74 68 69 73 20 4d 61 6e 75 61 6c 2e 0d 0a 0d 0a 09 84 41 6e 20 ┆ructure of this Manual. An ┆ 0x03320…03340 6f 76 65 72 76 69 65 77 20 6f 66 20 74 68 65 20 52 54 50 20 70 72 6f 63 65 73 73 65 73 20 63 6f ┆overview of the RTP processes co┆ 0x03340…03360 6e 73 74 69 74 75 74 69 6e 67 20 74 68 65 20 44 54 45 20 53 79 73 74 65 6d 20 61 6e 64 20 0a 19 ┆nstituting the DTE System and ┆ 0x03360…03380 89 80 80 69 74 73 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 69 73 20 64 65 73 63 72 69 62 65 64 20 ┆ its environment is described ┆ 0x03380…033a0 69 6e 20 63 68 61 70 74 65 72 20 32 2e 0d 0a 0d 0a 09 84 43 68 61 70 74 65 72 20 33 20 64 65 73 ┆in chapter 2. Chapter 3 des┆ 0x033a0…033c0 63 72 69 62 65 73 20 74 68 65 20 65 78 74 65 72 6e 61 6c 20 69 6e 74 65 72 66 61 63 65 73 20 28 ┆cribes the external interfaces (┆ 0x033c0…033e0 4e 43 50 2c 20 48 44 4c 43 20 61 6e 64 20 55 73 65 72 29 20 0a 19 89 80 80 76 65 72 79 20 73 68 ┆NCP, HDLC and User) very sh┆ 0x033e0…03400 6f 72 74 6c 79 20 61 6e 64 20 69 6e 20 6d 6f 72 65 20 64 65 74 61 69 6c 73 20 74 68 65 20 69 6e ┆ortly and in more details the in┆ 0x03400…03420 (26,) 74 65 72 6e 61 6c 20 69 6e 74 65 72 66 61 63 65 73 20 69 6e 20 74 68 65 20 0a 19 89 80 80 44 54 ┆ternal interfaces in the DT┆ 0x03420…03440 45 20 6d 6f 64 75 6c 65 2e 20 54 68 69 73 20 69 73 20 64 6f 6e 65 20 62 79 20 64 65 73 63 72 69 ┆E module. This is done by descri┆ 0x03440…03460 62 69 6e 67 20 65 61 63 68 20 6d 65 73 73 61 67 65 20 72 65 63 65 69 76 65 64 2f 73 65 6e 74 20 ┆bing each message received/sent ┆ 0x03460…03480 0a 19 89 80 80 62 79 20 61 20 70 72 6f 63 65 73 73 2e 0d 0a 0d 0a 8c 80 a8 0a 09 84 54 68 65 20 ┆ by a process. The ┆ 0x03480…034a0 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 44 54 45 20 6d 6f 64 75 6c 65 ┆implementation of the DTE module┆ 0x034a0…034c0 20 6f 6e 20 61 20 70 72 6f 63 65 73 73 20 62 61 73 69 73 20 69 73 20 6f 75 74 6c 69 6e 80 0a 19 ┆ on a process basis is outlin ┆ 0x034c0…034e0 89 80 80 65 64 20 69 6e 20 63 68 61 70 74 65 72 20 34 2e 0d 0a 0d 0a 09 84 45 72 72 6f 72 20 6d ┆ ed in chapter 4. Error m┆ 0x034e0…03500 65 73 73 61 67 65 73 20 70 72 6f 64 75 63 65 64 20 62 79 20 74 68 65 20 44 54 45 20 6d 6f 64 75 ┆essages produced by the DTE modu┆ 0x03500…03520 6c 65 20 61 72 65 20 65 78 70 6c 61 69 6e 65 64 20 69 6e 20 63 68 61 70 74 65 72 20 0a 19 89 80 ┆le are explained in chapter ┆ 0x03520…03540 80 35 2e 0d 0a 0d 0a 09 84 49 6e 20 63 68 61 70 74 65 72 20 36 20 64 69 66 66 65 72 65 6e 74 20 ┆ 5. In chapter 6 different ┆ 0x03540…03560 64 65 62 75 67 67 69 6e 67 2f 74 65 73 74 20 74 6f 6f 6c 73 20 66 6f 72 20 74 68 65 20 44 54 45 ┆debugging/test tools for the DTE┆ 0x03560…03580 20 6d 6f 64 75 6c 65 20 61 72 65 20 0a 19 89 80 80 64 65 73 63 72 69 62 65 64 2c 20 6e 65 61 72 ┆ module are described, near┆ 0x03580…035a0 6c 79 20 69 6e 20 74 68 65 20 73 61 6d 65 20 6d 61 6e 6e 65 72 20 61 73 20 69 6e 20 63 68 61 70 ┆ly in the same manner as in chap┆ 0x035a0…035c0 74 65 72 20 33 20 61 6e 64 20 34 20 66 6f 72 20 74 68 65 20 0a 19 89 80 80 44 54 45 20 6d 6f 64 ┆ter 3 and 4 for the DTE mod┆ 0x035c0…035e0 75 6c 65 2e 0d 0a 0d 0a 09 84 49 6e 20 63 68 61 70 74 65 72 20 37 20 74 68 65 20 63 6f 6e 66 69 ┆ule. In chapter 7 the confi┆ 0x035e0…03600 67 75 72 61 74 69 6f 6e 20 70 61 72 61 6d 65 74 65 72 73 20 61 6e 64 20 74 68 65 20 63 6f 6d 70 ┆guration parameters and the comp┆ 0x03600…03620 (27,) 69 6c 61 74 69 6f 6e 20 6f 66 20 0a 19 89 80 80 74 68 65 20 44 54 45 20 53 79 73 74 65 6d 20 61 ┆ilation of the DTE System a┆ 0x03620…03640 72 65 20 64 65 73 63 72 69 62 65 64 2e 20 46 75 72 74 68 65 72 6d 6f 72 65 20 61 72 65 20 74 68 ┆re described. Furthermore are th┆ 0x03640…03660 65 20 73 74 6f 72 61 67 65 20 72 65 71 75 69 72 65 80 0a 19 89 80 80 6d 65 6e 74 73 20 69 6e 20 ┆e storage require ments in ┆ 0x03660…03680 74 68 65 20 52 43 33 35 30 32 20 63 61 6c 63 75 6c 61 74 65 64 2e 20 54 68 69 73 20 63 61 6c 63 ┆the RC3502 calculated. This calc┆ 0x03680…036a0 75 6c 61 74 69 6f 6e 20 69 73 20 62 61 73 65 64 20 6f 6e 20 6d 6f 64 65 6c 20 0a 19 89 80 80 31 ┆ulation is based on model 1┆ 0x036a0…036c0 20 28 52 43 33 35 30 32 2f 31 29 2e 0d 0a 0d 0a 09 84 46 69 6e 61 6c 6c 79 2c 20 63 68 61 70 74 ┆ (RC3502/1). Finally, chapt┆ 0x036c0…036e0 65 72 20 38 20 64 65 73 63 72 69 62 65 73 20 74 68 65 20 73 6f 75 72 63 65 20 74 65 78 74 20 6f ┆er 8 describes the source text o┆ 0x036e0…03700 72 67 61 6e 69 7a 61 74 69 6f 6e 20 69 6e 20 61 6e 20 0a 19 89 80 80 52 43 38 30 30 30 2e 0d 0a ┆rganization in an RC8000. ┆ 0x03700…03720 0d 0a 0d 0a a1 31 2e 32 09 54 65 72 6d 69 6e 6f 6c 6f 67 79 20 61 6e 64 20 4e 6f 74 61 74 69 6f ┆ 1.2 Terminology and Notatio┆ 0x03720…03740 6e 2e 0d 0a 0d 0a 09 84 54 6f 20 64 69 73 74 69 6e 67 75 69 73 68 20 62 65 74 77 65 65 6e 20 61 ┆n. To distinguish between a┆ 0x03740…03760 20 6d 6f 64 75 6c 65 20 61 6e 64 20 61 6e 20 52 54 50 20 70 72 6f 63 65 73 73 20 28 69 6e 63 61 ┆ module and an RTP process (inca┆ 0x03760…03780 72 6e 61 74 69 6f 6e 29 2c 20 0a 19 89 80 80 61 20 6d 6f 64 75 6c 65 20 69 73 20 77 72 69 74 74 ┆rnation), a module is writt┆ 0x03780…037a0 65 6e 20 77 69 74 68 20 63 61 70 69 74 61 6c 20 6c 65 74 74 65 72 73 20 28 65 2e 67 2e 20 4e 43 ┆en with capital letters (e.g. NC┆ 0x037a0…037c0 50 29 20 61 6e 64 20 61 6e 20 52 54 50 20 0a 19 89 80 80 70 72 6f 63 65 73 73 20 77 69 74 68 20 ┆P) and an RTP process with ┆ 0x037c0…037e0 73 6d 61 6c 6c 20 6c 65 74 74 65 72 73 20 28 65 2e 67 2e 20 64 74 65 29 2e 0d 0a 0d 0a 09 84 49 ┆small letters (e.g. dte). I┆ 0x037e0…03800 6e 20 74 68 65 20 73 74 61 74 65 2f 61 63 74 69 6f 6e 20 74 61 62 6c 65 73 20 74 68 65 20 66 6f ┆n the state/action tables the fo┆ 0x03800…03820 (28,) 6c 6c 6f 77 69 6e 67 20 6e 6f 74 61 74 69 6f 6e 20 69 73 20 75 73 65 64 3a 0d 0a 0d 0a 09 20 20 ┆llowing notation is used: ┆ 0x03820…03840 20 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 0d 0a 09 20 20 20 20 20 50 31 30 20 20 20 20 20 20 20 ┆ _____________ P10 ┆ 0x03840…03860 20 20 09 09 50 31 30 3a 20 6e 65 78 74 20 73 74 61 74 65 0d 0a 09 20 20 20 a1 20 20 20 20 20 20 ┆ P10: next state ┆ 0x03860…03880 20 20 20 41 31 20 20 e1 09 09 41 31 20 3a 20 61 63 74 69 6f 6e 20 70 65 72 66 6f 72 6d 65 64 0d ┆ A1 A1 : action performed ┆ 0x03880…038a0 0a 0d 0a 09 84 49 66 20 74 68 65 20 73 74 61 74 65 2f 61 63 74 69 6f 6e 20 74 61 62 6c 65 20 69 ┆ If the state/action table i┆ 0x038a0…038c0 73 20 6f 75 74 6c 69 6e 65 64 20 61 73 20 61 20 73 74 61 74 65 20 74 72 61 6e 73 69 74 69 6f 6e ┆s outlined as a state transition┆ 0x038c0…038e0 20 67 72 61 70 68 20 0a 19 89 80 80 74 68 65 20 6e 6f 74 61 74 69 6f 6e 20 69 73 3a 0d 0a 0d 0a ┆ graph the notation is: ┆ 0x038e0…03900 09 20 20 20 20 20 20 20 a1 09 45 20 20 20 e1 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 ┆ E P┆ 0x03900…03920 39 20 3a 20 63 75 72 72 65 6e 74 20 73 74 61 74 65 0d 0a 09 20 20 20 20 20 20 20 20 20 41 31 20 ┆9 : current state A1 ┆ 0x03920…03940 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 31 30 3a 20 6e 65 78 74 20 73 74 61 74 ┆ P10: next stat┆ 0x03940…03960 65 0d 0a 09 20 20 50 39 20 20 20 20 20 20 20 20 20 20 20 20 20 50 31 30 20 20 20 20 20 20 20 20 ┆e P9 P10 ┆ 0x03960…03980 20 20 45 20 20 3a 20 65 76 65 6e 74 20 63 61 75 73 69 6e 67 20 74 68 65 20 74 72 61 6e 73 69 74 ┆ E : event causing the transit┆ 0x03980…039a0 69 6f 6e 0d 0a 09 09 09 09 41 31 20 3a 20 61 63 74 69 6f 6e 20 70 65 72 66 6f 72 6d 65 64 0d 0a ┆ion A1 : action performed ┆ 0x039a0…039a2 0d 0a ┆ ┆ 0x039a2…039a5 FormFeed { 0x039a2…039a5 0c 80 a7 ┆ ┆ 0x039a2…039a5 } 0x039a5…039c0 0a 09 84 49 6e 20 74 68 65 20 66 69 67 75 72 65 73 20 64 65 73 63 72 69 62 69 6e ┆ In the figures describin┆ 0x039c0…039e0 67 20 6d 65 73 73 61 67 65 20 66 6c 6f 77 73 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 6e 6f ┆g message flows the following no┆ 0x039e0…03a00 74 61 74 69 6f 6e 20 69 73 20 0a 19 89 80 80 75 73 65 64 3a 0d 0a 0d 0a 0d 0a 09 09 09 09 61 20 ┆tation is used: a ┆ 0x03a00…03a20 (29,) 70 72 6f 63 65 73 73 20 28 69 6e 63 61 72 6e 61 74 69 6f 6e 29 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 ┆process (incarnation) ┆ 0x03a20…03a40 09 09 09 84 61 20 73 65 6d 61 70 68 6f 72 65 0d 0a 09 09 09 09 84 28 69 66 20 74 68 65 20 73 65 ┆ a semaphore (if the se┆ 0x03a40…03a60 6d 61 70 68 6f 72 65 20 69 73 20 68 61 74 63 68 65 64 20 74 68 65 6e 20 0a 19 a7 80 80 74 68 65 ┆maphore is hatched then the┆ 0x03a60…03a80 20 73 65 6d 61 70 68 6f 72 65 20 69 73 20 61 20 6d 61 69 6e 20 73 65 6d 61 70 68 6f 72 65 29 0d ┆ semaphore is a main semaphore) ┆ 0x03a80…03aa0 0a 0d 0a 0d 0a 0d 0a 09 09 09 09 73 69 67 6e 61 6c 20 74 6f 20 61 20 73 65 6d 61 70 68 6f 72 65 ┆ signal to a semaphore┆ 0x03aa0…03ac0 0d 0a 0d 0a 0d 0a 0d 0a 09 09 09 09 77 61 69 74 20 61 74 20 61 20 73 65 6d 61 70 68 6f 72 65 0d ┆ wait at a semaphore ┆ 0x03ac0…03ae0 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 09 09 09 73 69 67 6e 61 6c 2f 77 61 69 74 20 74 6f 20 61 6e 20 69 ┆ signal/wait to an i┆ 0x03ae0…03b00 6e 74 65 72 6e 61 6c 20 73 65 6d 61 70 68 6f 72 65 0d 0a 0d 0a 0d 0a 0d 0a 09 09 09 09 62 75 66 ┆nternal semaphore buf┆ 0x03b00…03b20 66 65 72 20 70 6f 6f 6c 20 77 69 74 68 20 61 6e 20 61 63 63 65 73 73 20 73 65 6d 61 70 68 6f 72 ┆fer pool with an access semaphor┆ 0x03b20…03b23 65 0d 0a ┆e ┆ 0x03b23…03b26 FormFeed { 0x03b23…03b26 0c 80 9d ┆ ┆ 0x03b23…03b26 } 0x03b26…03b40 0a 16 20 66 6f 72 6d 61 74 6c 69 6e 69 65 20 74 69 6c 20 52 43 20 6d 61 6e 75 ┆ formatlinie til RC manu┆ 0x03b40…03b60 61 6c 65 72 0d 0a 14 b3 0d 0a 14 b3 06 2d 20 0b 20 2d 0d 0a b0 a1 32 2e 09 4d 4f 44 55 4c 45 20 ┆aler - - 2. MODULE ┆ 0x03b60…03b80 4f 56 45 52 56 49 45 57 0d 0a 0d 0a 09 84 54 68 65 20 45 78 74 65 72 6e 61 6c 20 44 54 45 20 4d ┆OVERVIEW The External DTE M┆ 0x03b80…03ba0 6f 64 75 6c 65 20 63 6f 6e 73 69 73 74 73 20 6f 66 20 61 20 6e 75 6d 62 65 72 20 6f 66 20 70 72 ┆odule consists of a number of pr┆ 0x03ba0…03bc0 6f 63 65 73 73 65 73 2c 20 63 6f 6d 6d 75 80 0a 19 89 80 80 6e 69 63 61 74 69 6e 67 20 62 79 20 ┆ocesses, commu nicating by ┆ 0x03bc0…03be0 6d 65 61 6e 73 20 6f 66 20 69 6e 74 65 72 6e 61 6c 20 6d 65 73 73 61 67 65 73 2e 0d 0a 0d 0a 09 ┆means of internal messages. ┆ 0x03be0…03c00 84 42 65 66 6f 72 65 20 64 65 73 63 72 69 62 69 6e 67 20 65 61 63 68 20 69 6e 64 69 76 69 64 75 ┆ Before describing each individu┆ 0x03c00…03c20 (30,) 61 6c 20 70 72 6f 63 65 73 73 20 73 6f 6d 65 20 67 65 6e 65 72 61 6c 20 64 65 73 69 67 6e 20 63 ┆al process some general design c┆ 0x03c20…03c40 72 69 80 0a 19 89 80 80 74 65 72 69 61 20 77 69 6c 6c 20 62 65 20 6f 75 74 6c 69 6e 65 64 0d 0a ┆ri teria will be outlined ┆ 0x03c40…03c60 0d 0a 09 09 b0 2d 20 84 74 68 65 20 75 73 65 72 20 69 6e 74 65 72 66 61 63 65 20 73 68 6f 75 6c ┆ - the user interface shoul┆ 0x03c60…03c80 64 20 62 65 20 69 64 65 6e 74 69 63 61 6c 20 74 6f 20 74 68 65 20 75 73 65 72 20 69 6e 80 0a 19 ┆d be identical to the user in ┆ 0x03c80…03ca0 95 81 82 74 65 72 66 61 63 65 20 6f 66 20 74 68 65 20 49 6e 74 65 72 6e 61 6c 20 44 54 45 0d 0a ┆ terface of the Internal DTE ┆ 0x03ca0…03cc0 0d 0a 09 09 b0 2d 20 84 74 68 65 20 69 6e 74 65 72 66 61 63 65 20 62 65 74 77 65 65 6e 20 74 68 ┆ - the interface between th┆ 0x03cc0…03ce0 65 20 44 54 45 20 61 6e 64 20 74 68 65 20 44 43 45 20 69 73 20 74 68 65 20 20 0a 19 95 81 82 43 ┆e DTE and the DCE is the C┆ 0x03ce0…03d00 43 49 54 54 20 31 39 38 30 20 58 2e 32 35 20 52 65 63 6f 6d 6d 65 6e 64 61 74 69 6f 6e 20 28 72 ┆CITT 1980 X.25 Recommendation (r┆ 0x03d00…03d20 65 66 2e 20 28 31 29 29 0d 0a 0d 0a 09 09 b0 2d 20 84 74 68 65 20 75 73 65 72 20 69 6e 74 65 72 ┆ef. (1)) - the user inter┆ 0x03d20…03d40 66 61 63 65 20 69 73 20 61 6e 20 6f 70 65 6e 20 69 6e 74 65 72 66 61 63 65 2c 20 77 68 69 63 68 ┆face is an open interface, which┆ 0x03d40…03d60 20 6d 65 61 6e 73 20 0a 19 95 81 82 74 68 61 74 20 74 68 65 20 44 54 45 20 6d 6f 64 75 6c 65 20 ┆ means that the DTE module ┆ 0x03d60…03d80 68 61 73 20 74 6f 20 62 65 20 76 65 72 79 20 72 6f 62 75 73 74 20 61 6e 64 20 74 68 61 74 20 74 ┆has to be very robust and that t┆ 0x03d80…03da0 68 65 20 0a 19 95 81 82 6c 6f 67 69 63 61 6c 20 63 6f 6e 6e 65 63 74 69 6f 6e 73 20 6f 66 20 65 ┆he logical connections of e┆ 0x03da0…03dc0 61 63 68 20 69 6e 64 69 76 69 64 75 61 6c 20 75 73 65 72 20 73 68 6f 75 6c 64 20 62 65 20 0a 19 ┆ach individual user should be ┆ 0x03dc0…03de0 95 81 82 69 6e 64 65 70 65 6e 64 65 6e 74 20 6f 66 20 65 61 63 68 20 6f 74 68 65 72 0d 0a 0d 0a ┆ independent of each other ┆ 0x03de0…03e00 09 09 b0 2d 20 84 6f 6e 6c 79 20 6f 6e 65 20 48 44 4c 43 20 6c 69 6e 65 20 69 73 20 75 73 65 64 ┆ - only one HDLC line is used┆ 0x03e00…03e20 (31,) 20 62 65 74 77 65 65 6e 20 74 68 65 20 44 54 45 20 61 6e 64 20 74 68 65 20 44 43 45 0d 0a 0d 0a ┆ between the DTE and the DCE ┆ 0x03e20…03e40 09 09 b0 2d 20 84 69 74 20 73 68 6f 75 6c 64 20 62 65 20 70 6f 73 73 69 62 6c 65 20 74 6f 20 63 ┆ - it should be possible to c┆ 0x03e40…03e60 6f 6e 6e 65 63 74 20 74 77 6f 20 44 54 45 27 73 20 62 61 63 6b 20 74 6f 20 0a 19 95 81 82 62 61 ┆onnect two DTE's back to ba┆ 0x03e60…03e80 63 6b 20 66 6f 72 20 74 65 73 74 20 70 75 72 70 6f 73 65 0d 0a 0d 0a 09 09 b0 2d 20 84 74 68 65 ┆ck for test purpose - the┆ 0x03e80…03ea0 20 44 54 45 20 73 68 6f 75 6c 64 20 62 65 20 61 62 6c 65 20 74 6f 20 63 6f 6e 74 72 6f 6c 20 74 ┆ DTE should be able to control t┆ 0x03ea0…03ec0 68 65 20 6d 6f 64 65 6d 20 73 69 67 6e 61 6c 73 0d 0a 0d 0a 09 09 b0 2d 20 84 69 74 20 73 68 6f ┆he modem signals - it sho┆ 0x03ec0…03ee0 75 6c 64 20 62 65 20 70 6f 73 73 69 62 6c 65 20 74 6f 20 63 68 61 6e 67 65 20 69 6d 70 6f 72 74 ┆uld be possible to change import┆ 0x03ee0…03f00 61 6e 74 20 70 61 72 61 6d 65 74 65 72 73 20 0a 19 95 81 82 64 79 6e 61 6d 69 63 6c 79 2c 20 61 ┆ant parameters dynamicly, a┆ 0x03f00…03f20 74 20 6c 65 61 73 74 20 61 74 20 64 74 65 20 70 72 6f 63 65 73 73 20 63 72 65 61 74 69 6f 6e 2e ┆t least at dte process creation.┆ 0x03f20…03f40 0d 0a 0d 0a 09 84 41 6c 6c 20 74 68 65 20 61 62 6f 76 65 20 6d 65 6e 74 69 6f 6e 65 64 20 64 65 ┆ All the above mentioned de┆ 0x03f40…03f60 73 69 67 6e 20 63 72 69 74 65 72 69 61 20 6c 65 61 64 73 20 74 6f 20 74 68 65 20 62 65 6c 6f 77 ┆sign criteria leads to the below┆ 0x03f60…03f80 20 64 65 80 0a 19 89 80 80 73 63 72 69 62 65 64 20 6d 6f 64 75 6c 65 20 73 74 72 75 63 74 75 72 ┆ de scribed module structur┆ 0x03f80…03fa0 69 6e 67 20 70 72 69 6e 63 69 70 6c 65 20 61 6e 64 20 70 72 6f 63 65 73 73 65 73 2e 0d 0a 0d 0a ┆ing principle and processes. ┆ 0x03fa0…03fc0 09 84 4f 6e 65 20 73 75 70 65 72 76 69 73 6f 72 20 70 72 6f 63 65 73 73 20 28 b0 64 74 65 f0 29 ┆ One supervisor process ( dte )┆ 0x03fc0…03fe0 20 69 73 20 70 61 72 65 6e 74 20 70 72 6f 63 65 73 73 20 74 6f 20 61 20 6e 75 6d 62 65 72 20 6f ┆ is parent process to a number o┆ 0x03fe0…04000 66 20 0a 19 89 81 80 63 68 61 6e 6e 65 6c 20 70 72 6f 63 65 73 73 65 73 20 28 b0 64 74 65 5f 63 ┆f channel processes ( dte_c┆ 0x04000…04020 (32,) 68 61 6e f0 29 2c 20 65 61 63 68 20 73 65 72 76 69 63 69 6e 67 20 61 20 6c 6f 67 69 63 61 6c 20 ┆han ), each servicing a logical ┆ 0x04020…04040 63 6f 6e 6e 65 63 74 69 6f 6e 20 0a 19 89 82 80 28 56 69 72 74 75 61 6c 20 43 61 6c 6c 29 2c 20 ┆connection (Virtual Call), ┆ 0x04040…04060 61 20 75 73 65 72 20 69 6e 74 65 72 66 61 63 65 20 70 72 6f 63 65 73 73 20 28 b0 64 74 65 5f 61 ┆a user interface process ( dte_a┆ 0x04060…04080 63 63 65 73 73 f0 29 2c 20 61 6e 20 48 44 4c 43 20 69 6e 2d 0a 19 89 83 80 74 65 72 66 61 63 69 ┆ccess ), an HDLC in- terfaci┆ 0x04080…040a0 6e 67 20 70 72 6f 63 65 73 73 20 28 b0 64 74 65 5f 68 72 65 63 f0 29 2c 20 61 20 63 68 61 6e 6e ┆ng process ( dte_hrec ), a chann┆ 0x040a0…040c0 65 6c 20 7a 65 72 6f 20 70 72 6f 63 65 73 73 0d 0a 20 20 20 20 20 20 20 20 20 84 28 b0 64 74 65 ┆el zero process ( dte┆ 0x040c0…040e0 5f 6c 63 6e 5f 7a 65 72 6f f0 29 2c 20 61 6e 64 20 61 20 62 75 66 66 65 72 20 70 6f 6f 6c 20 68 ┆_lcn_zero ), and a buffer pool h┆ 0x040e0…04100 61 6e 64 6c 65 72 20 70 72 6f 63 65 73 73 20 28 b0 64 74 65 5f 70 6f 6f 6c f0 29 2e 20 0a 19 89 ┆andler process ( dte_pool ). ┆ 0x04100…04120 82 80 42 65 73 69 64 65 73 20 74 68 65 73 65 20 70 72 6f 63 65 73 73 65 73 20 74 68 65 20 64 74 ┆ Besides these processes the dt┆ 0x04120…04140 65 20 69 73 20 70 61 72 65 6e 74 20 70 72 6f 63 65 73 73 20 66 6f 72 20 66 6f 75 72 20 70 72 6f ┆e is parent process for four pro┆ 0x04140…04160 63 65 73 80 0a 19 89 82 80 73 65 73 20 75 73 65 64 20 61 73 20 64 65 80 62 75 67 20 61 6e 64 20 ┆ces ses used as de bug and ┆ 0x04160…04180 74 65 73 74 20 74 6f 6f 6c 73 20 28 70 6c 65 61 73 65 20 72 65 66 65 72 20 74 6f 20 66 69 67 75 ┆test tools (please refer to figu┆ 0x04180…04188 72 65 20 32 29 2e 20 0a ┆re 2). ┆ 0x04188…0418b FormFeed { 0x04188…0418b 0c 80 a7 ┆ ┆ 0x04188…0418b } 0x0418b…041a0 0a 19 89 82 80 49 6e 20 66 69 67 75 72 65 20 31 20 74 68 65 20 ┆ In figure 1 the ┆ 0x041a0…041c0 70 72 6f 80 80 63 65 73 73 20 74 72 65 65 20 6f 66 20 74 68 65 20 44 54 45 20 6d 6f 64 75 6c 65 ┆pro cess tree of the DTE module┆ 0x041c0…041e0 20 61 6e 64 20 69 74 73 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 0a 19 89 82 80 69 73 20 73 68 6f ┆ and its environment is sho┆ 0x041e0…04200 77 6e 2c 20 61 6e 64 20 69 6e 20 66 69 67 75 72 65 20 32 20 74 68 65 20 70 72 6f 63 65 73 73 20 ┆wn, and in figure 2 the process ┆ 0x04200…04220 (33,) 74 72 65 65 20 6f 66 20 74 68 65 20 64 65 62 75 67 20 61 6e 64 20 74 65 73 74 20 0a 19 89 82 80 ┆tree of the debug and test ┆ 0x04220…04240 70 72 6f 63 65 73 73 65 73 2e 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆processes. ┆ 0x04240…04260 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ 0x04260…04280 0d 0a 0d 0a 0d 0a 0d 0a 09 46 69 67 75 72 65 20 31 3a 20 50 72 6f 63 65 73 73 20 74 72 65 65 20 ┆ Figure 1: Process tree ┆ 0x04280…042a0 6f 66 20 74 68 65 20 45 78 74 65 72 6e 61 6c 20 44 54 45 20 61 6e 64 20 69 74 73 20 65 6e 76 69 ┆of the External DTE and its envi┆ 0x042a0…042c0 72 6f 6e 6d 65 6e 74 2e 0d 0a 0d 0a 09 84 54 68 65 20 63 68 61 6e 6e 65 6c 20 70 72 6f 63 65 73 ┆ronment. The channel proces┆ 0x042c0…042e0 73 65 73 20 61 72 65 20 63 72 65 61 74 65 64 20 64 79 6e 61 6d 69 63 61 6c 6c 79 20 61 6e 64 20 ┆ses are created dynamically and ┆ 0x042e0…04300 72 65 6d 6f 76 65 64 20 65 61 63 68 20 0a 19 89 80 80 74 69 6d 65 20 74 68 65 20 44 54 45 2f 44 ┆removed each time the DTE/D┆ 0x04300…0431c 43 45 20 69 6e 74 65 72 66 61 63 65 20 69 73 20 72 65 73 74 61 72 74 65 64 2e 0d 0a ┆CE interface is restarted. ┆ 0x0431c…0431f FormFeed { 0x0431c…0431f 0c 80 a5 ┆ ┆ 0x0431c…0431f } 0x0431f…04320 0a ┆ ┆ 0x04320…04340 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ 0x04340…04360 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 46 69 67 75 72 65 20 32 3a 20 50 72 6f 63 65 ┆ Figure 2: Proce┆ 0x04360…04380 73 73 20 74 72 65 65 20 6f 66 20 74 68 65 20 44 54 45 20 64 65 62 75 67 67 69 6e 67 2c 20 74 65 ┆ss tree of the DTE debugging, te┆ 0x04380…043a0 73 74 20 61 6e 64 20 74 72 61 63 65 20 74 6f 6f 6c 73 2e 0d 0a 0d 0a 0d 0a 0d 0a 09 84 49 6e 20 ┆st and trace tools. In ┆ 0x043a0…043c0 66 69 67 75 72 65 20 33 2c 20 34 2c 20 35 20 61 6e 64 20 36 20 61 6e 20 6f 75 74 6c 69 6e 65 20 ┆figure 3, 4, 5 and 6 an outline ┆ 0x043c0…043e0 6f 66 20 6d 65 73 73 61 67 65 20 66 6c 6f 77 20 69 6e 20 66 6f 75 72 20 63 61 73 65 73 20 0a 19 ┆of message flow in four cases ┆ 0x043e0…04400 89 80 80 61 72 65 20 70 72 65 73 65 6e 74 65 64 2e 20 41 20 6d 6f 72 65 20 64 65 74 61 69 6c 65 ┆ are presented. A more detaile┆ 0x04400…04420 (34,) 64 20 64 65 73 63 72 69 70 74 69 6f 6e 20 6d 61 79 20 62 65 20 66 6f 75 6e 64 20 69 6e 20 63 68 ┆d description may be found in ch┆ 0x04420…04440 61 70 74 65 72 20 0a 19 89 80 80 33 2c 20 77 68 65 72 65 61 73 20 63 6f 6d 6d 75 6e 69 63 61 74 ┆apter 3, whereas communicat┆ 0x04440…04460 69 6f 6e 20 77 69 74 68 20 74 68 65 20 4e 43 50 20 6d 6f 64 75 6c 65 20 66 6f 6c 6c 6f 77 73 20 ┆ion with the NCP module follows ┆ 0x04460…04480 72 65 66 2e 20 28 31 30 29 2e 20 0a 19 89 80 80 54 68 65 20 48 44 4c 43 20 64 72 69 76 65 72 20 ┆ref. (10). The HDLC driver ┆ 0x04480…044a0 69 6e 74 65 72 66 61 63 65 20 69 73 20 64 65 73 63 72 69 62 65 64 20 69 6e 20 72 65 66 2e 20 28 ┆interface is described in ref. (┆ 0x044a0…044c0 39 29 20 61 6e 64 20 74 68 65 20 44 54 45 20 0a 19 89 80 80 75 73 65 72 20 69 6e 74 65 72 66 61 ┆9) and the DTE user interfa┆ 0x044c0…044e0 63 65 20 69 6e 20 72 65 66 2e 20 28 33 29 2e 0d 0a 0d 0a 09 84 49 6e 20 74 68 65 20 66 6f 6c 6c ┆ce in ref. (3). In the foll┆ 0x044e0…04500 6f 77 69 6e 67 20 61 20 73 68 6f 72 74 20 64 65 73 63 72 69 70 74 69 6f 6e 20 69 73 20 67 69 76 ┆owing a short description is giv┆ 0x04500…04520 65 6e 20 6f 66 20 74 68 65 20 6d 6f 64 75 6c 65 73 20 61 6e 64 20 0a 19 89 80 80 70 72 6f 63 65 ┆en of the modules and proce┆ 0x04520…04540 73 73 65 73 20 66 6f 75 6e 64 20 69 6e 20 66 69 67 75 72 65 73 20 31 20 61 6e 64 20 32 20 74 6f ┆sses found in figures 1 and 2 to┆ 0x04540…04560 67 65 74 68 65 72 20 77 69 74 68 20 61 20 6d 6f 72 65 20 63 6f 6d 70 72 65 68 65 6e 80 0a 19 89 ┆gether with a more comprehen ┆ 0x04560…04580 80 80 73 69 76 65 20 64 65 73 63 72 69 70 74 69 6f 6e 20 6f 66 20 74 68 65 20 69 6e 64 69 76 69 ┆ sive description of the indivi┆ 0x04580…045a0 64 75 61 6c 20 70 72 6f 63 65 73 73 65 73 20 6f 66 20 74 68 65 20 44 54 45 20 53 79 73 74 65 6d ┆dual processes of the DTE System┆ 0x045a0…045a7 2e 0d 0a 0d 0a 0d 0a ┆. ┆ 0x045a7…045aa FormFeed { 0x045a7…045aa 0c 80 a7 ┆ ┆ 0x045a7…045aa } 0x045aa…045c0 0a 20 20 20 20 20 20 20 20 20 b0 41 44 41 4d 20 20 20 20 20 20 84 ┆ ADAM ┆ 0x045c0…045e0 f0 69 73 20 74 68 65 20 72 6f 6f 74 20 6f 66 20 74 68 65 20 64 79 6e 61 6d 69 63 20 74 72 65 65 ┆ is the root of the dynamic tree┆ 0x045e0…04600 20 6f 66 20 69 6e 63 61 72 6e 61 74 69 6f 6e 73 2e 0d 0a 09 09 84 a1 41 44 41 4d e1 20 63 72 65 ┆ of incarnations. ADAM cre┆ 0x04600…04620 (35,) 61 74 65 73 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 20 74 68 72 65 65 20 69 6e 63 61 72 6e 61 ┆ates automatically three incarna┆ 0x04620…04640 74 69 6f 6e 73 3a 0d 0a 09 09 b0 43 4f 4e 53 4f 4c 0d 0a 09 09 b0 4f 50 45 52 41 54 4f 52 0d 0a ┆tions: CONSOL OPERATOR ┆ 0x04640…04660 09 09 b0 53 20 28 63 6e 61 64 61 6d 29 0d 0a 09 09 a1 41 44 41 4d e1 20 6d 61 79 20 72 65 6d 6f ┆ S (cnadam) ADAM may remo┆ 0x04660…04680 76 65 20 61 6e 79 20 6f 66 20 74 68 65 20 69 6e 63 61 72 6e 61 74 69 6f 6e 73 20 6f 6e 20 72 65 ┆ve any of the incarnations on re┆ 0x04680…046a0 71 75 65 73 74 2e 0d 0a 0d 0a 09 b0 4f 50 45 52 41 54 4f 52 2c 20 84 43 4f 4e 53 4f 4c 45 f0 20 ┆quest. OPERATOR, CONSOLE ┆ 0x046a0…046c0 69 73 20 74 68 65 20 69 6e 74 65 72 66 61 63 65 20 62 65 74 77 65 65 6e 20 61 20 68 75 6d 61 6e ┆is the interface between a human┆ 0x046c0…046e0 20 6f 70 65 72 61 74 6f 72 20 61 6e 64 20 0a 19 93 81 80 74 68 65 20 72 75 6e 6e 69 6e 67 20 69 ┆ operator and the running i┆ 0x046e0…04700 6e 63 61 72 6e 61 74 69 6f 6e 73 2e 20 a1 43 4f 4e 53 4f 4c 45 e1 20 70 65 72 66 6f 72 6d 73 20 ┆ncarnations. CONSOLE performs ┆ 0x04700…04720 49 2f 4f 20 74 6f 20 74 68 65 20 0a 19 93 81 80 64 65 62 75 67 20 63 6f 6e 73 6f 6c 65 2e 20 a1 ┆I/O to the debug console. ┆ 0x04720…04740 4f 50 45 52 41 54 4f 52 e1 20 70 72 6f 63 65 73 73 65 73 20 6d 65 73 73 61 67 65 73 20 73 69 67 ┆OPERATOR processes messages sig┆ 0x04740…04760 6e 61 6c 6c 65 64 20 74 6f 20 0a 19 93 81 80 74 68 65 20 6f 70 65 72 61 74 6f 72 20 73 65 6d 61 ┆nalled to the operator sema┆ 0x04760…04780 70 68 6f 72 65 2e 0d 0a 0d 0a 09 b0 54 49 4d 45 52 09 f0 70 65 72 66 6f 72 6d 73 20 64 65 6c 61 ┆phore. TIMER performs dela┆ 0x04780…047a0 79 20 74 69 6d 69 6e 67 20 61 6e 64 20 74 69 6d 65 6f 75 74 20 6f 66 20 64 72 69 76 65 72 73 2e ┆y timing and timeout of drivers.┆ 0x047a0…047c0 0d 0a 0d 0a 09 41 44 41 4d 2c 20 4f 50 45 52 84 41 54 4f 52 2c 20 43 4f 4e 53 4f 4c 45 2c 20 61 ┆ ADAM, OPER ATOR, CONSOLE, a┆ 0x047c0…047e0 6e 64 20 54 49 4d 45 52 20 61 72 65 20 70 61 72 74 73 20 6f 66 20 74 68 65 20 52 43 33 35 30 32 ┆nd TIMER are parts of the RC3502┆ 0x047e0…04800 20 62 61 73 69 63 20 0a 19 93 80 80 73 79 73 74 65 6d 20 28 72 65 66 2e 20 28 31 33 29 29 2e 0d ┆ basic system (ref. (13)). ┆ 0x04800…04820 (36,) 0a 0d 0a 09 b0 63 6e 61 64 61 6d 09 f0 43 45 4e 54 45 52 4e 45 54 20 70 61 72 65 6e 74 20 70 72 ┆ cnadam CENTERNET parent pr┆ 0x04820…04840 6f 63 65 73 73 20 28 72 65 66 2e 20 28 38 29 29 2e 0d 0a 0d 0a 09 b0 74 69 6d 65 6f 75 74 09 84 ┆ocess (ref. (8)). timeout ┆ 0x04840…04860 f0 68 61 6e 64 6c 65 73 20 74 69 6d 65 72 20 62 6f 6f 6b 69 6e 67 20 61 6e 64 20 74 69 6d 65 72 ┆ handles timer booking and timer┆ 0x04860…04880 20 75 70 64 61 74 65 20 28 72 65 66 2e 20 28 36 29 29 2e 20 54 68 65 20 0a 19 93 81 80 6d 6f 64 ┆ update (ref. (6)). The mod┆ 0x04880…048a0 75 6c 65 20 69 73 20 75 73 65 64 20 62 79 20 64 74 65 5f 63 68 61 6e 2e 0d 0a 0d 0a 09 b0 4e 43 ┆ule is used by dte_chan. NC┆ 0x048a0…048c0 50 09 a1 f0 4e e1 65 74 77 6f 72 6b 20 a1 43 e1 6f 6e 74 72 6f 6c 20 a1 50 e1 72 6f 62 65 20 6d ┆P N etwork C ontrol P robe m┆ 0x048c0…048e0 6f 64 75 6c 65 20 28 72 65 66 2e 20 28 31 30 29 29 2e 0d 0a 0d 0a 09 b0 48 44 4c 43 4c 43 50 09 ┆odule (ref. (10)). HDLCLCP ┆ 0x048e0…04900 84 f0 48 44 4c 43 20 69 6e 74 65 72 66 61 63 65 20 6d 6f 64 75 6c 65 2e 20 54 68 65 20 6d 6f 64 ┆ HDLC interface module. The mod┆ 0x04900…04920 75 6c 65 20 73 75 70 65 72 76 69 73 65 73 20 74 68 65 20 48 44 4c 43 20 0a 19 93 81 80 64 72 69 ┆ule supervises the HDLC dri┆ 0x04920…04940 76 65 72 20 a1 70 72 6f 63 65 73 73 e1 20 61 6e 64 20 70 65 72 66 6f 72 6d 73 20 61 6c 6c 20 4c ┆ver process and performs all L┆ 0x04940…04960 43 50 20 6f 70 65 72 61 74 69 6f 6e 73 20 6f 6e 20 74 68 65 20 0a 19 93 81 80 64 72 69 76 65 72 ┆CP operations on the driver┆ 0x04960…04980 2e 0d 0a 0d 0a 09 b0 64 74 65 09 84 f0 53 75 70 65 72 76 69 73 6f 72 20 61 6e 64 20 70 61 72 65 ┆. dte Supervisor and pare┆ 0x04980…049a0 6e 74 20 70 72 6f 63 65 73 73 20 6f 66 20 74 68 65 20 44 54 45 20 53 79 73 74 65 6d 2e 20 54 68 ┆nt process of the DTE System. Th┆ 0x049a0…049c0 65 20 0a 19 93 81 80 70 72 6f 80 63 65 73 73 20 68 61 6e 64 6c 65 73 20 74 68 65 20 44 54 45 20 ┆e pro cess handles the DTE ┆ 0x049c0…049e0 4c 43 50 20 6f 70 65 72 61 74 69 6f 6e 73 20 28 72 65 66 2e 20 28 34 29 29 2c 20 73 6f 6d 65 20 ┆LCP operations (ref. (4)), some ┆ 0x049e0…04a00 0a 19 93 81 80 62 79 20 66 6f 72 77 61 72 64 69 6e 67 20 74 68 65 6d 20 74 6f 20 74 68 65 20 61 ┆ by forwarding them to the a┆ 0x04a00…04a20 (37,) 70 70 72 6f 70 72 69 61 74 65 20 63 68 61 6e 6e 65 6c 20 70 72 6f 63 65 73 73 20 0a 19 93 81 80 ┆ppropriate channel process ┆ 0x04a20…04a40 69 6e 80 63 61 72 80 6e 61 74 69 6f 6e 20 28 64 74 65 5f 63 68 61 6e 3c 78 79 7a 3e 29 2e 20 54 ┆in car nation (dte_chan<xyz>). T┆ 0x04a40…04a60 68 65 20 70 72 6f 63 65 73 73 20 61 6c 73 6f 20 72 65 63 65 69 76 65 73 20 0a 19 93 81 80 4c 43 ┆he process also receives LC┆ 0x04a60…04a80 50 20 65 76 65 6e 74 73 20 61 6e 64 20 66 6f 72 77 61 72 64 73 20 74 68 65 73 65 20 65 76 65 6e ┆P events and forwards these even┆ 0x04a80…04aa0 74 73 20 74 6f 20 74 68 65 20 4e 43 50 2e 0d 0a 0d 0a 09 09 84 41 74 20 56 69 72 74 75 61 6c 20 ┆ts to the NCP. At Virtual ┆ 0x04aa0…04ac0 43 61 6c 6c 20 28 56 43 29 20 65 73 74 61 62 6c 69 73 68 6d 65 6e 74 20 74 68 65 20 70 72 6f 63 ┆Call (VC) establishment the proc┆ 0x04ac0…04ae0 65 73 73 20 69 73 20 61 63 74 69 76 65 20 0a 19 93 80 80 63 72 65 61 74 69 6e 67 2f 73 74 61 72 ┆ess is active creating/star┆ 0x04ae0…04b00 74 69 6e 67 20 61 20 63 68 61 6e 6e 65 6c 20 70 72 6f 63 65 73 73 20 69 6e 63 61 72 6e 61 74 69 ┆ting a channel process incarnati┆ 0x04b00…04b20 6f 6e 20 61 6e 64 20 61 74 20 0a 19 93 80 80 56 43 20 72 65 6d 6f 76 61 6c 20 73 74 6f 70 70 69 ┆on and at VC removal stoppi┆ 0x04b20…04b40 6e 67 20 74 68 65 20 69 6e 63 61 72 6e 61 74 69 6f 6e 2e 0d 0a 0d 0a 09 09 84 49 6e 20 63 6f 6e ┆ng the incarnation. In con┆ 0x04b40…04b60 6e 65 63 74 69 6f 6e 20 77 69 74 68 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 20 74 68 65 20 70 72 6f ┆nection with dte_lcnzero the pro┆ 0x04b60…04b80 63 65 73 73 20 68 61 6e 64 6c 65 73 20 74 68 65 20 0a 19 93 80 80 72 65 73 74 61 72 74 20 70 68 ┆cess handles the restart ph┆ 0x04b80…04ba0 61 73 65 20 6f 66 20 74 68 65 20 44 43 45 2f 44 54 45 20 69 6e 74 65 72 66 61 63 65 2e 0d 0a 0d ┆ase of the DCE/DTE interface. ┆ 0x04ba0…04bc0 0a 8c 80 a9 0a 09 09 84 46 75 72 74 68 65 72 6d 6f 72 65 2c 20 74 68 65 20 64 74 65 20 63 6f 6e ┆ Furthermore, the dte con┆ 0x04bc0…04be0 74 72 6f 6c 73 20 74 68 65 20 48 44 4c 43 20 64 72 69 76 65 72 20 6f 70 65 72 61 74 69 6f 6e 20 ┆trols the HDLC driver operation ┆ 0x04be0…04c00 0a 19 93 80 80 28 72 65 66 2e 20 28 39 29 29 20 61 6e 64 20 73 65 74 73 2f 72 65 61 63 74 73 20 ┆ (ref. (9)) and sets/reacts ┆ 0x04c00…04c20 (38,) 6f 6e 20 64 69 66 66 65 72 65 6e 74 20 6d 6f 64 65 6d 20 73 69 67 6e 61 6c 73 2e 20 0a 19 93 80 ┆on different modem signals. ┆ 0x04c20…04c40 80 42 65 69 6e 67 20 70 61 72 65 6e 74 20 70 72 6f 63 65 73 73 20 74 68 65 20 64 74 65 20 69 6e ┆ Being parent process the dte in┆ 0x04c40…04c60 69 74 69 61 6c 69 7a 65 73 20 63 6f 6d 6d 6f 6e 20 62 75 66 66 65 72 20 0a 19 93 80 80 70 6f 6f ┆itializes common buffer poo┆ 0x04c60…04c80 6c 73 2c 20 74 61 62 6c 65 73 2c 20 61 6e 64 20 76 61 72 69 61 62 6c 65 73 2e 0d 0a 0d 0a 09 b0 ┆ls, tables, and variables. ┆ 0x04c80…04ca0 64 74 65 5f 61 63 63 65 73 73 84 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆dte_access ┆ 0x04ca0…04cc0 84 54 68 65 20 70 72 6f 63 65 73 73 20 68 61 6e 64 6c 65 73 20 74 68 65 20 63 6f 6d 6d 75 6e 69 ┆ The process handles the communi┆ 0x04cc0…04ce0 63 61 74 69 6f 6e 20 74 6f 20 74 68 65 20 75 73 65 72 73 2e 20 0a 19 93 80 80 41 73 73 69 67 6e ┆cation to the users. Assign┆ 0x04ce0…04d00 6d 65 6e 74 20 6f 66 20 73 74 72 65 61 6d 20 6e 75 6d 62 65 72 73 20 61 6e 64 20 76 61 6c 69 64 ┆ment of stream numbers and valid┆ 0x04d00…04d20 61 74 69 6f 6e 20 6f 66 20 75 73 65 72 20 0a 19 93 80 80 6f 70 65 72 61 74 69 6f 6e 73 20 61 72 ┆ation of user operations ar┆ 0x04d20…04d40 65 20 70 65 72 66 6f 72 6d 65 64 20 62 79 20 74 68 65 20 70 72 6f 63 65 73 73 2e 0d 0a 0d 0a 09 ┆e performed by the process. ┆ 0x04d40…04d60 09 84 41 6c 6c 20 75 73 65 72 20 6f 70 65 72 61 74 69 6f 6e 73 20 65 71 75 61 6c 20 74 6f 20 61 ┆ All user operations equal to a┆ 0x04d60…04d80 6e 20 58 2e 32 35 20 6f 70 65 72 61 74 69 6f 6e 20 61 72 65 20 66 6f 72 80 0a 19 93 80 80 77 61 ┆n X.25 operation are for wa┆ 0x04d80…04da0 72 64 65 64 20 74 6f 20 74 68 65 20 61 70 70 72 6f 70 72 69 61 74 65 20 63 68 61 6e 6e 65 6c 20 ┆rded to the appropriate channel ┆ 0x04da0…04dc0 70 72 6f 63 65 73 73 20 69 6e 63 61 72 6e 61 74 69 6f 6e 2c 20 0a 19 93 80 80 77 68 65 72 65 61 ┆process incarnation, wherea┆ 0x04dc0…04de0 73 20 61 6c 6c 20 6f 74 68 65 72 20 75 73 65 72 20 6f 70 65 72 61 74 69 6f 6e 73 20 61 72 65 20 ┆s all other user operations are ┆ 0x04de0…04e00 68 61 6e 64 6c 65 64 20 62 79 20 74 68 65 20 0a 19 93 80 80 64 74 65 5f 61 63 63 65 73 73 20 70 ┆handled by the dte_access p┆ 0x04e00…04e20 (39,) 72 6f 63 65 73 73 20 69 74 73 65 6c 66 2e 0d 0a 0d 0a 09 09 84 44 75 72 69 6e 67 20 56 43 20 65 ┆rocess itself. During VC e┆ 0x04e20…04e40 73 74 61 62 6c 69 73 68 6d 65 6e 74 20 74 68 65 20 70 72 6f 63 65 73 73 20 63 6f 6d 6d 75 6e 69 ┆stablishment the process communi┆ 0x04e40…04e60 63 61 74 65 73 20 77 69 74 68 20 0a 19 93 80 80 74 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 20 ┆cates with the dte process ┆ 0x04e60…04e80 69 6e 20 6f 72 64 65 72 20 74 6f 20 63 72 65 61 74 65 2f 73 74 61 72 74 20 61 20 63 68 61 6e 6e ┆in order to create/start a chann┆ 0x04e80…04ea0 65 6c 20 70 72 6f 80 0a 19 93 80 80 63 65 73 73 20 69 6e 63 61 72 6e 61 74 69 6f 6e 2e 0d 0a 0d ┆el pro cess incarnation. ┆ 0x04ea0…04ec0 0a 09 09 84 45 76 65 6e 74 73 20 63 6f 6e 63 65 72 6e 69 6e 67 20 61 20 73 70 65 63 69 66 69 63 ┆ Events concerning a specific┆ 0x04ec0…04ee0 20 73 74 72 65 61 6d 2c 20 61 20 75 73 65 72 2c 20 6f 72 20 74 68 65 20 44 43 45 20 0a 19 93 80 ┆ stream, a user, or the DCE ┆ 0x04ee0…04f00 80 2f 44 54 45 20 69 6e 74 65 72 66 61 63 65 20 61 72 65 20 72 65 63 65 69 76 65 64 20 66 72 6f ┆ /DTE interface are received fro┆ 0x04f00…04f20 6d 20 65 69 74 68 65 72 20 74 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 20 0a 19 93 80 80 6f 72 ┆m either the dte process or┆ 0x04f20…04f40 20 61 20 63 68 61 6e 6e 65 6c 20 70 72 6f 63 65 73 73 20 69 6e 63 61 72 6e 61 74 69 6f 6e 20 61 ┆ a channel process incarnation a┆ 0x04f40…04f60 6e 64 20 66 6f 72 77 61 72 64 65 64 20 74 6f 20 74 68 65 20 0a 19 93 80 80 75 73 65 72 20 6f 66 ┆nd forwarded to the user of┆ 0x04f60…04f80 20 63 6f 6e 63 65 72 6e 2c 20 6f 72 20 61 6c 6c 20 75 73 65 72 73 2e 0d 0a 0d 0a 09 b0 64 74 65 ┆ concern, or all users. dte┆ 0x04f80…04fa0 5f 68 72 65 63 09 84 f0 54 68 65 20 70 72 6f 63 65 73 73 20 64 65 6d 75 6c 69 70 6c 65 78 65 73 ┆_hrec The process demuliplexes┆ 0x04fa0…04fc0 20 61 6c 6c 20 58 2e 32 35 20 70 61 63 6b 65 74 73 20 72 65 63 65 69 76 65 64 20 6f 6e 20 0a 19 ┆ all X.25 packets received on ┆ 0x04fc0…04fe0 93 81 80 74 68 65 20 68 64 6c 63 20 6c 69 6e 65 20 61 6e 64 20 73 65 6e 64 73 20 74 68 65 20 70 ┆ the hdlc line and sends the p┆ 0x04fe0…05000 61 63 6b 65 74 73 20 74 6f 20 74 68 65 20 61 70 70 72 6f 70 72 69 61 74 65 20 0a 19 93 81 80 64 ┆ackets to the appropriate d┆ 0x05000…05020 (40,) 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 20 69 6e 63 61 72 6e 61 74 69 6f 6e 20 6f 72 20 64 ┆te_chan process incarnation or d┆ 0x05020…05040 74 65 5f 6c 63 6e 7a 65 72 6f 20 70 72 6f 63 65 73 73 20 64 65 80 0a 19 93 81 80 70 65 6e 64 69 ┆te_lcnzero process de pendi┆ 0x05040…05060 6e 67 20 6f 6e 20 74 68 65 20 63 68 61 6e 6e 65 6c 20 6e 75 6d 62 65 72 2e 20 46 75 72 74 68 65 ┆ng on the channel number. Furthe┆ 0x05060…05080 72 6d 6f 72 65 2c 20 74 68 65 20 70 72 6f 63 65 73 73 20 0a 19 93 81 80 74 72 69 65 73 20 74 6f ┆rmore, the process tries to┆ 0x05080…050a0 20 6b 65 65 70 20 61 20 73 70 65 63 69 66 69 65 64 20 6e 75 6d 62 65 72 20 6f 66 20 69 6e 70 75 ┆ keep a specified number of inpu┆ 0x050a0…050c0 74 20 62 75 66 66 65 72 20 61 74 20 74 68 65 20 0a 19 93 81 80 48 44 4c 43 20 64 72 69 76 65 72 ┆t buffer at the HDLC driver┆ 0x050c0…050e0 2e 0d 0a 0d 0a 09 09 84 54 68 65 20 64 65 6d 75 6c 74 69 70 6c 65 78 69 6e 67 20 66 75 6e 63 74 ┆. The demultiplexing funct┆ 0x050e0…05100 69 6f 6e 20 69 73 20 70 65 72 66 6f 72 6d 65 64 20 75 74 69 6c 69 7a 69 6e 67 20 61 20 0a 19 93 ┆ion is performed utilizing a ┆ 0x05100…05120 80 80 63 6f 6d 80 6d 6f 6e 20 74 61 62 6c 65 20 73 68 61 72 65 64 20 62 79 20 74 68 65 20 70 72 ┆ com mon table shared by the pr┆ 0x05120…05140 6f 63 65 73 73 20 61 6e 64 20 74 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 2e 0d 0a 0d 0a 09 b0 ┆ocess and the dte process. ┆ 0x05140…05160 64 74 65 5f 6c 63 6e 7a 65 72 84 6f 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆dte_lcnzer o ┆ 0x05160…05180 20 84 54 68 65 20 70 72 6f 63 65 73 73 20 68 61 6e 64 6c 65 73 20 61 6c 6c 20 63 68 61 6e 6e 65 ┆ The process handles all channe┆ 0x05180…051a0 6c 20 7a 65 72 6f 20 66 75 6e 63 74 69 6f 6e 73 20 6f 66 20 74 68 65 20 0a 19 93 80 80 58 2e 32 ┆l zero functions of the X.2┆ 0x051a0…051c0 35 20 6c 65 76 65 6c 20 33 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 2e 20 54 68 65 20 72 65 73 ┆5 level 3 communication. The res┆ 0x051c0…051e0 74 61 72 74 20 66 75 6e 63 74 69 6f 6e 2f 70 68 61 73 65 20 0a 19 93 80 80 69 73 20 70 65 72 66 ┆tart function/phase is perf┆ 0x051e0…05200 6f 72 6d 65 64 20 69 6e 20 63 6f 6e 6e 65 63 74 69 6f 6e 20 77 69 74 68 20 74 68 65 20 64 74 65 ┆ormed in connection with the dte┆ 0x05200…05220 (41,) 20 70 72 6f 63 65 73 73 20 61 6e 64 20 72 65 80 0a 19 93 80 80 63 65 69 76 61 6c 20 6f 66 20 61 ┆ process and re ceival of a┆ 0x05220…05240 6e 20 58 2e 32 35 20 64 69 61 67 6e 6f 73 74 69 63 20 70 61 63 6b 65 74 20 69 73 20 72 65 70 6f ┆n X.25 diagnostic packet is repo┆ 0x05240…0524d 72 74 65 64 20 74 6f 20 74 68 65 20 0a ┆rted to the ┆ 0x0524d…05250 FormFeed { 0x0524d…05250 0c 80 a7 ┆ ┆ 0x0524d…05250 } 0x05250…05260 0a 19 93 80 80 64 74 65 20 70 72 6f 63 65 73 73 ┆ dte process┆ 0x05260…05280 2c 20 77 68 69 63 68 20 66 6f 72 77 61 72 64 73 20 74 68 65 20 69 6e 66 6f 72 6d 61 74 69 6f 6e ┆, which forwards the information┆ 0x05280…052a0 20 66 75 72 74 68 65 72 6f 6e 20 74 6f 20 0a 19 93 80 80 74 68 65 20 4e 43 2d 73 79 73 74 65 6d ┆ furtheron to the NC-system┆ 0x052a0…052c0 20 28 73 65 65 20 72 65 66 2e 20 28 34 29 20 61 6e 64 20 28 31 30 29 29 2e 0d 0a 0d 0a 09 09 84 ┆ (see ref. (4) and (10)). ┆ 0x052c0…052e0 54 68 65 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 77 69 74 68 20 74 68 65 20 44 43 45 20 69 ┆The communication with the DCE i┆ 0x052e0…05300 73 20 70 65 72 66 6f 72 6d 65 64 20 75 74 69 6c 69 7a 69 6e 67 20 0a 19 93 80 80 74 68 65 20 48 ┆s performed utilizing the H┆ 0x05300…05320 44 4c 43 4c 43 50 20 6d 6f 64 75 6c 65 2c 20 64 69 72 65 63 74 6c 79 20 6f 6e 20 6f 75 74 70 75 ┆DLCLCP module, directly on outpu┆ 0x05320…05340 74 20 61 6e 64 20 76 69 61 20 74 68 65 20 0a 19 93 80 80 64 74 65 5f 68 72 65 63 20 70 72 6f 63 ┆t and via the dte_hrec proc┆ 0x05340…05360 65 73 73 20 6f 6e 20 69 6e 70 75 74 2e 0d 0a 0d 0a 09 b0 64 74 65 5f 63 68 61 6e 09 84 f0 54 68 ┆ess on input. dte_chan Th┆ 0x05360…05380 65 20 70 72 6f 63 65 73 73 20 68 61 6e 64 6c 65 73 20 61 6c 6c 20 63 6f 6d 6d 75 6e 69 63 61 74 ┆e process handles all communicat┆ 0x05380…053a0 69 6f 6e 20 77 69 74 68 20 74 68 65 20 44 43 45 20 6f 6e 20 0a 19 93 81 80 58 2e 32 35 20 6c 65 ┆ion with the DCE on X.25 le┆ 0x053a0…053c0 76 65 6c 20 33 20 65 78 63 65 70 74 20 6f 6e 20 63 68 61 6e 6e 65 6c 20 7a 65 72 6f 2e 20 54 68 ┆vel 3 except on channel zero. Th┆ 0x053c0…053e0 65 20 64 74 65 5f 63 68 61 6e 20 70 72 6f 80 0a 19 93 81 80 63 65 73 73 20 65 78 69 73 74 73 20 ┆e dte_chan pro cess exists ┆ 0x053e0…05400 69 6e 20 61 6e 20 69 6e 63 61 72 6e 61 74 69 6f 6e 20 66 6f 72 20 65 76 65 72 79 20 61 63 74 69 ┆in an incarnation for every acti┆ 0x05400…05420 (42,) 76 65 20 56 69 72 74 75 61 6c 20 0a 19 93 81 80 43 61 6c 6c 2e 0d 0a 0d 0a 09 09 84 54 68 65 20 ┆ve Virtual Call. The ┆ 0x05420…05440 70 72 6f 63 65 73 73 20 69 6e 63 61 72 6e 61 74 69 6f 6e 20 72 65 63 65 69 76 65 73 20 55 73 65 ┆process incarnation receives Use┆ 0x05440…05460 72 20 6f 70 65 72 61 74 69 6f 6e 73 20 66 72 6f 6d 20 0a 19 93 80 80 74 68 65 20 64 74 65 5f 61 ┆r operations from the dte_a┆ 0x05460…05480 63 63 65 73 73 20 70 72 6f 63 65 73 73 20 61 6e 64 20 66 75 72 74 68 65 72 6d 6f 72 65 20 63 6f ┆ccess process and furthermore co┆ 0x05480…054a0 6d 6d 75 6e 69 63 61 74 65 73 20 77 69 74 68 20 0a 19 93 80 80 74 68 69 73 20 70 72 6f 63 65 73 ┆mmunicates with this proces┆ 0x054a0…054c0 73 20 61 6e 64 20 74 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 20 64 75 72 69 6e 67 20 56 69 72 ┆s and the dte process during Vir┆ 0x054c0…054e0 74 75 61 6c 20 43 61 6c 6c 20 65 73 80 0a 19 93 80 80 74 61 62 6c 69 73 68 6d 65 6e 74 20 61 6e ┆tual Call es tablishment an┆ 0x054e0…05500 64 20 72 65 6d 6f 76 61 6c 2e 0d 0a 0d 0a 09 09 84 54 68 65 20 63 6f 6d 6d 75 6e 69 63 61 74 69 ┆d removal. The communicati┆ 0x05500…05520 6f 6e 20 74 6f 20 74 68 65 20 44 43 45 20 69 73 20 70 65 72 66 6f 72 6d 65 64 20 75 74 69 6c 69 ┆on to the DCE is performed utili┆ 0x05520…05540 7a 69 6e 67 20 74 68 65 20 0a 19 93 80 80 75 73 65 72 20 69 6e 74 65 72 66 61 63 65 20 6f 66 20 ┆zing the user interface of ┆ 0x05540…05560 74 68 65 20 48 44 4c 43 4c 43 50 20 6d 6f 64 75 6c 65 20 28 22 68 69 64 69 6e 67 22 20 74 68 65 ┆the HDLCLCP module ("hiding" the┆ 0x05560…05580 20 48 44 4c 43 20 0a 19 93 80 80 64 72 69 76 65 72 29 2e 20 4f 75 74 70 75 74 20 69 73 20 73 65 ┆ HDLC driver). Output is se┆ 0x05580…055a0 6e 74 20 64 69 72 65 63 74 6c 79 20 74 6f 20 74 68 65 20 48 44 4c 43 4c 43 50 20 77 68 65 72 65 ┆nt directly to the HDLCLCP where┆ 0x055a0…055c0 61 73 20 0a 19 93 80 80 69 6e 70 75 74 20 69 73 20 72 65 63 65 69 76 65 64 20 74 68 72 6f 75 67 ┆as input is received throug┆ 0x055c0…055e0 68 20 74 68 65 20 64 74 65 5f 68 72 65 63 20 70 72 6f 63 65 73 73 2e 0d 0a 0d 0a 09 b0 64 74 65 ┆h the dte_hrec process. dte┆ 0x055e0…05600 5f 70 6f 6f 6c 09 84 f0 54 68 65 20 70 72 6f 63 65 73 73 20 6d 61 69 6e 74 61 69 6e 73 20 61 20 ┆_pool The process maintains a ┆ 0x05600…05620 (43,) 70 6f 6f 6c 20 6f 66 20 62 75 66 66 65 72 73 2c 20 77 68 69 63 68 20 61 72 65 20 75 73 65 64 20 ┆pool of buffers, which are used ┆ 0x05620…05640 0a 19 93 81 80 66 6f 72 20 58 2e 32 35 20 63 6f 6e 74 72 6f 6c 20 70 61 63 6b 65 74 73 2e 20 41 ┆ for X.25 control packets. A┆ 0x05640…05660 20 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 20 0a 19 93 81 80 69 6e 63 61 72 6e 61 74 69 ┆ dte_chan process incarnati┆ 0x05660…05680 6f 6e 2c 20 74 68 65 20 64 74 65 20 6f 72 20 74 68 65 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 20 70 ┆on, the dte or the dte_lcnzero p┆ 0x05680…056a0 72 6f 63 65 73 73 20 72 65 71 75 65 73 74 73 20 0a 19 93 81 80 61 20 62 75 66 66 65 72 2c 20 62 ┆rocess requests a buffer, b┆ 0x056a0…056c0 75 69 6c 64 20 75 70 20 74 68 65 20 58 2e 32 35 20 70 61 63 6b 65 74 20 61 6e 64 20 73 65 6e 64 ┆uild up the X.25 packet and send┆ 0x056c0…056e0 73 20 74 68 65 20 62 75 66 66 65 72 20 0a 19 93 81 80 74 6f 20 74 68 65 20 48 44 4c 43 4c 43 50 ┆s the buffer to the HDLCLCP┆ 0x056e0…05700 20 6d 6f 80 64 75 6c 65 2e 20 54 68 65 20 61 6e 73 77 65 72 20 69 73 20 72 65 74 75 72 6e 65 64 ┆ mo dule. The answer is returned┆ 0x05700…05720 20 64 69 72 65 63 74 6c 79 20 0a 19 93 81 80 74 6f 20 74 68 65 20 64 74 65 5f 70 6f 6f 6c 20 70 ┆ directly to the dte_pool p┆ 0x05720…05740 72 6f 80 63 65 73 73 2e 20 54 68 65 20 64 74 65 5f 70 6f 6f 6c 20 70 72 6f 63 65 73 73 20 69 73 ┆ro cess. The dte_pool process is┆ 0x05740…05760 20 63 61 70 61 62 6c 65 20 0a 19 93 81 80 6f 66 20 6d 61 6e 61 67 69 6e 67 20 72 65 80 71 75 65 ┆ capable of managing re que┆ 0x05760…05780 73 74 73 20 77 69 74 68 20 64 69 66 66 65 72 65 6e 74 20 70 72 69 6f 72 69 74 69 65 73 20 61 6e ┆sts with different priorities an┆ 0x05780…057a0 64 20 6d 61 79 20 0a 19 93 81 80 70 75 74 20 61 20 72 65 71 75 65 73 74 20 69 6e 74 6f 20 61 20 ┆d may put a request into a ┆ 0x057a0…057c0 77 61 69 74 69 6e 67 20 71 75 65 75 65 2c 20 69 66 20 6e 6f 20 62 75 66 65 72 20 69 73 20 0a 19 ┆waiting queue, if no bufer is ┆ 0x057c0…057e0 93 81 80 61 76 61 69 6c 61 62 6c 65 2e 20 54 68 65 20 64 74 65 5f 70 6f 6f 6c 20 69 73 20 61 6e ┆ available. The dte_pool is an┆ 0x057e0…05800 20 69 6e 63 61 72 6e 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 0a 19 93 81 80 70 6f 6f 6c 5f 68 61 ┆ incarnation of the pool_ha┆ 0x05800…05820 (44,) 6e 64 6c 65 72 20 70 72 6f 63 65 73 73 2e 0d 0a 0d 0a 09 b0 64 74 65 74 65 73 74 09 84 f0 b0 54 ┆ndler process. dtetest T┆ 0x05820…05840 68 65 20 70 72 6f 63 65 73 73 20 69 73 20 6e 6f 74 20 6d 61 6e 64 61 74 6f 72 79 20 66 6f 72 20 ┆he process is not mandatory for ┆ 0x05840…05860 74 68 65 20 6f 70 65 72 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 0a 19 93 82 82 44 54 45 20 6d 6f ┆the operation of the DTE mo┆ 0x05860…05880 64 75 6c 65 2e f0 20 49 74 20 69 73 20 6f 6e 6c 79 20 6e 65 63 65 73 73 61 72 79 20 69 66 20 69 ┆dule. It is only necessary if i┆ 0x05880…058a0 6e 74 65 72 6e 61 6c 20 74 65 73 74 6f 75 74 70 75 74 20 0a 19 93 82 80 69 73 20 77 61 6e 74 65 ┆nternal testoutput is wante┆ 0x058a0…058c0 64 2e 20 54 68 65 20 70 72 6f 63 65 73 73 20 61 6c 6c 6f 63 61 74 65 73 20 74 65 73 74 6f 75 74 ┆d. The process allocates testout┆ 0x058c0…058e0 70 75 74 20 62 75 66 66 65 72 73 2c 20 69 6e 80 0a 19 93 82 80 74 6f 20 77 68 69 63 68 20 61 20 ┆put buffers, in to which a ┆ 0x058e0…05900 70 72 6f 63 65 73 73 2c 20 65 78 65 63 75 74 69 6e 67 20 69 6e 74 65 72 6e 61 6c 20 74 65 73 74 ┆process, executing internal test┆ 0x05900…05920 2c 20 63 6f 70 69 65 73 20 61 20 74 65 73 74 20 0a 19 93 82 80 61 72 65 61 20 65 61 63 68 20 74 ┆, copies a test area each t┆ 0x05920…05940 69 6d 65 20 74 68 69 73 20 61 72 65 61 20 69 73 20 66 75 6c 6c 2c 20 61 6e 64 20 74 68 65 6e 20 ┆ime this area is full, and then ┆ 0x05940…05960 74 68 65 20 70 72 6f 63 65 73 73 20 0a 19 93 82 80 72 65 74 75 72 6e 73 20 74 68 65 20 62 75 66 ┆the process returns the buf┆ 0x05960…05980 66 65 72 20 74 6f 20 74 68 65 20 64 74 65 74 65 73 74 20 70 72 6f 63 65 73 73 2e 0d 0a 0d 0a 8c ┆fer to the dtetest process. ┆ 0x05980…059a0 80 a8 0a 09 09 84 54 68 65 20 64 74 65 74 65 73 74 20 70 72 6f 63 65 73 73 20 63 6f 6d 6d 75 6e ┆ The dtetest process commun┆ 0x059a0…059c0 69 63 61 74 65 73 20 77 69 74 68 20 61 6e 20 6f 70 65 72 61 74 6f 72 20 76 69 61 20 0a 19 93 80 ┆icates with an operator via ┆ 0x059c0…059e0 80 74 68 65 20 63 6f 6e 73 6f 6c 65 20 74 6f 20 73 74 61 72 74 2f 73 74 6f 70 20 69 6e 74 65 72 ┆ the console to start/stop inter┆ 0x059e0…05a00 6e 61 6c 20 74 65 73 74 20 69 6e 20 64 69 66 66 65 72 65 6e 74 20 0a 19 93 80 80 70 72 6f 80 63 ┆nal test in different pro c┆ 0x05a00…05a20 (45,) 65 73 73 65 73 2c 20 74 6f 20 73 77 69 74 63 68 20 74 65 73 74 20 6d 6f 64 65 2c 20 61 6e 64 20 ┆esses, to switch test mode, and ┆ 0x05a20…05a40 74 6f 20 73 74 61 72 74 20 70 72 69 6e 74 20 28 6f 6e 20 0a 19 93 80 80 74 68 65 20 63 6f 6e 73 ┆to start print (on the cons┆ 0x05a40…05a60 6f 6c 65 29 20 6f 66 20 69 6e 74 65 72 6e 61 6c 20 74 65 73 74 6f 75 74 70 75 74 2e 20 54 68 65 ┆ole) of internal testoutput. The┆ 0x05a60…05a80 20 70 72 6f 63 65 73 73 20 69 6e 74 65 72 80 0a 19 93 80 80 70 72 65 74 73 20 74 68 65 20 70 61 ┆ process inter prets the pa┆ 0x05a80…05aa0 63 6b 65 64 20 74 65 73 74 20 64 61 74 61 20 69 6e 20 61 20 62 75 66 66 65 72 20 61 6e 64 20 70 ┆cked test data in a buffer and p┆ 0x05aa0…05ac0 72 69 6e 74 73 20 69 74 20 69 6e 20 0a 19 93 80 80 61 20 6d 6f 72 65 20 72 65 61 64 61 62 6c 65 ┆rints it in a more readable┆ 0x05ac0…05ae0 20 66 6f 72 6d 20 6f 6e 20 74 68 65 20 63 6f 6e 73 6f 6c 65 2e 0d 0a 0d 0a 09 09 84 46 75 72 74 ┆ form on the console. Furt┆ 0x05ae0…05b00 68 65 72 6d 6f 72 65 2c 20 61 20 70 6f 73 73 69 62 69 6c 69 74 79 20 74 6f 20 67 65 6e 65 72 61 ┆hermore, a possibility to genera┆ 0x05b00…05b20 74 65 20 74 65 73 74 20 6d 65 73 73 61 67 65 73 20 74 6f 20 0a 19 93 80 80 74 68 65 20 64 74 65 ┆te test messages to the dte┆ 0x05b20…05b40 5f 61 63 63 65 73 73 20 70 72 6f 63 65 73 73 20 61 6e 64 20 70 72 69 6e 74 20 74 68 65 20 61 6e ┆_access process and print the an┆ 0x05b40…05b60 73 77 65 72 20 65 78 69 73 74 73 2e 0d 0a 0d 0a 09 b0 64 74 65 63 6c 6f 63 6b f0 09 84 54 68 69 ┆swer exists. dteclock Thi┆ 0x05b60…05b80 73 20 70 72 6f 63 65 73 73 20 6d 61 69 6e 74 61 69 6e 73 20 61 20 67 6c 6f 62 61 6c 65 20 28 69 ┆s process maintains a globale (i┆ 0x05b80…05ba0 6e 20 74 68 65 20 44 54 45 20 6d 6f 64 75 6c 65 29 20 0a 19 93 81 80 22 63 6c 6f 63 6b 22 20 75 ┆n the DTE module) "clock" u┆ 0x05ba0…05bc0 73 65 64 20 74 6f 20 74 69 6d 65 73 74 61 6d 70 20 74 65 73 74 20 72 65 63 6f 72 64 73 2c 20 61 ┆sed to timestamp test records, a┆ 0x05bc0…05be0 6e 64 20 69 73 20 61 20 63 68 69 6c 64 20 0a 19 93 81 80 6f 66 20 74 68 65 20 64 74 65 74 65 73 ┆nd is a child of the dtetes┆ 0x05be0…05c00 74 20 70 72 6f 63 65 73 73 2e 0d 0a 0d 0a 09 b0 64 74 65 74 72 61 63 65 09 84 f0 b0 54 68 65 20 ┆t process. dtetrace The ┆ 0x05c00…05c20 (46,) 70 72 6f 63 65 73 73 20 69 73 20 6e 6f 74 20 6d 61 6e 64 61 74 6f 72 79 20 66 6f 72 20 74 68 65 ┆process is not mandatory for the┆ 0x05c20…05c40 20 6f 70 65 72 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 0a 19 93 82 82 44 54 45 20 6d 6f 64 75 6c ┆ operation of the DTE modul┆ 0x05c40…05c60 65 2e 20 f0 49 74 20 69 73 20 6f 6e 6c 79 20 6e 65 63 65 73 73 61 72 79 20 69 66 20 74 72 61 63 ┆e. It is only necessary if trac┆ 0x05c60…05c80 69 6e 67 20 6f 66 20 58 2e 32 35 20 0a 19 93 82 80 6c 65 76 65 6c 20 33 20 63 6f 6d 6d 75 6e 69 ┆ing of X.25 level 3 communi┆ 0x05c80…05ca0 63 61 74 69 6f 6e 20 69 73 20 77 61 6e 74 65 64 2e 0d 0a 0d 0a 09 09 84 54 68 65 20 64 74 65 74 ┆cation is wanted. The dtet┆ 0x05ca0…05cc0 72 61 63 65 20 70 72 6f 63 65 73 73 20 63 6f 6d 6d 75 6e 69 63 61 74 65 73 20 77 69 74 68 20 61 ┆race process communicates with a┆ 0x05cc0…05ce0 6e 20 6f 70 65 72 61 74 6f 72 20 0a 19 93 80 80 76 69 61 20 74 68 65 20 63 6f 6e 73 6f 6c 65 20 ┆n operator via the console ┆ 0x05ce0…05d00 74 6f 20 73 65 74 2f 63 68 61 6e 67 65 20 64 69 66 66 65 72 65 6e 74 20 74 72 61 63 65 20 76 61 ┆to set/change different trace va┆ 0x05d00…05d20 72 69 80 0a 19 93 80 80 61 62 6c 65 73 2e 0d 0a 0d 0a 09 09 84 42 75 66 66 65 72 73 20 63 6f 6e ┆ri ables. Buffers con┆ 0x05d20…05d40 74 61 69 6e 69 6e 67 20 70 61 63 6b 65 64 20 74 72 61 63 65 2d 64 61 74 61 20 61 72 65 20 72 65 ┆taining packed trace-data are re┆ 0x05d40…05d60 63 65 69 76 65 64 20 65 69 74 68 65 72 20 0a 19 93 80 80 66 72 6f 6d 20 74 68 65 20 64 74 65 5f ┆ceived either from the dte_┆ 0x05d60…05d80 68 72 65 63 20 70 72 6f 63 65 73 73 20 28 74 72 61 63 65 20 6f 66 20 72 65 63 65 69 76 65 64 20 ┆hrec process (trace of received ┆ 0x05d80…05da0 70 61 63 6b 65 74 73 29 20 6f 72 20 0a 19 93 80 80 74 68 65 20 6f 75 74 74 72 61 63 65 20 70 72 ┆packets) or the outtrace pr┆ 0x05da0…05dc0 6f 63 65 73 73 20 28 74 72 61 63 65 20 6f 66 20 74 72 61 6e 73 6d 69 74 74 65 64 20 70 61 63 6b ┆ocess (trace of transmitted pack┆ 0x05dc0…05de0 65 74 73 29 2e 20 0a 19 93 80 80 54 68 65 20 64 74 65 74 72 61 63 65 20 70 72 6f 63 65 73 73 20 ┆ets). The dtetrace process ┆ 0x05de0…05e00 70 72 69 6e 74 73 20 28 69 66 20 72 65 71 75 69 72 65 64 29 20 74 68 65 20 64 61 74 61 20 6f 6e ┆prints (if required) the data on┆ 0x05e00…05e20 (47,) 20 0a 19 93 80 80 74 68 65 20 63 6f 6e 73 6f 6c 65 20 69 6e 20 61 20 6d 6f 72 65 20 72 65 61 64 ┆ the console in a more read┆ 0x05e20…05e40 61 62 6c 65 20 66 6f 72 6d 61 74 20 65 61 63 68 20 74 69 6d 65 20 61 20 74 72 61 63 65 20 0a 19 ┆able format each time a trace ┆ 0x05e40…05e60 93 80 80 62 75 66 66 65 72 20 69 73 20 72 65 63 65 69 76 80 65 64 2e 0d 0a 0d 0a 09 b0 6f 75 74 ┆ buffer is receiv ed. out┆ 0x05e60…05e80 74 72 61 63 65 09 84 54 68 65 20 70 72 6f 63 65 73 73 20 69 73 20 6e 6f 74 20 6d 61 6e 64 61 74 ┆trace The process is not mandat┆ 0x05e80…05ea0 6f 72 79 20 66 6f 72 20 74 68 65 20 6f 70 65 72 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 0a 19 93 ┆ory for the operation of the ┆ 0x05ea0…05ec0 81 82 44 54 45 20 6d 6f 64 75 6c 65 2e 20 f0 49 74 20 69 73 20 6f 6e 6c 79 20 6e 65 63 65 73 73 ┆ DTE module. It is only necess┆ 0x05ec0…05ee0 61 72 79 20 69 66 20 74 72 61 63 69 6e 67 20 6f 66 20 58 2e 32 35 20 0a 19 93 81 80 6c 65 76 65 ┆ary if tracing of X.25 leve┆ 0x05ee0…05f00 6c 20 33 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 69 73 20 77 61 6e 74 65 64 2e 0d 0a 0d 0a ┆l 3 communication is wanted. ┆ 0x05f00…05f20 09 09 84 54 68 65 20 6f 6e 6c 79 20 70 75 72 70 6f 73 65 20 6f 66 20 74 68 65 20 70 72 6f 63 65 ┆ The only purpose of the proce┆ 0x05f20…05f40 73 73 20 69 73 20 74 6f 20 67 61 74 68 65 72 20 74 72 61 63 69 6e 67 20 6f 66 20 0a 19 93 80 80 ┆ss is to gather tracing of ┆ 0x05f40…05f60 74 72 61 6e 73 6d 69 74 74 65 64 20 58 2e 32 35 20 70 61 63 6b 65 74 73 20 69 6e 20 6f 6e 65 20 ┆transmitted X.25 packets in one ┆ 0x05f60…05f6a 70 72 6f 63 65 73 73 2e 0d 0a ┆process. ┆ 0x05f6a…05f6d FormFeed { 0x05f6a…05f6d 0c 80 a3 ┆ ┆ 0x05f6a…05f6d } 0x05f6d…05f80 0a 09 b0 73 6e 6f 6f 70 65 72 09 84 f0 50 61 72 65 6e 74 ┆ snooper Parent┆ 0x05f80…05fa0 20 70 72 6f 63 65 73 73 20 69 6e 20 74 68 65 20 73 6e 6f 6f 70 69 6e 67 20 73 79 73 74 65 6d 2e ┆ process in the snooping system.┆ 0x05fa0…05fc0 20 b0 54 68 65 20 70 72 6f 63 65 73 73 20 69 73 20 0a 19 93 82 82 6e 6f 74 20 6d 61 6e 64 61 74 ┆ The process is not mandat┆ 0x05fc0…05fe0 6f 72 79 20 66 6f 72 20 74 68 65 20 6f 70 65 72 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 44 54 45 ┆ory for the operation of the DTE┆ 0x05fe0…06000 20 4d 6f 64 75 6c 65 2e 20 f0 49 74 20 0a 19 93 82 80 63 6f 6d 6d 75 6e 69 63 61 74 65 73 20 76 ┆ Module. It communicates v┆ 0x06000…06020 (48,) 69 61 20 74 68 65 20 63 6f 6e 73 6f 6c 65 20 77 69 74 68 20 61 6e 20 6f 70 65 72 61 74 6f 72 20 ┆ia the console with an operator ┆ 0x06020…06040 74 6f 20 73 65 74 20 75 70 20 0a 19 93 82 80 70 61 72 61 6d 65 74 65 72 73 2c 20 74 6f 20 73 74 ┆to set up parameters, to st┆ 0x06040…06060 61 72 74 20 73 6e 6f 6f 70 69 6e 67 2c 20 61 6e 64 20 70 72 69 6e 74 20 73 6e 6f 6f 70 65 64 20 ┆art snooping, and print snooped ┆ 0x06060…06080 64 61 74 61 2e 20 0a 19 93 82 80 54 68 65 20 70 75 72 70 6f 73 65 20 6f 66 20 74 68 65 20 73 6e ┆data. The purpose of the sn┆ 0x06080…060a0 6f 6f 70 69 6e 67 20 73 79 73 74 65 6d 20 69 73 20 74 6f 20 62 65 20 61 62 6c 65 20 74 6f 20 0a ┆ooping system is to be able to ┆ 0x060a0…060c0 19 93 82 80 73 6e 6f 6f 70 20 74 68 65 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 74 6f 2f 66 ┆ snoop the communication to/f┆ 0x060c0…060e0 72 6f 6d 20 74 68 65 20 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 20 0a 19 93 82 80 69 6e ┆rom the dte_chan process in┆ 0x060e0…06100 63 61 72 6e 61 74 69 6f 6e 73 2e 0d 0a 0d 0a 09 b0 70 69 63 6b 5f 75 70 09 84 f0 50 65 72 66 6f ┆carnations. pick_up Perfo┆ 0x06100…06120 72 6d 73 20 74 68 65 20 61 63 74 75 61 6c 20 73 6e 6f 6f 70 69 6e 67 20 6f 66 20 6d 65 73 73 61 ┆rms the actual snooping of messa┆ 0x06120…06140 67 65 73 20 61 6e 64 20 61 6e 73 77 65 72 73 2c 20 0a 19 93 81 80 61 6e 64 20 69 73 20 61 20 63 ┆ges and answers, and is a c┆ 0x06140…06160 68 69 6c 64 20 6f 66 20 74 68 65 20 73 6e 6f 6f 70 65 72 20 70 72 6f 63 65 73 73 2e 0d 0a 0d 0a ┆hild of the snooper process. ┆ 0x06160…06180 09 84 41 20 6d 6f 72 65 20 64 65 74 61 69 6c 65 64 20 64 65 73 63 72 69 70 74 69 6f 6e 20 6f 66 ┆ A more detailed description of┆ 0x06180…061a0 20 74 68 65 20 73 6e 6f 6f 70 69 6e 67 20 73 79 73 74 65 6d 20 6d 61 79 20 62 65 20 66 6f 75 6e ┆ the snooping system may be foun┆ 0x061a0…061b5 64 20 69 6e 20 0a 19 89 80 80 72 65 66 2e 20 28 37 29 2e 0d 0a ┆d in ref. (7). ┆ 0x061b5…061b8 FormFeed { 0x061b5…061b8 0c 80 8d ┆ ┆ 0x061b5…061b8 } 0x061b8…061c0 0a 0d 0a 0d 0a 0d 0a 0d ┆ ┆ 0x061c0…061e0 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d ┆ ┆ […0x1…] 0x06200…06220 (49,) 0a 0d 0a 0d 0a 09 46 69 67 75 72 65 20 33 3a 20 4d 65 73 73 61 67 65 20 66 6c 6f 77 20 6f 66 20 ┆ Figure 3: Message flow of ┆ 0x06220…06240 6e 6f 72 6d 61 6c 20 64 61 74 61 2e 0d 0a 8c 80 a7 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆normal data. ┆ 0x06240…06260 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ 0x06260…06280 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 46 ┆ F┆ 0x06280…062a0 69 67 75 72 65 20 34 3a 20 4d 65 73 73 61 67 65 20 66 6c 6f 77 20 6f 66 20 69 6e 74 65 72 72 75 ┆igure 4: Message flow of interru┆ 0x062a0…062aa 70 74 20 64 61 74 61 2e 0d 0a ┆pt data. ┆ 0x062aa…062ad FormFeed { 0x062aa…062ad 0c 80 a7 ┆ ┆ 0x062aa…062ad } 0x062ad…062c0 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ 0x062c0…062e0 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ 0x062e0…06300 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 46 69 67 75 72 ┆ Figur┆ 0x06300…06320 65 20 35 3a 20 4d 65 73 73 61 67 65 20 66 6c 6f 77 20 6f 66 20 58 2e 32 35 20 63 6f 6e 74 72 6f ┆e 5: Message flow of X.25 contro┆ 0x06320…06332 6c 20 70 61 63 6b 65 74 20 6f 75 74 70 75 74 2e 0d 0a ┆l packet output. ┆ 0x06332…06335 FormFeed { 0x06332…06335 0c 80 a7 ┆ ┆ 0x06332…06335 } 0x06335…06340 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ 0x06340…06360 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ […0x1…] 0x06380…063a0 0d 0a 09 46 69 67 75 72 65 20 36 3a 20 4d 65 73 73 61 67 65 20 66 6c 6f 77 20 61 74 20 56 69 72 ┆ Figure 6: Message flow at Vir┆ 0x063a0…063b3 74 75 61 6c 20 43 61 6c 6c 20 53 65 74 2d 75 70 2e 0d 0a ┆tual Call Set-up. ┆ 0x063b3…063b6 FormFeed { 0x063b3…063b6 0c 80 a7 ┆ ┆ 0x063b3…063b6 } 0x063b6…063c0 0a a1 33 2e 09 50 52 4f 43 45 ┆ 3. PROCE┆ 0x063c0…063e0 53 53 20 43 4f 4d 4d 55 4e 49 43 41 54 49 4f 4e 0d 0a 0d 0a 09 84 49 6e 20 74 68 69 73 20 63 68 ┆SS COMMUNICATION In this ch┆ 0x063e0…06400 61 70 74 65 72 20 74 68 65 20 65 78 74 65 72 6e 61 6c 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e ┆apter the external communication┆ 0x06400…06420 (50,) 20 61 73 20 77 65 6c 6c 20 61 73 20 74 68 65 20 63 6f 6d 6d 75 6e 69 80 0a 19 89 80 80 63 61 74 ┆ as well as the communi cat┆ 0x06420…06440 69 6f 6e 20 62 65 74 77 65 65 6e 20 74 68 65 20 70 72 6f 63 65 73 73 65 73 20 63 6f 6e 73 74 69 ┆ion between the processes consti┆ 0x06440…06460 74 75 74 69 6e 67 20 74 68 65 20 44 54 45 20 6d 6f 64 75 6c 65 20 61 72 65 20 64 65 80 0a 19 89 ┆tuting the DTE module are de ┆ 0x06460…06480 80 80 73 63 72 69 62 65 64 2e 20 49 6e 20 73 65 63 74 69 6f 6e 20 33 2e 31 20 74 68 65 20 6f 70 ┆ scribed. In section 3.1 the op┆ 0x06480…064a0 65 72 61 74 69 6f 6e 73 20 73 65 6e 74 20 74 6f 20 74 68 65 20 48 44 4c 43 4c 43 50 20 61 6e 64 ┆erations sent to the HDLCLCP and┆ 0x064a0…064c0 20 4e 43 50 20 0a 19 89 80 80 6d 6f 64 75 6c 65 73 20 61 72 65 20 20 6f 75 74 6c 69 6e 65 64 20 ┆ NCP modules are outlined ┆ 0x064c0…064e0 61 6e 64 20 61 20 73 68 6f 72 74 20 64 65 73 63 72 69 70 74 69 6f 6e 20 6f 66 20 74 68 65 20 44 ┆and a short description of the D┆ 0x064e0…06500 54 45 20 55 73 65 72 20 49 6e 80 0a 19 89 80 80 74 65 72 66 61 63 65 20 69 73 20 67 69 76 65 6e ┆TE User In terface is given┆ 0x06500…06520 2e 20 49 6e 20 73 65 63 74 69 6f 6e 20 33 2e 32 20 74 68 65 20 6f 70 65 72 61 74 69 6f 6e 73 20 ┆. In section 3.2 the operations ┆ 0x06520…06540 65 78 63 68 61 6e 67 65 64 20 62 65 74 77 65 65 6e 20 0a 19 89 80 80 74 68 65 20 70 72 6f 63 65 ┆exchanged between the proce┆ 0x06540…06560 73 73 65 73 20 64 74 65 2c 20 64 74 65 5f 61 63 63 65 73 73 2c 20 64 74 65 5f 68 72 65 63 2c 20 ┆sses dte, dte_access, dte_hrec, ┆ 0x06560…06580 64 74 65 5f 6c 63 6e 7a 65 72 6f 2c 20 64 74 65 5f 63 68 61 6e 2c 20 0a 19 89 80 80 61 6e 64 20 ┆dte_lcnzero, dte_chan, and ┆ 0x06580…065a0 64 74 65 5f 70 6f 6f 6c 20 61 72 65 20 64 65 73 63 72 69 62 65 64 2e 0d 0a 0d 0a 09 84 54 68 65 ┆dte_pool are described. The┆ 0x065a0…065c0 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 61 6e 64 20 66 75 6e 63 74 69 6f 6e 20 6f 66 20 74 ┆ communication and function of t┆ 0x065c0…065e0 68 65 20 64 74 65 74 65 73 74 20 73 79 73 74 65 6d 2c 20 74 68 65 20 74 72 61 63 65 20 0a 19 89 ┆he dtetest system, the trace ┆ 0x065e0…06600 80 80 73 79 73 74 65 6d 2c 20 61 6e 64 20 74 68 65 20 53 4e 4f 4f 50 45 52 20 6d 6f 64 75 6c 65 ┆ system, and the SNOOPER module┆ 0x06600…06620 (51,) 20 61 72 65 20 67 61 74 68 65 72 65 64 20 69 6e 20 63 68 61 70 74 65 72 20 36 2e 0d 0a 0d 0a 0d ┆ are gathered in chapter 6. ┆ 0x06620…06640 0a a1 33 2e 31 09 45 78 74 65 72 6e 61 6c 20 43 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 0d 0a 0d 0a ┆ 3.1 External Communication ┆ 0x06640…06660 09 84 54 68 65 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 65 78 74 65 72 6e 61 6c 20 74 6f 20 ┆ The communication external to ┆ 0x06660…06680 74 68 65 20 44 54 45 20 6d 6f 64 75 6c 65 20 63 61 6e 20 73 68 6f 72 74 6c 79 20 62 65 20 64 65 ┆the DTE module can shortly be de┆ 0x06680…066a0 80 0a 19 89 80 80 73 63 72 69 62 65 64 20 62 79 20 66 69 67 75 72 65 20 37 2e 0d 0a 0d 0a 0d 0a ┆ scribed by figure 7. ┆ 0x066a0…066c0 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ 0x066c0…066e0 09 46 69 67 75 72 65 20 37 3a 20 45 78 74 65 72 6e 61 6c 20 49 6e 74 65 72 66 61 63 65 73 20 6f ┆ Figure 7: External Interfaces o┆ 0x066e0…066f5 66 20 74 68 65 20 44 54 45 20 6d 6f 64 75 6c 65 2e 0d 0a 0d 0a ┆f the DTE module. ┆ 0x066f5…066f8 FormFeed { 0x066f5…066f8 0c 80 a6 ┆ ┆ 0x066f5…066f8 } 0x066f8…06700 0a 09 84 54 68 65 20 44 ┆ The D┆ 0x06700…06720 54 45 20 55 73 65 72 20 49 6e 74 65 72 66 61 63 65 20 69 73 20 61 20 73 65 72 76 69 63 65 20 70 ┆TE User Interface is a service p┆ 0x06720…06740 72 6f 76 69 64 65 64 20 62 79 20 74 68 65 20 44 54 45 20 6d 6f 64 75 6c 65 2c 20 0a 19 89 80 80 ┆rovided by the DTE module, ┆ 0x06740…06760 77 68 65 72 65 61 73 20 74 68 65 20 4e 43 50 20 2d 20 61 6e 64 20 48 44 4c 43 4c 43 50 20 69 6e ┆whereas the NCP - and HDLCLCP in┆ 0x06760…06780 74 65 72 66 61 63 65 73 20 61 72 65 20 73 65 72 76 69 63 65 73 20 75 74 69 6c 69 7a 65 64 20 62 ┆terfaces are services utilized b┆ 0x06780…067a0 79 20 0a 19 89 80 80 74 68 65 20 44 54 45 20 6d 6f 64 75 6c 65 2e 0d 0a 0d 0a 0d 0a a1 33 2e 31 ┆y the DTE module. 3.1┆ 0x067a0…067c0 2e 31 09 44 54 45 20 55 73 65 72 20 49 6e 74 65 72 66 61 63 65 0d 0a 0d 0a 09 84 46 6f 72 20 61 ┆.1 DTE User Interface For a┆ 0x067c0…067e0 20 64 65 74 61 69 6c 65 64 20 64 65 73 63 72 69 70 74 69 6f 6e 20 6f 66 20 74 68 65 20 66 6f 72 ┆ detailed description of the for┆ 0x067e0…06800 6d 61 74 20 61 6e 64 20 66 75 6e 63 74 69 6f 6e 20 6f 66 20 61 6c 6c 20 75 73 65 72 20 0a 19 89 ┆mat and function of all user ┆ 0x06800…06820 (52,) 80 80 6f 70 65 72 61 74 69 6f 6e 73 20 70 6c 65 61 73 65 20 72 65 66 65 72 20 74 6f 20 72 65 66 ┆ operations please refer to ref┆ 0x06820…06840 2e 20 28 33 29 2e 0d 0a 0d 0a 09 84 41 6c 6c 20 75 73 65 72 20 6f 70 65 72 61 74 69 6f 6e 73 20 ┆. (3). All user operations ┆ 0x06840…06860 61 72 65 20 72 65 63 65 69 76 65 64 20 62 79 20 74 68 65 20 64 74 65 5f 61 63 63 65 73 73 20 70 ┆are received by the dte_access p┆ 0x06860…06880 72 6f 63 65 73 73 2e 20 53 6f 6d 65 20 0a 19 89 80 80 6f 66 20 74 68 65 20 6f 70 65 72 61 74 69 ┆rocess. Some of the operati┆ 0x06880…068a0 6f 6e 73 20 61 72 65 20 72 65 74 75 72 6e 65 64 20 66 72 6f 6d 20 74 68 69 73 20 70 72 6f 63 65 ┆ons are returned from this proce┆ 0x068a0…068c0 73 73 2c 20 77 68 65 72 65 61 73 20 6f 74 68 65 72 73 20 0a 19 89 80 80 61 72 65 20 66 6f 72 77 ┆ss, whereas others are forw┆ 0x068c0…068e0 61 72 64 65 64 20 74 6f 20 6f 74 68 65 72 20 44 54 45 20 70 72 6f 63 65 73 73 65 73 2e 20 49 74 ┆arded to other DTE processes. It┆ 0x068e0…06900 20 69 73 20 73 68 6f 77 6e 20 69 6e 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 0a 19 89 80 80 ┆ is shown in the following ┆ 0x06900…06920 74 61 62 6c 65 20 77 68 69 63 68 20 70 72 6f 63 65 73 73 20 68 61 6e 64 6c 65 73 20 77 68 69 63 ┆table which process handles whic┆ 0x06920…06935 68 20 75 73 65 72 20 6f 70 65 72 61 74 69 6f 6e 2e 0d 0a 0d 0a ┆h user operation. ┆ 0x06935…0696e Params { 0x06935…0696e 04 00 2d 44 0c 00 06 00 00 00 00 02 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x06935…0696e 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x06935…0696e } 0x0696e…069a7 Params { 0x0696e…069a7 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x0696e…069a7 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x0696e…069a7 } 0x069a7…069c0 0a 0d 0a 09 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f ┆ _____________________┆ 0x069c0…069e0 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f ┆________________________________┆ 0x069e0…06a00 5f 5f 5f 5f 5f 5f 5f 0d 0a 09 21 20 09 09 21 09 09 09 20 20 20 20 20 20 20 20 20 21 0d 0a 09 21 ┆_______ ! ! ! !┆ 0x06a00…06a20 (53,) 20 20 09 09 21 20 20 20 20 20 20 20 20 20 20 20 20 20 68 61 6e 64 6c 65 64 20 62 79 20 70 72 6f ┆ ! handled by pro┆ 0x06a20…06a40 63 65 73 73 20 20 20 20 20 20 20 21 0d 0a 09 a1 e1 21 20 20 75 73 65 72 20 6f 70 65 72 61 74 69 ┆cess ! ! user operati┆ 0x06a40…06a60 6f 6e 20 20 09 a1 21 09 09 09 20 20 20 20 20 20 20 20 20 21 0d 0a e1 09 21 09 09 21 20 20 20 20 ┆on ! ! ! ! ┆ 0x06a60…06a80 20 20 20 20 20 20 20 20 20 20 20 21 20 20 20 20 20 20 20 21 09 20 20 20 20 20 20 20 20 20 21 0d ┆ ! ! ! ┆ 0x06a80…06aa0 0a 09 21 09 09 21 20 20 64 74 65 5f 61 63 63 65 73 73 20 20 20 21 20 20 64 74 65 20 20 21 20 20 ┆ ! ! dte_access ! dte ! ┆ 0x06aa0…06ac0 20 64 74 65 5f 63 68 61 6e 20 20 20 21 0d 0a 09 a1 a1 21 09 09 21 20 20 20 20 20 20 20 20 20 20 ┆ dte_chan ! ! ! ┆ 0x06ac0…06ae0 20 20 20 20 20 21 20 20 20 20 20 20 20 21 20 20 20 20 20 20 20 20 20 20 20 20 20 20 21 0d 0a 09 ┆ ! ! ! ┆ 0x06ae0…06b00 21 09 09 21 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 21 20 20 20 20 20 20 20 21 20 20 20 20 ┆! ! ! ! ┆ 0x06b00…06b20 20 20 20 20 20 20 20 20 20 20 21 0d 0a 09 21 20 20 64 74 65 5f 61 63 63 5f 69 6e 63 5f 63 61 6c ┆ ! ! dte_acc_inc_cal┆ 0x06b20…06b40 6c 20 21 20 20 20 20 20 20 20 2b 20 20 20 20 20 20 20 21 20 20 20 20 20 20 20 21 20 20 20 20 20 ┆l ! + ! ! ┆ 0x06b40…06b60 20 2b 20 20 20 20 20 20 20 21 0d 0a 09 21 20 20 64 74 65 5f 63 61 6c 6c 5f 72 65 71 20 20 20 20 ┆ + ! ! dte_call_req ┆ 0x06b60…06b80 20 21 20 20 20 20 20 20 20 2b 20 20 20 20 20 20 20 21 20 20 20 2b 20 20 20 21 20 20 20 20 20 20 ┆ ! + ! + ! ┆ 0x06b80…06ba0 2b 20 20 20 20 20 20 20 21 0d 0a 09 21 20 20 64 74 65 5f 63 68 61 6e 67 65 5f 6d 6f 64 65 20 20 ┆+ ! ! dte_change_mode ┆ 0x06ba0…06bc0 21 20 20 20 20 20 20 20 2b 20 20 20 20 20 20 20 21 20 20 20 20 20 20 20 21 20 20 20 20 20 20 2b ┆! + ! ! +┆ 0x06bc0…06be0 20 20 20 20 20 20 20 21 0d 0a 09 21 20 20 64 74 65 5f 63 6c 65 61 72 5f 72 65 71 20 20 20 20 21 ┆ ! ! dte_clear_req !┆ 0x06be0…06c00 20 20 20 20 20 20 20 2b 20 20 20 20 20 20 20 21 20 20 20 20 20 20 20 21 20 20 20 20 20 20 2b 20 ┆ + ! ! + ┆ 0x06c00…06c20 (54,) 20 20 20 20 20 20 21 0d 0a 09 21 20 20 64 74 65 5f 63 6f 6e 6e 5f 75 73 65 72 20 20 20 20 21 20 ┆ ! ! dte_conn_user ! ┆ 0x06c20…06c40 20 20 20 20 20 20 2b 20 20 20 20 20 20 20 21 20 20 20 20 20 20 20 21 20 20 20 20 20 20 20 20 20 ┆ + ! ! ┆ 0x06c40…06c60 20 20 20 20 20 21 0d 0a 09 21 20 20 64 74 65 5f 64 69 73 63 5f 75 73 65 72 20 20 20 20 21 20 20 ┆ ! ! dte_disc_user ! ┆ 0x06c60…06c80 20 20 20 20 20 2b 20 20 20 20 20 20 20 21 20 20 20 20 20 20 20 21 20 20 20 20 20 20 20 20 20 20 ┆ + ! ! ┆ 0x06c80…06ca0 20 20 20 20 21 0d 0a 09 21 20 20 64 74 65 5f 72 65 63 5f 64 65 64 69 63 20 20 20 20 21 20 20 20 ┆ ! ! dte_rec_dedic ! ┆ 0x06ca0…06cc0 20 20 20 20 2b 20 20 20 20 20 20 20 21 20 20 20 20 20 20 20 21 20 20 20 20 20 20 2b 20 20 20 20 ┆ + ! ! + ┆ 0x06cc0…06ce0 20 20 20 21 0d 0a 09 21 20 20 64 74 65 5f 72 65 63 5f 67 65 6e 20 20 20 20 20 20 21 20 20 20 20 ┆ ! ! dte_rec_gen ! ┆ 0x06ce0…06d00 20 20 20 2b 20 20 20 20 20 20 20 21 20 20 20 20 20 20 20 21 20 20 20 20 20 20 2b 20 20 20 20 20 ┆ + ! ! + ┆ 0x06d00…06d20 20 20 21 0d 0a 09 21 20 20 64 74 65 5f 72 65 73 65 74 5f 72 65 71 20 20 20 20 21 20 20 20 20 20 ┆ ! ! dte_reset_req ! ┆ 0x06d20…06d40 20 20 2b 20 20 20 20 20 20 20 21 20 20 20 20 20 20 20 21 20 20 20 20 20 20 2b 20 20 20 20 20 20 ┆ + ! ! + ┆ 0x06d40…06d60 20 21 0d 0a 09 21 20 20 64 74 65 5f 73 65 6e 64 5f 64 61 74 61 20 20 20 20 21 20 20 20 20 20 20 ┆ ! ! dte_send_data ! ┆ 0x06d60…06d80 20 2b 20 20 20 20 20 20 20 21 20 20 20 20 20 20 20 21 20 20 20 20 20 20 2b 20 20 20 20 20 20 20 ┆ + ! ! + ┆ 0x06d80…06da0 21 0d 0a 09 21 20 20 64 74 65 5f 73 65 6e 64 5f 69 6e 74 72 75 70 74 20 21 20 20 20 20 20 20 20 ┆! ! dte_send_intrupt ! ┆ 0x06da0…06dc0 2b 20 20 20 20 20 20 20 21 20 20 20 20 20 20 20 21 20 20 20 20 20 20 2b 20 20 20 20 20 20 20 21 ┆+ ! ! + !┆ 0x06dc0…06de0 0d 0a 09 21 20 20 64 74 65 5f 73 79 6e 63 5f 73 74 72 65 61 6d 20 20 21 20 20 20 20 20 20 20 2b ┆ ! dte_sync_stream ! +┆ 0x06de0…06e00 20 20 20 20 20 20 20 21 20 20 20 20 20 20 20 21 20 20 20 20 20 20 2b 20 20 20 20 20 20 20 21 0d ┆ ! ! + ! ┆ 0x06e00…06e20 (55,) 0a 09 21 20 20 64 74 65 5f 77 61 69 74 5f 65 76 65 6e 74 20 20 20 21 20 20 20 20 20 20 20 2b 20 ┆ ! dte_wait_event ! + ┆ 0x06e20…06e40 20 20 20 20 20 20 21 20 20 20 20 20 20 20 21 20 20 20 20 20 20 20 20 20 20 20 20 20 20 21 0d 0a ┆ ! ! ! ┆ 0x06e40…06e60 09 a1 21 09 09 21 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 21 20 20 20 20 20 20 20 21 20 20 ┆ ! ! ! ! ┆ 0x06e60…06e6f 20 20 20 20 20 20 20 20 20 20 20 20 21 0d 0a ┆ ! ┆ 0x06e6f…06ea8 Params { 0x06e6f…06ea8 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x06e6f…06ea8 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x06e6f…06ea8 } 0x06ea8…06ee1 Params { 0x06ea8…06ee1 04 00 2d 44 0c 00 06 00 00 00 00 02 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x06ea8…06ee1 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x06ea8…06ee1 } 0x06ee1…06f00 0a 0d 0a 09 54 61 62 6c 65 20 31 3a 20 50 72 6f 63 65 73 73 69 6e 67 20 6f 66 20 44 54 45 20 ┆ Table 1: Processing of DTE ┆ 0x06f00…06f12 55 73 65 72 20 6f 70 65 72 61 74 69 6f 6e 73 2e 0d 0a ┆User operations. ┆ 0x06f12…06f15 FormFeed { 0x06f12…06f15 0c 80 a8 ┆ ┆ 0x06f12…06f15 } 0x06f15…06f20 0a a1 33 2e 31 2e 32 09 41 63 63 ┆ 3.1.2 Acc┆ 0x06f20…06f40 65 73 73 20 74 6f 20 74 68 65 20 48 44 4c 43 4c 43 50 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 84 ┆ess to the HDLCLCP ┆ 0x06f40…06f60 54 68 65 20 75 73 65 72 20 69 6e 74 65 72 66 61 63 65 20 6f 66 20 74 68 65 20 48 44 4c 43 4c 43 ┆The user interface of the HDLCLC┆ 0x06f60…06f80 50 20 61 6e 64 20 74 68 65 20 48 44 4c 43 20 64 72 69 76 65 72 20 69 73 20 6e 65 61 72 6c 79 20 ┆P and the HDLC driver is nearly ┆ 0x06f80…06fa0 0a 19 89 80 80 65 71 75 61 6c 20 73 65 65 6e 20 66 72 6f 6d 20 74 68 65 20 44 54 45 2e 20 54 68 ┆ equal seen from the DTE. Th┆ 0x06fa0…06fc0 65 20 48 44 4c 43 20 64 72 69 76 65 72 20 69 6e 74 65 72 66 61 63 65 20 69 73 20 64 65 73 63 72 ┆e HDLC driver interface is descr┆ 0x06fc0…06fe0 69 62 65 64 20 69 6e 20 0a 19 89 80 80 72 65 66 2e 20 28 39 29 2e 20 54 68 65 20 6f 6e 6c 79 20 ┆ibed in ref. (9). The only ┆ 0x06fe0…07000 64 69 66 66 65 72 65 6e 63 65 20 69 73 20 74 68 61 74 20 74 68 65 20 64 72 69 76 65 72 20 68 61 ┆difference is that the driver ha┆ 0x07000…07020 (56,) 73 20 34 20 6d 61 69 6e 20 73 65 6d 61 80 0a 19 89 80 80 70 68 6f 72 65 73 2c 20 77 68 65 72 65 ┆s 4 main sema phores, where┆ 0x07020…07040 61 73 20 74 68 65 20 48 44 4c 43 4c 43 50 20 6f 6e 6c 79 20 68 61 73 20 6f 6e 65 2e 0d 0a 0d 0a ┆as the HDLCLCP only has one. ┆ 0x07040…07060 09 84 54 68 65 20 44 54 45 20 6f 6e 6c 79 20 75 74 69 6c 69 7a 65 73 20 61 20 73 75 62 73 65 74 ┆ The DTE only utilizes a subset┆ 0x07060…07080 20 6f 66 20 74 68 65 20 73 65 72 76 69 63 65 73 20 70 72 6f 76 69 64 65 64 20 62 79 20 74 68 65 ┆ of the services provided by the┆ 0x07080…070a0 20 0a 19 89 80 80 48 44 4c 43 20 64 72 69 76 65 72 2e 20 49 6e 20 74 68 69 73 20 73 65 63 74 69 ┆ HDLC driver. In this secti┆ 0x070a0…070c0 6f 6e 20 61 6e 20 6f 76 65 72 76 69 65 77 20 6f 66 20 74 68 65 20 73 65 72 76 69 63 65 73 20 75 ┆on an overview of the services u┆ 0x070c0…070e0 73 65 64 20 61 72 65 20 0a 19 89 80 80 67 69 76 65 6e 2e 20 41 20 6d 6f 72 65 20 64 65 74 61 69 ┆sed are given. A more detai┆ 0x070e0…07100 6c 65 64 20 64 65 73 63 72 69 70 74 69 6f 6e 20 6f 66 20 68 6f 77 20 74 68 65 20 64 72 69 76 65 ┆led description of how the drive┆ 0x07100…07120 72 20 69 73 20 75 73 65 64 20 61 6e 64 20 0a 19 89 80 80 68 6f 77 20 74 68 65 20 69 6e 66 6f 72 ┆r is used and how the infor┆ 0x07120…07140 6d 61 74 69 6f 6e 20 72 65 63 65 69 76 65 64 20 66 72 6f 6d 20 74 68 65 20 64 72 69 76 65 72 20 ┆mation received from the driver ┆ 0x07140…07160 69 6e 66 6c 75 65 6e 63 65 20 74 68 65 20 6f 70 65 72 80 0a 19 89 80 80 61 74 69 6f 6e 20 6f 66 ┆influence the oper ation of┆ 0x07160…07180 20 74 68 65 20 44 54 45 20 6d 6f 64 75 6c 65 20 69 73 20 67 69 76 65 6e 20 69 6e 20 63 68 61 70 ┆ the DTE module is given in chap┆ 0x07180…071a0 74 65 72 20 34 2e 0d 0a 0d 0a 09 84 44 72 69 76 65 72 20 27 63 6f 6e 74 72 6f 6c 20 6d 65 73 73 ┆ter 4. Driver 'control mess┆ 0x071a0…071c0 61 67 65 73 27 20 69 73 20 6f 6e 6c 79 20 73 65 6e 74 20 62 79 20 74 68 65 20 64 74 65 20 70 72 ┆ages' is only sent by the dte pr┆ 0x071c0…071e0 6f 63 65 73 73 20 61 6e 64 20 0a 19 89 80 80 27 69 6e 70 75 74 20 6d 65 73 73 61 67 65 73 27 20 ┆ocess and 'input messages' ┆ 0x071e0…07200 6f 6e 6c 79 20 62 79 20 74 68 65 20 64 74 65 5f 68 72 65 63 20 70 72 6f 63 65 73 73 2e 20 27 4f ┆only by the dte_hrec process. 'O┆ 0x07200…07220 (57,) 75 74 70 75 74 20 6d 65 73 73 61 67 65 73 27 20 0a 19 89 80 80 61 72 65 20 73 65 6e 74 20 62 6f ┆utput messages' are sent bo┆ 0x07220…07240 74 68 20 66 72 6f 6d 20 74 68 65 20 70 72 6f 63 65 73 73 65 73 20 64 74 65 2c 20 64 74 65 5f 6c ┆th from the processes dte, dte_l┆ 0x07240…07260 63 6e 7a 65 72 6f 2c 20 61 6e 64 20 64 74 65 5f 63 68 61 6e 20 0a 19 89 80 80 69 6e 80 63 61 72 ┆cnzero, and dte_chan in car┆ 0x07260…07280 6e 61 74 69 6f 6e 73 2e 20 49 6e 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 74 61 62 6c 65 20 ┆nations. In the following table ┆ 0x07280…072a0 32 20 74 68 65 20 66 6f 72 6d 61 74 73 20 61 6e 64 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 0a 19 ┆2 the formats and contents of ┆ 0x072a0…072c0 89 80 80 74 68 65 20 69 6e 80 64 69 76 69 64 75 61 6c 20 6d 65 73 73 61 67 65 73 20 61 72 65 20 ┆ the in dividual messages are ┆ 0x072c0…072cd 6f 75 74 6c 69 6e 65 64 2e 0d 0a 0d 0a ┆outlined. ┆ 0x072cd…072d0 FormFeed { 0x072cd…072d0 0c 80 93 ┆ ┆ 0x072cd…072d0 } 0x072d0…072e0 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d ┆ ┆ 0x072e0…07300 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d ┆ ┆ 0x07300…07320 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 54 61 ┆ Ta┆ 0x07320…07340 62 6c 65 20 32 3a 20 48 44 4c 43 20 6f 70 65 72 61 74 69 6f 6e 73 20 75 74 69 6c 69 7a 65 64 20 ┆ble 2: HDLC operations utilized ┆ 0x07340…07354 62 79 20 74 68 65 20 44 54 45 20 6d 6f 64 75 6c 65 2e 0d 0a ┆by the DTE module. ┆ 0x07354…07357 FormFeed { 0x07354…07357 0c 80 a7 ┆ ┆ 0x07354…07357 } 0x07357…07360 0a 09 4e 6f 74 65 73 3a 0d ┆ Notes: ┆ 0x07360…07380 0a 0d 0a 09 31 29 09 84 54 68 65 20 66 75 6c 6c 79 20 66 6f 72 6d 61 74 73 20 61 72 65 20 64 65 ┆ 1) The fully formats are de┆ 0x07380…073a0 66 69 6e 65 64 20 69 6e 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 48 44 4c 43 45 4e 56 20 0a 19 93 ┆fined in environment HDLCENV ┆ 0x073a0…073c0 80 80 28 61 70 70 65 6e 64 69 78 20 42 2e 37 29 2e 0d 0a 0d 0a 09 32 29 09 54 68 65 20 66 6f 72 ┆ (appendix B.7). 2) The for┆ 0x073c0…073e0 6d 61 74 20 6f 66 20 74 68 65 20 64 61 74 61 20 62 75 66 66 65 72 20 69 73 0d 0a 09 09 20 20 20 ┆mat of the data buffer is ┆ 0x073e0…07400 20 20 20 20 20 72 65 63 6f 72 64 0d 0a 09 09 09 66 69 72 73 74 2c 6c 61 73 74 2c 6e 65 78 74 20 ┆ record first,last,next ┆ 0x07400…07420 (58,) 20 20 3a 20 69 6e 74 65 67 65 72 3b 0d 0a 09 09 09 78 32 35 5f 70 61 63 6b 65 74 20 20 20 20 20 ┆ : integer; x25_packet ┆ 0x07420…07440 20 20 20 3a 20 61 72 72 61 79 20 28 31 2e 2e 6e 29 20 6f 66 20 62 79 74 65 3b 0d 0a 09 09 20 20 ┆ : array (1..n) of byte; ┆ 0x07440…07460 20 20 20 20 20 20 65 6e 64 3b 0d 0a 09 09 09 28 2a 20 20 20 20 33 3c 20 3d 20 6e 3c 20 3d 20 35 ┆ end; (* 3< = n< = 5┆ 0x07460…07480 20 20 2a 29 0d 0a 0d 0a 09 33 29 09 84 54 68 65 20 61 63 74 75 61 6c 20 73 69 7a 65 20 6f 66 20 ┆ *) 3) The actual size of ┆ 0x07480…074a0 74 68 65 20 69 6e 70 75 74 20 62 75 66 66 65 72 20 69 73 20 64 65 74 65 72 6d 69 6e 65 64 20 61 ┆the input buffer is determined a┆ 0x074a0…074c0 74 20 0a 19 93 80 80 70 72 6f 63 65 73 73 20 73 74 61 72 74 20 75 70 2c 20 62 65 63 61 75 73 65 ┆t process start up, because┆ 0x074c0…074e0 20 74 68 65 20 58 2e 32 35 20 75 73 65 72 20 64 61 74 61 20 66 69 65 6c 64 20 73 69 7a 65 20 0a ┆ the X.25 user data field size ┆ 0x074e0…07500 19 93 80 80 69 73 20 61 20 70 72 6f 63 65 73 73 20 70 61 72 61 6d 65 74 65 72 20 6f 66 20 74 68 ┆ is a process parameter of th┆ 0x07500…07520 65 20 64 74 65 20 70 72 6f 63 65 73 73 2e 0d 0a 09 09 69 6e 70 75 74 20 62 75 66 66 65 72 20 73 ┆e dte process. input buffer s┆ 0x07520…07540 69 7a 65 20 3d 20 36 20 2b 20 78 32 35 5f 68 65 61 64 5f 73 69 7a 65 20 2b 20 78 32 35 5f 70 61 ┆ize = 6 + x25_head_size + x25_pa┆ 0x07540…07560 63 6b 65 74 5f 73 69 7a 65 0d 0a 0d 0a 09 34 29 09 84 54 77 6f 20 74 79 70 65 73 20 6f 66 20 6f ┆cket_size 4) Two types of o┆ 0x07560…07580 75 74 70 75 74 20 65 78 69 73 74 0d 0a 0d 0a 09 09 61 29 20 20 84 64 74 65 20 75 73 65 72 20 64 ┆utput exist a) dte user d┆ 0x07580…075a0 61 74 61 20 6d 65 73 73 61 67 65 20 77 69 74 68 20 61 6e 20 64 74 65 20 6d 65 73 73 61 67 65 20 ┆ata message with an dte message ┆ 0x075a0…075c0 68 65 61 64 65 72 20 0a 19 97 80 80 73 74 61 63 6b 65 64 20 6f 6e 20 74 6f 70 2e 20 54 68 69 73 ┆header stacked on top. This┆ 0x075c0…075e0 20 69 73 20 75 73 65 64 20 74 6f 20 74 72 61 6e 73 6d 69 74 20 58 2e 32 35 20 44 41 54 41 20 0a ┆ is used to transmit X.25 DATA ┆ 0x075e0…07600 19 97 80 80 70 61 63 6b 65 74 73 0d 0a 0d 0a 09 09 62 29 20 20 84 64 74 65 20 64 61 74 61 20 6d ┆ packets b) dte data m┆ 0x07600…07620 (59,) 65 73 73 61 67 65 20 63 6f 6e 74 61 69 6e 69 6e 67 20 65 69 74 68 65 72 20 61 6e 20 58 2e 32 35 ┆essage containing either an X.25┆ 0x07620…07640 20 43 41 4c 4c 20 0a 19 97 80 80 52 45 51 55 45 53 54 20 6f 72 20 61 6e 20 58 2e 32 35 20 43 41 ┆ CALL REQUEST or an X.25 CA┆ 0x07640…07660 4c 4c 20 41 43 43 45 50 54 45 44 20 70 61 63 6b 65 74 0d 0a 0d 0a 09 09 54 68 65 20 66 6f 72 6d ┆LL ACCEPTED packet The form┆ 0x07660…07680 61 74 20 6f 66 20 74 68 65 20 6c 61 74 74 65 72 20 28 62 29 20 69 73 3a 0d 0a 09 09 20 20 20 20 ┆at of the latter (b) is: ┆ 0x07680…076a0 20 20 20 20 20 72 65 63 6f 72 64 0d 0a 09 09 09 20 66 69 72 73 74 2c 6c 61 73 74 2c 6e 65 78 74 ┆ record first,last,next┆ 0x076a0…076c0 20 20 20 3a 20 69 6e 74 65 67 65 72 3b 0d 0a 09 09 09 20 78 32 35 5f 70 61 63 6b 65 74 20 20 20 ┆ : integer; x25_packet ┆ 0x076c0…076e0 20 20 20 20 20 3a 20 61 72 72 61 79 20 28 31 2e 2e 6e 29 20 6f 66 20 62 79 74 65 3b 0d 0a 09 09 ┆ : array (1..n) of byte; ┆ 0x076e0…07700 20 20 20 20 20 20 20 20 20 65 6e 64 3b 0d 0a 09 09 09 20 28 2a 20 20 20 20 33 20 a1 3c e1 20 6e ┆ end; (* 3 < n┆ 0x07700…0770d 20 3c 20 39 38 20 20 2a 29 0d 0a 0d 0a ┆ < 98 *) ┆ 0x0770d…07710 FormFeed { 0x0770d…07710 0c 80 a1 ┆ ┆ 0x0770d…07710 } 0x07710…07720 0a a1 33 2e 31 2e 33 09 41 63 63 65 73 73 20 74 ┆ 3.1.3 Access t┆ 0x07720…07740 6f 20 74 68 65 20 4e 43 50 20 4d 6f 64 75 6c 65 0d 0a 0d 0a 09 84 41 6c 6c 20 63 6f 6d 6d 75 6e ┆o the NCP Module All commun┆ 0x07740…07760 69 63 61 74 69 6f 6e 20 77 69 74 68 20 74 68 65 20 4e 43 50 20 69 73 20 70 65 72 66 6f 72 6d 65 ┆ication with the NCP is performe┆ 0x07760…07780 64 20 62 79 20 74 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 2e 20 0a 19 89 80 80 4e 43 2d 73 75 ┆d by the dte process. NC-su┆ 0x07780…077a0 70 65 72 76 69 73 6f 72 20 6d 65 73 73 61 67 65 73 20 28 44 54 45 20 4c 43 50 20 6f 70 65 72 61 ┆pervisor messages (DTE LCP opera┆ 0x077a0…077c0 74 69 6f 6e 73 29 20 61 72 65 20 65 69 74 68 65 72 20 70 65 72 66 6f 72 6d 65 64 20 0a 19 89 80 ┆tions) are either performed ┆ 0x077c0…077e0 80 62 79 20 74 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 20 6f 72 20 66 6f 72 77 61 72 64 65 64 ┆ by the dte process or forwarded┆ 0x077e0…07800 20 74 6f 20 61 20 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 20 69 6e 63 61 72 6e 61 74 69 ┆ to a dte_chan process incarnati┆ 0x07800…07820 (60,) 6f 6e 2e 20 0a 19 89 80 80 49 6e 74 65 72 6e 61 6c 20 4e 43 20 65 76 65 6e 74 73 20 61 72 65 20 ┆on. Internal NC events are ┆ 0x07820…07840 72 65 63 65 69 76 65 64 20 62 79 20 74 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 20 61 6e 64 20 ┆received by the dte process and ┆ 0x07840…07860 74 68 69 73 20 70 72 6f 80 0a 19 89 80 80 63 65 73 73 20 72 65 71 75 65 73 74 73 20 74 68 65 6e ┆this pro cess requests then┆ 0x07860…07880 20 61 6e 20 65 76 65 6e 74 20 62 75 66 66 65 72 20 66 72 6f 6d 20 74 68 65 20 4e 43 50 20 61 6e ┆ an event buffer from the NCP an┆ 0x07880…078a0 64 20 68 65 72 65 69 6e 20 70 61 63 6b 73 20 0a 19 89 80 80 74 68 65 20 4e 43 20 65 76 65 6e 74 ┆d herein packs the NC event┆ 0x078a0…078c0 73 20 61 6e 64 20 72 65 74 75 72 6e 73 20 74 68 65 20 62 75 66 66 65 72 20 74 6f 20 74 68 65 20 ┆s and returns the buffer to the ┆ 0x078c0…078e0 4e 43 50 2e 20 49 6e 20 66 69 67 75 72 65 20 38 20 74 68 65 20 0a 19 89 80 80 63 6f 6d 6d 75 6e ┆NCP. In figure 8 the commun┆ 0x078e0…07900 69 63 61 74 69 6f 6e 20 77 69 74 68 20 74 68 65 20 4e 43 50 20 69 73 20 6f 75 74 6c 69 6e 65 64 ┆ication with the NCP is outlined┆ 0x07900…07920 2e 20 41 20 64 65 74 61 69 6c 20 64 65 73 63 72 69 70 74 69 6f 6e 20 6f 66 20 0a 19 89 80 80 74 ┆. A detail description of t┆ 0x07920…07940 68 65 20 4e 43 50 20 55 73 65 72 20 49 6e 74 65 72 66 61 63 65 20 6d 61 79 20 62 65 20 66 6f 75 ┆he NCP User Interface may be fou┆ 0x07940…07960 6e 64 20 69 6e 20 72 65 66 2e 20 28 31 30 29 2c 20 62 65 6c 6f 77 20 69 73 20 6f 6e 6c 79 20 0a ┆nd in ref. (10), below is only ┆ 0x07960…07980 19 89 80 80 6d 65 6e 74 69 6f 6e 65 64 20 74 68 65 20 6f 70 65 72 61 74 69 6f 6e 73 20 75 73 65 ┆ mentioned the operations use┆ 0x07980…079a0 64 20 62 79 20 74 68 65 20 44 54 45 20 6d 6f 64 75 6c 65 2e 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆d by the DTE module. ┆ 0x079a0…079c0 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ 0x079c0…079e0 0d 0a 0d 0a 0d 0a 0d 0a 09 46 69 67 75 72 65 20 38 3a 20 4d 65 73 73 61 67 65 20 66 6c 6f 77 20 ┆ Figure 8: Message flow ┆ 0x079e0…07a00 62 65 74 77 65 65 6e 20 74 68 65 20 44 54 45 20 6d 6f 64 75 6c 65 20 61 6e 64 20 74 68 65 20 4e ┆between the DTE module and the N┆ 0x07a00…07a05 (61,) 43 50 2e 0d 0a ┆CP. ┆ 0x07a05…07a08 FormFeed { 0x07a05…07a08 0c 80 a5 ┆ ┆ 0x07a05…07a08 } 0x07a08…07a20 0a 09 84 41 74 20 69 6e 69 74 69 61 6c 69 7a 61 74 69 6f 6e 20 74 68 65 ┆ At initialization the┆ 0x07a20…07a40 20 64 74 65 20 70 72 6f 63 65 73 73 20 63 6f 6e 6e 65 63 74 73 20 74 6f 20 74 68 65 20 4e 43 50 ┆ dte process connects to the NCP┆ 0x07a40…07a60 20 75 74 69 6c 69 7a 69 6e 67 20 0a 19 89 80 80 74 68 65 20 6f 70 65 72 61 74 69 6f 6e 0d 0a 0d ┆ utilizing the operation ┆ 0x07a60…07a80 0a 09 a1 b0 4d 65 73 73 61 67 65 20 6e 61 6d 65 e1 3a 20 20 63 6f 6e 6e 65 63 74 5f 6c 63 70 0d ┆ Message name : connect_lcp ┆ 0x07a80…07aa0 0a 0d 0a 09 a1 55 73 65 72 20 66 69 65 6c 64 73 e1 20 3a 20 20 09 74 6f 20 4e 43 50 09 66 72 6f ┆ User fields : to NCP fro┆ 0x07aa0…07ac0 6d 20 4e 43 50 0d 0a 09 09 20 20 20 20 20 75 31 20 20 20 20 20 20 34 20 20 20 20 20 20 20 20 75 ┆m NCP u1 4 u┆ 0x07ac0…07ae0 6e 63 68 0d 0a 09 09 20 20 20 20 20 75 32 20 20 20 20 20 20 37 20 20 20 20 20 20 20 72 65 73 75 ┆nch u2 7 resu┆ 0x07ae0…07b00 6c 74 0d 0a 09 09 20 20 20 20 20 75 33 20 20 20 20 20 20 2d 20 20 20 20 20 20 6c 63 70 5f 69 6e ┆lt u3 - lcp_in┆ 0x07b00…07b20 64 65 78 0d 0a 09 09 20 20 20 20 20 75 34 20 20 20 20 20 20 33 20 20 20 20 20 20 20 20 75 6e 63 ┆dex u4 3 unc┆ 0x07b20…07b40 68 0d 0a 0d 0a 09 a1 44 61 74 61 20 74 6f 20 4e 43 50 e1 20 3a 20 20 6c 63 70 5f 63 6f 6e 6e 5f ┆h Data to NCP : lcp_conn_┆ 0x07b40…07b60 74 79 70 65 20 3d 20 72 65 63 6f 72 64 0d 0a 09 09 09 09 20 20 20 66 69 72 73 74 2c 6c 61 73 74 ┆type = record first,last┆ 0x07b60…07b80 2c 6e 65 78 74 20 3a 20 69 6e 74 65 67 65 72 3b 0d 0a 09 09 09 09 20 20 20 69 20 20 20 20 20 20 ┆,next : integer; i ┆ 0x07b80…07ba0 20 20 20 20 20 20 20 20 20 3a 20 62 69 74 3b 0d 0a 09 09 09 09 20 20 20 69 64 20 20 20 20 20 20 ┆ : bit; id ┆ 0x07ba0…07bc0 20 20 20 20 20 20 20 20 3a 20 30 2e 2e 33 32 37 36 37 3b 0d 0a 09 09 09 09 20 65 6e 64 3b 0d 0a ┆ : 0..32767; end; ┆ 0x07bc0…07be0 0d 0a 09 a1 44 61 74 61 20 66 72 6f 6d 20 4e 43 50 e1 20 3a 0d 0a 09 09 20 20 20 20 20 75 6e 63 ┆ Data from NCP : unc┆ 0x07be0…07c00 68 61 6e 67 65 64 0d 0a 0d 0a 09 a1 50 61 72 61 6d 65 74 65 72 73 e1 20 20 3a 20 20 6c 63 70 5f ┆hanged Parameters : lcp_┆ 0x07c00…07c20 (62,) 69 6e 64 65 78 09 3a 20 84 76 61 6c 75 65 20 72 65 74 75 72 6e 65 64 20 66 72 6f 6d 20 74 68 65 ┆index : value returned from the┆ 0x07c20…07c40 20 4e 43 50 20 61 6e 64 20 0a 19 a9 80 80 75 73 65 64 20 69 6e 20 61 6c 6c 20 6f 74 68 65 72 20 ┆ NCP and used in all other ┆ 0x07c40…07c60 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 73 20 0a 19 a9 80 80 77 69 74 68 20 74 68 65 20 4e 43 50 ┆communications with the NCP┆ 0x07c60…07c80 0d 0a 0d 0a 09 09 20 20 20 20 20 66 69 72 73 74 2c 6c 61 73 74 2c 6e 65 78 74 3a 20 84 6e 6f 74 ┆ first,last,next: not┆ 0x07c80…07ca0 20 75 73 65 64 0d 0a 0d 0a 09 09 20 20 20 20 20 69 2c 20 69 64 20 20 20 20 20 20 20 20 20 20 3a ┆ used i, id :┆ 0x07ca0…07cc0 20 84 73 65 74 20 74 6f 20 74 68 65 20 44 54 45 27 73 20 6c 63 70 20 6e 75 6d 62 65 72 20 28 32 ┆ set to the DTE's lcp number (2┆ 0x07cc0…07ce0 29 0d 0a 0d 0a 09 09 20 20 20 20 20 72 65 73 75 6c 74 20 20 20 20 20 20 20 20 20 20 6f 6b 20 20 ┆) result ok ┆ 0x07ce0…07d00 20 28 30 29 20 3a 20 84 74 68 65 20 44 54 45 20 69 73 20 63 6f 6e 6e 65 63 74 65 64 0d 0a 09 09 ┆ (0) : the DTE is connected ┆ 0x07d00…07d20 09 09 20 62 75 73 79 20 28 32 29 20 3a 20 84 74 68 65 20 44 54 45 20 6d 6f 64 75 6c 65 20 69 73 ┆ busy (2) : the DTE module is┆ 0x07d20…07d40 20 6e 6f 74 20 0a 19 b3 80 80 63 6f 6e 80 6e 65 63 74 65 64 20 74 6f 20 74 68 65 20 4e 43 2d 0a ┆ not con nected to the NC- ┆ 0x07d40…07d60 19 b3 80 80 73 79 73 74 65 6d 2c 20 62 75 74 20 77 69 6c 6c 20 63 6f 6e 80 0a 19 b3 80 80 74 69 ┆ system, but will con ti┆ 0x07d60…07d78 6e 75 65 20 6e 6f 72 6d 61 6c 20 6f 70 65 72 61 74 69 6f 6e 0d 0a 0d 0a ┆nue normal operation ┆ 0x07d78…07d7b FormFeed { 0x07d78…07d7b 0c 80 a2 ┆ ┆ 0x07d78…07d7b } 0x07d7b…07d80 0a 84 09 84 41 ┆ A┆ 0x07d80…07da0 6c 6c 20 4c 43 50 20 6f 70 65 72 61 74 69 6f 6e 73 20 61 72 65 20 72 65 63 65 69 76 65 64 20 66 ┆ll LCP operations are received f┆ 0x07da0…07dc0 72 6f 6d 20 74 68 65 20 4e 43 50 20 75 74 69 6c 69 7a 69 6e 67 20 74 68 65 20 0a 19 89 80 80 6f ┆rom the NCP utilizing the o┆ 0x07dc0…07de0 70 65 72 61 74 69 6f 6e 0d 0a 0d 0a 09 a1 b0 4d 65 73 73 61 67 65 20 6e 61 6d 65 e1 3a 20 20 77 ┆peration Message name : w┆ 0x07de0…07e00 61 69 74 5f 6d 65 73 73 61 67 65 0d 0a 0d 0a 09 a1 55 73 65 72 20 66 69 65 6c 64 73 e1 20 3a 20 ┆ait_message User fields : ┆ 0x07e00…07e20 (63,) 20 09 74 6f 20 4e 43 50 09 66 72 6f 6d 20 4e 43 50 0d 0a 09 09 20 20 20 20 20 75 31 20 20 20 20 ┆ to NCP from NCP u1 ┆ 0x07e20…07e40 20 31 32 20 20 20 20 20 20 20 20 75 6e 63 68 0d 0a 09 09 20 20 20 20 20 75 32 20 20 20 20 20 20 ┆ 12 unch u2 ┆ 0x07e40…07e60 37 20 20 20 20 20 20 20 72 65 73 75 6c 74 0d 0a 09 20 20 09 20 20 20 20 20 75 33 20 20 6c 63 70 ┆7 result u3 lcp┆ 0x07e60…07e80 5f 69 6e 64 65 78 20 20 20 20 75 6e 63 68 0d 0a 09 09 20 20 20 20 20 75 34 20 20 20 20 20 20 33 ┆_index unch u4 3┆ 0x07e80…07ea0 20 20 20 20 20 20 20 20 75 6e 63 68 0d 0a 0d 0a 09 a1 44 61 74 61 20 74 6f 20 4e 43 50 e1 20 3a ┆ unch Data to NCP :┆ 0x07ea0…07ec0 20 20 6e 6f 74 20 75 73 65 64 0d 0a 0d 0a 09 a1 44 61 74 61 20 66 72 6f 6d 20 4e 43 50 e1 20 3a ┆ not used Data from NCP :┆ 0x07ec0…07ee0 0d 0a 09 09 20 20 20 20 20 75 6e 63 68 61 6e 67 65 64 0d 0a 0d 0a 09 a1 50 61 72 61 6d 65 74 65 ┆ unchanged Paramete┆ 0x07ee0…07f00 72 73 e1 20 20 3a 20 20 6c 63 70 5f 69 6e 64 65 78 20 3a 20 20 84 74 68 65 20 76 61 6c 75 65 20 ┆rs : lcp_index : the value ┆ 0x07f00…07f20 72 65 74 75 72 6e 65 64 20 69 6e 20 74 68 65 20 6f 70 65 72 61 74 69 6f 6e 20 0a 19 a5 80 80 b0 ┆returned in the operation ┆ 0x07f20…07f40 63 6f 6e 6e 65 63 74 5f 6c 63 70 0d 0a 0d 0a 09 09 20 20 20 20 20 72 65 73 75 6c 74 20 20 20 20 ┆connect_lcp result ┆ 0x07f40…07f60 3a 20 20 70 6c 65 61 73 65 20 72 65 66 65 72 20 74 6f 20 72 65 66 2e 20 28 31 30 29 0d 0a 0d 0a ┆: please refer to ref. (10) ┆ 0x07f60…07f80 09 84 54 68 69 73 20 6d 65 73 73 61 67 65 20 69 73 20 61 6c 77 61 79 73 20 77 61 69 74 69 6e 67 ┆ This message is always waiting┆ 0x07f80…07fa0 20 61 74 20 74 68 65 20 4e 43 50 2e 20 54 68 65 20 4e 43 50 20 72 65 74 75 72 6e 73 20 69 74 2c ┆ at the NCP. The NCP returns it,┆ 0x07fa0…07fc0 20 0a 19 89 80 80 77 68 65 6e 20 69 74 20 68 61 73 20 72 65 63 65 69 76 65 64 20 61 20 4e 43 2d ┆ when it has received a NC-┆ 0x07fc0…07fe0 73 75 70 65 72 76 69 73 6f 72 20 6d 65 73 73 61 67 65 20 74 6f 20 74 68 65 20 44 54 45 2e 20 54 ┆supervisor message to the DTE. T┆ 0x07fe0…08000 68 69 73 20 0a 19 89 80 80 6d 65 73 73 61 67 65 20 69 73 20 73 74 61 63 6b 65 64 20 62 65 6c 6f ┆his message is stacked belo┆ 0x08000…08018 (64,) 77 20 74 68 65 20 b0 77 61 69 74 5f 6d 65 73 73 61 67 65 2e 0d 0a 0d 0a ┆w the wait_message. ┆ 0x08018…08051 Params { 0x08018…08051 04 00 2d 44 0c 00 06 00 00 00 00 02 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x08018…08051 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x08018…08051 } 0x08051…0808a Params { 0x08051…0808a 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x08051…0808a 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x08051…0808a } 0x0808a…080a0 0a 09 09 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 0d 0a 09 09 21 ┆ ______________ !┆ 0x080a0…080c0 20 20 20 64 74 65 20 6c 63 70 20 20 21 0d 0a 09 09 21 20 20 20 6d 65 73 73 61 67 65 20 20 21 20 ┆ dte lcp ! ! message ! ┆ 0x080c0…080e0 20 20 3d 20 77 61 69 74 5f 6d 65 73 73 61 67 65 0d 0a 09 09 a1 21 20 20 20 20 68 65 61 64 65 72 ┆ = wait_message ! header┆ 0x080e0…08100 20 20 21 0d 0a 0d 0a 0d 0a 0d 0a 09 09 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 20 20 20 20 20 ┆ ! ______________ ┆ 0x08100…08120 20 20 20 20 20 20 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 0d 0a 09 09 21 20 20 20 20 4e 43 ┆ _______________ ! NC┆ 0x08120…08140 50 20 20 20 20 20 21 09 20 20 20 20 20 21 20 20 20 20 20 20 4e 43 20 20 20 20 20 21 0d 0a 09 09 ┆P ! ! NC ! ┆ 0x08140…08160 21 20 20 20 6d 65 73 73 61 67 65 20 20 21 20 20 20 20 20 20 20 20 20 20 20 21 20 20 73 75 70 65 ┆! message ! ! supe┆ 0x08160…08180 72 76 69 73 6f 72 20 21 0d 0a 09 09 a1 21 20 20 20 20 68 65 61 64 65 72 20 20 21 e1 20 20 20 20 ┆rvisor ! ! header ! ┆ 0x08180…0819a 20 20 20 20 20 20 20 a1 21 20 20 20 20 6d 65 73 73 61 67 65 20 20 21 e1 0d 0a ┆ ! message ! ┆ 0x0819a…081d3 Params { 0x0819a…081d3 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x0819a…081d3 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x0819a…081d3 } 0x081d3…0820c Params { 0x081d3…0820c 04 00 2d 44 0c 00 06 00 00 00 00 02 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x081d3…0820c 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x081d3…0820c } 0x0820c…08220 0a 0d 0a 09 09 4e 43 50 20 68 65 61 64 65 72 3a 09 66 72 6f ┆ NCP header: fro┆ 0x08220…08240 6d 20 4e 43 50 09 20 20 20 74 6f 20 4e 43 50 0d 0a 09 09 09 20 20 20 75 31 20 20 20 20 20 20 20 ┆m NCP to NCP u1 ┆ 0x08240…08260 20 31 35 20 20 20 20 20 20 20 20 20 75 6e 63 68 0d 0a 20 20 09 09 09 20 20 20 75 32 20 20 20 20 ┆ 15 unch u2 ┆ 0x08260…08280 20 20 20 20 20 37 20 20 20 20 20 20 20 20 72 65 73 75 6c 74 0d 0a 09 09 09 20 20 20 75 33 20 20 ┆ 7 result u3 ┆ 0x08280…082a0 20 20 20 6c 63 70 5f 69 6e 64 65 78 20 20 20 20 20 75 6e 63 68 0d 0a 09 09 09 20 20 20 75 34 20 ┆ lcp_index unch u4 ┆ 0x082a0…082c0 20 20 20 20 20 20 20 20 2d 20 20 20 20 20 20 20 20 20 75 6e 63 68 0d 0a 0d 0a 0d 0a 8c 80 ac 0a ┆ - unch ┆ 0x082c0…082e0 09 84 54 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 20 75 6e 73 74 61 63 6b 73 20 74 68 65 20 64 ┆ The dte process unstacks the d┆ 0x082e0…08300 74 65 20 6c 63 70 20 6d 65 73 73 61 67 65 20 68 65 61 64 65 72 20 61 6e 64 20 73 65 6e 64 73 20 ┆te lcp message header and sends ┆ 0x08300…08320 69 74 20 0a 19 89 80 80 74 6f 20 74 68 65 20 4e 43 50 2c 20 77 61 69 74 69 6e 67 20 74 68 65 20 ┆it to the NCP, waiting the ┆ 0x08320…08340 6e 65 78 74 20 4e 43 2d 73 75 70 65 72 76 69 73 6f 72 20 6d 65 73 73 61 67 65 2e 20 54 68 65 6e ┆next NC-supervisor message. Then┆ 0x08340…08360 20 74 68 65 20 72 65 80 0a 19 89 80 80 63 65 69 76 65 64 20 4c 43 50 20 6f 70 65 72 61 74 69 6f ┆ the re ceived LCP operatio┆ 0x08360…08380 6e 20 28 4e 43 20 73 75 70 65 72 76 69 73 6f 72 20 6d 65 73 73 61 67 65 29 20 69 73 20 70 65 72 ┆n (NC supervisor message) is per┆ 0x08380…083a0 66 6f 72 6d 65 64 2e 0d 0a 0d 0a 09 84 57 68 65 6e 65 76 65 72 20 61 6e 20 69 6e 74 65 72 6e 61 ┆formed. Whenever an interna┆ 0x083a0…083c0 6c 20 65 76 65 6e 74 20 69 73 20 72 65 63 65 69 76 65 64 20 62 79 20 74 68 65 20 64 74 65 20 70 ┆l event is received by the dte p┆ 0x083c0…083e0 72 6f 63 65 73 73 20 61 6e 20 65 76 65 6e 74 20 0a 19 89 80 80 62 75 66 66 65 72 20 69 73 20 72 ┆rocess an event buffer is r┆ 0x083e0…08400 65 71 75 65 73 74 65 64 20 66 72 6f 6d 20 74 68 65 20 4e 43 50 20 75 73 69 6e 67 20 74 68 65 20 ┆equested from the NCP using the ┆ 0x08400…08420 (66,) 6f 70 65 72 61 74 69 6f 6e 3a 0d 0a 0d 0a 09 a1 b0 4d 65 73 73 61 67 65 20 6e 61 6d 65 e1 3a 20 ┆operation: Message name : ┆ 0x08420…08440 20 72 65 71 75 65 73 74 5f 65 76 65 6e 74 5f 62 75 66 66 65 72 0d 0a 0d 0a 09 a1 55 73 65 72 20 ┆ request_event_buffer User ┆ 0x08440…08460 66 69 65 6c 64 73 e1 20 3a 20 20 09 74 6f 20 4e 43 50 09 66 72 6f 6d 20 4e 43 50 0d 0a 09 09 20 ┆fields : to NCP from NCP ┆ 0x08460…08480 20 20 20 75 31 20 20 20 20 20 20 31 36 20 09 20 20 75 6e 63 68 0d 0a 09 09 20 20 20 20 75 32 20 ┆ u1 16 unch u2 ┆ 0x08480…084a0 20 20 20 20 20 20 37 20 20 20 20 20 20 20 72 65 73 75 6c 74 0d 0a 09 09 20 20 20 20 75 33 20 20 ┆ 7 result u3 ┆ 0x084a0…084c0 20 6c 63 70 5f 69 6e 64 65 78 20 20 20 20 75 6e 63 68 0d 0a 09 09 20 20 20 20 75 34 20 20 20 20 ┆ lcp_index unch u4 ┆ 0x084c0…084e0 20 20 20 2d 20 20 20 20 20 20 20 20 75 6e 63 68 0d 0a 0d 0a 09 a1 44 61 74 61 20 74 6f 20 4e 43 ┆ - unch Data to NC┆ 0x084e0…08500 50 e1 20 3a 20 20 6e 6f 74 20 75 73 65 64 0d 0a 0d 0a 09 a1 44 61 74 61 20 66 72 6f 6d 20 4e 43 ┆P : not used Data from NC┆ 0x08500…08520 50 e1 20 3a 0d 0a 09 09 20 20 20 20 20 6e 6f 74 20 75 73 65 64 0d 0a 0d 0a 09 a1 50 61 72 61 6d ┆P : not used Param┆ 0x08520…08540 65 74 65 72 73 e1 20 20 3a 20 20 6c 63 70 5f 69 6e 64 65 78 20 3a 20 84 74 68 65 20 76 61 6c 75 ┆eters : lcp_index : the valu┆ 0x08540…08560 65 20 72 65 74 75 72 6e 65 64 20 69 6e 20 74 68 65 20 6f 70 65 72 61 74 69 6f 6e 20 0a 19 a4 80 ┆e returned in the operation ┆ 0x08560…08580 80 b0 63 6f 6e 6e 65 63 74 5f 6c 63 70 0d 0a 0d 0a 09 09 20 20 20 20 20 72 65 73 75 6c 74 20 20 ┆ connect_lcp result ┆ 0x08580…085a0 20 20 3a 20 84 70 6c 65 61 73 65 20 72 65 66 65 72 20 74 6f 20 72 65 66 2e 20 28 31 30 29 0d 0a ┆ : please refer to ref. (10) ┆ 0x085a0…085c0 0d 0a 09 84 57 68 65 6e 20 74 68 65 20 6d 65 73 73 61 67 65 20 69 73 20 72 65 74 75 72 6e 65 64 ┆ When the message is returned┆ 0x085c0…085e0 20 66 72 6f 6d 20 74 68 65 20 4e 43 50 20 77 69 74 68 20 72 65 73 75 6c 74 20 6f 6b 2c 20 61 6e ┆ from the NCP with result ok, an┆ 0x085e0…08600 20 65 76 65 6e 74 20 0a 19 89 80 80 62 75 66 66 65 72 20 69 73 20 73 74 61 63 6b 65 64 20 62 65 ┆ event buffer is stacked be┆ 0x08600…08608 (67,) 6c 6f 77 2e 0d 0a 0d 0a ┆low. ┆ 0x08608…08641 Params { 0x08608…08641 04 00 2d 44 0c 00 06 00 00 00 00 02 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x08608…08641 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x08608…08641 } 0x08641…0867a Params { 0x08641…0867a 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x08641…0867a 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x08641…0867a } 0x0867a…08680 0a 09 09 5f 5f 5f ┆ ___┆ 0x08680…086a0 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 0d 0a 09 09 21 20 20 64 74 65 20 6c 63 70 20 20 21 0d 0a 09 09 21 ┆__________ ! dte lcp ! !┆ 0x086a0…086c0 20 20 6d 65 73 73 61 67 65 20 20 21 20 20 20 3d 20 72 65 71 75 65 73 74 5f 65 76 65 6e 74 5f 62 ┆ message ! = request_event_b┆ 0x086c0…086e0 75 66 66 65 72 0d 0a 09 09 a1 21 20 20 20 68 65 61 64 65 72 20 20 21 0d 0a 0d 0a 0d 0a 09 09 5f ┆uffer ! header ! _┆ 0x086e0…08700 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 20 20 20 20 20 20 20 20 20 20 20 5f 5f 5f 5f 5f 5f 5f 5f 5f ┆____________ _________┆ 0x08700…08720 5f 5f 5f 5f 5f 5f 0d 0a 09 09 21 20 20 20 20 4e 43 50 20 20 20 20 21 09 20 20 20 20 21 20 20 20 ┆______ ! NCP ! ! ┆ 0x08720…08740 20 82 65 76 65 6e 74 81 20 20 20 20 21 0d 0a 09 09 21 20 20 6d 65 73 73 61 67 65 20 20 21 20 20 ┆ event ! ! message ! ┆ 0x08740…08760 20 20 20 20 20 20 20 20 20 21 20 20 20 82 62 75 66 66 65 72 81 20 20 20 20 21 0d 0a 09 09 a1 21 ┆ ! buffer ! !┆ 0x08760…08780 20 20 20 68 65 61 64 65 72 20 20 21 e1 09 20 20 20 20 a1 21 09 20 20 20 20 20 20 20 20 21 0d 0a ┆ header ! ! ! ┆ 0x08780…087b9 Params { 0x08780…087b9 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x08780…087b9 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x08780…087b9 } 0x087b9…087f2 Params { 0x087b9…087f2 04 00 2d 44 0c 00 06 00 00 00 00 02 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x087b9…087f2 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x087b9…087f2 } 0x087f2…087f5 0a 0d 0a ┆ ┆ 0x087f5…087f8 FormFeed { 0x087f5…087f8 0c 80 a7 ┆ ┆ 0x087f5…087f8 } 0x087f8…08800 0a 09 09 4e 43 50 20 68 ┆ NCP h┆ 0x08800…08820 (68,) 65 61 64 65 72 3a 20 20 20 20 20 20 66 72 6f 6d 20 4e 43 50 09 20 20 20 20 20 20 74 6f 20 4e 43 ┆eader: from NCP to NC┆ 0x08820…08840 50 0d 0a 09 20 20 20 20 20 20 20 20 09 09 75 31 20 20 20 20 20 20 20 20 31 36 20 20 20 20 20 20 ┆P u1 16 ┆ 0x08840…08860 20 20 20 20 20 20 20 20 20 75 6e 63 68 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ unch ┆ 0x08860…08880 09 09 75 32 20 20 20 20 20 20 20 20 20 37 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 30 20 28 ┆ u2 7 0 (┆ 0x08880…088a0 3d 20 6f 6b 29 0d 0a 09 20 20 20 20 20 20 20 20 09 09 75 33 20 20 20 20 20 6c 63 70 5f 69 6e 64 ┆= ok) u3 lcp_ind┆ 0x088a0…088c0 65 78 09 20 20 20 20 20 20 20 75 6e 63 68 0d 0a 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ex unch ┆ 0x088c0…088e0 20 20 20 20 20 75 34 09 20 2d 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 75 6e 63 68 0d 0a 0d ┆ u4 - unch ┆ 0x088e0…08900 0a 09 84 54 68 65 20 64 74 65 20 6c 63 70 20 6d 65 73 73 61 67 65 20 68 65 61 64 65 72 20 69 73 ┆ The dte lcp message header is┆ 0x08900…08920 20 75 6e 73 74 61 63 6b 65 64 20 61 6e 64 20 72 65 6c 65 61 73 65 64 20 61 6e 64 20 74 68 65 20 ┆ unstacked and released and the ┆ 0x08920…08940 69 6e 80 0a 19 89 80 80 66 6f 72 6d 61 74 69 6f 6e 20 69 6e 20 74 68 65 20 69 6e 74 65 72 6e 61 ┆in formation in the interna┆ 0x08940…08960 6c 20 65 76 65 6e 74 20 69 73 20 74 72 61 6e 73 66 65 72 72 65 64 20 28 69 66 20 6e 65 63 65 73 ┆l event is transferred (if neces┆ 0x08960…08980 73 61 72 79 20 0a 19 89 80 80 70 61 63 6b 65 64 20 77 69 74 68 20 74 68 65 20 65 76 65 6e 74 20 ┆sary packed with the event ┆ 0x08980…089a0 27 65 76 65 6e 74 73 20 6c 6f 73 74 27 29 20 74 6f 20 74 68 65 20 65 76 65 6e 74 20 62 75 66 66 ┆'events lost') to the event buff┆ 0x089a0…089c0 65 72 20 61 6e 64 20 74 68 69 73 20 0a 19 89 80 80 6d 65 73 73 61 67 65 20 69 73 20 72 65 74 75 ┆er and this message is retu┆ 0x089c0…089e0 72 6e 65 64 20 74 6f 20 74 68 65 20 4e 43 50 2e 0d 0a 0d 0a 09 84 49 66 20 74 68 65 20 72 65 73 ┆rned to the NCP. If the res┆ 0x089e0…08a00 75 6c 74 20 69 73 20 64 69 66 66 65 72 65 6e 74 20 66 72 6f 6d 20 6f 6b 2c 20 74 68 65 20 6d 65 ┆ult is different from ok, the me┆ 0x08a00…08a20 (69,) 73 73 61 67 65 20 68 65 61 64 65 72 20 69 73 20 72 65 6c 65 61 73 65 64 20 0a 19 89 80 80 61 6e ┆ssage header is released an┆ 0x08a20…08a40 64 20 74 68 65 20 6c 6f 73 74 20 65 76 65 6e 74 20 63 6f 75 6e 74 65 72 20 69 73 20 69 6e 63 72 ┆d the lost event counter is incr┆ 0x08a40…08a60 65 6d 65 6e 74 65 64 20 62 79 20 6f 6e 65 2e 0d 0a 0d 0a 09 84 54 68 65 20 69 6e 74 65 72 6e 61 ┆emented by one. The interna┆ 0x08a60…08a80 6c 20 65 76 65 6e 74 20 6d 65 73 73 61 67 65 20 69 73 20 72 65 74 75 72 6e 65 64 20 74 6f 20 74 ┆l event message is returned to t┆ 0x08a80…08aa0 68 65 20 65 76 65 6e 74 20 70 6f 6f 6c 2c 20 77 68 69 63 68 20 69 73 20 0a 19 89 80 80 61 20 6d ┆he event pool, which is a m┆ 0x08aa0…08ac0 6f 64 75 6c 65 20 67 6c 6f 62 61 6c 20 73 65 6d 61 70 68 6f 72 65 2e 0d 0a 0d 0a 0d 0a a1 33 2e ┆odule global semaphore. 3.┆ 0x08ac0…08ae0 32 09 49 6e 74 65 72 6e 61 6c 20 43 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 0d 0a 0d 0a 09 84 41 6c ┆2 Internal Communication Al┆ 0x08ae0…08b00 6c 20 69 6e 74 65 72 6e 61 6c 20 6d 65 73 73 61 67 65 73 20 73 65 6e 74 20 62 65 74 77 65 65 6e ┆l internal messages sent between┆ 0x08b00…08b20 20 70 72 6f 63 65 73 73 65 73 20 69 6e 20 74 68 65 20 44 54 45 20 6d 6f 64 75 6c 65 20 61 72 65 ┆ processes in the DTE module are┆ 0x08b20…08b40 20 0a 19 89 80 80 64 65 73 63 72 69 62 65 64 2e 20 54 68 65 20 6d 65 73 73 61 67 65 73 20 61 72 ┆ described. The messages ar┆ 0x08b40…08b60 65 20 64 65 73 63 72 69 62 65 64 20 75 6e 64 65 72 20 74 68 65 20 72 65 63 65 69 76 69 6e 67 20 ┆e described under the receiving ┆ 0x08b60…08b80 70 72 6f 63 65 73 73 2e 20 0a 19 89 80 80 46 75 72 74 68 65 72 6d 6f 72 65 2c 20 6d 65 73 73 61 ┆process. Furthermore, messa┆ 0x08b80…08ba0 67 65 73 20 73 65 6e 74 20 74 6f 20 61 20 62 61 73 69 63 20 73 79 73 74 65 6d 20 6f 72 20 43 45 ┆ges sent to a basic system or CE┆ 0x08ba0…08bc0 4e 54 45 52 4e 45 54 20 73 79 73 74 65 6d 20 0a 19 89 80 80 70 72 6f 63 65 73 73 20 61 72 65 20 ┆NTERNET system process are ┆ 0x08bc0…08be0 6d 65 6e 74 69 6f 6e 65 64 20 69 6e 20 74 68 69 73 20 73 65 63 74 69 6f 6e 2e 20 41 6c 6c 20 6d ┆mentioned in this section. All m┆ 0x08be0…08c00 65 73 73 61 67 65 73 20 61 72 65 20 67 69 76 65 6e 20 61 20 0a 19 89 80 80 6d 6e 65 6d 6f 74 65 ┆essages are given a mnemote┆ 0x08c00…08c20 (70,) 63 6e 69 63 20 6e 61 6d 65 20 75 73 65 64 20 69 6e 20 74 68 65 20 72 65 73 74 20 6f 66 20 74 68 ┆cnic name used in the rest of th┆ 0x08c20…08c40 69 73 20 6d 61 6e 75 61 6c 2e 0d 0a 0d 0a 09 84 54 68 65 20 66 6f 72 6d 61 74 20 75 73 65 64 20 ┆is manual. The format used ┆ 0x08c40…08c60 74 6f 20 64 65 73 63 72 69 62 65 20 61 20 6d 65 73 73 61 67 65 20 69 73 20 52 65 61 6c 2d 54 69 ┆to describe a message is Real-Ti┆ 0x08c60…08c80 6d 65 20 50 61 73 63 61 6c 20 61 6e 64 20 74 68 65 20 0a 19 89 80 80 66 6f 6c 6c 6f 77 69 6e 67 ┆me Pascal and the following┆ 0x08c80…08ca0 20 6e 6f 74 61 74 69 6f 6e 20 69 73 20 75 73 65 64 0d 0a 0d 0a 09 09 09 2d 09 6e 6f 74 20 75 73 ┆ notation is used - not us┆ 0x08ca0…08cc0 65 64 0d 0a 09 09 20 20 20 20 20 20 20 20 75 6e 63 68 20 20 20 20 20 20 20 20 75 6e 63 68 61 6e ┆ed unch unchan┆ 0x08cc0…08ce0 67 65 64 0d 0a 09 09 20 20 20 20 20 20 20 20 75 6e 64 65 66 09 75 6e 64 65 66 69 6e 65 64 0d 0a ┆ged undef undefined ┆ 0x08ce0…08d00 0d 0a 09 84 49 6e 20 73 75 62 73 65 63 74 69 6f 6e 73 20 33 2e 32 2e 31 2e 31 20 6d 65 73 73 61 ┆ In subsections 3.2.1.1 messa┆ 0x08d00…08d20 67 65 73 20 72 65 63 65 69 76 65 64 20 61 72 65 20 64 65 73 63 72 69 62 65 64 20 61 6e 64 20 69 ┆ges received are described and i┆ 0x08d20…08d40 6e 20 0a 19 89 80 80 73 75 62 73 65 63 80 74 69 6f 6e 73 20 33 2e 32 2e 31 2e 32 20 6d 65 73 73 ┆n subsec tions 3.2.1.2 mess┆ 0x08d40…08d60 61 67 65 73 20 73 65 6e 74 2e 0d 0a 0d 0a 09 84 41 6c 6c 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f ┆ages sent. All communicatio┆ 0x08d60…08d80 6e 20 77 69 74 68 20 74 68 65 20 74 65 73 74 2c 20 74 72 61 63 65 20 61 6e 64 20 64 65 62 75 67 ┆n with the test, trace and debug┆ 0x08d80…08da0 20 73 79 73 74 65 6d 73 20 61 72 65 20 6f 75 74 80 0a 19 89 80 80 6c 69 6e 65 64 20 69 6e 20 63 ┆ systems are out lined in c┆ 0x08da0…08dad 68 61 70 74 65 72 20 36 2e 0d 0a 0d 0a ┆hapter 6. ┆ 0x08dad…08db0 FormFeed { 0x08dad…08db0 0c 80 a7 ┆ ┆ 0x08dad…08db0 } 0x08db0…08dc0 0a a1 33 2e 32 2e 31 09 50 72 6f 63 65 73 73 20 ┆ 3.2.1 Process ┆ 0x08dc0…08de0 64 74 65 0d 0a 0d 0a 09 84 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 6d 65 73 73 61 67 65 73 20 ┆dte The following messages ┆ 0x08de0…08e00 61 72 65 20 68 61 6e 64 6c 65 64 20 62 79 20 74 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 0d 0a ┆are handled by the dte process ┆ 0x08e00…08e39 (71,) Params { 0x08e00…08e39 04 00 2d 44 0c 00 06 00 00 00 00 02 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x08e00…08e39 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x08e00…08e39 } 0x08e39…08e72 Params { 0x08e39…08e72 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x08e39…08e72 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x08e39…08e72 } 0x08e72…08e80 0a 0d 0a 09 6e 61 6d 65 09 09 73 65 6e 64 ┆ name send┆ 0x08e80…08ea0 69 6e 67 20 20 20 20 20 20 20 20 20 20 20 72 65 63 65 69 76 69 6e 67 20 20 20 20 20 20 20 20 73 ┆ing receiving s┆ 0x08ea0…08ec0 65 63 74 69 6f 6e 0d 0a 09 09 09 70 72 6f 63 65 73 73 20 20 20 20 20 20 20 20 20 20 20 70 72 6f ┆ection process pro┆ 0x08ec0…08ee0 63 65 73 73 0d 0a 0d 0a 09 63 68 61 6e 5f 73 74 61 72 74 20 20 20 20 20 20 20 20 20 20 64 74 65 ┆cess chan_start dte┆ 0x08ee0…08f00 5f 61 63 63 65 73 73 20 20 20 20 20 20 20 20 64 74 65 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆_access dte ┆ 0x08f00…08f20 33 2e 32 2e 31 2e 31 0d 0a 09 64 69 61 67 5f 72 65 63 76 20 20 20 20 20 20 20 20 20 20 20 64 74 ┆3.2.1.1 diag_recv dt┆ 0x08f20…08f40 65 5f 6c 63 6e 7a 65 72 6f 20 20 20 20 20 20 20 64 74 65 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆e_lcnzero dte ┆ 0x08f40…08f60 20 33 2e 32 2e 31 2e 31 0d 0a 09 69 6e 74 5f 65 76 65 6e 74 20 20 20 20 20 20 20 20 20 20 20 61 ┆ 3.2.1.1 int_event a┆ 0x08f60…08f80 6c 6c 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 74 65 20 20 20 20 20 20 20 20 20 20 20 20 ┆ll dte ┆ 0x08f80…08fa0 20 20 33 2e 32 2e 31 2e 31 0d 0a 09 72 65 73 74 61 72 74 5f 65 6e 64 20 20 20 20 20 20 20 20 20 ┆ 3.2.1.1 restart_end ┆ 0x08fa0…08fc0 64 74 65 5f 6c 63 6e 7a 65 72 6f 20 20 20 20 20 20 20 64 74 65 20 20 20 20 20 20 20 20 20 20 20 ┆dte_lcnzero dte ┆ 0x08fc0…08fe0 20 20 20 33 2e 32 2e 31 2e 31 0d 0a 09 72 65 73 74 61 72 74 5f 73 74 61 72 74 09 64 74 65 5f 6c ┆ 3.2.1.1 restart_start dte_l┆ 0x08fe0…09000 63 6e 7a 65 72 6f 20 20 20 20 20 20 20 64 74 65 09 20 20 20 20 20 33 2e 32 2e 31 2e 31 0d 0a 20 ┆cnzero dte 3.2.1.1 ┆ 0x09000…09020 (72,) 20 20 20 20 20 20 20 20 62 72 65 61 6b 5f 6d 65 73 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ break_mess ┆ 0x09020…09040 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 74 65 20 20 20 20 20 20 20 20 20 20 20 20 20 20 33 ┆ dte 3┆ 0x09040…09060 2e 32 2e 31 2e 31 0d 0a 0d 0a 09 74 72 61 63 65 5f 73 79 6e 63 20 20 20 20 20 20 20 20 20 20 64 ┆.2.1.1 trace_sync d┆ 0x09060…09080 74 65 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 75 74 74 72 61 63 65 20 20 20 20 20 20 20 ┆te outtrace ┆ 0x09080…090a0 20 20 33 2e 32 2e 31 2e 32 0d 0a 09 67 65 74 5f 63 6c 6f 63 6b 20 20 20 20 20 20 20 20 20 20 20 ┆ 3.2.1.2 get_clock ┆ 0x090a0…090c0 64 74 65 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 69 6d 65 72 20 20 20 20 20 20 20 20 20 ┆dte timer ┆ 0x090c0…090e0 20 20 20 33 2e 32 2e 31 2e 32 0d 0a 09 73 68 6f 72 74 5f 64 65 6c 61 79 20 20 20 20 20 20 20 20 ┆ 3.2.1.2 short_delay ┆ 0x090e0…09100 20 64 74 65 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 69 6d 65 72 20 20 20 20 20 20 20 20 ┆ dte timer ┆ 0x09100…09120 20 20 20 20 33 2e 32 2e 31 2e 32 0d 0a 0d 0a 09 78 32 35 5f 69 6e 70 75 74 09 09 64 74 65 5f 68 ┆ 3.2.1.2 x25_input dte_h┆ 0x09120…09140 72 65 63 09 20 20 20 20 20 20 20 20 64 74 65 20 20 20 20 20 20 20 20 20 20 20 20 20 20 33 2e 32 ┆rec dte 3.2┆ 0x09140…09146 2e 31 2e 31 0d 0a ┆.1.1 ┆ 0x09146…0917f Params { 0x09146…0917f 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x09146…0917f 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x09146…0917f } 0x0917f…091b8 Params { 0x0917f…091b8 04 00 2d 44 0c 00 06 00 00 00 00 02 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x0917f…091b8 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x0917f…091b8 } 0x091b8…091c0 0a 0d 0a 0d 0a a1 33 2e ┆ 3.┆ 0x091c0…091e0 32 2e 31 2e 31 09 4d 65 73 73 61 67 65 73 20 72 65 63 65 69 76 65 64 0d 0a 0d 0a 09 a1 b0 4d 65 ┆2.1.1 Messages received Me┆ 0x091e0…09200 73 73 61 67 65 20 6e 61 6d 65 e1 20 20 20 3a 20 20 63 68 61 6e 5f 73 74 61 72 74 0d 0a 0d 0a 09 ┆ssage name : chan_start ┆ 0x09200…09220 (73,) a1 4d 65 73 73 61 67 65 20 66 6f 72 6d 61 74 e1 20 3a 20 20 0d 0a 09 09 20 20 20 20 20 20 20 20 ┆ Message format : ┆ 0x09220…09240 6d 65 73 73 61 67 65 09 61 6e 73 77 65 72 0d 0a 09 09 75 31 20 20 20 20 20 20 20 20 20 31 33 20 ┆message answer u1 13 ┆ 0x09240…09260 20 20 20 20 20 20 20 75 6e 63 68 0d 0a 09 09 75 32 20 20 20 20 20 20 20 20 20 20 37 20 20 20 20 ┆ unch u2 7 ┆ 0x09260…09280 20 20 20 72 65 73 75 6c 74 0d 0a 09 09 75 33 20 20 20 20 20 73 74 72 65 61 6d 5f 6e 6f 20 20 20 ┆ result u3 stream_no ┆ 0x09280…092a0 20 20 75 6e 63 68 0d 0a 09 09 75 34 20 20 20 20 20 20 20 20 20 20 31 20 20 20 20 20 20 73 65 6d ┆ unch u4 1 sem┆ 0x092a0…092c0 5f 69 6e 64 65 78 0d 0a 0d 0a 09 09 62 75 66 20 20 20 20 20 20 20 20 20 2d 20 20 20 20 20 20 20 ┆_index buf - ┆ 0x092c0…092e0 20 20 20 2d 0d 0a 0d 0a 09 a1 46 75 6e 63 74 69 6f 6e e1 3a 0d 0a 09 84 54 68 65 20 6d 65 73 73 ┆ - Function : The mess┆ 0x092e0…09300 61 67 65 20 69 73 20 75 73 65 64 20 62 79 20 74 68 65 20 64 74 65 5f 61 63 63 65 73 73 20 70 72 ┆age is used by the dte_access pr┆ 0x09300…09320 6f 63 65 73 73 20 74 6f 20 61 6c 6c 6f 63 61 74 65 2f 73 74 61 72 74 20 61 20 0a 19 89 80 80 64 ┆ocess to allocate/start a d┆ 0x09320…09340 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 20 69 6e 63 61 72 6e 61 74 69 6f 6e 20 66 6f 72 20 ┆te_chan process incarnation for ┆ 0x09340…09360 56 69 72 74 75 61 6c 20 43 61 6c 6c 20 53 65 74 2d 75 70 2e 20 42 65 6c 6f 77 20 74 68 65 20 0a ┆Virtual Call Set-up. Below the ┆ 0x09360…09380 19 89 80 80 64 74 65 5f 61 63 63 65 73 73 20 6d 65 73 73 61 67 65 20 68 65 61 64 65 72 20 69 73 ┆ dte_access message header is┆ 0x09380…093a0 20 61 20 75 73 65 72 20 64 74 65 5f 63 61 6c 6c 5f 72 65 71 20 73 74 61 63 6b 65 64 2e 20 54 68 ┆ a user dte_call_req stacked. Th┆ 0x093a0…093c0 65 20 6d 65 73 80 0a 19 89 80 80 73 61 67 65 20 68 65 61 64 65 72 20 69 73 20 72 65 74 75 72 6e ┆e mes sage header is return┆ 0x093c0…093e0 65 64 20 77 69 74 68 20 75 34 20 73 65 74 20 74 6f 20 74 68 65 20 69 6e 64 65 78 20 6f 66 20 74 ┆ed with u4 set to the index of t┆ 0x093e0…09400 68 65 20 61 73 73 6f 63 69 61 74 65 64 20 0a 19 89 80 80 64 74 65 5f 63 68 61 6e 20 69 6e 63 61 ┆he associated dte_chan inca┆ 0x09400…09420 (74,) 72 6e 61 74 69 6f 6e 27 73 20 6d 61 69 6e 20 73 65 6d 61 70 68 6f 72 65 2e 20 54 68 65 20 75 73 ┆rnation's main semaphore. The us┆ 0x09420…09440 65 72 20 64 74 65 5f 63 61 6c 6c 5f 72 65 71 20 69 73 20 0a 19 89 80 80 66 6f 72 77 61 72 64 65 ┆er dte_call_req is forwarde┆ 0x09440…09460 64 20 74 6f 20 74 68 65 20 64 74 65 5f 63 68 61 6e 20 69 6e 63 61 72 6e 61 74 69 6f 6e 27 73 20 ┆d to the dte_chan incarnation's ┆ 0x09460…09471 6d 61 69 6e 20 73 65 6d 61 70 68 6f 72 65 2e 0d 0a ┆main semaphore. ┆ 0x09471…09474 FormFeed { 0x09471…09474 0c 80 a9 ┆ ┆ 0x09471…09474 } 0x09474…09480 0a 09 a1 52 65 73 75 6c 74 e1 3a 0d ┆ Result : ┆ 0x09480…094a0 0a 09 6f 6b 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 30 29 3a 20 6f 6e 6c 79 20 68 65 ┆ ok (0): only he┆ 0x094a0…094c0 61 64 65 72 20 72 65 74 75 72 6e 65 64 2c 20 75 34 20 3d 20 73 65 6d 5f 69 6e 64 65 78 0d 0a 09 ┆ader returned, u4 = sem_index ┆ 0x094c0…094e0 62 75 73 79 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 32 29 3a 20 84 6e 6f 20 72 65 73 6f 75 ┆busy (2): no resou┆ 0x094e0…09500 72 63 65 73 20 69 6e 20 74 68 65 20 64 74 65 2c 20 65 69 74 68 65 72 20 6c 6f 67 69 63 61 6c 20 ┆rces in the dte, either logical ┆ 0x09500…09520 0a 19 a0 80 80 63 68 61 6e 6e 65 6c 73 20 6f 72 20 64 74 65 5f 63 68 61 6e 20 69 6e 63 61 72 6e ┆ channels or dte_chan incarn┆ 0x09520…09540 61 74 69 6f 6e 73 2e 20 53 74 61 63 6b 65 64 20 20 0a 19 a0 80 80 6d 65 73 73 61 67 65 20 72 65 ┆ations. Stacked message re┆ 0x09540…09560 74 75 72 6e 65 64 20 61 6e 64 20 75 34 20 69 73 20 75 6e 63 68 61 6e 67 65 64 2e 0d 0a 09 64 74 ┆turned and u4 is unchanged. dt┆ 0x09560…09580 65 5f 72 65 73 74 61 72 74 65 64 20 20 20 20 28 39 38 29 3a 20 84 74 68 65 20 44 54 45 20 68 61 ┆e_restarted (98): the DTE ha┆ 0x09580…095a0 73 20 62 65 65 6e 20 72 65 73 74 61 72 74 65 64 2e 20 53 74 61 63 6b 65 64 20 6d 65 73 73 61 67 ┆s been restarted. Stacked messag┆ 0x095a0…095c0 65 20 0a 19 a0 80 80 72 65 74 75 72 6e 65 64 20 61 6e 64 20 75 34 20 69 73 20 75 6e 63 68 61 6e ┆e returned and u4 is unchan┆ 0x095c0…095e0 67 65 64 2e 0d 0a 0d 0a 09 a1 b0 4d 65 73 73 61 67 65 20 6e 61 6d 65 e1 3a 20 20 20 20 64 69 61 ┆ged. Message name : dia┆ 0x095e0…09600 67 5f 72 65 63 76 0d 0a 0d 0a 09 a1 4d 65 73 73 61 67 65 20 66 6f 72 6d 61 74 e1 3a 0d 0a 09 09 ┆g_recv Message format : ┆ 0x09600…09620 (75,) 20 20 20 20 20 20 20 6d 65 73 73 61 67 65 09 61 6e 73 77 65 72 0d 0a 09 09 75 31 20 20 20 20 20 ┆ message answer u1 ┆ 0x09620…09640 20 20 32 32 38 20 20 20 20 20 20 20 20 20 75 6e 63 68 0d 0a 09 09 75 32 20 20 20 20 20 20 20 20 ┆ 228 unch u2 ┆ 0x09640…09660 20 37 20 20 20 20 20 20 20 20 72 65 73 75 6c 74 0d 0a 09 09 75 33 20 20 20 20 20 20 20 20 20 2d ┆ 7 result u3 -┆ 0x09660…09680 20 20 20 20 20 20 20 20 20 75 6e 63 68 0d 0a 09 09 75 34 20 20 20 20 20 20 20 20 20 32 20 20 20 ┆ unch u4 2 ┆ 0x09680…096a0 20 20 20 20 20 20 75 6e 63 68 0d 0a 0d 0a 09 09 62 75 66 20 20 20 64 69 61 67 5f 74 79 70 65 20 ┆ unch buf diag_type ┆ 0x096a0…096c0 20 20 20 20 20 75 6e 63 68 0d 0a 0d 0a 09 09 64 69 61 67 5f 74 79 70 65 20 3d 20 72 65 63 6f 72 ┆ unch diag_type = recor┆ 0x096c0…096e0 64 0d 0a 09 09 09 20 20 20 20 64 69 61 67 5f 63 6f 64 65 20 3a 20 62 79 74 65 3b 0d 0a 09 09 09 ┆d diag_code : byte; ┆ 0x096e0…09700 20 20 20 20 65 78 70 6c 20 20 20 20 20 20 3a 20 61 72 72 61 79 20 28 30 2e 2e 32 29 20 6f 66 20 ┆ expl : array (0..2) of ┆ 0x09700…09720 62 79 74 65 3b 0d 0a 09 09 09 20 20 65 6e 64 3b 0d 0a 0d 0a 09 a1 46 75 6e 63 74 69 6f 6e e1 3a ┆byte; end; Function :┆ 0x09720…09740 0d 0a 09 84 41 6e 20 58 2e 32 35 20 44 49 41 47 4e 4f 53 54 49 43 20 70 61 63 6b 65 74 20 68 61 ┆ An X.25 DIAGNOSTIC packet ha┆ 0x09740…09760 73 20 62 65 65 6e 20 72 65 63 65 69 76 65 64 20 62 79 20 74 68 65 20 64 74 65 5f 6c 63 6e 7a 65 ┆s been received by the dte_lcnze┆ 0x09760…09780 72 6f 20 0a 19 89 80 80 70 72 6f 80 63 65 73 73 2e 20 49 6e 66 6f 72 6d 61 74 69 6f 6e 20 61 62 ┆ro pro cess. Information ab┆ 0x09780…097a0 6f 75 74 20 74 68 69 73 20 65 76 65 6e 74 20 61 6e 64 20 74 68 65 20 64 61 74 61 20 66 69 65 6c ┆out this event and the data fiel┆ 0x097a0…097c0 64 20 69 73 20 66 6f 72 80 0a 19 89 80 80 77 61 72 64 65 64 20 74 6f 20 74 68 65 20 64 74 65 20 ┆d is for warded to the dte ┆ 0x097c0…097e0 70 72 6f 63 65 73 73 20 75 73 69 6e 67 20 74 68 69 73 20 6d 65 73 73 61 67 65 2e 0d 0a 0d 0a 09 ┆process using this message. ┆ 0x097e0…09800 84 54 68 65 20 64 74 65 20 67 65 6e 65 72 61 74 65 73 20 61 6e 20 4e 43 20 65 76 65 6e 74 2c 20 ┆ The dte generates an NC event, ┆ 0x09800…09820 (76,) 69 6e 63 72 65 6d 65 6e 74 73 20 61 20 73 74 61 74 69 73 74 69 63 20 63 6f 75 6e 74 65 72 20 61 ┆increments a statistic counter a┆ 0x09820…09840 6e 64 20 0a 19 89 80 80 72 65 74 75 72 6e 73 20 74 68 65 20 6d 65 73 73 61 67 65 2e 0d 0a 0d 0a ┆nd returns the message. ┆ 0x09840…09860 09 a1 52 65 73 75 6c 74 e1 3a 0d 0a 09 6f 6b 09 28 30 29 3a 20 6d 65 73 73 61 67 65 20 70 72 6f ┆ Result : ok (0): message pro┆ 0x09860…09873 63 65 73 73 65 64 20 70 72 6f 70 65 72 6c 79 0d 0a 0d 0a ┆cessed properly ┆ 0x09873…09876 FormFeed { 0x09873…09876 0c 80 a3 ┆ ┆ 0x09873…09876 } 0x09876…09880 0a b0 09 a1 4d 65 73 73 61 67 ┆ Messag┆ 0x09880…098a0 65 20 6e 61 6d 65 e1 20 20 3a 20 69 6e 74 5f 65 76 65 6e 74 0d 0a 0d 0a 09 a1 4d 65 73 73 61 67 ┆e name : int_event Messag┆ 0x098a0…098c0 65 20 66 6f 72 6d 61 74 e1 3a 0d 0a 09 09 20 20 20 20 20 20 6d 65 73 73 61 67 65 0d 0a 09 09 75 ┆e format : message u┆ 0x098c0…098e0 31 20 20 20 20 20 20 20 2d 0d 0a 09 09 75 32 20 20 20 20 20 20 20 2d 0d 0a 09 09 75 33 20 20 20 ┆1 - u2 - u3 ┆ 0x098e0…09900 20 20 20 20 2d 0d 0a 09 09 75 34 20 20 20 20 20 20 31 30 0d 0a 0d 0a 09 09 62 75 66 20 20 20 65 ┆ - u4 10 buf e┆ 0x09900…09920 76 65 6e 74 5f 72 65 63 0d 0a 0d 0a 09 09 65 76 65 6e 74 5f 72 65 63 20 20 20 20 3d 20 72 65 63 ┆vent_rec event_rec = rec┆ 0x09920…09940 6f 72 64 0d 0a 09 09 09 20 20 20 20 20 20 20 68 65 61 64 20 20 20 20 20 20 20 3a 20 65 76 5f 68 ┆ord head : ev_h┆ 0x09940…09960 65 61 64 3b 0d 0a 09 09 09 20 20 20 20 20 20 20 64 61 74 61 20 20 20 20 20 20 20 3a 20 65 76 65 ┆ead; data : eve┆ 0x09960…09980 6e 74 5f 64 61 74 61 3b 0d 0a 09 09 09 20 20 20 20 20 65 6e 64 3b 0d 0a 0d 0a 09 09 65 76 5f 68 ┆nt_data; end; ev_h┆ 0x09980…099a0 65 61 64 20 20 20 20 20 20 3d 20 72 65 63 6f 72 64 0d 0a 09 09 09 20 20 20 20 20 20 20 65 76 65 ┆ead = record eve┆ 0x099a0…099c0 6e 74 5f 74 79 70 65 20 3a 20 62 79 74 65 3b 0d 0a 09 09 09 20 20 20 20 20 20 20 62 79 74 65 63 ┆nt_type : byte; bytec┆ 0x099c0…099e0 6f 75 6e 74 20 20 3a 20 62 79 74 65 3b 0d 0a 09 09 09 20 20 20 20 20 65 6e 64 3b 0d 0a 0d 0a 09 ┆ount : byte; end; ┆ 0x099e0…09a00 09 65 76 65 6e 74 5f 64 61 74 61 20 20 20 3d 20 61 72 72 61 79 20 28 31 2e 2e 65 76 65 6e 74 5f ┆ event_data = array (1..event_┆ 0x09a00…09a20 (77,) 6c 65 6e 67 74 68 29 20 6f 66 20 62 79 74 65 3b 0d 0a 0d 0a 09 09 65 76 65 6e 74 5f 6c 65 6e 67 ┆length) of byte; event_leng┆ 0x09a20…09a40 74 68 20 3d 20 38 37 3b 0d 0a 0d 0a 09 a1 46 75 6e 63 74 69 6f 6e e1 3a 0d 0a 09 84 54 68 65 20 ┆th = 87; Function : The ┆ 0x09a40…09a60 6d 65 73 73 61 67 65 20 70 61 73 73 65 73 20 61 6e 20 65 76 65 6e 74 20 74 6f 20 74 68 65 20 64 ┆message passes an event to the d┆ 0x09a60…09a80 74 65 20 70 72 6f 63 65 73 73 2e 20 54 68 65 20 65 76 65 6e 74 20 69 73 20 66 6f 72 80 0a 19 89 ┆te process. The event is for ┆ 0x09a80…09aa0 80 80 77 61 72 64 65 64 20 74 6f 20 74 68 65 20 4e 43 50 20 28 70 6c 65 61 73 65 20 72 65 66 65 ┆ warded to the NCP (please refe┆ 0x09aa0…09ac0 72 20 74 6f 20 73 75 62 73 65 63 74 69 6f 6e 20 33 2e 31 2e 33 29 20 61 6e 64 20 74 68 65 20 6d ┆r to subsection 3.1.3) and the m┆ 0x09ac0…09ae0 65 73 80 0a 19 89 80 80 73 61 67 65 20 69 73 20 72 65 74 75 72 6e 65 64 20 74 6f 20 74 68 65 20 ┆es sage is returned to the ┆ 0x09ae0…09b00 69 6e 74 65 72 6e 61 6c 20 65 76 65 6e 74 20 70 6f 6f 6c 2e 20 54 68 69 73 20 65 76 65 6e 74 20 ┆internal event pool. This event ┆ 0x09b00…09b20 70 6f 6f 6c 20 69 73 20 0a 19 89 80 80 72 65 70 72 65 73 65 6e 74 65 64 20 62 79 20 74 68 65 20 ┆pool is represented by the ┆ 0x09b20…09b40 6d 6f 64 75 6c 65 20 67 6c 6f 62 61 6c 20 73 65 6d 61 70 68 6f 72 65 20 65 76 65 6e 74 5f 70 6f ┆module global semaphore event_po┆ 0x09b40…09b47 6f 6c 2e 0d 0a 0d 0a ┆ol. ┆ 0x09b47…09b4a FormFeed { 0x09b47…09b4a 0c 80 9f ┆ ┆ 0x09b47…09b4a } 0x09b4a…09b60 0a b0 09 a1 4d 65 73 73 61 67 65 20 6e 61 6d 65 e1 20 20 20 3a 20 ┆ Message name : ┆ 0x09b60…09b80 72 65 73 74 61 72 74 5f 65 6e 64 0d 0a 0d 0a 09 a1 4d 65 73 73 61 67 65 20 66 6f 72 6d 61 74 e1 ┆restart_end Message format ┆ 0x09b80…09ba0 20 3a 20 0d 0a 09 09 20 20 20 20 20 20 20 6d 65 73 73 61 67 65 09 61 6e 73 77 65 72 0d 0a 09 09 ┆ : message answer ┆ 0x09ba0…09bc0 75 31 20 20 20 20 20 20 20 32 34 38 20 20 20 20 20 20 20 20 20 75 6e 63 68 0d 0a 09 09 75 32 20 ┆u1 248 unch u2 ┆ 0x09bc0…09be0 20 20 63 6f 6e 6e 5f 73 65 71 5f 6e 6f 20 20 20 20 72 65 73 75 6c 74 0d 0a 09 09 75 33 20 20 20 ┆ conn_seq_no result u3 ┆ 0x09be0…09c00 20 20 20 72 65 61 73 6f 6e 20 20 20 20 20 20 20 75 6e 63 68 0d 0a 09 09 75 34 20 20 20 20 20 20 ┆ reason unch u4 ┆ 0x09c00…09c20 (78,) 20 20 20 32 20 20 20 20 20 20 20 20 20 75 6e 63 68 0d 0a 0d 0a 09 09 62 75 66 20 20 63 64 5f 62 ┆ 2 unch buf cd_b┆ 0x09c20…09c40 75 66 5f 74 79 70 65 09 20 75 6e 63 68 0d 0a 0d 0a 09 09 63 64 5f 62 75 66 5f 74 79 70 65 20 3d ┆uf_type unch cd_buf_type =┆ 0x09c40…09c60 20 20 72 65 63 6f 72 64 0d 0a 09 09 20 20 20 20 20 09 20 20 20 20 20 20 20 63 61 75 73 65 2c 0d ┆ record cause, ┆ 0x09c60…09c80 0a 09 09 09 20 20 20 20 20 20 20 64 69 61 67 5f 63 6f 64 65 20 3a 20 62 79 74 65 3b 0d 0a 09 09 ┆ diag_code : byte; ┆ 0x09c80…09ca0 09 20 20 20 20 20 65 6e 64 3b 0d 0a 0d 0a 09 a1 46 75 6e 63 74 69 6f 6e e1 3a 0d 0a 09 84 54 68 ┆ end; Function : Th┆ 0x09ca0…09cc0 65 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 20 70 72 6f 63 65 73 73 20 69 6e 64 69 63 61 74 65 73 20 ┆e dte_lcnzero process indicates ┆ 0x09cc0…09ce0 74 6f 20 74 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 20 74 68 61 74 20 61 20 72 65 80 0a 19 89 ┆to the dte process that a re ┆ 0x09ce0…09d00 80 80 73 74 61 72 74 20 70 68 61 73 65 20 69 73 20 65 6e 64 65 64 2c 20 6f 72 20 61 20 74 69 6d ┆ start phase is ended, or a tim┆ 0x09d00…09d20 65 6f 75 74 20 28 44 54 45 20 77 61 69 74 69 6e 67 20 72 65 73 74 61 72 74 20 63 6f 6e 66 69 72 ┆eout (DTE waiting restart confir┆ 0x09d20…09d40 6d 61 80 0a 19 89 80 80 74 69 6f 6e 29 20 68 61 73 20 6f 63 63 75 72 65 64 2e 0d 0a 0d 0a 09 84 ┆ma tion) has occured. ┆ 0x09d40…09d60 63 6f 6e 6e 5f 73 65 71 5f 6e 6f 20 69 73 20 74 68 65 20 6c 61 73 74 20 72 65 63 65 69 76 65 64 ┆conn_seq_no is the last received┆ 0x09d60…09d80 20 28 62 79 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 29 20 63 6f 6e 6e 65 63 74 69 6f 6e 20 0a 19 89 ┆ (by dte_lcnzero) connection ┆ 0x09d80…09da0 80 80 73 65 71 75 65 6e 63 65 20 6e 75 6d 62 65 72 2e 0d 0a 0d 0a 09 84 72 65 61 73 6f 6e 20 69 ┆ sequence number. reason i┆ 0x09da0…09dc0 6e 64 69 63 61 74 65 73 20 74 68 65 20 65 76 65 6e 74 20 74 68 61 74 20 63 61 75 73 65 73 20 74 ┆ndicates the event that causes t┆ 0x09dc0…09de0 68 65 20 73 75 62 6d 69 73 73 69 6f 6e 20 6f 66 20 74 68 65 20 0a 19 89 80 80 6d 65 73 73 61 67 ┆he submission of the messag┆ 0x09de0…09e00 65 3a 0d 0a 0d 0a 09 20 20 20 20 20 20 20 20 30 20 3a 20 20 44 54 45 20 69 73 20 74 68 65 20 69 ┆e: 0 : DTE is the i┆ 0x09e00…09e20 (79,) 6e 69 74 69 61 74 6f 72 20 6f 66 20 74 68 65 20 72 65 73 74 61 72 74 20 70 68 61 73 65 0d 0a 09 ┆nitiator of the restart phase ┆ 0x09e20…09e40 20 20 20 20 20 20 20 20 31 20 3a 20 20 44 43 45 20 69 73 20 74 68 65 20 69 6e 69 74 69 61 74 6f ┆ 1 : DCE is the initiato┆ 0x09e40…09e60 72 0d 0a 09 20 20 20 20 20 20 20 31 30 20 3a 20 20 61 20 72 65 73 74 61 72 74 20 74 69 6d 65 6f ┆r 10 : a restart timeo┆ 0x09e60…09e80 75 74 20 68 61 73 20 6f 63 63 75 72 65 64 0d 0a 0d 0a 09 a1 52 65 73 75 6c 74 e1 3a 0d 0a 09 6f ┆ut has occured Result : o┆ 0x09e80…09ea0 6b 20 20 20 20 28 30 29 20 3a 20 6d 65 73 73 61 67 65 20 70 72 6f 63 65 73 73 65 64 20 70 72 6f ┆k (0) : message processed pro┆ 0x09ea0…09ea7 70 65 72 6c 79 0d 0a ┆perly ┆ 0x09ea7…09eaa FormFeed { 0x09ea7…09eaa 0c 80 a1 ┆ ┆ 0x09ea7…09eaa } 0x09eaa…09ec0 0a 09 a1 b0 4d 65 73 73 61 67 65 20 6e 61 6d 65 e1 20 20 20 3a 20 ┆ Message name : ┆ 0x09ec0…09ee0 62 72 65 61 6b 5f 6d 65 73 73 0d 0a 0d 0a 09 a1 4d 65 73 73 61 67 65 20 66 6f 72 6d 61 74 e1 20 ┆break_mess Message format ┆ 0x09ee0…09f00 3a 20 0d 0a 09 09 20 20 20 20 20 20 20 6d 65 73 73 61 67 65 0d 0a 09 09 75 31 20 20 20 20 20 20 ┆: message u1 ┆ 0x09f00…09f20 20 20 2d 0d 0a 09 09 75 32 20 20 20 20 20 20 20 20 2d 0d 0a 09 09 75 33 20 20 20 20 20 20 20 20 ┆ - u2 - u3 ┆ 0x09f20…09f40 2d 0d 0a 09 09 75 34 20 20 20 20 20 20 20 31 35 0d 0a 0d 0a 09 09 62 75 66 20 20 20 20 62 72 65 ┆- u4 15 buf bre┆ 0x09f40…09f60 61 6b 5f 74 79 70 65 0d 0a 0d 0a 09 09 62 72 65 61 6b 5f 74 79 70 65 20 3d 20 72 65 63 6f 72 64 ┆ak_type break_type = record┆ 0x09f60…09f80 0d 0a 09 09 09 20 20 20 20 20 6e 61 6d 65 20 20 20 20 20 20 20 3a 20 61 6c 66 61 3b 0d 0a 09 09 ┆ name : alfa; ┆ 0x09f80…09fa0 09 20 20 20 20 20 62 72 65 61 6b 5f 63 6f 64 65 20 3a 20 69 6e 74 65 67 65 72 3b 0d 0a 09 09 09 ┆ break_code : integer; ┆ 0x09fa0…09fc0 20 20 20 20 20 76 65 72 73 20 20 20 20 20 20 20 3a 20 62 79 74 65 3b 0d 0a 09 09 09 20 20 20 65 ┆ vers : byte; e┆ 0x09fc0…09fe0 6e 64 3b 0d 0a 0d 0a 09 a1 46 75 6e 63 74 69 6f 6e e1 3a 0d 0a 09 84 41 20 63 68 69 6c 64 20 70 ┆nd; Function : A child p┆ 0x09fe0…0a000 72 6f 63 65 73 73 20 28 64 74 65 5f 63 68 61 6e 2c 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 2c 20 64 ┆rocess (dte_chan, dte_lcnzero, d┆ 0x0a000…0a020 (80,) 74 65 74 72 61 63 65 29 20 68 61 73 20 65 6e 74 65 72 65 64 20 69 74 73 20 0a 19 89 80 80 65 78 ┆tetrace) has entered its ex┆ 0x0a020…0a040 63 65 70 74 69 6f 6e 20 70 72 6f 63 65 64 75 72 65 20 61 6e 64 20 69 6e 64 69 63 61 74 65 73 20 ┆ception procedure and indicates ┆ 0x0a040…0a060 74 68 69 73 20 74 6f 20 74 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 20 62 79 20 0a 19 89 80 80 ┆this to the dte process by ┆ 0x0a060…0a080 73 65 6e 64 69 6e 67 20 74 68 69 73 20 6d 65 73 73 61 67 65 2e 20 6e 61 6d 65 20 69 73 20 74 68 ┆sending this message. name is th┆ 0x0a080…0a0a0 65 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 66 61 69 6c 69 6e 67 20 70 72 6f 63 65 73 73 20 0a 19 ┆e name of the failing process ┆ 0x0a0a0…0a0c0 89 80 80 61 6e 64 20 76 65 72 73 20 69 73 20 74 68 65 20 76 65 72 73 69 6f 6e 20 69 64 65 6e 74 ┆ and vers is the version ident┆ 0x0a0c0…0a0e0 69 66 69 63 61 74 69 6f 6e 20 69 66 20 61 6e 79 2e 20 42 72 65 61 6b 5f 63 6f 64 65 20 69 73 20 ┆ification if any. Break_code is ┆ 0x0a0e0…0a100 74 68 65 20 0a 19 89 80 80 74 79 70 65 20 6f 66 20 65 78 63 65 70 74 69 6f 6e 2c 20 65 78 63 65 ┆the type of exception, exce┆ 0x0a100…0a120 70 74 20 74 68 65 20 76 61 6c 75 65 20 39 30 20 77 68 69 63 68 20 69 73 20 75 73 65 64 20 74 6f ┆pt the value 90 which is used to┆ 0x0a120…0a140 20 62 72 65 61 6b 20 61 20 0a 19 89 80 80 70 72 6f 63 65 73 73 20 69 6e 20 6f 72 64 65 72 20 74 ┆ break a process in order t┆ 0x0a140…0a160 6f 20 67 65 74 20 74 68 65 20 6c 61 73 74 20 67 65 6e 65 72 61 74 65 64 20 74 65 73 74 6f 75 74 ┆o get the last generated testout┆ 0x0a160…0a180 70 75 74 2e 20 49 6e 20 74 68 65 20 6c 61 74 80 0a 19 89 80 80 74 65 72 20 63 61 73 65 20 74 68 ┆put. In the lat ter case th┆ 0x0a180…0a1a0 65 20 6d 65 73 73 61 67 65 20 69 73 20 73 65 6e 74 20 66 72 6f 6d 20 74 68 65 20 64 74 65 74 65 ┆e message is sent from the dtete┆ 0x0a1a0…0a1c0 73 74 20 70 72 6f 63 65 73 73 2e 20 49 66 20 74 68 65 20 6d 65 73 80 0a 19 89 80 80 73 61 67 65 ┆st process. If the mes sage┆ 0x0a1c0…0a1e0 20 69 73 20 72 65 63 65 69 76 65 64 20 66 72 6f 6d 20 74 68 65 20 64 74 65 5f 63 68 61 6e 20 70 ┆ is received from the dte_chan p┆ 0x0a1e0…0a200 72 6f 63 65 73 73 20 61 20 b0 73 79 6e 63 5f 6d 65 73 73 f0 20 28 73 75 62 73 65 63 80 74 69 6f ┆rocess a sync_mess (subsec tio┆ 0x0a200…0a220 (81,) 6e 20 0a 19 89 81 80 33 2e 32 2e 35 2e 31 29 20 6d 61 79 20 62 65 20 73 74 61 63 6b 65 64 20 62 ┆n 3.2.5.1) may be stacked b┆ 0x0a220…0a240 65 6c 6f 77 2e 0d 0a 20 0d 0a 09 84 54 68 65 20 6d 65 73 73 61 67 65 20 69 73 20 72 65 74 75 72 ┆elow. The message is retur┆ 0x0a240…0a260 6e 65 64 20 74 6f 20 74 68 65 20 64 74 65 20 67 6c 6f 62 61 6c 20 6b 6e 6f 77 6e 20 73 65 6d 61 ┆ned to the dte global known sema┆ 0x0a260…0a278 70 68 6f 72 65 20 0a 19 89 80 80 62 72 65 61 6b 73 65 6d 2e 0d 0a 0d 0a ┆phore breaksem. ┆ 0x0a278…0a27b FormFeed { 0x0a278…0a27b 0c 80 9f ┆ ┆ 0x0a278…0a27b } 0x0a27b…0a280 0a b0 09 a1 4d ┆ M┆ 0x0a280…0a2a0 65 73 73 61 67 65 20 6e 61 6d 65 e1 20 20 20 3a 20 78 32 35 5f 69 6e 70 75 74 0d 0a 0d 0a 09 a1 ┆essage name : x25_input ┆ 0x0a2a0…0a2c0 4d 65 73 73 61 67 65 20 66 6f 72 6d 61 74 e1 20 3a 20 0d 0a 09 09 20 20 20 20 20 20 20 72 65 63 ┆Message format : rec┆ 0x0a2c0…0a2e0 65 69 76 65 64 20 61 6e 73 77 65 72 0d 0a 09 09 75 31 20 20 20 20 20 20 20 20 20 20 20 20 31 0d ┆eived answer u1 1 ┆ 0x0a2e0…0a300 0a 09 09 75 32 20 20 20 20 20 20 20 20 20 20 20 20 30 0d 0a 09 09 75 33 20 20 20 20 20 20 20 20 ┆ u2 0 u3 ┆ 0x0a300…0a320 20 20 20 20 2d 0d 0a 09 09 75 34 20 20 20 20 20 20 20 20 20 20 20 20 36 0d 0a 0d 0a 09 09 62 75 ┆ - u4 6 bu┆ 0x0a320…0a340 66 20 20 20 20 20 78 32 35 5f 62 75 66 5f 74 79 70 65 0d 0a 0d 0a 09 09 78 32 35 5f 62 75 66 5f ┆f x25_buf_type x25_buf_┆ 0x0a340…0a360 74 79 70 65 20 3d 20 72 65 63 6f 72 64 0d 0a 09 09 09 20 20 20 20 20 20 20 66 69 72 73 74 2c 6c ┆type = record first,l┆ 0x0a360…0a380 61 73 74 2c 6e 65 78 74 3a 20 69 6e 74 65 67 65 72 3b 0d 0a 09 09 09 20 20 20 20 20 20 20 68 65 ┆ast,next: integer; he┆ 0x0a380…0a3a0 61 64 20 20 20 20 20 20 20 20 20 20 20 3a 20 78 32 35 5f 68 65 61 64 3b 0d 0a 09 09 09 20 20 20 ┆ad : x25_head; ┆ 0x0a3a0…0a3c0 20 20 20 20 64 61 74 61 20 20 20 20 20 20 20 20 20 20 20 3a 20 61 72 72 61 79 20 28 66 69 72 73 ┆ data : array (firs┆ 0x0a3c0…0a3e0 74 2b 33 2e 2e 6c 61 73 74 29 3b 0d 0a 09 09 09 20 20 20 20 20 65 6e 64 3b 0d 0a 0d 0a 09 09 78 ┆t+3..last); end; x┆ 0x0a3e0…0a400 32 35 5f 68 65 61 64 20 20 20 20 20 3d 20 70 61 63 6b 65 64 20 72 65 63 6f 72 64 0d 0a 09 09 09 ┆25_head = packed record ┆ 0x0a400…0a420 (82,) 20 20 20 20 20 20 20 71 5f 62 69 74 2c 0d 0a 09 09 09 20 20 20 20 20 20 20 64 5f 62 69 74 2c 0d ┆ q_bit, d_bit, ┆ 0x0a420…0a440 0a 09 09 09 20 20 20 20 20 20 20 6d 31 32 38 2c 0d 0a 09 09 09 20 20 20 20 20 20 20 6d 38 20 20 ┆ m128, m8 ┆ 0x0a440…0a460 20 20 20 20 20 20 20 20 20 20 20 20 3a 20 62 69 74 3b 0d 0a 09 09 09 20 20 20 20 20 20 20 6c 63 ┆ : bit; lc┆ 0x0a460…0a480 67 6e 20 20 20 20 20 20 20 20 20 20 20 20 3a 20 62 69 74 34 3b 0d 0a 09 09 09 20 20 20 20 20 20 ┆gn : bit4; ┆ 0x0a480…0a4a0 20 6c 63 6e 20 09 20 20 20 3a 20 62 79 74 65 3b 0d 0a 09 09 09 20 20 20 20 20 20 20 70 61 63 6b ┆ lcn : byte; pack┆ 0x0a4a0…0a4c0 65 74 5f 69 64 09 20 20 20 3a 20 62 79 74 65 3b 0d 0a 09 09 09 20 20 20 20 20 65 6e 64 3b 0d 0a ┆et_id : byte; end; ┆ 0x0a4c0…0a4e0 0d 0a 09 a1 46 75 6e 63 74 69 6f 6e e1 3a 0d 0a 09 84 54 68 65 20 62 75 66 66 65 72 20 69 73 20 ┆ Function : The buffer is ┆ 0x0a4e0…0a500 72 65 63 65 69 76 65 64 20 66 72 6f 6d 20 74 68 65 20 64 74 65 5f 68 72 65 63 20 70 72 6f 63 65 ┆received from the dte_hrec proce┆ 0x0a500…0a520 73 73 2e 20 49 74 20 63 6f 6e 74 61 69 6e 73 20 61 20 0a 19 89 80 80 72 65 63 65 69 76 65 64 20 ┆ss. It contains a received ┆ 0x0a520…0a540 58 2e 32 35 20 70 61 63 6b 65 74 20 6f 6e 20 61 20 6c 6f 67 69 63 61 6c 20 63 68 61 6e 6e 65 6c ┆X.25 packet on a logical channel┆ 0x0a540…0a560 2c 20 77 68 69 63 68 20 6e 6f 74 20 79 65 74 20 68 61 73 20 62 65 65 6e 20 0a 19 89 80 80 73 65 ┆, which not yet has been se┆ 0x0a560…0a580 74 20 75 70 2e 20 54 68 65 20 70 61 63 6b 65 74 20 74 79 70 65 20 69 73 20 69 64 65 6e 74 69 66 ┆t up. The packet type is identif┆ 0x0a580…0a5a0 69 65 64 20 61 6e 64 20 69 66 20 69 74 20 69 73 20 61 6e 20 49 4e 43 4f 4d 49 4e 47 20 0a 19 89 ┆ied and if it is an INCOMING ┆ 0x0a5a0…0a5c0 80 80 43 41 4c 4c 20 61 20 43 61 6c 6c 20 53 65 74 2d 75 70 20 70 68 61 73 65 20 69 73 20 65 6e ┆ CALL a Call Set-up phase is en┆ 0x0a5c0…0a5e0 74 65 72 65 64 2e 20 41 6c 6c 20 6f 74 68 65 72 20 70 61 63 6b 65 74 73 20 61 72 65 20 66 6f 72 ┆tered. All other packets are for┆ 0x0a5e0…0a600 80 0a 19 89 80 80 77 61 72 64 65 64 20 74 6f 20 74 68 65 20 61 73 73 6f 63 69 61 74 65 64 20 64 ┆ warded to the associated d┆ 0x0a600…0a620 (83,) 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 20 69 6e 63 61 72 6e 61 74 69 6f 6e 2c 20 61 6e 64 ┆te_chan process incarnation, and┆ 0x0a620…0a640 20 69 6e 20 63 61 73 65 20 0a 19 89 80 80 74 68 65 20 63 68 61 6e 6e 65 6c 20 69 73 20 6e 6f 74 ┆ in case the channel is not┆ 0x0a640…0a660 20 73 65 74 20 75 70 20 74 68 65 20 64 74 65 20 65 69 74 68 65 72 20 63 6c 65 61 72 73 20 74 68 ┆ set up the dte either clears th┆ 0x0a660…0a680 65 20 63 68 61 6e 6e 65 6c 20 6f 72 20 0a 19 89 80 80 64 69 73 80 63 61 72 64 73 20 74 68 65 20 ┆e channel or dis cards the ┆ 0x0a680…0a68d 70 61 63 6b 65 74 2e 0d 0a 0d 0a 0d 0a ┆packet. ┆ 0x0a68d…0a690 FormFeed { 0x0a68d…0a690 0c 80 a5 ┆ ┆ 0x0a68d…0a690 } 0x0a690…0a6a0 0a a1 33 2e 32 2e 31 2e 32 09 4d 65 73 73 61 67 ┆ 3.2.1.2 Messag┆ 0x0a6a0…0a6c0 65 73 20 73 65 6e 74 0d 0a 0d 0a 09 84 54 68 65 20 6e 65 78 74 20 74 68 72 65 65 20 6d 65 73 73 ┆es sent The next three mess┆ 0x0a6c0…0a6e0 61 67 65 73 20 61 72 65 20 62 6f 74 68 20 73 65 6e 74 20 61 6e 64 20 72 65 63 65 69 76 65 64 20 ┆ages are both sent and received ┆ 0x0a6e0…0a700 62 79 20 74 68 65 20 64 74 65 20 0a 19 89 80 80 70 72 6f 63 65 73 73 2e 20 49 74 20 69 73 20 69 ┆by the dte process. It is i┆ 0x0a700…0a720 6e 74 65 72 6e 61 6c 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 6f 72 20 65 78 74 65 72 6e 61 ┆nternal communication or externa┆ 0x0a720…0a740 6c 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 0a 19 89 80 80 6e 6f 74 20 64 65 73 63 72 69 62 ┆l communication not describ┆ 0x0a740…0a760 65 64 20 69 6e 20 73 65 63 74 69 6f 6e 20 33 2e 31 2e 0d 0a 0d 0a b0 09 a1 4d 65 73 73 61 67 65 ┆ed in section 3.1. Message┆ 0x0a760…0a780 20 6e 61 6d 65 e1 20 20 20 3a 20 74 72 61 63 65 5f 73 79 6e 63 0d 0a 0d 0a 09 a1 4d 65 73 73 61 ┆ name : trace_sync Messa┆ 0x0a780…0a7a0 67 65 20 66 6f 72 6d 61 74 a1 e1 20 3a 20 0d 0a 09 09 20 20 20 20 20 20 20 6d 65 73 73 61 67 65 ┆ge format : message┆ 0x0a7a0…0a7c0 20 73 65 6e 74 09 20 20 20 61 6e 73 77 65 72 20 72 65 63 76 2e 0d 0a 09 09 75 31 20 20 20 20 20 ┆ sent answer recv. u1 ┆ 0x0a7c0…0a7e0 20 20 20 20 20 32 35 35 20 20 20 20 20 20 20 20 20 20 20 20 75 6e 63 68 0d 0a 09 09 75 32 20 20 ┆ 255 unch u2 ┆ 0x0a7e0…0a800 20 20 20 20 20 20 20 20 20 2d 20 20 20 20 20 20 20 20 20 20 20 20 20 75 6e 63 68 0d 0a 09 09 75 ┆ - unch u┆ 0x0a800…0a820 (84,) 33 20 20 20 20 20 20 20 20 20 20 20 2d 09 20 20 20 20 20 20 20 75 6e 63 68 0d 0a 09 09 75 34 20 ┆3 - unch u4 ┆ 0x0a820…0a840 20 20 20 20 20 20 20 20 20 20 2d 20 20 20 09 20 20 20 20 20 20 20 75 6e 63 68 0d 0a 0d 0a 09 09 ┆ - unch ┆ 0x0a840…0a860 62 75 66 20 20 20 20 20 20 20 20 20 20 2d 09 20 20 20 20 20 20 20 75 6e 63 68 0d 0a 0d 0a 09 a1 ┆buf - unch ┆ 0x0a860…0a880 46 75 6e 63 74 69 6f 6e e1 3a 0d 0a 09 84 54 68 65 20 6d 65 73 73 61 67 65 20 69 73 20 73 65 6e ┆Function : The message is sen┆ 0x0a880…0a8a0 74 20 74 6f 20 74 68 65 20 6f 75 74 74 72 61 63 65 20 70 72 6f 63 65 73 73 20 74 6f 20 73 79 6e ┆t to the outtrace process to syn┆ 0x0a8a0…0a8c0 63 68 72 6f 6e 69 7a 65 20 74 68 65 20 0a 19 89 80 80 74 77 6f 20 70 72 6f 63 65 73 73 65 73 20 ┆chronize the two processes ┆ 0x0a8c0…0a8e0 69 6e 20 63 61 73 65 20 74 68 65 20 54 72 61 63 65 20 53 79 73 74 65 6d 20 68 61 73 20 74 6f 20 ┆in case the Trace System has to ┆ 0x0a8e0…0a900 62 65 20 72 65 6d 6f 76 65 64 2e 0d 0a 0d 0a b0 09 a1 4d 65 73 73 61 67 65 20 6e 61 6d 65 e1 20 ┆be removed. Message name ┆ 0x0a900…0a920 20 20 3a 20 67 65 74 5f 63 6c 6f 63 6b 0d 0a 0d 0a 09 a1 4d 65 73 73 61 67 65 20 66 6f 72 6d 61 ┆ : get_clock Message forma┆ 0x0a920…0a940 74 e1 20 3a 20 0d 0a 09 09 20 20 20 20 20 20 20 6d 65 73 73 61 67 65 20 73 65 6e 74 20 20 20 20 ┆t : message sent ┆ 0x0a940…0a960 61 6e 73 77 65 72 20 72 65 63 76 2e 0d 0a 09 09 75 31 09 20 20 20 31 09 20 20 20 20 20 20 20 75 ┆answer recv. u1 1 u┆ 0x0a960…0a980 6e 63 68 0d 0a 09 09 75 32 09 20 20 20 2d 09 20 20 20 20 20 20 20 20 20 30 0d 0a 09 09 75 33 20 ┆nch u2 - 0 u3 ┆ 0x0a980…0a9a0 20 20 20 20 20 20 20 20 20 20 2d 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 30 0d 0a 09 09 75 ┆ - 0 u┆ 0x0a9a0…0a9c0 34 20 20 20 20 20 20 20 20 20 20 20 2d 20 20 20 20 20 20 20 20 20 20 20 20 20 75 6e 63 68 0d 0a ┆4 - unch ┆ 0x0a9c0…0a9e0 0d 0a 09 09 62 75 66 09 20 20 20 2d 20 20 20 20 20 20 20 20 20 20 64 65 6c 61 79 74 79 70 65 0d ┆ buf - delaytype ┆ 0x0a9e0…0a9e3 0a 0d 0a ┆ ┆ 0x0a9e3…0a9e6 FormFeed { 0x0a9e3…0a9e6 0c 80 a0 ┆ ┆ 0x0a9e3…0a9e6 } 0x0a9e6…0aa00 0a 09 09 64 65 6c 61 79 74 79 70 65 20 3d 20 72 65 63 6f 72 64 0d 0a 09 09 09 ┆ delaytype = record ┆ 0x0aa00…0aa20 (85,) 20 20 20 20 70 72 65 76 5f 64 61 74 65 20 3a 20 63 6f 64 65 64 5f 64 61 74 65 3b 0d 0a 09 09 09 ┆ prev_date : coded_date; ┆ 0x0aa20…0aa40 20 20 20 20 70 72 65 76 5f 74 69 6d 65 20 3a 20 63 6f 64 65 64 5f 74 69 6d 65 3b 0d 0a 09 09 09 ┆ prev_time : coded_time; ┆ 0x0aa40…0aa60 20 20 20 20 70 72 65 76 5f 73 65 63 73 20 3a 20 63 6f 64 65 64 5f 73 65 63 73 3b 0d 0a 09 09 09 ┆ prev_secs : coded_secs; ┆ 0x0aa60…0aa80 20 20 20 20 69 6e 63 20 20 20 20 20 20 20 3a 20 70 61 63 6b 65 64 20 72 65 63 6f 72 64 0d 0a 09 ┆ inc : packed record ┆ 0x0aa80…0aaa0 09 09 09 20 20 20 20 20 20 20 20 64 61 79 73 20 20 3a 20 30 2e 2e 36 33 3b 0d 0a 09 09 09 09 20 ┆ days : 0..63; ┆ 0x0aaa0…0aac0 20 20 20 20 20 20 20 68 6f 75 72 73 20 3a 20 30 2e 2e 33 31 3b 0d 0a 09 09 09 09 20 20 20 20 20 ┆ hours : 0..31; ┆ 0x0aac0…0aae0 20 20 20 6d 69 6e 73 20 20 3a 20 30 2e 2e 36 33 3b 0d 0a 09 09 09 09 20 20 20 20 20 20 20 20 73 ┆ mins : 0..63; s┆ 0x0aae0…0ab00 65 63 73 20 20 3a 20 30 2e 2e 36 33 3b 0d 0a 09 09 09 09 20 20 20 20 20 20 20 20 6d 73 65 63 73 ┆ecs : 0..63; msecs┆ 0x0ab00…0ab20 20 3a 20 30 2e 2e 31 30 32 33 3b 0d 0a 09 09 09 09 20 20 20 20 20 20 65 6e 64 3b 0d 0a 09 09 09 ┆ : 0..1023; end; ┆ 0x0ab20…0ab40 20 20 65 6e 64 3b 0d 0a 0d 0a 09 84 54 68 65 20 74 79 70 65 20 64 65 66 69 6e 69 74 69 6f 6e 20 ┆ end; The type definition ┆ 0x0ab40…0ab60 6f 66 20 63 6f 64 65 64 5f 64 61 74 65 2c 20 63 6f 64 65 64 5f 74 69 6d 65 2c 20 61 6e 64 20 63 ┆of coded_date, coded_time, and c┆ 0x0ab60…0ab80 6f 64 65 64 5f 73 65 63 73 20 6d 61 79 20 0a 19 89 80 80 62 65 20 66 6f 75 6e 64 20 69 6e 20 74 ┆oded_secs may be found in t┆ 0x0ab80…0aba0 68 65 20 52 54 50 20 73 74 61 6e 64 61 72 64 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 2e 0d 0a 0d 0a ┆he RTP standard environment. ┆ 0x0aba0…0abc0 09 a1 46 75 6e 63 74 69 6f 6e e1 3a 0d 0a 09 84 54 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 20 ┆ Function : The dte process ┆ 0x0abc0…0abe0 72 65 71 75 65 73 74 73 20 74 68 65 20 74 69 6d 65 72 20 70 72 6f 63 65 73 73 20 74 6f 20 72 65 ┆requests the timer process to re┆ 0x0abe0…0ac00 74 75 72 6e 20 74 68 65 20 64 61 74 65 20 61 6e 64 20 0a 19 89 80 80 74 69 6d 65 2e 20 54 68 65 ┆turn the date and time. The┆ 0x0ac00…0ac20 (86,) 73 65 20 61 72 65 20 75 73 65 64 20 61 73 20 74 69 6d 65 20 73 74 61 6d 70 20 6f 6e 20 63 6f 6e ┆se are used as time stamp on con┆ 0x0ac20…0ac40 73 6f 6c 65 20 6f 75 74 70 75 74 2e 0a 0d 0a 0d 0a b0 09 a1 4d 65 73 73 61 67 65 20 6e 61 6d 65 ┆sole output. Message name┆ 0x0ac40…0ac60 e2 e1 20 20 20 3a 20 73 68 6f 72 74 5f 64 65 6c 61 79 0d 0a 0d 0a 09 a1 4d 65 73 73 61 67 65 20 ┆ : short_delay Message ┆ 0x0ac60…0ac80 66 6f 72 6d 61 74 e1 20 3a 0d 0a 09 09 20 20 20 20 20 20 20 6d 65 73 73 61 67 65 20 73 65 6e 74 ┆format : message sent┆ 0x0ac80…0aca0 20 20 20 20 20 61 6e 73 77 65 72 20 72 65 63 76 2e 0d 0a 09 09 75 31 20 20 20 20 20 20 20 20 20 ┆ answer recv. u1 ┆ 0x0aca0…0acc0 20 20 35 20 20 20 20 20 20 20 20 20 20 20 20 20 20 75 6e 63 68 0d 0a 09 09 75 32 20 20 20 20 20 ┆ 5 unch u2 ┆ 0x0acc0…0ace0 20 20 20 20 20 36 30 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 73 75 6c 74 0d 0a 09 09 75 33 ┆ 60 result u3┆ 0x0ace0…0ad00 20 20 20 20 20 20 20 20 20 20 31 30 09 20 20 20 20 20 20 20 20 20 20 30 0d 0a 09 09 75 34 20 20 ┆ 10 0 u4 ┆ 0x0ad00…0ad20 20 20 20 20 20 20 20 20 20 35 09 20 20 20 20 20 20 20 20 75 6e 63 68 0d 0a 0d 0a 09 09 62 75 66 ┆ 5 unch buf┆ 0x0ad20…0ad40 09 20 20 20 2d 09 20 20 20 20 20 20 20 20 75 6e 63 68 0d 0a 0d 0a 09 a1 46 75 6e 63 74 69 6f 6e ┆ - unch Function┆ 0x0ad40…0ad60 e1 3a 0d 0a 09 84 54 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 20 72 65 71 75 65 73 74 73 20 74 ┆ : The dte process requests t┆ 0x0ad60…0ad80 68 65 20 74 69 6d 65 72 20 70 72 6f 63 65 73 73 20 74 6f 20 72 65 74 75 72 6e 20 74 68 65 20 6d ┆he timer process to return the m┆ 0x0ad80…0ada0 65 73 73 61 67 65 20 0a 19 89 80 80 61 66 74 65 72 20 36 30 20 2a 20 32 20 2a 2a 20 31 30 20 6d ┆essage after 60 * 2 ** 10 m┆ 0x0ada0…0adc0 73 65 63 73 2e 20 28 3d 20 36 31 2c 34 34 20 73 65 63 73 29 2e 20 54 68 65 20 72 65 73 75 6c 74 ┆secs. (= 61,44 secs). The result┆ 0x0adc0…0ade0 20 6d 61 79 20 65 69 74 68 65 72 20 62 65 20 0a 19 89 80 80 6f 6b 20 6f 72 20 72 65 67 72 65 74 ┆ may either be ok or regret┆ 0x0ade0…0ae00 74 65 64 2c 20 62 75 74 20 74 68 65 20 64 74 65 20 64 6f 65 73 20 6e 6f 74 20 72 65 67 72 65 74 ┆ted, but the dte does not regret┆ 0x0ae00…0ae20 (87,) 20 74 68 69 73 20 6d 65 73 73 61 67 65 2e 20 54 68 65 20 0a 19 89 80 80 74 69 6d 65 72 20 70 65 ┆ this message. The timer pe┆ 0x0ae20…0ae40 72 69 6f 64 65 20 69 73 20 75 73 65 64 20 69 6e 20 74 68 65 20 68 64 6c 63 20 63 6f 6e 6e 65 63 ┆riode is used in the hdlc connec┆ 0x0ae40…0ae60 74 69 6f 6e 20 61 6e 64 20 6d 6f 64 65 6d 20 73 69 67 6e 61 6c 73 20 73 65 74 20 0a 19 89 80 80 ┆tion and modem signals set ┆ 0x0ae60…0ae80 75 70 20 70 68 61 73 65 73 2c 20 74 6f 20 67 69 76 65 20 61 20 73 75 69 74 61 62 6c 65 20 70 65 ┆up phases, to give a suitable pe┆ 0x0ae80…0aea0 72 69 6f 64 65 20 62 65 74 77 65 65 6e 20 72 65 74 72 69 65 73 2e 0d 0a 0d 0a 09 a1 52 65 73 75 ┆riode between retries. Resu┆ 0x0aea0…0aec0 6c 74 e1 3a 0d 0a 09 84 6f 6b 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 30 29 20 3a 20 ┆lt : ok (0) : ┆ 0x0aec0…0aee0 6d 65 73 73 61 67 65 20 70 72 6f 63 65 73 73 65 64 20 70 72 6f 70 65 72 6c 79 0d 0a 09 73 79 73 ┆message processed properly sys┆ 0x0aee0…0af00 5f 6e 6f 74 5f 70 72 6f 63 65 73 73 65 64 20 28 31 29 20 3a 20 6d 65 73 73 61 67 65 20 72 65 67 ┆_not_processed (1) : message reg┆ 0x0af00…0af09 72 65 74 74 65 64 2e 0d 0a ┆retted. ┆ 0x0af09…0af0c FormFeed { 0x0af09…0af0c 0c 80 aa ┆ ┆ 0x0af09…0af0c } 0x0af0c…0af20 0a a1 a1 33 2e 32 2e 32 09 50 72 6f 63 65 73 73 20 64 74 65 ┆ 3.2.2 Process dte┆ 0x0af20…0af40 5f 61 63 63 65 73 73 0d 0a 0d 0a 09 84 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 69 6e 74 65 72 ┆_access The following inter┆ 0x0af40…0af60 6e 61 6c 20 6d 65 73 73 61 67 65 73 20 61 72 65 20 68 61 6e 64 6c 65 64 20 62 79 20 74 68 65 20 ┆nal messages are handled by the ┆ 0x0af60…0af7c 64 74 65 5f 61 63 63 65 73 73 20 0a 19 89 80 80 70 72 6f 63 65 73 73 2e 0d 0a 0d 0a ┆dte_access process. ┆ 0x0af7c…0afb5 Params { 0x0af7c…0afb5 04 00 2d 44 0c 00 06 00 00 00 00 02 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x0af7c…0afb5 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x0af7c…0afb5 } 0x0afb5…0afee Params { 0x0afb5…0afee 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x0afb5…0afee 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x0afb5…0afee } 0x0afee…0b000 0a 09 6e 61 6d 65 09 09 73 65 6e 64 69 6e 67 20 20 20 ┆ name sending ┆ 0x0b000…0b020 (88,) 20 20 20 20 20 20 20 20 72 65 63 65 69 76 69 6e 67 20 20 20 20 20 20 20 73 65 63 74 69 6f 6e 0d ┆ receiving section ┆ 0x0b020…0b040 0a 09 09 09 70 72 6f 63 65 73 73 09 20 20 20 20 20 20 20 20 70 72 6f 63 65 73 73 0d 0a 0d 0a 09 ┆ process process ┆ 0x0b040…0b060 63 6c 65 61 72 5f 65 76 65 6e 74 20 20 20 20 20 20 20 20 20 64 74 65 5f 63 68 61 6e 09 20 20 20 ┆clear_event dte_chan ┆ 0x0b060…0b080 20 20 20 20 20 64 74 65 5f 61 63 63 65 73 73 20 20 20 20 20 20 33 2e 32 2e 32 2e 31 0d 0a 09 69 ┆ dte_access 3.2.2.1 i┆ 0x0b080…0b0a0 6e 63 5f 63 61 6c 6c 20 20 20 20 20 20 20 20 20 20 20 20 64 74 65 5f 63 68 61 6e 09 20 20 20 20 ┆nc_call dte_chan ┆ 0x0b0a0…0b0c0 20 20 20 20 64 74 65 5f 61 63 63 65 73 73 20 20 20 20 20 20 33 2e 32 2e 32 2e 31 0d 0a 09 69 6e ┆ dte_access 3.2.2.1 in┆ 0x0b0c0…0b0e0 63 5f 73 5f 65 76 65 6e 74 09 64 74 65 5f 63 68 61 6e 20 20 20 20 20 20 20 20 20 20 64 74 65 5f ┆c_s_event dte_chan dte_┆ 0x0b0e0…0b100 61 63 63 65 73 73 20 20 20 20 20 20 33 2e 32 2e 32 2e 31 0d 0a 09 69 6e 63 5f 75 5f 65 76 65 6e ┆access 3.2.2.1 inc_u_even┆ 0x0b100…0b120 74 09 64 74 65 5f 63 68 61 6e 20 20 20 20 20 20 20 20 20 20 64 74 65 5f 61 63 63 65 73 73 20 20 ┆t dte_chan dte_access ┆ 0x0b120…0b140 20 20 20 20 33 2e 32 2e 32 2e 31 0d 0a 09 72 65 73 74 61 72 74 5f 65 6e 64 09 64 74 65 20 20 20 ┆ 3.2.2.1 restart_end dte ┆ 0x0b140…0b160 20 20 20 20 20 20 20 20 20 20 20 20 64 74 65 5f 61 63 63 65 73 73 20 20 20 20 20 20 33 2e 32 2e ┆ dte_access 3.2.┆ 0x0b160…0b180 32 2e 31 0d 0a 09 72 65 73 74 61 72 74 5f 73 74 61 72 74 20 20 20 20 20 20 20 64 74 65 09 20 20 ┆2.1 restart_start dte ┆ 0x0b180…0b1a0 20 20 20 20 20 20 64 74 65 5f 61 63 63 65 73 73 20 20 20 20 20 20 33 2e 32 2e 32 2e 31 0d 0a 09 ┆ dte_access 3.2.2.1 ┆ 0x0b1a0…0b1c0 73 74 72 65 61 6d 5f 63 6c 65 61 72 65 64 20 20 20 20 20 20 64 74 65 5f 63 68 61 6e 09 20 20 20 ┆stream_cleared dte_chan ┆ 0x0b1c0…0b1de 20 20 20 20 20 64 74 65 5f 61 63 63 65 73 73 20 20 20 20 20 20 33 2e 32 2e 32 2e 31 0d 0a ┆ dte_access 3.2.2.1 ┆ 0x0b1de…0b217 Params { 0x0b1de…0b217 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x0b1de…0b217 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x0b1de…0b217 } 0x0b217…0b250 Params { 0x0b217…0b250 04 00 2d 44 0c 00 06 00 00 00 00 02 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x0b217…0b250 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x0b217…0b250 } 0x0b250…0b260 0a 0d 0a 09 84 42 65 73 69 64 65 73 20 74 68 65 ┆ Besides the┆ 0x0b260…0b280 73 65 20 6d 65 73 73 61 67 65 73 20 74 68 65 20 64 74 65 5f 61 63 63 65 73 73 20 70 72 6f 63 65 ┆se messages the dte_access proce┆ 0x0b280…0b2a0 73 73 20 72 65 63 65 69 76 65 73 20 61 6c 6c 20 75 73 65 72 20 0a 19 89 80 80 6d 65 73 73 61 67 ┆ss receives all user messag┆ 0x0b2a0…0b2c0 65 73 20 28 72 65 66 2e 20 28 33 29 29 20 61 6e 64 20 65 69 74 68 65 72 20 72 65 61 63 74 73 20 ┆es (ref. (3)) and either reacts ┆ 0x0b2c0…0b2e0 6f 6e 20 74 68 65 73 65 20 6f 72 20 66 6f 72 77 61 72 64 73 20 74 68 65 6d 20 0a 19 89 80 80 74 ┆on these or forwards them t┆ 0x0b2e0…0b300 6f 20 61 20 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 20 69 6e 63 61 72 6e 61 69 6f 6e 20 ┆o a dte_chan process incarnaion ┆ 0x0b300…0b320 28 70 6c 65 61 73 65 20 72 65 66 65 72 20 74 6f 20 73 75 62 73 65 63 74 69 6f 6e 20 0a 19 89 80 ┆(please refer to subsection ┆ 0x0b320…0b340 80 33 2e 31 2e 31 29 2e 0d 0a 0d 0a 0d 0a a1 33 2e 32 2e 32 2e 31 09 4d 65 73 73 61 67 65 73 20 ┆ 3.1.1). 3.2.2.1 Messages ┆ 0x0b340…0b360 72 65 63 65 69 76 65 64 0d 0a 0d 0a 09 a1 b0 4d 65 73 73 61 67 65 20 6e 61 6d 65 e1 20 20 20 3a ┆received Message name :┆ 0x0b360…0b380 20 63 6c 65 61 72 5f 65 76 65 6e 74 0d 0a 0d 0a 09 a1 4d 65 73 73 61 67 65 20 66 6f 72 6d 61 74 ┆ clear_event Message format┆ 0x0b380…0b3a0 e1 20 3a 20 0d 0a 09 09 20 20 20 20 20 20 20 6d 65 73 73 61 67 65 09 61 6e 73 77 65 72 0d 0a 09 ┆ : message answer ┆ 0x0b3a0…0b3c0 09 75 31 20 20 20 20 20 20 20 32 32 20 20 20 20 20 20 20 20 20 20 75 6e 63 68 0d 0a 09 09 75 32 ┆ u1 22 unch u2┆ 0x0b3c0…0b3e0 20 20 20 20 20 20 20 31 35 09 72 65 73 75 6c 74 0d 0a 09 09 75 33 20 20 20 20 73 74 72 65 61 6d ┆ 15 result u3 stream┆ 0x0b3e0…0b400 5f 6e 6f 20 20 20 20 20 20 75 6e 63 68 0d 0a 09 09 75 34 20 20 20 20 20 20 20 20 30 09 20 75 6e ┆_no unch u4 0 un┆ 0x0b400…0b420 (90,) 63 68 0d 0a 0d 0a 09 09 62 75 66 20 20 20 63 68 5f 65 76 5f 64 61 74 61 20 20 20 20 20 75 6e 63 ┆ch buf ch_ev_data unc┆ 0x0b420…0b440 68 0d 0a 0d 0a 09 09 63 68 5f 65 76 5f 64 61 74 61 20 3d 20 72 65 63 6f 72 64 0d 0a 09 09 09 20 ┆h ch_ev_data = record ┆ 0x0b440…0b460 20 20 20 20 66 69 72 73 74 2c 6c 61 73 74 2c 6e 65 78 74 20 3a 20 69 6e 74 65 67 65 72 3b 0d 0a ┆ first,last,next : integer; ┆ 0x0b460…0b480 09 09 09 20 20 20 20 20 67 65 6e 5f 75 5f 65 76 65 6e 74 20 20 20 20 20 3a 20 62 6f 6f 6c 65 61 ┆ gen_u_event : boolea┆ 0x0b480…0b4a0 6e 3b 0d 0a 09 09 09 20 20 20 20 20 74 79 70 65 5f 65 76 65 6e 74 2c 0d 0a 09 09 09 20 20 20 20 ┆n; type_event, ┆ 0x0b4a0…0b4c0 20 63 61 75 73 65 2c 0d 0a 09 09 09 20 20 20 20 20 64 69 61 67 5f 63 6f 64 65 20 20 20 20 20 20 ┆ cause, diag_code ┆ 0x0b4c0…0b4d6 20 3a 20 62 79 74 65 3b 0d 0a 09 09 09 20 20 20 65 6e 64 3b 0d 0a ┆ : byte; end; ┆ 0x0b4d6…0b4d9 FormFeed { 0x0b4d6…0b4d9 0c 80 aa ┆ ┆ 0x0b4d6…0b4d9 } 0x0b4d9…0b4e0 0a 09 a1 46 75 6e 63 ┆ Func┆ 0x0b4e0…0b500 74 69 6f 6e e1 3a 0d 0a 09 84 43 6c 65 61 72 69 6e 67 20 6f 66 20 74 68 65 20 73 74 72 65 61 6d ┆tion : Clearing of the stream┆ 0x0b500…0b520 20 69 73 20 73 74 61 72 74 65 64 2e 20 49 66 20 67 65 6e 5f 75 5f 65 76 65 6e 74 20 69 73 20 74 ┆ is started. If gen_u_event is t┆ 0x0b520…0b540 72 75 65 20 74 68 65 20 75 73 65 72 20 0a 19 89 80 80 69 73 20 69 6e 66 6f 72 6d 65 64 20 61 62 ┆rue the user is informed ab┆ 0x0b540…0b560 6f 75 74 20 74 68 65 20 63 6c 65 61 72 69 6e 67 20 6f 66 20 74 68 65 20 73 74 72 65 61 6d 2c 20 ┆out the clearing of the stream, ┆ 0x0b560…0b580 69 6e 63 6c 75 64 69 6e 67 20 61 20 63 61 75 73 65 20 0a 19 89 80 80 61 6e 64 20 61 20 64 69 61 ┆including a cause and a dia┆ 0x0b580…0b5a0 67 6e 6f 73 74 69 63 20 63 6f 64 65 20 28 64 69 61 67 5f 63 6f 64 65 29 20 69 66 20 61 6e 79 2e ┆gnostic code (diag_code) if any.┆ 0x0b5a0…0b5c0 0d 0a 0d 0a 09 a1 52 65 73 75 6c 74 e1 3a 0d 0a 09 6f 6b 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ Result : ok ┆ 0x0b5c0…0b5e0 28 30 29 20 3a 20 6d 65 73 73 61 67 65 20 70 72 6f 63 65 73 73 65 64 20 70 72 6f 70 65 72 6c 79 ┆(0) : message processed properly┆ 0x0b5e0…0b600 0d 0a 09 66 63 74 5f 6e 6f 74 5f 61 6c 6c 77 20 20 28 31 32 29 20 3a 20 66 75 6e 63 74 69 6f 6e ┆ fct_not_allw (12) : function┆ 0x0b600…0b620 (91,) 20 6e 6f 74 20 61 6c 6c 6f 77 65 64 20 69 6e 20 74 68 69 73 20 73 74 61 74 65 0d 0a 09 64 74 65 ┆ not allowed in this state dte┆ 0x0b620…0b640 5f 72 65 73 74 61 72 74 65 64 20 28 39 38 29 20 3a 20 64 74 65 5f 61 63 63 65 73 73 20 69 6e 20 ┆_restarted (98) : dte_access in ┆ 0x0b640…0b660 72 65 73 74 61 72 74 20 70 68 61 73 65 0d 0a 0d 0a 09 84 49 66 20 74 68 65 20 64 74 65 5f 61 63 ┆restart phase If the dte_ac┆ 0x0b660…0b680 63 65 73 73 20 70 72 6f 63 65 73 73 20 69 73 20 61 77 61 69 74 69 6e 67 20 61 20 75 73 65 72 20 ┆cess process is awaiting a user ┆ 0x0b680…0b6a0 61 63 63 65 70 74 2f 72 65 6a 65 63 74 20 6f 66 20 61 6e 20 0a 19 89 80 80 69 6e 63 6f 6d 69 6e ┆accept/reject of an incomin┆ 0x0b6a0…0b6c0 67 20 63 61 6c 6c 20 6f 6e 20 74 68 69 73 20 73 74 72 65 61 6d 2c 20 74 68 65 20 64 74 65 5f 63 ┆g call on this stream, the dte_c┆ 0x0b6c0…0b6e0 68 61 6e 20 62 75 66 66 65 72 20 69 6e 64 69 63 61 74 69 6e 67 20 74 68 65 20 0a 19 89 80 80 63 ┆han buffer indicating the c┆ 0x0b6e0…0b700 61 6c 6c 20 28 70 6c 65 61 73 65 20 73 65 65 20 b0 69 6e 63 5f 63 61 6c 6c 20 f0 62 65 6c 6f 77 ┆all (please see inc_call below┆ 0x0b700…0b720 29 20 69 73 20 73 74 61 63 6b 65 64 20 62 65 6c 6f 77 20 61 6e 64 20 72 65 74 75 72 6e 65 64 20 ┆) is stacked below and returned ┆ 0x0b720…0b740 0a 19 89 81 80 74 6f 67 65 74 68 65 72 20 77 69 74 68 20 74 68 65 20 b0 63 6c 65 61 72 5f 65 76 ┆ together with the clear_ev┆ 0x0b740…0b760 65 6e 74 f0 20 6d 65 73 73 61 67 65 2e 0d 0a 0d 0a 09 a1 b0 4d 65 73 73 61 67 65 20 6e 61 6d 65 ┆ent message. Message name┆ 0x0b760…0b780 e1 20 20 20 3a 20 69 6e 63 5f 63 61 6c 6c 0d 0a 0d 0a 09 a1 4d 65 73 73 61 67 65 20 66 6f 72 6d ┆ : inc_call Message form┆ 0x0b780…0b7a0 61 74 e1 20 3a 20 0d 0a 09 09 20 20 20 20 20 20 20 6d 65 73 73 61 67 65 09 61 6e 73 77 65 72 0d ┆at : message answer ┆ 0x0b7a0…0b7c0 0a 09 09 75 31 20 20 20 20 20 20 20 31 39 20 20 20 20 20 20 20 20 20 20 75 6e 63 68 0d 0a 09 09 ┆ u1 19 unch ┆ 0x0b7c0…0b7e0 75 32 20 20 20 20 20 20 20 31 35 20 20 20 20 20 20 20 20 20 72 65 73 75 6c 74 0d 0a 09 09 75 33 ┆u2 15 result u3┆ 0x0b7e0…0b800 20 20 20 20 73 65 6d 5f 69 6e 64 65 78 20 20 20 20 73 74 72 65 61 6d 5f 6e 6f 2f 75 6e 63 68 0d ┆ sem_index stream_no/unch ┆ 0x0b800…0b820 (92,) 0a 09 09 75 34 20 20 20 20 20 20 20 20 30 09 20 75 6e 63 68 0d 0a 0d 0a 09 09 62 75 66 20 20 20 ┆ u4 0 unch buf ┆ 0x0b820…0b840 73 65 65 20 62 65 6c 6f 77 20 20 20 20 20 20 75 6e 63 68 0d 0a 0d 0a 09 a1 46 75 6e 63 74 69 6f ┆see below unch Functio┆ 0x0b840…0b860 6e e1 3a 0d 0a 09 84 41 6e 20 58 2e 32 35 20 49 4e 43 4f 4d 49 4e 47 20 43 41 4c 4c 20 70 61 63 ┆n : An X.25 INCOMING CALL pac┆ 0x0b860…0b880 6b 65 74 20 69 73 20 72 65 63 65 69 76 65 64 20 62 79 20 61 20 64 74 65 5f 63 68 61 6e 20 70 72 ┆ket is received by a dte_chan pr┆ 0x0b880…0b8a0 6f 63 65 73 73 20 0a 19 89 80 80 69 6e 63 61 72 6e 61 74 69 6f 6e 2e 20 54 68 65 20 64 74 65 5f ┆ocess incarnation. The dte_┆ 0x0b8a0…0b8c0 61 63 63 65 73 73 20 70 72 6f 63 65 73 73 20 69 73 20 69 6e 66 6f 72 6d 65 64 20 61 6e 64 20 63 ┆access process is informed and c┆ 0x0b8c0…0b8e0 61 6c 6c 5f 64 61 74 61 20 69 73 20 0a 19 89 80 80 63 6f 6e 74 61 69 6e 65 64 20 69 6e 20 74 68 ┆all_data is contained in th┆ 0x0b8e0…0b900 65 20 6d 65 73 73 61 67 65 20 28 73 65 65 20 62 65 6c 6f 77 29 20 61 6e 64 20 74 72 61 6e 73 66 ┆e message (see below) and transf┆ 0x0b900…0b920 65 72 72 65 64 20 74 6f 20 74 68 65 20 75 73 65 72 2c 20 0a 19 89 80 80 74 6f 67 65 74 68 65 72 ┆erred to the user, together┆ 0x0b920…0b940 20 77 69 74 68 20 61 6e 20 61 6c 6c 6f 63 61 74 65 64 20 73 74 72 65 61 6d 20 6e 75 6d 62 65 72 ┆ with an allocated stream number┆ 0x0b940…0b943 2e 0d 0a ┆. ┆ 0x0b943…0b946 FormFeed { 0x0b943…0b946 0c 80 9f ┆ ┆ 0x0b943…0b946 } 0x0b946…0b960 0a 09 84 54 68 65 20 6d 65 73 73 61 67 65 20 69 73 20 76 65 72 79 20 63 6f 6d ┆ The message is very com┆ 0x0b960…0b980 70 6c 65 78 2c 20 69 74 20 61 63 74 75 61 6c 6c 79 20 63 6f 6e 73 69 73 74 73 20 6f 66 20 74 68 ┆plex, it actually consists of th┆ 0x0b980…0b997 72 65 65 20 6d 65 73 80 0a 19 89 80 80 73 61 67 65 73 3a 0d 0a 0d 0a ┆ree mes sages: ┆ 0x0b997…0b9d0 Params { 0x0b997…0b9d0 04 00 2d 44 0c 00 06 00 00 00 00 02 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x0b997…0b9d0 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x0b997…0b9d0 } 0x0b9d0…0ba09 Params { 0x0b9d0…0ba09 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x0b9d0…0ba09 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x0b9d0…0ba09 } 0x0ba09…0ba20 0a 09 09 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 0d 0a 09 09 ┆ ________________ ┆ 0x0ba20…0ba40 21 20 20 20 20 20 20 20 20 20 20 20 20 20 20 21 0d 0a 09 09 21 20 20 69 6e 74 65 72 6e 61 6c 20 ┆! ! ! internal ┆ 0x0ba40…0ba60 31 20 20 21 0d 0a 09 09 a1 21 09 20 20 20 20 20 21 0d 0a 0d 0a 0d 0a 09 09 5f 5f 5f 5f 5f 5f 5f ┆1 ! ! ! _______┆ 0x0ba60…0ba80 5f 5f 5f 5f 5f 5f 5f 5f 5f 20 20 20 20 20 20 20 20 20 20 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f ┆_________ _____________┆ 0x0ba80…0baa0 5f 5f 0d 0a 09 09 21 09 20 20 20 20 20 21 20 20 20 20 20 20 20 20 20 20 21 09 20 20 20 20 20 20 ┆__ ! ! ! ┆ 0x0baa0…0bac0 20 20 20 20 21 0d 0a 09 09 21 20 20 69 6e 74 65 72 6e 61 6c 20 32 20 20 21 09 20 20 20 20 20 20 ┆ ! ! internal 2 ! ┆ 0x0bac0…0bae0 21 20 20 20 20 64 61 74 61 20 32 20 20 20 21 0d 0a 09 09 a1 21 20 20 20 20 20 20 20 20 20 20 20 ┆! data 2 ! ! ┆ 0x0bae0…0bb00 20 20 20 21 e1 09 20 20 20 20 20 20 a1 21 20 20 20 20 20 20 20 20 20 20 20 20 20 21 0d 0a 0d 0a ┆ ! ! ! ┆ 0x0bb00…0bb20 0d 0a 09 09 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 20 20 20 20 20 20 20 20 20 20 5f 5f ┆ ________________ __┆ 0x0bb20…0bb40 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 0d 0a 09 09 21 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆_____________ ! ┆ 0x0bb40…0bb60 21 20 20 20 20 20 20 20 20 20 20 21 20 20 20 20 20 20 20 20 20 20 20 20 20 21 0d 0a 09 09 21 20 ┆! ! ! ! ┆ 0x0bb60…0bb80 20 20 20 20 75 73 65 72 20 20 20 20 20 21 20 20 20 20 20 20 20 20 20 20 21 20 20 20 20 64 61 74 ┆ user ! ! dat┆ 0x0bb80…0bba0 61 20 33 20 20 20 21 0d 0a 09 09 a1 21 09 20 20 20 20 20 21 e1 20 20 20 20 20 20 20 20 20 20 a1 ┆a 3 ! ! ! ┆ 0x0bba0…0bbb1 21 20 20 20 20 20 20 20 20 20 20 20 20 20 21 0d 0a ┆! ! ┆ 0x0bbb1…0bbea Params { 0x0bbb1…0bbea 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x0bbb1…0bbea 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x0bbb1…0bbea } 0x0bbea…0bc23 Params { 0x0bbea…0bc23 04 00 2d 44 0c 00 06 00 00 00 00 02 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x0bbea…0bc23 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x0bbea…0bc23 } 0x0bc23…0bc40 0a 0d 0a 09 84 54 68 65 20 6d 65 73 73 61 67 65 20 68 65 61 64 65 72 20 27 69 6e 74 65 ┆ The message header 'inte┆ 0x0bc40…0bc60 72 6e 61 6c 20 31 27 20 69 73 20 64 65 73 63 72 69 62 65 64 20 61 62 6f 76 65 20 61 6e 64 20 69 ┆rnal 1' is described above and i┆ 0x0bc60…0bc80 73 20 72 65 74 75 72 6e 65 64 20 0a 19 89 80 80 69 6d 6d 65 64 69 61 74 65 6c 79 20 77 69 74 68 ┆s returned immediately with┆ 0x0bc80…0bca0 20 72 65 73 75 6c 74 20 73 65 74 20 74 6f 3a 0d 0a 0d 0a 09 09 20 30 20 3a 20 84 61 63 74 69 6f ┆ result set to: 0 : actio┆ 0x0bca0…0bcc0 6e 20 70 65 72 66 6f 72 6d 65 64 2c 20 6d 65 73 73 61 67 65 20 6e 6f 74 20 73 74 61 63 6b 65 64 ┆n performed, message not stacked┆ 0x0bcc0…0bce0 2c 0d 0a 09 09 20 20 20 20 20 75 33 20 3d 20 61 6c 6c 6f 63 61 74 65 64 20 73 74 72 65 61 6d 20 ┆, u3 = allocated stream ┆ 0x0bce0…0bd00 6e 75 6d 62 65 72 0d 0a 0d 0a 09 09 20 32 20 3a 20 62 75 73 79 20 3d 20 6e 6f 20 69 6e 74 65 72 ┆number 2 : busy = no inter┆ 0x0bd00…0bd20 6e 61 6c 20 72 65 73 6f 75 72 63 65 73 20 69 6e 20 64 74 65 5f 61 63 63 65 73 73 2c 0d 0a 09 09 ┆nal resources in dte_access, ┆ 0x0bd20…0bd40 20 20 20 20 20 6d 65 73 73 61 67 65 20 73 74 61 63 6b 65 64 20 28 69 6e 74 65 72 6e 61 6c 20 31 ┆ message stacked (internal 1┆ 0x0bd40…0bd60 2c 20 69 6e 74 65 72 6e 61 6c 20 32 2c 20 75 73 65 72 29 2c 0d 0a 09 09 20 20 20 20 20 75 33 20 ┆, internal 2, user), u3 ┆ 0x0bd60…0bd80 3d 20 75 6e 63 68 0d 0a 0d 0a 09 09 39 38 20 3a 20 64 74 65 5f 61 63 63 65 73 73 20 69 6e 20 72 ┆= unch 98 : dte_access in r┆ 0x0bd80…0bda0 65 73 74 61 72 74 20 70 68 61 73 65 2c 20 6d 65 73 73 61 67 65 20 73 74 61 63 6b 65 64 0d 0a 09 ┆estart phase, message stacked ┆ 0x0bda0…0bdc0 09 20 20 20 20 20 28 69 6e 74 65 72 6e 61 6c 20 31 2c 20 69 6e 74 65 72 6e 61 6c 20 32 2c 20 75 ┆ (internal 1, internal 2, u┆ 0x0bdc0…0bdd8 73 65 72 29 0d 0a 09 09 20 20 20 20 20 75 33 20 3d 20 75 6e 63 68 0d 0a ┆ser) u3 = unch ┆ 0x0bdd8…0bddb FormFeed { 0x0bdd8…0bddb 0c 80 a1 ┆ ┆ 0x0bdd8…0bddb } 0x0bddb…0bde0 0a 09 84 54 68 ┆ Th┆ 0x0bde0…0be00 65 20 6d 65 73 73 61 67 65 20 69 6e 74 65 72 6e 61 6c 20 32 20 68 61 73 20 74 68 65 20 66 6f 6c ┆e message internal 2 has the fol┆ 0x0be00…0be20 (95,) 6c 6f 77 69 6e 67 20 75 73 65 72 20 66 69 65 6c 64 73 3a 0d 0a 0d 0a 09 09 6d 65 73 73 61 67 65 ┆lowing user fields: message┆ 0x0be20…0be40 09 20 20 20 20 20 20 20 61 6e 73 77 65 72 0d 0a 09 20 20 20 20 75 31 09 20 20 20 31 39 09 20 20 ┆ answer u1 19 ┆ 0x0be40…0be60 20 20 20 20 20 20 75 6e 63 68 20 0d 0a 09 20 20 20 20 75 32 09 20 20 20 31 35 20 20 20 20 20 20 ┆ unch u2 15 ┆ 0x0be60…0be80 20 20 20 20 20 20 72 65 73 75 6c 74 32 0d 0a 09 20 20 20 20 75 33 09 20 20 20 20 2d 09 20 20 20 ┆ result2 u3 - ┆ 0x0be80…0bea0 20 20 20 20 73 74 72 65 61 6d 5f 6e 6f 2f 64 69 61 67 5f 63 6f 64 65 2f 75 6e 63 68 0d 0a 09 20 ┆ stream_no/diag_code/unch ┆ 0x0bea0…0bec0 20 20 20 75 34 20 20 20 20 20 20 20 20 30 09 20 20 20 20 20 20 20 20 75 6e 63 68 0d 0a 0d 0a 09 ┆ u4 0 unch ┆ 0x0bec0…0bee0 20 20 20 20 62 75 66 09 63 61 6c 6c 5f 61 64 72 5f 62 75 66 20 20 20 20 20 61 63 63 65 70 74 5f ┆ buf call_adr_buf accept_┆ 0x0bee0…0bf00 64 61 74 61 0d 0a 0d 0a 09 63 61 6c 6c 5f 61 64 72 5f 62 75 66 20 3d 20 72 65 63 6f 72 64 0d 0a ┆data call_adr_buf = record ┆ 0x0bf00…0bf20 09 09 20 20 20 20 20 20 20 66 69 72 73 74 2c 6c 61 73 74 2c 6e 65 78 74 20 3a 20 69 6e 74 65 67 ┆ first,last,next : integ┆ 0x0bf20…0bf40 65 72 3b 0d 0a 09 09 20 20 20 20 20 20 20 75 73 65 72 5f 61 64 64 72 65 73 73 20 20 20 20 3a 20 ┆er; user_address : ┆ 0x0bf40…0bf60 84 70 61 63 6b 65 64 20 61 72 72 61 79 20 28 31 2e 2e 28 78 68 65 61 64 5f 63 61 6c 6c 2d 36 29 ┆ packed array (1..(xhead_call-6)┆ 0x0bf60…0bf80 20 0a 19 ac 80 80 2a 32 29 20 6f 66 20 62 69 74 34 3b 0d 0a 09 09 20 20 20 20 20 20 20 70 6b 74 ┆ *2) of bit4; pkt┆ 0x0bf80…0bfa0 5f 68 65 61 64 20 20 20 20 20 20 20 20 3a 20 64 74 65 5f 68 65 61 64 5f 74 79 70 65 3b 0d 0a 09 ┆_head : dte_head_type; ┆ 0x0bfa0…0bfc0 09 20 20 20 20 20 20 20 61 64 64 72 5f 6c 67 74 68 20 20 20 20 20 20 20 3a 20 62 79 74 65 3b 0d ┆ addr_lgth : byte; ┆ 0x0bfc0…0bfe0 0a 09 09 20 20 20 20 20 20 20 64 74 65 5f 61 64 72 20 20 20 20 20 20 20 20 20 3a 20 61 72 72 61 ┆ dte_adr : arra┆ 0x0bfe0…0c000 79 20 28 31 2e 2e 31 34 29 20 6f 66 20 62 79 74 65 3b 0d 0a 09 09 20 20 20 20 20 65 6e 64 3b 0d ┆y (1..14) of byte; end; ┆ 0x0c000…0c020 (96,) 0a 0d 0a 09 78 68 65 61 64 5f 63 61 6c 6c 20 3d 20 31 30 20 20 20 20 20 28 2a 20 70 6c 65 61 73 ┆ xhead_call = 10 (* pleas┆ 0x0c020…0c040 65 20 73 65 65 20 61 70 70 65 6e 64 69 78 20 42 2e 32 20 2a 29 0d 0a 0d 0a 09 64 74 65 5f 68 65 ┆e see appendix B.2 *) dte_he┆ 0x0c040…0c060 61 64 5f 74 79 70 65 20 3d 20 70 61 63 6b 65 64 20 72 65 63 6f 72 64 0d 0a 09 09 20 20 20 20 20 ┆ad_type = packed record ┆ 0x0c060…0c080 20 20 20 71 5f 62 69 74 2c 0d 0a 09 09 20 20 20 20 20 20 20 20 64 5f 62 69 74 20 20 20 3a 20 62 ┆ q_bit, d_bit : b┆ 0x0c080…0c0a0 69 74 3b 0d 0a 09 09 20 20 20 20 20 20 20 20 3f 20 20 20 20 20 20 20 3a 20 30 2e 2e 36 33 3b 0d ┆it; ? : 0..63; ┆ 0x0c0a0…0c0c0 0a 09 09 20 20 20 20 20 20 20 20 3f 20 20 20 20 20 20 20 3a 20 62 79 74 65 3b 0d 0a 09 09 20 20 ┆ ? : byte; ┆ 0x0c0c0…0c0e0 20 20 20 20 20 20 3f 20 20 20 20 20 20 20 3a 20 30 2e 2e 37 3b 0d 0a 09 09 20 20 20 20 20 20 20 ┆ ? : 0..7; ┆ 0x0c0e0…0c100 20 6d 5f 62 69 74 20 20 20 3a 20 62 69 74 3b 0d 0a 09 09 20 20 20 20 20 20 20 20 3f 20 20 20 20 ┆ m_bit : bit; ? ┆ 0x0c100…0c120 20 20 20 3a 20 30 2e 2e 31 35 3b 0d 0a 09 09 20 20 20 20 20 20 65 6e 64 2c 0d 0a 0d 0a 09 84 54 ┆ : 0..15; end, T┆ 0x0c120…0c140 68 69 73 20 6d 65 73 73 61 67 65 20 69 73 20 68 75 6e 67 20 75 70 20 69 6e 20 74 68 65 20 64 74 ┆his message is hung up in the dt┆ 0x0c140…0c160 65 5f 61 63 63 65 73 73 20 70 72 6f 63 65 73 73 20 75 6e 74 69 6c 20 74 68 65 20 75 73 65 72 20 ┆e_access process until the user ┆ 0x0c160…0c180 0a 19 89 80 80 61 63 63 65 70 74 73 20 6f 72 20 72 65 6a 65 63 74 73 20 74 68 65 20 72 65 63 65 ┆ accepts or rejects the rece┆ 0x0c180…0c1a0 69 76 65 64 20 63 61 6c 6c 2d 73 65 74 20 75 70 20 6f 72 20 61 20 b0 63 6c 65 61 72 5f 65 76 65 ┆ived call-set up or a clear_eve┆ 0x0c1a0…0c1c0 6e 74 f0 20 69 73 20 0a 19 89 81 80 72 65 63 65 69 76 65 64 20 66 72 6f 6d 20 74 68 65 20 64 74 ┆nt is received from the dt┆ 0x0c1c0…0c1e0 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 20 69 6e 63 61 72 6e 61 74 69 6f 6e 2e 20 49 6e 20 74 ┆e_chan process incarnation. In t┆ 0x0c1e0…0c200 68 65 20 66 69 72 73 74 20 63 61 73 65 20 0a 19 89 81 80 74 68 65 20 6d 65 73 73 61 67 65 20 69 ┆he first case the message i┆ 0x0c200…0c220 (97,) 73 20 72 65 74 75 72 6e 65 64 20 73 74 61 63 6b 65 64 20 77 69 74 68 20 74 68 65 20 75 73 65 72 ┆s returned stacked with the user┆ 0x0c220…0c240 20 61 63 63 65 70 74 20 6d 65 73 73 61 67 65 20 61 6e 64 20 0a 19 89 81 80 69 66 20 74 68 65 20 ┆ accept message and if the ┆ 0x0c240…0c260 75 73 65 72 20 68 61 73 20 72 65 71 75 65 73 74 65 64 20 61 6e 79 20 58 2e 32 35 20 66 61 63 69 ┆user has requested any X.25 faci┆ 0x0c260…0c280 6c 69 74 69 65 73 2c 20 74 68 69 73 20 72 65 71 75 65 73 74 20 69 73 20 0a 19 89 81 80 74 72 61 ┆lities, this request is tra┆ 0x0c280…0c2a0 6e 73 66 65 72 72 65 64 20 66 72 6f 6d 20 74 68 65 20 75 73 65 72 20 61 63 63 65 70 74 20 6d 65 ┆nsferred from the user accept me┆ 0x0c2a0…0c2c0 73 73 61 67 65 20 74 6f 20 74 68 65 20 64 61 74 61 20 62 75 66 66 65 72 20 0a 19 89 81 80 27 64 ┆ssage to the data buffer 'd┆ 0x0c2c0…0c2e0 61 74 61 20 32 27 2c 20 77 68 69 63 68 20 61 74 20 72 65 74 75 72 6e 20 68 61 73 20 74 68 65 20 ┆ata 2', which at return has the ┆ 0x0c2e0…0c2f3 66 6f 6c 6c 6f 77 69 6e 67 20 66 6f 72 6d 61 74 3a 0d 0a ┆following format: ┆ 0x0c2f3…0c2f6 FormFeed { 0x0c2f3…0c2f6 0c 80 a6 ┆ ┆ 0x0c2f3…0c2f6 } 0x0c2f6…0c300 0a 09 09 61 63 63 65 70 74 5f ┆ accept_┆ 0x0c300…0c320 64 61 74 61 20 3d 20 72 65 63 6f 72 64 0d 0a 09 09 09 20 20 20 20 20 20 66 69 72 73 74 2c 6c 61 ┆data = record first,la┆ 0x0c320…0c340 73 74 2c 6e 65 78 74 20 3a 20 69 6e 74 65 67 65 72 3b 0d 0a 09 09 09 20 20 20 20 20 20 75 73 65 ┆st,next : integer; use┆ 0x0c340…0c360 72 5f 61 64 64 72 65 73 73 20 20 20 20 3a 20 84 70 61 63 6b 65 64 20 61 72 72 61 79 20 0a 19 b5 ┆r_address : packed array ┆ 0x0c360…0c380 80 80 28 31 2e 2e 28 78 68 65 61 64 5f 63 61 6c 6c 2d 36 29 20 2a 32 20 0a 19 b5 80 80 6f 66 20 ┆ (1..(xhead_call-6) *2 of ┆ 0x0c380…0c3a0 62 69 74 34 3b 0d 0a 09 09 09 20 20 20 20 20 20 70 6b 74 5f 68 65 61 64 20 20 20 20 20 20 20 20 ┆bit4; pkt_head ┆ 0x0c3a0…0c3c0 3a 20 64 74 65 5f 68 65 61 64 5f 74 79 70 65 3b 0d 0a 09 09 09 20 20 20 20 20 20 61 64 64 72 5f ┆: dte_head_type; addr_┆ 0x0c3c0…0c3e0 6c 67 74 68 20 20 20 20 20 20 20 3a 20 62 79 74 65 3b 0d 0a 09 09 09 20 20 20 20 20 20 64 74 65 ┆lgth : byte; dte┆ 0x0c3e0…0c400 5f 61 64 72 20 20 20 20 20 20 20 20 20 3a 20 61 72 72 61 79 20 28 31 2e 2e 31 34 29 20 6f 66 20 ┆_adr : array (1..14) of ┆ 0x0c400…0c420 (98,) 62 79 74 65 3b 0d 0a 09 09 09 20 20 20 20 20 20 66 61 63 69 5f 6c 65 6e 67 74 68 20 20 20 20 20 ┆byte; faci_length ┆ 0x0c420…0c440 3a 20 62 79 74 65 3b 0d 0a 09 09 09 20 20 20 20 20 20 66 61 63 69 6c 69 74 69 65 73 20 20 20 20 ┆: byte; facilities ┆ 0x0c440…0c460 20 20 3a 20 84 61 72 72 61 79 20 28 78 68 65 61 64 5f 63 61 6c 6c 20 2b 20 0a 19 b5 80 80 31 39 ┆ : array (xhead_call + 19┆ 0x0c460…0c480 2e 2e 6c 61 73 74 29 20 6f 66 20 62 79 74 65 3b 0d 0a 09 09 09 20 20 20 20 65 6e 64 3b 0d 0a 0d ┆..last) of byte; end; ┆ 0x0c480…0c4a0 0a 09 84 49 6e 20 74 68 65 20 73 65 63 6f 6e 64 20 63 61 73 65 20 74 68 65 20 6d 65 73 73 61 67 ┆ In the second case the messag┆ 0x0c4a0…0c4c0 65 20 69 73 20 72 65 74 75 72 6e 65 64 20 77 69 74 68 20 75 73 65 72 20 66 69 65 6c 64 73 20 73 ┆e is returned with user fields s┆ 0x0c4c0…0c4e0 65 74 20 0a 19 89 80 80 61 63 63 6f 72 64 69 6e 67 20 74 6f 20 74 68 65 20 75 73 65 72 20 72 65 ┆et according to the user re┆ 0x0c4e0…0c500 6a 65 63 74 2e 20 54 68 65 20 64 61 74 61 20 69 73 20 6e 6f 74 20 63 68 61 6e 67 65 64 2e 20 49 ┆ject. The data is not changed. I┆ 0x0c500…0c520 6e 20 74 68 65 20 0a 19 89 80 80 74 68 69 72 64 20 63 61 73 65 20 74 68 65 20 6d 65 73 73 61 67 ┆n the third case the messag┆ 0x0c520…0c540 65 20 69 73 20 72 65 74 75 72 6e 65 64 2c 20 73 74 61 63 6b 65 64 20 62 65 6c 6f 77 20 74 68 65 ┆e is returned, stacked below the┆ 0x0c540…0c560 20 b0 63 6c 65 61 72 5f 65 76 65 6e 74 f0 20 0a 19 89 81 80 6d 65 73 73 61 67 65 2c 20 61 6e 64 ┆ clear_event message, and┆ 0x0c560…0c580 20 74 68 65 20 68 65 61 64 65 72 20 61 6e 64 20 64 61 74 61 20 70 61 72 74 20 61 72 65 20 75 6e ┆ the header and data part are un┆ 0x0c580…0c5a0 63 68 61 6e 67 65 64 2e 20 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 0a 19 89 81 80 74 61 62 6c ┆changed. The following tabl┆ 0x0c5a0…0c5c0 65 20 67 69 76 65 73 20 61 6e 20 6f 76 65 72 76 69 65 77 20 6f 66 20 74 68 65 20 70 6f 73 73 69 ┆e gives an overview of the possi┆ 0x0c5c0…0c5e0 62 69 6c 69 74 69 65 73 2e 0d 0a 0d 0a 09 20 20 75 32 20 3d 20 72 65 73 75 6c 74 32 09 20 20 20 ┆bilities. u2 = result2 ┆ 0x0c5e0…0c600 20 6d 65 73 73 61 67 65 20 73 74 61 63 6b 09 09 75 33 0d 0a 0d 0a 09 20 20 30 20 20 28 6f 6b 29 ┆ message stack u3 0 (ok)┆ 0x0c600…0c620 (99,) 09 09 20 20 6d 65 73 73 20 73 74 61 63 6b 65 64 20 77 69 74 68 09 20 20 20 20 20 20 20 73 74 72 ┆ mess stacked with str┆ 0x0c620…0c640 65 61 6d 5f 6e 6f 0d 0a 09 20 20 20 20 09 20 20 20 20 20 20 20 20 20 09 20 20 75 73 65 72 20 61 ┆eam_no user a┆ 0x0c640…0c660 63 63 65 70 74 0d 0a 0d 0a 09 20 20 32 38 20 28 62 75 66 5f 6c 67 74 68 5f 65 72 72 29 09 20 20 ┆ccept 28 (buf_lgth_err) ┆ 0x0c660…0c680 6d 65 73 73 20 73 74 61 63 6b 65 64 20 77 69 74 68 09 20 20 20 20 20 20 20 73 74 72 65 61 6d 5f ┆mess stacked with stream_┆ 0x0c680…0c6a0 6e 6f 0d 0a 09 09 09 20 20 75 73 65 72 20 61 63 63 65 70 74 0d 0a 0d 0a 09 20 20 39 31 20 28 75 ┆no user accept 91 (u┆ 0x0c6a0…0c6c0 73 65 72 5f 72 65 6a 65 63 74 29 09 20 20 6d 65 73 73 20 6e 6f 74 20 73 74 61 63 6b 65 64 20 09 ┆ser_reject) mess not stacked ┆ 0x0c6c0…0c6e0 20 20 20 20 20 64 69 61 67 6e 6f 73 74 69 63 20 63 6f 64 65 0d 0a 0d 0a 09 20 20 39 38 20 28 64 ┆ diagnostic code 98 (d┆ 0x0c6e0…0c700 74 65 5f 72 65 73 74 61 72 74 65 64 29 20 20 6d 65 73 73 20 6e 6f 74 20 73 74 61 63 6b 65 64 09 ┆te_restarted) mess not stacked ┆ 0x0c700…0c720 09 75 6e 63 68 0d 0a 0d 0a 09 20 20 20 20 20 75 6e 63 68 09 09 20 20 6d 65 73 73 20 73 74 61 63 ┆ unch unch mess stac┆ 0x0c720…0c740 6b 65 64 20 62 65 6c 6f 77 09 75 6e 63 68 0d 0a 09 09 09 20 20 b0 63 6c 65 61 72 5f 65 76 65 6e ┆ked below unch clear_even┆ 0x0c740…0c760 74 f0 20 6d 65 73 73 61 67 65 0d 0a 0d 0a 09 84 54 68 65 20 6d 65 73 73 61 67 65 20 27 75 73 65 ┆t message The message 'use┆ 0x0c760…0c780 72 27 20 69 73 20 61 20 67 65 6e 65 72 61 6c 20 69 6e 70 75 74 20 62 75 66 66 65 72 20 63 6f 6e ┆r' is a general input buffer con┆ 0x0c780…0c7a0 74 61 69 6e 69 6e 67 20 63 61 6c 6c 20 64 61 74 61 20 0a 19 89 80 80 74 6f 20 74 68 65 20 75 73 ┆taining call data to the us┆ 0x0c7a0…0c7c0 65 72 2e 20 54 68 65 20 72 65 74 75 72 6e 20 6f 66 20 74 68 69 73 20 6d 65 73 73 61 67 65 20 74 ┆er. The return of this message t┆ 0x0c7c0…0c7e0 6f 20 74 68 65 20 75 73 65 72 20 69 73 20 61 6e 20 69 6e 64 69 63 61 80 0a 19 89 80 80 74 69 6f ┆o the user is an indica tio┆ 0x0c7e0…0c800 6e 20 6f 66 20 74 68 65 20 72 65 63 65 69 76 61 6c 20 6f 66 20 61 6e 20 58 2e 32 35 20 49 4e 43 ┆n of the receival of an X.25 INC┆ 0x0c800…0c820 (100,) 4f 4d 49 4e 47 20 43 41 4c 4c 20 70 61 63 6b 65 74 2e 20 54 68 65 20 66 6f 72 6d 61 74 20 0a 19 ┆OMING CALL packet. The format ┆ 0x0c820…0c840 89 80 80 6f 66 20 74 68 65 20 6d 65 73 73 61 67 65 20 69 73 20 64 65 73 63 72 69 62 65 64 20 69 ┆ of the message is described i┆ 0x0c840…0c84d 6e 20 72 65 66 2e 20 28 33 29 2e 0d 0a ┆n ref. (3). ┆ 0x0c84d…0c850 FormFeed { 0x0c84d…0c850 0c 80 a6 ┆ ┆ 0x0c84d…0c850 } 0x0c850…0c860 0a 09 a1 b0 4d 65 73 73 61 67 65 20 6e 61 6d 65 ┆ Message name┆ 0x0c860…0c880 e1 20 20 20 3a 20 69 6e 63 5f 73 5f 65 76 65 6e 74 0d 0a 0d 0a 09 a1 4d 65 73 73 61 67 65 20 66 ┆ : inc_s_event Message f┆ 0x0c880…0c8a0 6f 72 6d 61 74 e1 20 3a 20 0d 0a 09 09 20 20 20 20 20 20 20 6d 65 73 73 61 67 65 09 61 6e 73 77 ┆ormat : message answ┆ 0x0c8a0…0c8c0 65 72 0d 0a 09 09 75 31 20 20 20 20 20 20 20 20 32 30 20 20 20 20 20 20 20 20 20 75 6e 63 68 0d ┆er u1 20 unch ┆ 0x0c8c0…0c8e0 0a 09 09 75 32 20 20 20 20 20 20 20 20 31 35 20 20 20 20 20 20 20 20 72 65 73 75 6c 74 0d 0a 09 ┆ u2 15 result ┆ 0x0c8e0…0c900 20 20 20 20 20 20 20 20 20 20 75 33 20 20 20 20 73 74 72 65 61 6d 5f 6e 6f 09 20 75 6e 63 68 0d ┆ u3 stream_no unch ┆ 0x0c900…0c920 0a 09 09 75 34 20 20 20 20 20 20 20 20 20 30 09 20 75 6e 63 68 0d 0a 0d 0a 09 09 62 75 66 20 20 ┆ u4 0 unch buf ┆ 0x0c920…0c940 20 63 68 5f 65 76 5f 64 61 74 61 20 20 20 20 20 75 6e 63 68 0d 0a 0d 0a 09 09 63 68 5f 65 76 5f ┆ ch_ev_data unch ch_ev_┆ 0x0c940…0c960 64 61 74 61 20 3d 20 72 65 63 6f 72 64 0d 0a 09 09 09 20 20 20 20 20 66 69 72 73 74 2c 6c 61 73 ┆data = record first,las┆ 0x0c960…0c980 74 2c 6e 65 78 74 20 3a 20 69 6e 74 65 67 65 72 3b 0d 0a 09 09 09 20 20 20 20 20 67 65 6e 5f 75 ┆t,next : integer; gen_u┆ 0x0c980…0c9a0 5f 65 76 65 6e 74 20 20 20 20 20 3a 20 62 6f 6f 6c 65 61 6e 3b 0d 0a 09 09 09 20 20 20 20 20 74 ┆_event : boolean; t┆ 0x0c9a0…0c9c0 79 70 65 5f 65 76 65 6e 74 2c 0d 0a 09 09 09 20 20 20 20 20 63 61 75 73 65 2c 0d 0a 09 09 09 20 ┆ype_event, cause, ┆ 0x0c9c0…0c9e0 20 20 20 20 64 69 61 67 5f 63 6f 64 65 20 20 20 20 20 20 20 3a 20 62 79 74 65 3b 0d 0a 09 09 09 ┆ diag_code : byte; ┆ 0x0c9e0…0ca00 20 20 20 65 6e 64 3b 0d 0a 0d 0a 09 a1 46 75 6e 63 74 69 6f 6e e1 3a 0d 0a 09 84 54 68 65 20 6d ┆ end; Function : The m┆ 0x0ca00…0ca20 (101,) 65 73 73 61 67 65 20 63 6f 6e 74 61 69 6e 73 20 61 20 73 74 72 65 61 6d 20 65 76 65 6e 74 20 28 ┆essage contains a stream event (┆ 0x0ca20…0ca40 72 65 73 65 74 2c 20 64 61 74 61 20 6c 6f 73 74 2c 20 69 6e 74 65 72 80 72 75 70 74 20 0a 19 89 ┆reset, data lost, inter rupt ┆ 0x0ca40…0ca60 80 80 6c 6f 73 74 29 20 77 68 69 63 68 20 64 65 70 65 6e 64 69 6e 67 20 6f 6e 20 74 68 65 20 76 ┆ lost) which depending on the v┆ 0x0ca60…0ca80 61 6c 75 65 20 6f 66 20 67 65 6e 5f 75 5f 65 76 65 6e 74 20 69 73 20 74 72 61 6e 73 66 65 72 72 ┆alue of gen_u_event is transferr┆ 0x0ca80…0caa0 65 64 20 0a 19 89 80 80 74 6f 20 74 68 65 20 75 73 65 72 20 69 6e 20 61 20 75 73 65 72 20 77 61 ┆ed to the user in a user wa┆ 0x0caa0…0cac0 69 74 5f 65 76 65 6e 74 20 6d 65 73 73 61 67 65 2e 0d 0a 0d 0a 09 a1 52 65 73 75 6c 74 e1 3a 0d ┆it_event message. Result : ┆ 0x0cac0…0cae0 0a 09 6f 6b 20 20 20 20 20 20 20 20 20 20 20 20 20 28 30 29 20 3a 20 6d 65 73 73 61 67 65 20 70 ┆ ok (0) : message p┆ 0x0cae0…0cb00 72 6f 63 65 73 73 65 64 20 70 72 6f 70 65 72 6c 79 0d 0a 09 66 63 74 5f 6e 6f 74 5f 61 6c 6c 77 ┆rocessed properly fct_not_allw┆ 0x0cb00…0cb20 20 20 28 31 32 29 20 3a 20 66 75 6e 63 74 69 6f 6e 20 6e 6f 74 20 61 6c 6c 6f 77 65 64 20 69 6e ┆ (12) : function not allowed in┆ 0x0cb20…0cb40 20 74 68 69 73 20 73 74 61 74 65 0d 0a 09 64 74 65 5f 72 65 73 74 61 72 74 65 64 20 28 39 38 29 ┆ this state dte_restarted (98)┆ 0x0cb40…0cb60 20 3a 20 64 74 65 5f 61 63 63 65 73 73 20 69 6e 20 72 65 73 74 61 72 74 20 70 68 61 73 65 0d 0a ┆ : dte_access in restart phase ┆ 0x0cb60…0cb80 0d 0a 0d 0a 09 b0 a1 4d 65 73 73 61 67 65 20 6e 61 6d 65 e1 20 20 3a 20 69 6e 63 5f 75 5f 65 76 ┆ Message name : inc_u_ev┆ 0x0cb80…0cba0 65 6e 74 0d 0a 0d 0a 09 a1 4d 65 73 73 61 67 65 20 66 6f 72 6d 61 74 e1 3a 0d 0a 09 09 20 20 20 ┆ent Message format : ┆ 0x0cba0…0cbc0 20 20 20 6d 65 73 73 61 67 65 09 61 6e 73 77 65 72 0d 0a 09 09 20 75 31 20 20 20 20 20 20 32 31 ┆ message answer u1 21┆ 0x0cbc0…0cbe0 09 20 75 6e 63 68 0d 0a 09 09 20 75 32 20 20 20 20 20 20 31 35 09 72 65 73 75 6c 74 0d 0a 09 09 ┆ unch u2 15 result ┆ 0x0cbe0…0cc00 20 75 33 20 20 20 75 73 65 72 5f 6e 6f 09 20 75 6e 63 68 0d 0a 09 09 20 75 34 20 20 20 20 20 20 ┆ u3 user_no unch u4 ┆ 0x0cc00…0cc20 (102,) 20 30 09 20 75 6e 63 68 0d 0a 0d 0a 09 09 20 62 75 66 20 20 63 68 5f 65 76 5f 64 61 74 61 09 20 ┆ 0 unch buf ch_ev_data ┆ 0x0cc20…0cc26 75 6e 63 68 0d 0a ┆unch ┆ 0x0cc26…0cc29 FormFeed { 0x0cc26…0cc29 0c 80 a8 ┆ ┆ 0x0cc26…0cc29 } 0x0cc29…0cc40 0a 09 09 63 68 5f 65 76 5f 64 61 74 61 20 3d 20 72 65 63 6f 72 64 0d ┆ ch_ev_data = record ┆ 0x0cc40…0cc60 0a 09 09 09 20 20 20 20 20 66 69 72 73 74 2c 6c 61 73 74 20 6e 65 78 74 20 3a 20 69 6e 74 65 67 ┆ first,last next : integ┆ 0x0cc60…0cc80 65 72 3b 0d 0a 09 09 09 20 20 20 20 20 67 65 6e 5f 75 5f 65 76 65 6e 74 20 20 20 20 20 3a 20 62 ┆er; gen_u_event : b┆ 0x0cc80…0cca0 6f 6f 6c 65 61 6e 3b 0d 0a 09 09 09 20 20 20 20 20 74 79 70 65 5f 65 76 65 6e 74 2c 0d 0a 09 09 ┆oolean; type_event, ┆ 0x0cca0…0ccc0 09 20 20 20 20 20 63 61 75 73 65 2c 0d 0a 09 09 09 20 20 20 20 20 64 69 61 67 5f 63 6f 64 65 20 ┆ cause, diag_code ┆ 0x0ccc0…0cce0 20 20 20 20 20 20 3a 20 62 79 74 65 3b 0d 0a 09 09 09 20 20 20 65 6e 64 3b 0d 0a 0d 0a 09 a1 46 ┆ : byte; end; F┆ 0x0cce0…0cd00 75 6e 63 74 69 6f 6e e1 3a 0d 0a 09 84 54 68 65 20 6d 65 73 73 61 67 65 20 69 6e 64 69 63 61 74 ┆unction : The message indicat┆ 0x0cd00…0cd20 65 73 20 61 20 75 73 65 72 20 65 76 65 6e 74 20 28 69 6e 63 6f 6d 69 6e 67 20 63 61 6c 6c 20 6c ┆es a user event (incoming call l┆ 0x0cd20…0cd40 6f 73 74 29 20 77 68 69 63 68 20 69 73 20 0a 19 89 80 80 74 72 61 6e 73 66 65 72 72 65 64 20 74 ┆ost) which is transferred t┆ 0x0cd40…0cd60 6f 20 74 68 65 20 75 73 65 72 20 69 6e 20 61 20 75 73 65 72 20 77 61 69 74 5f 65 76 65 6e 74 20 ┆o the user in a user wait_event ┆ 0x0cd60…0cd80 6d 65 73 73 61 67 65 2e 0d 0a 0d 0a 09 a1 52 65 73 75 6c 74 e1 3a 0d 0a 09 6f 6b 20 20 20 20 20 ┆message. Result : ok ┆ 0x0cd80…0cda0 20 20 20 20 20 20 20 20 28 30 29 20 3a 20 6f 6b 0d 0a 09 64 74 65 5f 72 65 73 74 61 72 74 65 64 ┆ (0) : ok dte_restarted┆ 0x0cda0…0cdc0 20 28 39 38 29 20 3a 20 64 74 65 5f 61 63 63 65 73 73 20 69 6e 20 72 65 73 74 61 72 74 20 70 68 ┆ (98) : dte_access in restart ph┆ 0x0cdc0…0cde0 61 73 65 0d 0a 0d 0a 09 a1 b0 4d 65 73 73 61 67 65 20 6e 61 6d 65 e1 20 20 20 3a 20 72 65 73 74 ┆ase Message name : rest┆ 0x0cde0…0ce00 61 72 74 5f 65 6e 64 0d 0a 0d 0a 09 a1 4d 65 73 73 61 67 65 20 66 6f 72 6d 61 74 e1 20 3a 20 0d ┆art_end Message format : ┆ 0x0ce00…0ce20 (103,) 0a 09 09 20 20 20 20 20 20 20 6d 65 73 73 61 67 65 09 61 6e 73 77 65 72 0d 0a 09 09 75 31 20 20 ┆ message answer u1 ┆ 0x0ce20…0ce40 20 20 20 20 20 32 34 38 09 20 75 6e 63 68 0d 0a 09 09 75 32 20 20 20 20 20 20 20 20 31 35 09 20 ┆ 248 unch u2 15 ┆ 0x0ce40…0ce60 20 20 30 0d 0a 09 09 75 33 20 20 20 6f 6b 2f 74 69 6d 65 6f 75 74 09 20 75 6e 63 68 0d 0a 09 09 ┆ 0 u3 ok/timeout unch ┆ 0x0ce60…0ce80 75 34 20 20 20 20 20 20 20 20 20 38 09 20 75 6e 63 68 0d 0a 0d 0a 09 09 62 75 66 20 20 63 64 5f ┆u4 8 unch buf cd_┆ 0x0ce80…0cea0 62 75 66 5f 74 79 70 65 09 20 75 6e 63 68 0d 0a 0d 0a 09 20 20 20 20 20 20 20 20 20 20 63 64 5f ┆buf_type unch cd_┆ 0x0cea0…0cec0 62 75 66 5f 74 79 70 65 20 3d 20 72 65 63 6f 72 64 0d 0a 09 09 20 20 20 20 20 20 20 20 20 20 20 ┆buf_type = record ┆ 0x0cec0…0cee0 20 20 20 20 20 63 61 75 73 65 2c 0d 0a 09 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 ┆ cause, d┆ 0x0cee0…0cf00 69 61 67 5f 63 6f 64 65 20 20 3a 20 62 79 74 65 3b 0d 0a 09 09 20 20 20 20 20 20 20 20 20 20 20 ┆iag_code : byte; ┆ 0x0cf00…0cf20 20 20 20 65 6e 64 3b 0d 0a 0d 0a 09 a1 46 75 6e 63 74 69 6f 6e e1 3a 0d 0a 09 84 54 68 65 20 64 ┆ end; Function : The d┆ 0x0cf20…0cf40 74 65 20 70 72 6f 63 65 73 73 20 69 6e 64 69 63 61 74 65 73 20 74 68 65 20 65 6e 64 69 6e 67 20 ┆te process indicates the ending ┆ 0x0cf40…0cf60 6f 66 20 61 20 72 65 73 74 61 72 74 20 70 68 61 73 65 20 6f 72 20 61 20 74 69 6d 65 80 0a 19 89 ┆of a restart phase or a time ┆ 0x0cf60…0cf80 80 80 6f 75 74 2e 20 54 68 65 20 75 73 65 72 20 69 73 20 69 6e 66 6f 72 6d 65 64 20 62 79 20 74 ┆ out. The user is informed by t┆ 0x0cf80…0cfa0 68 65 20 72 65 74 75 72 6e 20 6f 66 20 61 20 75 73 65 72 20 77 61 69 74 5f 65 76 65 6e 74 20 6d ┆he return of a user wait_event m┆ 0x0cfa0…0cfc0 65 73 80 0a 19 89 80 80 73 61 67 65 20 77 69 74 68 20 65 76 65 6e 74 5f 74 79 70 65 20 27 64 74 ┆es sage with event_type 'dt┆ 0x0cfc0…0cfe0 65 5f 72 65 73 74 61 72 74 65 64 27 20 6f 72 20 27 64 69 73 63 6f 6e 6e 65 63 74 65 64 27 2c 20 ┆e_restarted' or 'disconnected', ┆ 0x0cfe0…0d000 72 65 73 70 65 63 74 69 80 0a 19 89 80 80 76 65 6c 79 2e 20 49 66 20 75 33 20 3d 20 74 69 6d 65 ┆respecti vely. If u3 = time┆ 0x0d000…0d020 (104,) 6f 75 74 20 28 31 30 29 20 74 68 65 20 64 74 65 5f 61 63 63 65 73 73 20 73 74 61 79 73 20 69 6e ┆out (10) the dte_access stays in┆ 0x0d020…0d040 20 74 68 65 20 64 74 65 5f 72 65 73 74 61 72 74 20 0a 19 89 80 80 70 68 61 73 65 2e 20 54 68 65 ┆ the dte_restart phase. The┆ 0x0d040…0d060 20 6d 65 73 73 61 67 65 20 69 73 20 72 65 74 75 72 6e 65 64 20 69 6d 6d 65 64 69 61 74 65 6c 79 ┆ message is returned immediately┆ 0x0d060…0d080 2e 0d 0a 0d 0a 8c 80 a7 0a b0 09 a1 4d 65 73 73 61 67 65 20 6e 61 6d 65 e1 20 20 20 3a 20 72 65 ┆. Message name : re┆ 0x0d080…0d0a0 73 74 61 72 74 5f 73 74 61 72 74 0d 0a 0d 0a 09 a1 4d 65 73 73 61 67 65 20 66 6f 72 6d 61 74 e1 ┆start_start Message format ┆ 0x0d0a0…0d0c0 20 3a 20 0d 0a 09 09 20 20 20 20 20 20 20 6d 65 73 73 61 67 65 09 61 6e 73 77 65 72 0d 0a 09 09 ┆ : message answer ┆ 0x0d0c0…0d0e0 75 31 20 20 20 20 20 20 20 32 35 32 09 20 75 6e 63 68 0d 0a 09 09 75 32 20 20 20 20 20 20 20 20 ┆u1 252 unch u2 ┆ 0x0d0e0…0d100 31 35 09 20 20 20 30 0d 0a 09 09 75 33 20 20 20 20 20 20 63 61 75 73 65 09 20 75 6e 63 68 0d 0a ┆15 0 u3 cause unch ┆ 0x0d100…0d120 09 09 75 34 20 20 20 20 20 20 20 20 20 38 09 20 75 6e 63 68 0d 0a 0d 0a 09 09 62 75 66 20 20 63 ┆ u4 8 unch buf c┆ 0x0d120…0d140 64 5f 62 75 66 5f 74 79 70 65 20 20 20 20 20 75 6e 63 68 0d 0a 0d 0a 09 09 63 64 5f 62 75 66 5f ┆d_buf_type unch cd_buf_┆ 0x0d140…0d160 74 79 70 65 20 3d 20 72 65 63 6f 72 64 0d 0a 09 09 09 20 20 20 20 20 20 63 61 75 73 65 2c 0d 0a ┆type = record cause, ┆ 0x0d160…0d180 09 09 09 20 20 20 20 20 20 64 69 61 67 5f 63 6f 64 65 20 20 3a 20 62 79 74 65 3b 0d 0a 09 09 09 ┆ diag_code : byte; ┆ 0x0d180…0d1a0 20 20 20 20 65 6e 64 3b 0d 0a 0d 0a 09 a1 46 75 6e 63 74 69 6f 6e e1 3a 0d 0a 09 84 54 68 65 20 ┆ end; Function : The ┆ 0x0d1a0…0d1c0 64 74 65 20 70 72 6f 63 65 73 73 20 69 6e 64 69 63 61 74 65 73 20 74 68 65 20 73 74 61 72 74 20 ┆dte process indicates the start ┆ 0x0d1c0…0d1e0 6f 66 20 61 20 72 65 73 74 61 72 74 20 70 68 61 73 65 20 28 63 61 75 73 65 20 3d 20 32 29 20 0a ┆of a restart phase (cause = 2) ┆ 0x0d1e0…0d200 19 89 80 80 6f 72 20 74 68 65 20 64 69 73 63 6f 6e 6e 65 63 74 69 6f 6e 20 6f 66 20 74 68 65 20 ┆ or the disconnection of the ┆ 0x0d200…0d220 (105,) 68 64 6c 63 20 6c 69 6e 65 20 28 63 61 75 73 65 20 3d 20 31 29 2e 20 54 68 65 20 64 74 65 5f 61 ┆hdlc line (cause = 1). The dte_a┆ 0x0d220…0d240 63 63 65 73 73 20 0a 19 89 80 80 70 72 6f 63 65 73 73 20 74 72 61 6e 73 66 65 72 73 20 74 68 69 ┆ccess process transfers thi┆ 0x0d240…0d260 73 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 74 6f 20 74 68 65 20 75 73 65 72 20 75 74 69 6c 69 7a ┆s information to the user utiliz┆ 0x0d260…0d280 69 6e 67 20 74 68 65 20 0a 19 89 80 80 77 61 69 74 5f 65 76 65 6e 74 20 6d 65 73 73 61 67 65 20 ┆ing the wait_event message ┆ 0x0d280…0d2a0 61 6e 64 20 65 6e 74 65 72 73 20 74 68 65 20 73 74 61 74 65 20 64 74 65 5f 72 65 73 74 61 72 74 ┆and enters the state dte_restart┆ 0x0d2a0…0d2c0 2e 20 54 68 65 20 b0 72 65 80 0a 19 89 81 82 73 74 61 72 74 5f 73 74 61 72 74 f0 20 6d 65 73 73 ┆. The re start_start mess┆ 0x0d2c0…0d2e0 61 67 65 20 69 73 20 72 65 74 75 72 6e 65 64 20 69 6d 6d 65 64 69 61 74 65 6c 79 2e 0d 0a 0d 0a ┆age is returned immediately. ┆ 0x0d2e0…0d300 09 a1 b0 4d 65 73 73 61 67 65 20 6e 61 6d 65 e1 20 20 20 3a 20 73 74 72 65 61 6d 5f 63 6c 65 61 ┆ Message name : stream_clea┆ 0x0d300…0d320 72 65 64 0d 0a 0d 0a 09 a1 4d 65 73 73 61 67 65 20 66 6f 72 6d 61 74 e1 20 3a 20 0d 0a 09 09 20 ┆red Message format : ┆ 0x0d320…0d340 20 20 20 20 20 20 6d 65 73 73 61 67 65 09 61 6e 73 77 65 72 0d 0a 09 09 75 31 20 20 20 20 20 20 ┆ message answer u1 ┆ 0x0d340…0d360 20 20 32 33 20 20 09 20 75 6e 63 68 0d 0a 09 09 75 32 20 20 20 20 20 20 20 20 31 35 09 72 65 73 ┆ 23 unch u2 15 res┆ 0x0d360…0d380 75 6c 74 0d 0a 09 09 75 33 20 20 20 20 73 74 72 65 61 6d 5f 6e 6f 09 20 75 6e 63 68 0d 0a 09 09 ┆ult u3 stream_no unch ┆ 0x0d380…0d3a0 75 34 20 20 20 20 20 20 20 20 20 30 09 20 75 6e 63 68 0d 0a 0d 0a 09 09 62 75 66 20 20 20 20 20 ┆u4 0 unch buf ┆ 0x0d3a0…0d3c0 20 20 20 2d 09 20 20 20 2d 0d 0a 0d 0a 09 a1 46 75 6e 63 74 69 6f 6e e1 3a 0d 0a 09 84 41 20 64 ┆ - - Function : A d┆ 0x0d3c0…0d3e0 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 20 69 6e 63 61 72 6e 61 74 69 6f 6e 20 69 6e 64 69 ┆te_chan process incarnation indi┆ 0x0d3e0…0d400 63 61 74 65 73 20 74 68 65 20 65 6e 64 20 6f 66 20 61 20 63 6c 65 61 72 20 70 68 61 73 65 2e 20 ┆cates the end of a clear phase. ┆ 0x0d400…0d420 (106,) 0a 19 89 80 80 41 6c 6c 20 75 73 65 72 20 62 75 66 66 65 72 73 20 61 72 65 20 72 65 74 75 72 6e ┆ All user buffers are return┆ 0x0d420…0d440 65 64 20 61 6e 64 20 74 68 65 20 73 74 61 74 65 20 6f 66 20 74 68 65 20 73 74 72 65 61 6d 20 69 ┆ed and the state of the stream i┆ 0x0d440…0d460 73 20 0a 19 89 80 80 63 68 61 6e 67 65 64 20 74 6f 20 69 64 6c 65 2e 0d 0a 0d 0a 8c 80 a7 0a 09 ┆s changed to idle. ┆ 0x0d460…0d480 a1 52 65 73 75 6c 74 e1 3a 0d 0a 09 6f 6b 20 20 20 20 20 20 20 20 20 20 20 20 20 28 30 29 20 3a ┆ Result : ok (0) :┆ 0x0d480…0d4a0 20 6d 65 73 73 61 67 65 20 70 72 6f 63 65 73 73 65 64 20 70 72 6f 70 65 72 6c 79 0d 0a 09 66 63 ┆ message processed properly fc┆ 0x0d4a0…0d4c0 74 5f 6e 6f 74 5f 61 6c 6c 77 20 20 28 31 32 29 20 3a 20 66 75 6e 63 74 69 6f 6e 20 6e 6f 74 20 ┆t_not_allw (12) : function not ┆ 0x0d4c0…0d4e0 61 6c 6c 6f 77 65 64 20 69 6e 20 74 68 69 73 20 73 74 61 74 65 0d 0a 09 64 74 65 5f 72 65 73 74 ┆allowed in this state dte_rest┆ 0x0d4e0…0d500 61 72 74 65 64 20 28 39 38 29 20 3a 20 64 74 65 5f 61 63 63 65 73 73 20 69 6e 20 72 65 73 74 61 ┆arted (98) : dte_access in resta┆ 0x0d500…0d520 72 74 20 70 68 61 73 65 0d 0a 0d 0a 0d 0a a1 33 2e 32 2e 33 09 50 72 6f 63 65 73 73 20 64 74 65 ┆rt phase 3.2.3 Process dte┆ 0x0d520…0d540 5f 68 72 65 63 0d 0a 0d 0a 09 84 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 69 6e 74 65 72 6e 61 ┆_hrec The following interna┆ 0x0d540…0d560 6c 20 6d 65 73 73 61 67 65 73 20 61 72 65 20 68 61 6e 64 6c 65 64 20 62 79 20 74 68 65 20 64 74 ┆l messages are handled by the dt┆ 0x0d560…0d578 65 5f 68 72 65 63 20 0a 19 89 80 80 70 72 6f 63 65 73 73 2e 0d 0a 0d 0a ┆e_hrec process. ┆ 0x0d578…0d5b1 Params { 0x0d578…0d5b1 04 00 2d 44 0c 00 06 00 00 00 00 02 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x0d578…0d5b1 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x0d578…0d5b1 } 0x0d5b1…0d5ea Params { 0x0d5b1…0d5ea 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x0d5b1…0d5ea 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x0d5b1…0d5ea } 0x0d5ea…0d600 0a 09 6e 61 6d 65 09 20 20 20 20 20 73 65 6e 64 69 6e 67 09 20 20 ┆ name sending ┆ 0x0d600…0d620 (107,) 20 20 20 72 65 63 65 69 76 69 6e 67 09 20 20 20 20 20 73 65 63 74 69 6f 6e 0d 0a 09 09 20 20 20 ┆ receiving section ┆ 0x0d620…0d640 20 20 70 72 6f 63 65 73 73 09 20 20 20 20 20 70 72 6f 63 65 73 73 0d 0a 0d 0a 09 73 65 74 5f 61 ┆ process process set_a┆ 0x0d640…0d660 73 73 5f 63 68 61 6e 20 20 20 20 20 64 74 65 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 74 ┆ss_chan dte dt┆ 0x0d660…0d675 65 5f 68 72 65 63 09 20 20 20 20 20 33 2e 32 2e 33 2e 31 0d 0a ┆e_hrec 3.2.3.1 ┆ 0x0d675…0d6ae Params { 0x0d675…0d6ae 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x0d675…0d6ae 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x0d675…0d6ae } 0x0d6ae…0d6e7 Params { 0x0d6ae…0d6e7 04 00 2d 44 0c 00 06 00 00 00 00 02 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x0d6ae…0d6e7 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x0d6ae…0d6e7 } 0x0d6e7…0d700 0a 0d 0a 0d 0a a1 33 2e 32 2e 33 2e 31 09 4d 65 73 73 61 67 65 73 20 72 65 ┆ 3.2.3.1 Messages re┆ 0x0d700…0d720 63 65 69 76 65 64 0d 0a 0d 0a b0 09 a1 4d 65 73 73 61 67 65 20 6e 61 6d 65 e1 20 20 20 3a 20 73 ┆ceived Message name : s┆ 0x0d720…0d740 65 74 5f 61 73 73 5f 63 68 61 6e 0d 0a 0d 0a 09 a1 4d 65 73 73 61 67 65 20 66 6f 72 6d 61 74 e1 ┆et_ass_chan Message format ┆ 0x0d740…0d760 20 3a 20 0d 0a 09 09 20 20 20 20 20 20 20 6d 65 73 73 61 67 65 09 61 6e 73 77 65 72 0d 0a 09 09 ┆ : message answer ┆ 0x0d760…0d780 75 31 20 20 20 20 20 20 20 20 20 36 09 20 75 6e 63 68 0d 0a 09 09 75 32 09 20 37 20 20 20 09 72 ┆u1 6 unch u2 7 r┆ 0x0d780…0d7a0 65 73 75 6c 74 0d 0a 09 09 75 33 20 20 20 20 20 20 20 20 20 2d 09 20 75 6e 63 68 0d 0a 09 09 75 ┆esult u3 - unch u┆ 0x0d7a0…0d7c0 34 20 20 20 20 20 20 20 20 20 38 09 20 75 6e 63 68 0d 0a 0d 0a 09 09 62 75 66 20 20 73 75 70 5f ┆4 8 unch buf sup_┆ 0x0d7c0…0d7e0 6d 65 73 73 5f 74 79 70 65 09 20 75 6e 63 68 0d 0a 0d 0a 09 09 73 75 70 5f 6d 65 73 73 5f 74 79 ┆mess_type unch sup_mess_ty┆ 0x0d7e0…0d800 70 65 20 3d 20 72 65 63 6f 72 64 0d 0a 09 09 09 20 20 20 20 20 20 20 20 78 32 35 5f 76 61 72 20 ┆pe = record x25_var ┆ 0x0d800…0d820 (108,) 20 20 3a 20 78 32 35 5f 72 65 63 5f 74 79 70 65 3b 0d 0a 09 09 09 20 20 20 20 20 20 20 20 69 6e ┆ : x25_rec_type; in┆ 0x0d820…0d840 5f 62 75 66 20 20 20 20 3a 20 62 79 74 65 3b 0d 0a 09 09 09 20 20 20 20 20 20 65 6e 64 3b 0d 0a ┆_buf : byte; end; ┆ 0x0d840…0d860 0d 0a 09 09 78 32 35 5f 72 65 63 5f 74 79 70 65 20 3d 20 72 65 63 6f 72 64 0d 0a 09 09 09 20 20 ┆ x25_rec_type = record ┆ 0x0d860…0d880 20 20 20 20 20 6c 74 63 2c 0d 0a 09 09 09 20 20 20 20 20 20 20 68 74 63 20 20 20 20 20 20 3a 20 ┆ ltc, htc : ┆ 0x0d880…0d8a0 63 68 61 6e 6e 65 6c 5f 74 79 70 65 3b 0d 0a 09 09 09 20 20 20 20 20 20 20 6c 74 63 69 2c 0d 0a ┆channel_type; ltci, ┆ 0x0d8a0…0d8c0 09 09 09 20 20 20 20 20 20 20 68 74 63 69 20 20 20 20 20 3a 20 69 6e 74 65 67 65 72 3b 0d 0a 09 ┆ htci : integer; ┆ 0x0d8c0…0d8e0 09 09 20 20 20 20 20 65 6e 64 3b 0d 0a 0d 0a 8c 80 aa 0a 09 a1 46 75 6e 63 74 69 6f 6e e1 3a 0d ┆ end; Function : ┆ 0x0d8e0…0d900 0a 09 84 54 68 65 20 61 73 73 69 67 6e 65 64 20 6c 6f 67 69 63 61 6c 20 63 68 61 6e 6e 65 6c 20 ┆ The assigned logical channel ┆ 0x0d900…0d920 69 6e 74 65 72 76 61 6c 2c 20 74 68 65 20 6c 6f 77 65 73 74 20 61 6e 64 20 68 69 67 68 65 73 74 ┆interval, the lowest and highest┆ 0x0d920…0d940 20 0a 19 89 80 80 69 6e 64 65 78 20 74 6f 20 74 68 65 20 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 ┆ index to the dte_chan proc┆ 0x0d940…0d960 65 73 73 20 73 65 6d 61 70 68 6f 72 65 20 61 72 72 61 79 2c 20 61 6e 64 20 74 68 65 20 6e 75 6d ┆ess semaphore array, and the num┆ 0x0d960…0d980 62 65 72 20 6f 66 20 0a 19 89 80 80 69 6e 70 75 74 20 62 75 66 66 65 72 73 20 61 74 20 74 68 65 ┆ber of input buffers at the┆ 0x0d980…0d9a0 20 48 44 4c 43 20 64 72 69 76 65 72 20 61 72 65 20 73 65 74 2f 75 70 64 61 74 65 64 2e 0d 0a 0d ┆ HDLC driver are set/updated. ┆ 0x0d9a0…0d9c0 0a 09 84 54 68 65 20 6d 61 78 69 6d 75 6d 20 6e 75 6d 62 65 72 20 6f 66 20 68 64 6c 63 20 69 6e ┆ The maximum number of hdlc in┆ 0x0d9c0…0d9e0 70 75 74 20 62 75 66 66 65 72 73 20 69 73 20 73 65 74 20 74 6f 20 31 30 20 69 6e 20 74 68 65 20 ┆put buffers is set to 10 in the ┆ 0x0d9e0…0da00 0a 19 89 80 80 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 44 54 45 45 4e 56 20 28 61 70 70 65 6e 64 69 ┆ environment DTEENV (appendi┆ 0x0da00…0da20 (109,) 78 20 42 2e 35 29 2e 0d 0a 0d 0a 09 84 54 68 65 20 63 6f 6e 73 69 73 74 65 6e 73 20 6f 66 20 74 ┆x B.5). The consistens of t┆ 0x0da20…0da40 68 65 20 70 61 72 61 6d 65 74 65 72 73 20 69 73 20 63 68 65 63 6b 65 64 20 61 6e 64 20 69 66 20 ┆he parameters is checked and if ┆ 0x0da40…0da60 6e 6f 74 20 6f 6b 2c 20 74 68 65 20 0a 19 89 80 80 6d 65 73 73 61 67 65 20 69 73 20 72 65 74 75 ┆not ok, the message is retu┆ 0x0da60…0da80 72 6e 65 64 20 77 69 74 68 20 27 66 6f 72 6d 61 74 5f 65 72 72 6f 72 27 2e 20 54 68 65 20 66 6f ┆rned with 'format_error'. The fo┆ 0x0da80…0daa0 6c 6c 6f 77 69 6e 67 20 72 75 6c 65 73 20 68 61 76 65 20 74 6f 20 0a 19 89 80 80 62 65 20 6f 62 ┆llowing rules have to be ob┆ 0x0daa0…0dac0 73 65 72 76 65 64 3a 0d 0a 0d 0a 09 31 29 09 68 74 63 69 2d 6c 74 63 69 20 a1 3c e1 20 6d 61 78 ┆served: 1) htci-ltci < max┆ 0x0dac0…0dae0 20 63 68 61 6e 6e 65 6c 73 0d 0a 09 32 29 09 6c 74 63 69 20 a1 3c e1 20 68 74 63 69 0d 0a 09 33 ┆ channels 2) ltci < htci 3┆ 0x0dae0…0db00 29 09 6e 5f 62 75 66 20 a1 3c e1 20 6d 61 78 5f 69 6e 62 75 66 73 20 20 28 3d 31 30 29 0d 0a 0d ┆) n_buf < max_inbufs (=10) ┆ 0x0db00…0db20 0a 09 a1 52 65 73 75 6c 74 e1 3a 0d 0a 09 6f 6b 20 20 20 20 20 20 20 20 20 20 28 30 29 20 3a 20 ┆ Result : ok (0) : ┆ 0x0db20…0db40 76 61 72 69 61 62 6c 65 20 75 70 64 61 74 65 64 0d 0a 09 66 6f 72 6d 61 74 5f 65 72 72 20 28 32 ┆variable updated format_err (2┆ 0x0db40…0db60 30 29 20 3a 20 76 61 72 69 61 62 6c 65 20 65 72 72 6f 72 0d 0a 0d 0a 0d 0a a1 33 2e 32 2e 34 09 ┆0) : variable error 3.2.4 ┆ 0x0db60…0db80 50 72 6f 63 65 73 73 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 0d 0a 0d 0a 09 84 54 68 65 20 66 6f 6c ┆Process dte_lcnzero The fol┆ 0x0db80…0dba0 6c 6f 77 69 6e 67 20 69 6e 74 65 72 6e 61 6c 2f 65 78 74 65 72 6e 61 6c 20 6d 65 73 73 61 67 65 ┆lowing internal/external message┆ 0x0dba0…0dbc0 73 20 61 72 65 20 68 61 6e 64 6c 65 64 20 62 79 20 74 68 65 20 0a 19 89 80 80 64 74 65 5f 6c 63 ┆s are handled by the dte_lc┆ 0x0dbc0…0dbd2 6e 7a 65 72 6f 20 70 72 6f 63 65 73 73 2e 0d 0a 0d 0a ┆nzero process. ┆ 0x0dbd2…0dc0b Params { 0x0dbd2…0dc0b 04 00 2d 44 0c 00 06 00 00 00 00 02 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x0dbd2…0dc0b 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x0dbd2…0dc0b } 0x0dc0b…0dc44 Params { 0x0dc0b…0dc44 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x0dc0b…0dc44 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x0dc0b…0dc44 } 0x0dc44…0dc60 0a 09 6e 61 6d 65 09 20 20 20 20 20 73 65 6e 64 69 6e 67 09 20 20 20 20 20 72 65 63 ┆ name sending rec┆ 0x0dc60…0dc80 65 69 76 69 6e 67 09 20 20 20 20 20 73 65 63 74 69 6f 6e 0d 0a 09 09 20 20 20 20 20 70 72 6f 63 ┆eiving section proc┆ 0x0dc80…0dca0 65 73 73 09 20 20 20 20 20 70 72 6f 63 65 73 73 0d 0a 0d 0a 09 68 64 6c 63 5f 63 6f 6e 6e 20 20 ┆ess process hdlc_conn ┆ 0x0dca0…0dcc0 20 20 20 20 64 74 65 09 20 09 20 20 20 20 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 09 20 20 20 20 20 ┆ dte dte_lcnzero ┆ 0x0dcc0…0dce0 33 2e 32 2e 34 2e 31 0d 0a 09 68 64 6c 63 5f 64 69 73 63 09 20 20 20 20 20 64 74 65 09 09 20 20 ┆3.2.4.1 hdlc_disc dte ┆ 0x0dce0…0dd00 20 20 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 09 20 20 20 20 20 33 2e 32 2e 34 2e 31 0d 0a 09 72 65 ┆ dte_lcnzero 3.2.4.1 re┆ 0x0dd00…0dd20 73 74 61 72 74 5f 73 74 61 72 74 20 20 64 74 65 09 09 20 20 20 20 20 64 74 65 5f 6c 63 6e 7a 65 ┆start_start dte dte_lcnze┆ 0x0dd20…0dd40 72 6f 09 20 20 20 20 20 33 2e 32 2e 34 2e 31 0d 0a 0d 0a 09 6c 5f 72 65 6c 5f 64 65 6c 61 79 20 ┆ro 3.2.4.1 l_rel_delay ┆ 0x0dd40…0dd60 20 20 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 09 20 20 20 20 20 74 69 6d 65 72 09 20 20 20 20 20 33 ┆ dte_lcnzero timer 3┆ 0x0dd60…0dd80 2e 32 2e 34 2e 32 0d 0a 09 72 65 67 72 65 74 09 20 20 20 20 20 64 74 65 5f 6c 63 6e 7a 65 72 6f ┆.2.4.2 regret dte_lcnzero┆ 0x0dd80…0dda0 09 20 20 20 20 20 74 69 6d 65 72 09 20 20 20 20 20 33 2e 32 2e 34 2e 32 0d 0a 0d 0a 09 78 32 35 ┆ timer 3.2.4.2 x25┆ 0x0dda0…0ddc0 5f 69 6e 70 75 74 20 20 20 20 20 20 64 74 65 5f 68 72 65 63 09 20 20 20 20 20 64 74 65 5f 6c 63 ┆_input dte_hrec dte_lc┆ 0x0ddc0…0ddd4 6e 7a 65 72 6f 09 20 20 20 20 20 33 2e 32 2e 34 2e 31 0d 0a ┆nzero 3.2.4.1 ┆ 0x0ddd4…0de0d Params { 0x0ddd4…0de0d 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x0ddd4…0de0d 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x0ddd4…0de0d } 0x0de0d…0de46 Params { 0x0de0d…0de46 04 00 2d 44 0c 00 06 00 00 00 00 02 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x0de0d…0de46 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x0de0d…0de46 } 0x0de46…0de49 0a 0d 0a ┆ ┆ 0x0de49…0de4c FormFeed { 0x0de49…0de4c 0c 80 a6 ┆ ┆ 0x0de49…0de4c } 0x0de4c…0de60 0a a1 33 2e 32 2e 34 2e 31 09 4d 65 73 73 61 67 65 73 20 72 ┆ 3.2.4.1 Messages r┆ 0x0de60…0de80 65 63 65 69 76 65 64 0d 0a 0d 0a b0 09 a1 4d 65 73 73 61 67 65 20 6e 61 6d 65 e1 20 20 20 3a 20 ┆eceived Message name : ┆ 0x0de80…0dea0 68 64 6c 63 5f 63 6f 6e 6e 0d 0a 0d 0a 09 a1 4d 65 73 73 61 67 65 20 66 6f 72 6d 61 74 e1 20 3a ┆hdlc_conn Message format :┆ 0x0dea0…0dec0 20 0d 0a 09 09 20 20 20 20 20 20 20 6d 65 73 73 61 67 65 09 61 6e 73 77 65 72 0d 0a 09 09 75 31 ┆ message answer u1┆ 0x0dec0…0dee0 20 20 20 20 20 20 20 20 20 34 09 20 75 6e 63 68 0d 0a 09 09 75 32 20 20 20 20 20 20 20 20 20 37 ┆ 4 unch u2 7┆ 0x0dee0…0df00 09 72 65 73 75 6c 74 0d 0a 09 09 75 33 20 20 20 63 6f 6e 6e 5f 73 65 71 5f 6e 6f 20 20 20 20 20 ┆ result u3 conn_seq_no ┆ 0x0df00…0df20 75 6e 63 68 0d 0a 09 09 75 34 20 20 20 20 20 20 20 20 20 38 09 20 75 6e 63 68 0d 0a 0d 0a 09 09 ┆unch u4 8 unch ┆ 0x0df20…0df40 62 75 66 09 20 2d 09 20 75 6e 63 68 0d 0a 0d 0a 09 a1 46 75 6e 63 74 69 6f 6e e1 3a 0d 0a 09 84 ┆buf - unch Function : ┆ 0x0df40…0df60 54 68 65 20 48 44 4c 43 20 6c 69 6e 65 20 68 61 73 20 62 65 65 6e 20 63 6f 6e 6e 65 63 74 65 64 ┆The HDLC line has been connected┆ 0x0df60…0df80 2e 20 54 68 65 20 69 6e 74 65 72 6e 61 6c 20 73 74 61 74 65 20 69 73 20 63 68 61 6e 67 65 64 20 ┆. The internal state is changed ┆ 0x0df80…0dfa0 74 6f 20 0a 19 89 80 80 68 64 6c 63 5f 61 63 74 69 76 65 2e 0d 0a 0d 0a 09 84 41 6e 20 58 2e 32 ┆to hdlc_active. An X.2┆ 0x0dfa0…0dfc0 35 20 52 45 53 54 41 52 54 20 52 45 51 55 45 53 54 20 69 73 20 65 78 70 65 63 74 65 64 20 74 6f ┆5 RESTART REQUEST is expected to┆ 0x0dfc0…0dfe0 20 68 61 76 65 20 62 65 65 6e 20 74 72 61 6e 73 6d 69 74 74 65 64 20 74 6f 20 0a 19 89 80 80 74 ┆ have been transmitted to t┆ 0x0dfe0…0e000 68 65 20 44 43 45 20 66 72 6f 6d 20 74 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 2c 20 73 6f 20 ┆he DCE from the dte process, so ┆ 0x0e000…0e020 (112,) 74 68 65 20 74 69 6d 65 72 20 74 32 30 20 69 73 20 73 74 61 72 74 65 64 2e 20 43 6f 6e 6e 65 63 ┆the timer t20 is started. Connec┆ 0x0e020…0e040 80 0a 19 89 80 80 74 69 6f 6e 20 6e 75 6d 62 65 72 20 69 73 20 73 65 74 20 74 6f 20 74 68 65 20 ┆ tion number is set to the ┆ 0x0e040…0e060 76 61 6c 75 65 20 6f 66 20 74 68 65 20 75 33 20 66 69 65 6c 64 2e 0d 0a 0d 0a 09 a1 52 65 73 75 ┆value of the u3 field. Resu┆ 0x0e060…0e080 6c 74 e1 3a 0d 0a 09 6f 6b 09 28 30 29 20 3a 20 6d 65 73 73 61 67 65 20 70 72 6f 63 65 73 73 65 ┆lt : ok (0) : message processe┆ 0x0e080…0e0a0 64 20 70 72 6f 70 65 72 6c 79 0d 0a 0d 0a b0 09 a1 4d 65 73 73 61 67 65 20 6e 61 6d 65 e1 20 20 ┆d properly Message name ┆ 0x0e0a0…0e0c0 3a 20 68 64 6c 63 5f 64 69 73 63 0d 0a 0d 0a 09 a1 4d 65 73 73 61 67 65 20 66 6f 72 6d 61 74 e1 ┆: hdlc_disc Message format ┆ 0x0e0c0…0e0e0 3a 20 0d 0a 09 09 20 20 20 20 20 20 6d 65 73 73 61 67 65 09 61 6e 73 77 65 72 0d 0a 09 09 75 31 ┆: message answer u1┆ 0x0e0e0…0e100 20 20 20 20 20 20 20 20 38 09 20 75 6e 63 68 0d 0a 09 09 75 32 20 20 20 20 20 20 20 20 37 09 72 ┆ 8 unch u2 7 r┆ 0x0e100…0e120 65 73 75 6c 74 0d 0a 09 09 75 33 20 20 20 20 20 20 20 20 30 09 20 75 6e 63 68 0d 0a 09 09 75 34 ┆esult u3 0 unch u4┆ 0x0e120…0e140 20 20 20 20 20 20 20 20 38 09 20 75 6e 63 68 0d 0a 0d 0a 09 09 62 75 66 20 20 20 20 20 20 20 2d ┆ 8 unch buf -┆ 0x0e140…0e14a 09 20 75 6e 63 68 0d 0a 0d 0a ┆ unch ┆ 0x0e14a…0e14d FormFeed { 0x0e14a…0e14d 0c 80 a3 ┆ ┆ 0x0e14a…0e14d } 0x0e14d…0e160 0a 09 a1 46 75 6e 63 74 69 6f 6e e1 3a 0d 0a 09 84 54 68 ┆ Function : Th┆ 0x0e160…0e180 65 20 68 64 6c 63 20 6c 69 6e 65 20 68 61 73 20 62 65 65 6e 20 64 69 73 63 63 6f 6e 6e 65 63 74 ┆e hdlc line has been discconnect┆ 0x0e180…0e1a0 65 64 2e 20 54 68 65 20 69 6e 74 65 72 6e 61 6c 20 73 74 61 74 65 20 69 73 20 73 65 74 20 74 6f ┆ed. The internal state is set to┆ 0x0e1a0…0e1c0 20 0a 19 89 80 80 6e 65 74 5f 64 6f 77 6e 2e 20 49 66 20 74 69 6d 65 72 20 74 32 30 20 69 73 20 ┆ net_down. If timer t20 is ┆ 0x0e1c0…0e1e0 72 75 6e 6e 69 6e 67 2c 20 69 74 20 69 73 20 73 74 6f 70 70 65 64 20 62 79 20 61 20 72 65 67 72 ┆running, it is stopped by a regr┆ 0x0e1e0…0e200 65 74 20 0a 19 89 80 80 6d 65 73 73 61 67 65 2e 0d 0a 0d 0a 09 a1 52 65 73 75 6c 74 e1 3a 0d 0a ┆et message. Result : ┆ 0x0e200…0e220 (113,) 09 6f 6b 09 20 28 30 29 3a 20 6d 65 73 73 61 67 65 20 70 72 6f 63 65 73 73 65 64 20 70 72 6f 70 ┆ ok (0): message processed prop┆ 0x0e220…0e240 65 72 6c 79 0d 0a 0d 0a b0 09 a1 4d 65 73 73 61 67 65 20 6e 61 6d 65 e1 20 20 3a 20 72 65 73 74 ┆erly Message name : rest┆ 0x0e240…0e260 61 72 74 5f 73 74 61 72 74 0d 0a 0d 0a 09 a1 4d 65 73 73 61 67 65 20 66 6f 72 6d 61 74 e1 3a 20 ┆art_start Message format : ┆ 0x0e260…0e280 0d 0a 09 09 20 20 20 20 20 20 6d 65 73 73 61 67 65 09 61 6e 73 77 65 72 0d 0a 09 09 75 31 20 20 ┆ message answer u1 ┆ 0x0e280…0e2a0 20 20 20 20 32 35 32 09 20 75 6e 63 68 0d 0a 09 09 75 32 20 20 20 20 09 37 09 72 65 73 75 6c 74 ┆ 252 unch u2 7 result┆ 0x0e2a0…0e2c0 0d 0a 09 09 75 33 20 20 20 64 69 61 67 5f 63 6f 64 65 09 20 75 6e 63 68 0d 0a 09 09 75 34 20 20 ┆ u3 diag_code unch u4 ┆ 0x0e2c0…0e2e0 20 20 20 20 20 20 38 09 20 75 6e 63 68 0d 0a 0d 0a 09 09 62 75 66 09 2d 09 20 75 6e 63 68 0d 0a ┆ 8 unch buf - unch ┆ 0x0e2e0…0e300 0d 0a 09 a1 46 75 6e 63 74 69 6f 6e e1 3a 0d 0a 09 84 41 20 72 65 73 74 61 72 74 20 70 68 61 73 ┆ Function : A restart phas┆ 0x0e300…0e320 65 20 69 73 20 72 65 71 75 65 73 74 65 64 20 62 79 20 74 68 65 20 64 74 65 20 70 72 6f 63 65 73 ┆e is requested by the dte proces┆ 0x0e320…0e340 73 2e 20 54 68 65 20 69 6e 74 65 72 6e 61 6c 20 73 74 61 80 0a 19 89 80 80 74 65 20 69 73 20 73 ┆s. The internal sta te is s┆ 0x0e340…0e360 65 74 20 74 6f 20 64 74 65 5f 72 65 73 74 61 72 74 2e 20 41 6e 20 58 2e 32 35 20 52 45 53 54 41 ┆et to dte_restart. An X.25 RESTA┆ 0x0e360…0e380 52 54 20 52 45 51 55 45 53 54 20 69 73 20 74 72 61 6e 73 6d 69 74 80 0a 19 89 80 80 74 65 64 20 ┆RT REQUEST is transmit ted ┆ 0x0e380…0e3a0 74 6f 20 74 68 65 20 44 43 45 20 61 6e 64 20 74 69 6d 65 72 20 74 32 30 20 69 73 20 73 74 61 72 ┆to the DCE and timer t20 is star┆ 0x0e3a0…0e3c0 74 65 64 2e 20 4f 63 74 65 74 20 34 20 69 6e 20 74 68 65 20 52 45 53 54 41 52 54 20 0a 19 89 80 ┆ted. Octet 4 in the RESTART ┆ 0x0e3c0…0e3e0 80 52 45 51 55 45 53 54 20 69 73 20 73 65 74 20 74 6f 20 30 20 61 6e 64 20 6f 63 74 65 74 20 35 ┆ REQUEST is set to 0 and octet 5┆ 0x0e3e0…0e400 20 74 6f 20 64 69 61 67 5f 63 6f 64 65 20 28 75 33 20 66 69 65 6c 64 29 2e 0d 0a 0d 0a 09 a1 52 ┆ to diag_code (u3 field). R┆ 0x0e400…0e420 (114,) 65 73 75 6c 74 e1 3a 0d 0a 09 6f 6b 09 20 28 30 29 20 3a 20 6d 65 73 73 61 67 65 20 70 72 6f 63 ┆esult : ok (0) : message proc┆ 0x0e420…0e440 65 73 73 65 64 20 70 72 6f 70 65 72 6c 79 0d 0a 09 72 65 6a 65 63 74 65 64 20 20 28 31 37 29 20 ┆essed properly rejected (17) ┆ 0x0e440…0e460 3a 20 84 74 68 65 20 44 54 45 2f 44 43 45 20 69 6e 74 65 72 66 61 63 65 20 69 73 20 61 6c 72 65 ┆: the DTE/DCE interface is alre┆ 0x0e460…0e480 61 64 79 20 69 6e 20 74 68 65 20 72 65 73 74 61 72 74 20 0a 19 9a 80 80 70 68 61 73 65 2e 0d 0a ┆ady in the restart phase. ┆ 0x0e480…0e4a0 0d 0a b0 09 a1 4d 65 73 73 61 67 65 20 6e 61 6d 65 e1 20 20 20 3a 20 78 32 35 5f 69 6e 70 75 74 ┆ Message name : x25_input┆ 0x0e4a0…0e4c0 0d 0a 0d 0a 09 a1 4d 65 73 73 61 67 65 20 66 6f 72 6d 61 74 e1 20 3a 20 0d 0a 09 09 20 20 20 20 ┆ Message format : ┆ 0x0e4c0…0e4e0 20 20 20 72 65 63 65 69 76 65 64 20 61 6e 73 77 65 72 0d 0a 09 09 75 31 20 20 20 20 20 20 20 20 ┆ received answer u1 ┆ 0x0e4e0…0e500 20 20 20 20 31 0d 0a 09 09 75 32 20 20 20 20 20 20 20 20 20 20 20 20 30 0d 0a 09 09 75 33 09 20 ┆ 1 u2 0 u3 ┆ 0x0e500…0e520 20 20 20 2d 0d 0a 09 09 75 34 09 20 20 20 20 36 0d 0a 0d 0a 09 09 62 75 66 20 20 20 20 78 32 35 ┆ - u4 6 buf x25┆ 0x0e520…0e52b 5f 62 75 66 5f 74 79 70 65 0d 0a ┆_buf_type ┆ 0x0e52b…0e52e FormFeed { 0x0e52b…0e52e 0c 80 a8 ┆ ┆ 0x0e52b…0e52e } 0x0e52e…0e540 0a 09 09 78 32 35 5f 62 75 66 5f 74 79 70 65 20 3d 20 ┆ x25_buf_type = ┆ 0x0e540…0e560 72 65 63 6f 72 64 0d 0a 09 09 09 20 20 20 20 20 20 20 66 69 72 73 74 2c 6c 61 73 74 2c 6e 65 78 ┆record first,last,nex┆ 0x0e560…0e580 74 20 3a 20 69 6e 74 65 67 65 72 3b 0d 0a 09 09 09 20 20 20 20 20 20 20 68 65 61 64 09 20 20 09 ┆t : integer; head ┆ 0x0e580…0e5a0 20 3a 20 78 32 35 5f 68 65 61 64 3b 0d 0a 09 09 09 20 20 20 20 20 20 20 64 61 74 61 09 09 20 3a ┆ : x25_head; data :┆ 0x0e5a0…0e5c0 20 84 61 72 72 61 79 20 0a 19 be 80 80 28 66 69 72 73 74 2b 33 2e 2e 6c 61 73 74 29 20 0a 19 be ┆ array (first+3..last) ┆ 0x0e5c0…0e5e0 80 80 6f 66 20 62 79 74 65 3b 0d 0a 09 09 09 20 20 20 20 20 65 6e 64 3b 0d 0a 0d 0a 09 09 78 32 ┆ of byte; end; x2┆ 0x0e5e0…0e600 35 5f 68 65 61 64 20 20 20 20 20 3d 20 70 61 63 6b 65 64 20 72 65 63 6f 72 64 0d 0a 09 09 09 20 ┆5_head = packed record ┆ 0x0e600…0e620 (115,) 20 20 20 20 20 20 71 5f 62 69 74 2c 0d 0a 09 09 09 20 20 20 20 20 20 20 64 5f 62 69 74 2c 0d 0a ┆ q_bit, d_bit, ┆ 0x0e620…0e640 09 09 09 20 20 20 20 20 20 20 6d 31 32 38 2c 0d 0a 09 09 09 20 20 20 20 20 20 20 6d 38 20 20 20 ┆ m128, m8 ┆ 0x0e640…0e660 20 20 20 20 20 20 20 20 20 20 20 3a 20 62 69 74 3b 0d 0a 09 09 09 20 20 20 20 20 20 20 6c 63 67 ┆ : bit; lcg┆ 0x0e660…0e680 6e 09 20 20 20 3a 20 62 69 74 34 3b 0d 0a 09 09 09 20 20 20 20 20 20 20 6c 63 6e 09 20 20 20 3a ┆n : bit4; lcn :┆ 0x0e680…0e6a0 20 62 79 74 65 3b 0d 0a 09 09 09 20 20 20 20 20 20 20 70 61 63 6b 65 74 5f 69 64 09 20 20 20 3a ┆ byte; packet_id :┆ 0x0e6a0…0e6c0 20 62 79 74 65 3b 0d 0a 09 09 09 20 20 20 20 20 65 6e 64 3b 0d 0a 0d 0a 09 a1 46 75 6e 63 74 69 ┆ byte; end; Functi┆ 0x0e6c0…0e6e0 6f 6e e1 3a 0d 0a 09 84 54 68 65 20 62 75 66 66 65 72 20 69 73 20 72 65 63 65 69 76 65 64 20 66 ┆on : The buffer is received f┆ 0x0e6e0…0e700 72 6f 6d 20 74 68 65 20 64 74 65 5f 68 72 65 63 20 70 72 6f 63 65 73 73 2e 20 49 74 20 63 6f 6e ┆rom the dte_hrec process. It con┆ 0x0e700…0e720 74 61 69 6e 73 20 61 20 0a 19 89 80 80 72 65 63 65 69 76 65 64 20 58 2e 32 35 20 70 61 63 6b 65 ┆tains a received X.25 packe┆ 0x0e720…0e740 74 20 6f 6e 20 6c 6f 67 69 63 61 6c 20 63 68 61 6e 6e 65 6c 20 7a 65 72 6f 20 28 6c 63 67 6e 20 ┆t on logical channel zero (lcgn ┆ 0x0e740…0e760 3d 20 30 20 61 6e 64 20 6c 63 6e 20 3d 20 0a 19 89 80 80 30 29 2e 20 54 68 65 20 70 61 63 6b 65 ┆= 0 and lcn = 0). The packe┆ 0x0e760…0e780 74 20 74 79 70 65 20 69 73 20 69 64 65 6e 74 69 66 69 65 64 20 61 6e 64 20 70 75 74 20 69 6e 74 ┆t type is identified and put int┆ 0x0e780…0e7a0 6f 20 6f 6e 65 20 6f 66 20 66 6f 75 72 20 67 72 6f 75 70 73 3a 0d 0a 0d 0a 09 61 29 09 b0 72 65 ┆o one of four groups: a) re┆ 0x0e7a0…0e7c0 73 74 61 72 74 20 69 6e 64 69 63 61 74 69 6f 6e 3a 0d 0a 09 09 84 65 69 74 68 65 72 20 74 68 65 ┆start indication: either the┆ 0x0e7c0…0e7e0 20 72 65 73 74 61 72 74 20 70 68 61 73 65 20 69 73 20 65 6e 64 65 64 20 6f 72 20 61 20 6e 65 77 ┆ restart phase is ended or a new┆ 0x0e7e0…0e800 20 69 73 20 69 6e 69 74 69 61 74 65 64 20 0a 19 93 80 80 62 79 20 74 68 65 20 44 43 45 2e 20 49 ┆ is initiated by the DCE. I┆ 0x0e800…0e820 (116,) 6e 20 74 68 65 20 66 69 72 73 74 20 63 61 73 65 20 74 69 6d 65 72 20 74 32 30 20 69 73 20 73 74 ┆n the first case timer t20 is st┆ 0x0e820…0e840 6f 70 70 65 64 20 61 6e 64 20 0a 19 93 80 80 74 68 65 20 69 6e 74 65 72 6e 61 6c 20 73 74 61 74 ┆opped and the internal stat┆ 0x0e840…0e860 65 20 69 73 20 63 68 61 6e 67 65 64 20 74 6f 20 64 74 65 5f 72 65 61 64 79 2e 20 49 6e 20 74 68 ┆e is changed to dte_ready. In th┆ 0x0e860…0e880 65 20 6c 61 73 74 20 0a 19 93 80 80 63 61 73 65 20 61 20 52 45 53 54 41 52 54 20 43 4f 4e 46 49 ┆e last case a RESTART CONFI┆ 0x0e880…0e8a0 52 4d 41 54 49 4f 4e 20 69 73 20 74 72 61 6e 73 6d 69 74 74 65 64 20 74 6f 20 74 68 65 20 44 43 ┆RMATION is transmitted to the DC┆ 0x0e8a0…0e8c0 45 2e 20 0a 19 93 80 80 49 6e 20 62 6f 74 68 20 63 61 73 65 73 20 74 68 65 20 64 74 65 20 70 72 ┆E. In both cases the dte pr┆ 0x0e8c0…0e8e0 6f 63 65 73 73 20 69 73 20 69 6e 66 6f 72 6d 65 64 0d 0a 0d 0a 09 62 29 09 84 b0 72 65 73 74 61 ┆ocess is informed b) resta┆ 0x0e8e0…0e900 72 74 20 63 6f 6e 66 69 72 6d 61 74 69 6f 6e 3a 0d 0a 09 09 84 74 68 65 20 72 65 73 74 61 72 74 ┆rt confirmation: the restart┆ 0x0e900…0e920 20 70 68 61 73 65 20 69 73 20 65 6e 64 65 64 20 62 79 20 74 68 65 20 44 43 45 2e 20 54 68 65 20 ┆ phase is ended by the DCE. The ┆ 0x0e920…0e940 64 74 65 20 70 72 6f 63 65 73 73 20 0a 19 93 80 80 69 73 20 69 6e 66 6f 72 6d 65 64 20 61 6e 64 ┆dte process is informed and┆ 0x0e940…0e960 20 74 69 6d 65 72 20 74 32 30 20 69 73 20 73 74 6f 70 70 65 64 20 61 6e 64 20 74 68 65 20 69 6e ┆ timer t20 is stopped and the in┆ 0x0e960…0e980 74 65 72 6e 61 6c 20 0a 19 93 80 80 73 74 61 74 65 20 69 73 20 63 68 61 6e 67 65 64 20 74 6f 20 ┆ternal state is changed to ┆ 0x0e980…0e9a0 64 74 65 5f 72 65 61 64 79 0d 0a 0d 0a 09 63 29 09 b0 64 69 61 67 6e 6f 73 74 69 63 3a 0d 0a 09 ┆dte_ready c) diagnostic: ┆ 0x0e9a0…0e9c0 09 84 74 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 20 69 73 20 69 6e 66 6f 72 6d 65 64 0d 0a 0d ┆ the dte process is informed ┆ 0x0e9c0…0e9e0 0a 09 64 29 09 b0 61 6c 6c 20 6f 74 68 65 72 73 3a 0d 0a 09 09 84 74 68 65 20 70 61 63 6b 65 74 ┆ d) all others: the packet┆ 0x0e9e0…0e9f4 20 69 73 20 6a 75 73 74 20 64 69 73 63 61 72 64 65 64 0d 0a ┆ is just discarded ┆ 0x0e9f4…0e9f7 FormFeed { 0x0e9f4…0e9f7 0c 80 a8 ┆ ┆ 0x0e9f4…0e9f7 } 0x0e9f7…0ea00 0a a1 33 2e 32 2e 34 2e 32 ┆ 3.2.4.2┆ 0x0ea00…0ea20 (117,) 09 4d 65 73 73 61 67 65 73 20 73 65 6e 74 0d 0a 0d 0a 09 84 54 68 65 20 6e 65 78 74 20 74 77 6f ┆ Messages sent The next two┆ 0x0ea20…0ea40 20 6d 65 73 73 61 67 65 73 20 61 72 65 20 75 73 65 64 20 69 6e 20 63 6f 6e 6e 65 63 74 69 6f 6e ┆ messages are used in connection┆ 0x0ea40…0ea60 20 77 69 74 68 20 74 69 6d 65 72 20 74 32 30 20 61 6e 64 20 0a 19 89 80 80 61 72 65 20 62 6f 74 ┆ with timer t20 and are bot┆ 0x0ea60…0ea80 68 20 73 65 6e 74 20 61 6e 64 20 72 65 63 65 69 76 65 64 20 62 79 20 74 68 65 20 64 74 65 5f 6c ┆h sent and received by the dte_l┆ 0x0ea80…0eaa0 63 6e 7a 65 72 6f 20 70 72 6f 63 65 73 73 2e 0d 0a 0d 0a 09 a1 b0 4d 65 73 73 61 67 65 20 6e 61 ┆cnzero process. Message na┆ 0x0eaa0…0eac0 6d 65 e1 20 20 20 3a 20 6c 5f 72 65 6c 5f 64 65 6c 61 79 0d 0a 0d 0a 09 a1 4d 65 73 73 61 67 65 ┆me : l_rel_delay Message┆ 0x0eac0…0eae0 20 66 6f 72 6d 61 74 e1 20 3a 20 0d 0a 09 09 20 20 20 20 20 20 20 6d 65 73 73 61 67 65 20 73 65 ┆ format : message se┆ 0x0eae0…0eb00 6e 74 09 20 20 20 61 6e 73 77 65 72 20 72 65 63 65 69 76 65 64 0d 0a 09 09 75 31 20 20 20 20 20 ┆nt answer received u1 ┆ 0x0eb00…0eb20 20 20 20 20 20 20 39 09 09 75 6e 63 68 0d 0a 09 09 75 32 09 20 20 20 37 09 20 20 20 20 20 20 20 ┆ 9 unch u2 7 ┆ 0x0eb20…0eb40 20 20 72 65 73 75 6c 74 0d 0a 09 09 75 33 09 20 20 20 2d 09 09 20 20 30 0d 0a 09 09 75 34 09 20 ┆ result u3 - 0 u4 ┆ 0x0eb40…0eb60 20 20 35 09 09 75 6e 63 68 20 0d 0a 0d 0a 09 09 62 75 66 20 20 20 20 20 20 64 65 6c 61 79 74 79 ┆ 5 unch buf delayty┆ 0x0eb60…0eb80 70 65 09 09 20 20 3f 0d 0a 0d 0a 09 09 64 65 6c 61 79 74 79 70 65 20 20 3d 20 72 65 63 6f 72 64 ┆pe ? delaytype = record┆ 0x0eb80…0eba0 0d 0a 09 09 09 20 20 20 20 20 70 72 65 76 5f 64 61 74 65 20 3a 20 63 6f 64 65 64 5f 64 61 74 65 ┆ prev_date : coded_date┆ 0x0eba0…0ebc0 3b 0d 0a 09 09 09 20 20 20 20 20 70 72 65 76 5f 74 69 6d 65 20 3a 20 63 6f 64 65 64 5f 74 69 6d ┆; prev_time : coded_tim┆ 0x0ebc0…0ebe0 65 3b 0d 0a 09 09 09 20 20 20 20 20 70 72 65 76 5f 73 65 63 73 20 3a 20 63 6f 64 65 64 5f 73 65 ┆e; prev_secs : coded_se┆ 0x0ebe0…0ec00 63 73 3b 0d 0a 09 09 09 20 20 20 20 20 69 6e 63 09 20 20 20 20 20 3a 20 70 61 63 6b 65 64 20 72 ┆cs; inc : packed r┆ 0x0ec00…0ec20 (118,) 65 63 6f 72 64 0d 0a 09 09 09 09 20 20 20 20 20 20 20 20 20 64 61 79 73 20 20 3a 20 30 2e 2e 36 ┆ecord days : 0..6┆ 0x0ec20…0ec40 33 3b 0d 0a 09 09 09 09 20 20 20 20 20 20 20 20 20 68 6f 75 72 73 20 3a 20 30 2e 2e 33 31 3b 0d ┆3; hours : 0..31; ┆ 0x0ec40…0ec60 0a 09 09 09 09 20 20 20 20 20 20 20 20 20 6d 69 6e 73 20 20 3a 20 30 2e 2e 36 33 3b 0d 0a 09 09 ┆ mins : 0..63; ┆ 0x0ec60…0ec80 09 09 20 20 20 20 20 20 20 20 20 73 65 63 73 20 20 3a 20 30 2e 2e 36 33 3b 0d 0a 09 09 09 09 20 ┆ secs : 0..63; ┆ 0x0ec80…0eca0 20 20 20 20 20 20 20 20 6d 73 65 63 73 20 3a 20 30 2e 2e 31 30 32 33 3b 0d 0a 09 09 09 09 20 20 ┆ msecs : 0..1023; ┆ 0x0eca0…0ecc0 20 20 20 20 20 65 6e 64 3b 0d 0a 09 09 09 20 20 20 65 6e 64 3b 0d 0a 0d 0a 09 84 54 68 65 20 74 ┆ end; end; The t┆ 0x0ecc0…0ece0 79 70 65 20 64 65 66 69 6e 69 74 69 6f 6e 20 6f 66 20 63 6f 64 65 64 5f 64 61 74 65 2c 20 63 6f ┆ype definition of coded_date, co┆ 0x0ece0…0ed00 64 65 64 5f 74 69 6d 65 2c 20 61 6e 64 20 63 6f 64 65 64 5f 73 65 63 73 20 6d 61 79 20 0a 19 89 ┆ded_time, and coded_secs may ┆ 0x0ed00…0ed20 80 80 62 65 20 66 6f 75 6e 64 20 69 6e 20 74 68 65 20 52 54 50 20 73 74 61 6e 64 61 72 64 20 65 ┆ be found in the RTP standard e┆ 0x0ed20…0ed40 6e 76 69 72 6f 6e 6d 65 6e 74 2e 0d 0a 0d 0a 09 a1 46 75 6e 63 74 69 6f 6e e1 3a 0d 0a 09 84 54 ┆nvironment. Function : T┆ 0x0ed40…0ed60 68 65 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 20 70 72 6f 63 65 73 73 20 72 65 71 75 65 73 74 73 20 ┆he dte_lcnzero process requests ┆ 0x0ed60…0ed80 74 68 65 20 74 69 6d 65 72 20 70 72 6f 63 65 73 73 20 74 6f 20 72 65 74 75 72 6e 20 74 68 65 20 ┆the timer process to return the ┆ 0x0ed80…0eda0 0a 19 89 80 80 6d 65 73 73 61 67 65 20 61 66 74 65 72 20 74 68 65 20 74 69 6d 65 20 73 70 65 63 ┆ message after the time spec┆ 0x0eda0…0edc0 69 66 69 65 64 20 69 6e 20 74 68 65 20 72 65 63 6f 72 64 20 69 6e 63 2e 20 54 68 65 20 64 65 66 ┆ified in the record inc. The def┆ 0x0edc0…0ede0 61 75 6c 74 20 0a 19 89 80 80 76 61 6c 75 65 20 75 73 65 64 20 69 6e 20 74 68 65 20 58 2e 32 35 ┆ault value used in the X.25┆ 0x0ede0…0ee00 20 72 65 63 6f 6d 6d 65 6e 64 61 74 69 6f 6e 20 69 73 20 31 38 30 20 73 65 63 6f 6e 64 73 2e 0d ┆ recommendation is 180 seconds. ┆ 0x0ee00…0ee01 (119,) 0a ┆ ┆ 0x0ee01…0ee04 FormFeed { 0x0ee01…0ee04 0c 80 a4 ┆ ┆ 0x0ee01…0ee04 } 0x0ee04…0ee20 0a 09 a1 52 65 73 75 6c 74 e1 3a 0d 0a 09 6f 6b 20 20 20 20 20 20 20 20 20 20 20 20 ┆ Result : ok ┆ 0x0ee20…0ee40 20 20 20 20 28 30 29 20 3a 20 74 68 65 20 74 69 6d 65 72 20 70 65 72 69 6f 64 20 68 61 73 20 65 ┆ (0) : the timer period has e┆ 0x0ee40…0ee60 6c 61 70 73 65 64 0d 0a 09 73 79 73 5f 6e 6f 74 5f 70 72 6f 63 65 73 73 65 64 20 28 31 29 20 3a ┆lapsed sys_not_processed (1) :┆ 0x0ee60…0ee80 20 74 68 65 20 6d 65 73 73 61 67 65 20 68 61 73 20 62 65 65 6e 20 72 65 67 72 65 74 74 65 64 0d ┆ the message has been regretted ┆ 0x0ee80…0eea0 0a 0d 0a b0 09 a1 4d 65 73 73 61 67 65 20 6e 61 6d 65 e1 20 20 20 3a 20 72 65 67 72 65 74 0d 0a ┆ Message name : regret ┆ 0x0eea0…0eec0 0d 0a 09 a1 4d 65 73 73 61 67 65 20 66 6f 72 6d 61 74 e1 20 3a 0d 0a 09 09 20 20 20 20 20 20 20 ┆ Message format : ┆ 0x0eec0…0eee0 6d 65 73 73 61 67 65 20 73 65 6e 74 20 20 20 20 20 61 6e 73 77 65 72 20 72 65 63 65 69 76 65 64 ┆message sent answer received┆ 0x0eee0…0ef00 0d 0a 09 09 75 31 09 20 20 20 31 32 09 09 75 6e 63 68 0d 0a 09 09 75 32 09 20 20 20 20 37 09 20 ┆ u1 12 unch u2 7 ┆ 0x0ef00…0ef20 20 20 20 20 20 20 20 20 72 65 73 75 6c 74 0d 0a 09 09 75 33 09 20 20 20 20 2d 09 09 75 6e 63 68 ┆ result u3 - unch┆ 0x0ef20…0ef40 0d 0a 09 09 75 34 09 20 20 20 20 2d 09 09 75 6e 63 68 0d 0a 0d 0a 09 09 62 75 66 09 20 20 20 20 ┆ u4 - unch buf ┆ 0x0ef40…0ef60 2d 09 09 75 6e 63 68 0d 0a 0d 0a 09 a1 46 75 6e 63 74 69 6f 6e e1 3a 0d 0a 09 84 49 66 20 74 68 ┆- unch Function : If th┆ 0x0ef60…0ef80 65 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 20 70 72 6f 63 65 73 73 20 77 61 6e 74 73 20 74 6f 20 73 ┆e dte_lcnzero process wants to s┆ 0x0ef80…0efa0 74 6f 70 20 74 69 6d 65 72 20 74 32 30 20 74 68 69 73 20 6d 65 73 73 61 67 65 20 69 73 20 0a 19 ┆top timer t20 this message is ┆ 0x0efa0…0efc0 89 80 80 73 65 6e 74 20 74 6f 20 74 68 65 20 74 69 6d 65 72 20 70 72 6f 63 65 73 73 2e 20 54 68 ┆ sent to the timer process. Th┆ 0x0efc0…0efe0 65 20 61 6e 73 77 65 72 20 69 73 20 61 6c 77 61 79 73 20 65 78 70 65 63 74 65 64 20 74 6f 20 68 ┆e answer is always expected to h┆ 0x0efe0…0f000 61 76 65 20 0a 19 89 80 80 74 68 65 20 72 65 73 75 6c 74 20 27 6f 6b 27 2e 0d 0a 0d 0a 09 a1 52 ┆ave the result 'ok'. R┆ 0x0f000…0f020 (120,) 65 73 75 6c 74 e1 3a 0d 0a 09 6f 6b 20 20 20 20 20 20 20 20 28 30 29 20 3a 20 6d 65 73 73 61 67 ┆esult : ok (0) : messag┆ 0x0f020…0f040 65 20 70 72 6f 63 65 73 73 65 64 20 70 72 6f 70 65 72 6c 79 0d 0a 0d 0a 0d 0a a1 33 2e 32 2e 35 ┆e processed properly 3.2.5┆ 0x0f040…0f060 09 50 72 6f 63 65 73 73 20 64 74 65 5f 63 68 61 6e 0d 0a 0d 0a 09 84 54 68 65 20 66 6f 6c 6c 6f ┆ Process dte_chan The follo┆ 0x0f060…0f080 77 69 6e 67 20 69 6e 74 65 72 6e 61 6c 2f 65 78 74 65 72 6e 61 6c 20 6d 65 73 73 61 67 65 73 20 ┆wing internal/external messages ┆ 0x0f080…0f0a0 61 72 65 20 68 61 6e 64 6c 65 64 20 62 79 20 74 68 65 20 0a 19 89 80 80 64 74 65 5f 63 68 61 6e ┆are handled by the dte_chan┆ 0x0f0a0…0f0ad 20 70 72 6f 63 65 73 73 2e 0d 0a 0d 0a ┆ process. ┆ 0x0f0ad…0f0e6 Params { 0x0f0ad…0f0e6 04 00 2d 44 0c 00 06 00 00 00 00 02 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x0f0ad…0f0e6 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x0f0ad…0f0e6 } 0x0f0e6…0f11f Params { 0x0f0e6…0f11f 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x0f0e6…0f11f 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x0f0e6…0f11f } 0x0f11f…0f120 0a ┆ ┆ 0x0f120…0f140 09 6e 61 6d 65 09 20 20 20 20 20 73 65 6e 64 69 6e 67 09 20 20 20 20 20 72 65 63 65 69 76 69 6e ┆ name sending receivin┆ 0x0f140…0f160 67 09 20 20 20 20 20 73 65 63 74 69 6f 6e 0d 0a 09 09 20 20 20 20 20 70 72 6f 63 65 73 73 09 20 ┆g section process ┆ 0x0f160…0f180 20 20 20 20 70 72 6f 63 65 73 73 0d 0a 0d 0a 09 72 65 73 74 61 72 74 5f 73 74 61 72 74 20 20 64 ┆ process restart_start d┆ 0x0f180…0f1a0 74 65 09 09 20 20 20 20 20 64 74 65 5f 63 68 61 6e 09 20 20 20 20 20 33 2e 32 2e 35 2e 31 0d 0a ┆te dte_chan 3.2.5.1 ┆ 0x0f1a0…0f1c0 09 73 79 6e 63 5f 6d 65 73 73 20 20 20 20 20 20 64 74 65 09 09 20 20 20 20 20 64 74 65 5f 63 68 ┆ sync_mess dte dte_ch┆ 0x0f1c0…0f1e0 61 6e 09 20 20 20 20 20 33 2e 32 2e 35 2e 31 0d 0a 0d 0a 09 74 69 6d 65 72 5f 62 6f 6f 6b 20 20 ┆an 3.2.5.1 timer_book ┆ 0x0f1e0…0f200 20 20 20 64 74 65 5f 63 68 61 6e 09 20 20 20 20 20 74 69 6d 65 6f 75 74 09 20 20 20 20 20 33 2e ┆ dte_chan timeout 3.┆ 0x0f200…0f220 (121,) 32 2e 35 2e 32 0d 0a 09 74 69 6d 65 72 5f 75 70 64 61 74 65 20 20 20 64 74 65 5f 63 68 61 6e 09 ┆2.5.2 timer_update dte_chan ┆ 0x0f220…0f240 20 20 20 20 20 74 69 6d 65 6f 75 74 09 20 20 20 20 20 33 2e 32 2e 35 2e 32 0d 0a 0d 0a 09 78 32 ┆ timeout 3.2.5.2 x2┆ 0x0f240…0f260 35 5f 69 6e 70 75 74 09 20 20 20 20 20 64 74 65 5f 68 72 65 63 09 20 20 20 20 20 64 74 65 5f 63 ┆5_input dte_hrec dte_c┆ 0x0f260…0f272 68 61 6e 09 20 20 20 20 20 33 2e 35 2e 32 2e 31 0d 0a ┆han 3.5.2.1 ┆ 0x0f272…0f2ab Params { 0x0f272…0f2ab 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x0f272…0f2ab 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x0f272…0f2ab } 0x0f2ab…0f2e4 Params { 0x0f2ab…0f2e4 04 00 2d 44 0c 00 06 00 00 00 00 02 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x0f2ab…0f2e4 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x0f2ab…0f2e4 } 0x0f2e4…0f2e7 0a 0d 0a ┆ ┆ 0x0f2e7…0f2ea FormFeed { 0x0f2e7…0f2ea 0c 80 a8 ┆ ┆ 0x0f2e7…0f2ea } 0x0f2ea…0f300 0a 84 09 84 42 65 73 69 64 65 73 20 74 68 65 73 65 20 6d 65 73 73 ┆ Besides these mess┆ 0x0f300…0f320 61 67 65 73 20 74 68 65 20 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 20 72 65 63 65 69 76 ┆ages the dte_chan process receiv┆ 0x0f320…0f340 65 73 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 0a 19 89 80 80 44 54 45 20 55 73 65 72 20 6d ┆es the following DTE User m┆ 0x0f340…0f34b 65 73 73 61 67 65 73 0d 0a 0d 0a ┆essages ┆ 0x0f34b…0f384 Params { 0x0f34b…0f384 04 00 2d 44 0c 00 06 00 00 00 00 02 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x0f34b…0f384 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x0f34b…0f384 } 0x0f384…0f3bd Params { 0x0f384…0f3bd 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x0f384…0f3bd 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x0f384…0f3bd } 0x0f3bd…0f3c0 0a 09 09 ┆ ┆ 0x0f3c0…0f3e0 2d 20 20 64 74 65 5f 63 61 6c 6c 5f 72 65 71 0d 0a 09 09 2d 20 20 64 74 65 5f 63 68 61 6e 67 65 ┆- dte_call_req - dte_change┆ 0x0f3e0…0f400 5f 6d 6f 64 65 0d 0a 09 09 2d 20 20 64 74 65 5f 63 6c 65 61 72 5f 72 65 71 0d 0a 09 09 2d 20 20 ┆_mode - dte_clear_req - ┆ 0x0f400…0f420 (122,) 64 74 65 5f 72 65 63 5f 64 65 64 69 63 0d 0a 09 09 2d 20 20 64 74 65 5f 72 65 73 65 74 5f 72 65 ┆dte_rec_dedic - dte_reset_re┆ 0x0f420…0f440 71 0d 0a 09 09 2d 20 20 64 74 65 5f 73 65 6e 64 5f 64 61 74 61 0d 0a 09 09 2d 20 20 64 74 65 5f ┆q - dte_send_data - dte_┆ 0x0f440…0f460 73 65 6e 64 5f 69 6e 74 72 75 70 74 0d 0a 09 09 2d 20 20 64 74 65 5f 73 79 6e 63 5f 73 74 72 65 ┆send_intrupt - dte_sync_stre┆ 0x0f460…0f464 61 6d 0d 0a ┆am ┆ 0x0f464…0f49d Params { 0x0f464…0f49d 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x0f464…0f49d 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x0f464…0f49d } 0x0f49d…0f4d6 Params { 0x0f49d…0f4d6 04 00 2d 44 0c 00 06 00 00 00 00 02 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x0f49d…0f4d6 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x0f49d…0f4d6 } 0x0f4d6…0f4e0 0a 0d 0a 0d 0a a1 33 2e 32 2e ┆ 3.2.┆ 0x0f4e0…0f500 35 2e 31 09 4d 65 73 73 61 67 65 73 20 72 65 63 65 69 76 65 64 0d 0a 0d 0a b0 09 a1 4d 65 73 73 ┆5.1 Messages received Mess┆ 0x0f500…0f520 61 67 65 20 6e 61 6d 65 e1 20 20 20 3a 20 72 65 73 74 61 72 74 5f 73 74 61 72 74 0d 0a 0d 0a 09 ┆age name : restart_start ┆ 0x0f520…0f540 a1 4d 65 73 73 61 67 65 20 66 6f 72 6d 61 74 e1 20 3a 20 0d 0a 09 09 20 20 20 20 20 20 20 6d 65 ┆ Message format : me┆ 0x0f540…0f560 73 73 61 67 65 09 61 6e 73 77 65 72 0d 0a 09 09 75 31 20 20 20 20 20 20 20 32 35 32 09 20 75 6e ┆ssage answer u1 252 un┆ 0x0f560…0f580 63 68 0d 0a 09 09 75 32 20 20 20 20 20 20 20 20 31 35 09 72 65 73 75 6c 74 0d 0a 09 09 75 33 20 ┆ch u2 15 result u3 ┆ 0x0f580…0f5a0 20 20 20 20 20 20 20 20 2d 09 20 75 6e 63 68 0d 0a 09 09 75 34 09 20 38 09 20 75 6e 63 68 0d 0a ┆ - unch u4 8 unch ┆ 0x0f5a0…0f5c0 0d 0a 09 09 62 75 66 09 20 2d 09 20 75 6e 63 68 0d 0a 0d 0a 09 a1 46 75 6e 63 74 69 6f 6e e1 3a ┆ buf - unch Function :┆ 0x0f5c0…0f5e0 0d 0a 09 84 54 68 65 20 44 43 45 2f 44 54 45 20 69 6e 74 65 72 66 61 63 65 20 68 61 73 20 65 6e ┆ The DCE/DTE interface has en┆ 0x0f5e0…0f600 74 65 72 65 64 20 61 20 72 65 73 74 61 72 74 20 70 68 61 73 65 2e 20 41 6c 6c 20 75 73 65 72 20 ┆tered a restart phase. All user ┆ 0x0f600…0f620 (123,) 6d 65 73 80 0a 19 89 80 80 73 61 67 65 73 20 61 72 65 20 72 65 74 75 72 6e 65 64 20 77 69 74 68 ┆mes sages are returned with┆ 0x0f620…0f640 20 72 65 73 75 6c 74 20 27 6e 6f 74 5f 70 72 6f 63 65 73 73 65 64 27 20 28 39 29 20 61 6e 64 20 ┆ result 'not_processed' (9) and ┆ 0x0f640…0f660 61 6c 6c 20 74 69 6d 65 72 73 20 0a 19 89 80 80 73 74 6f 70 70 65 64 2e 20 54 68 65 20 64 74 65 ┆all timers stopped. The dte┆ 0x0f660…0f680 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 20 74 68 65 6e 20 65 6e 74 65 72 73 20 74 68 65 20 73 74 ┆_chan process then enters the st┆ 0x0f680…0f6a0 6f 70 70 69 6e 67 20 70 68 61 73 65 20 75 74 69 6c 80 0a 19 89 80 80 69 7a 69 6e 67 20 74 68 65 ┆opping phase util izing the┆ 0x0f6a0…0f6c0 20 b0 73 79 6e 63 5f 6d 65 73 73 f0 20 74 6f 20 73 79 6e 63 68 72 6f 6e 69 7a 65 20 77 69 74 68 ┆ sync_mess to synchronize with┆ 0x0f6c0…0f6e0 20 74 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 2c 20 62 65 66 6f 72 65 20 69 74 20 0a 19 89 81 ┆ the dte process, before it ┆ 0x0f6e0…0f700 80 69 73 20 72 65 6d 6f 76 65 64 2e 0d 0a 0d 0a 09 a1 52 65 73 75 6c 74 e1 3a 0d 0a 09 6f 6b 20 ┆ is removed. Result : ok ┆ 0x0f700…0f720 20 20 20 20 20 20 20 20 20 20 20 28 30 29 20 3a 20 6d 65 73 73 61 67 65 20 70 72 6f 63 65 73 73 ┆ (0) : message process┆ 0x0f720…0f740 65 64 20 70 72 6f 70 65 72 6c 79 0d 0a 09 6e 6f 74 5f 70 72 6f 63 65 73 73 65 64 20 28 39 29 20 ┆ed properly not_processed (9) ┆ 0x0f740…0f760 3a 20 6d 65 73 73 61 67 65 20 72 65 63 65 69 76 65 64 20 69 6e 20 73 74 6f 70 70 69 6e 67 20 70 ┆: message received in stopping p┆ 0x0f760…0f768 68 61 73 65 0d 0a 0d 0a ┆hase ┆ 0x0f768…0f76b FormFeed { 0x0f768…0f76b 0c 80 a5 ┆ ┆ 0x0f768…0f76b } 0x0f76b…0f780 0a b0 09 a1 4d 65 73 73 61 67 65 20 6e 61 6d 65 e1 20 20 20 3a ┆ Message name :┆ 0x0f780…0f7a0 20 73 79 6e 63 5f 6d 65 73 73 0d 0a 0d 0a 09 a1 4d 65 73 73 61 67 65 20 66 6f 72 6d 61 74 e1 20 ┆ sync_mess Message format ┆ 0x0f7a0…0f7c0 3a 0d 0a 09 09 20 20 20 20 20 20 20 6d 65 73 73 61 67 65 09 61 6e 73 77 65 72 0d 0a 09 09 75 31 ┆: message answer u1┆ 0x0f7c0…0f7e0 20 20 20 20 20 20 20 20 30 09 20 75 6e 63 68 0d 0a 09 09 75 32 09 37 09 72 65 73 75 6c 74 0d 0a ┆ 0 unch u2 7 result ┆ 0x0f7e0…0f800 09 09 75 33 09 2d 09 20 63 61 75 73 65 0d 0a 09 09 75 34 20 20 20 20 20 20 20 31 31 09 20 75 6e ┆ u3 - cause u4 11 un┆ 0x0f800…0f820 (124,) 63 68 0d 0a 0d 0a 09 09 62 75 66 20 20 73 79 6e 63 5f 62 75 66 5f 74 79 70 65 09 20 75 6e 63 68 ┆ch buf sync_buf_type unch┆ 0x0f820…0f840 0d 0a 0d 0a 09 09 73 79 6e 63 5f 62 75 66 5f 74 79 70 65 20 3d 20 72 65 63 6f 72 64 0d 0a 09 09 ┆ sync_buf_type = record ┆ 0x0f840…0f860 09 20 20 20 20 20 20 20 20 63 68 5f 69 6e 64 65 78 20 20 20 20 20 3a 20 69 6e 74 65 67 65 72 3b ┆ ch_index : integer;┆ 0x0f860…0f880 0d 0a 09 09 09 20 20 20 20 20 20 20 20 6c 63 6e 5f 69 6e 64 65 78 09 20 3a 20 62 79 74 65 3b 0d ┆ lcn_index : byte; ┆ 0x0f880…0f8a0 0a 09 09 09 20 20 20 20 20 20 20 20 6c 63 67 09 20 3a 20 62 69 74 34 3b 0d 0a 09 09 09 20 20 20 ┆ lcg : bit4; ┆ 0x0f8a0…0f8c0 20 20 20 20 20 6c 63 6e 09 20 3a 20 62 79 74 65 3b 0d 0a 09 09 09 20 20 20 20 20 20 20 20 75 73 ┆ lcn : byte; us┆ 0x0f8c0…0f8e0 65 72 5f 6e 6f 09 20 3a 20 62 79 74 65 3b 0d 0a 09 09 09 20 20 20 20 20 20 20 20 6c 6f 63 61 6c ┆er_no : byte; local┆ 0x0f8e0…0f900 5f 75 61 64 64 72 09 20 3a 20 6c 6f 63 61 6c 5f 61 64 72 5f 74 79 70 65 3b 0d 0a 09 09 09 20 20 ┆_uaddr : local_adr_type; ┆ 0x0f900…0f920 20 20 20 20 20 20 64 65 66 61 75 6c 74 5f 77 2c 0d 0a 09 09 09 20 20 20 20 20 20 20 20 6d 61 78 ┆ default_w, max┆ 0x0f920…0f940 5f 77 09 20 3a 20 62 69 74 33 3b 0d 0a 09 09 09 20 20 20 20 20 20 20 20 72 72 2d 74 69 6d 65 72 ┆_w : bit3; rr-timer┆ 0x0f940…0f960 2c 0d 0a 09 09 09 20 20 20 20 20 20 20 20 61 63 6b 5f 74 69 6d 65 72 09 20 3a 20 69 6e 74 65 67 ┆, ack_timer : integ┆ 0x0f960…0f980 65 72 3b 0d 0a 09 09 09 20 20 20 20 20 20 65 6e 64 3b 0d 0a 0d 0a 09 09 6c 6f 63 61 6c 5f 61 64 ┆er; end; local_ad┆ 0x0f980…0f9a0 72 5f 74 79 70 65 20 3d 20 72 65 63 6f 72 64 0d 0a 09 09 09 20 20 20 20 20 20 20 20 20 75 73 65 ┆r_type = record use┆ 0x0f9a0…0f9c0 72 5f 6c 67 74 68 09 20 20 20 3a 20 62 79 74 65 3b 0d 0a 09 09 09 20 20 20 20 20 20 20 20 20 75 ┆r_lgth : byte; u┆ 0x0f9c0…0f9e0 73 65 72 5f 61 64 64 72 65 73 73 20 20 3a 20 62 63 64 5f 61 64 72 5f 74 79 70 65 3b 0d 0a 09 09 ┆ser_address : bcd_adr_type; ┆ 0x0f9e0…0fa00 09 20 20 20 20 20 20 20 65 6e 64 2c 0d 0a 0d 0a 09 09 62 63 64 5f 61 64 72 5f 74 79 70 65 20 3d ┆ end, bcd_adr_type =┆ 0x0fa00…0fa20 (125,) 20 70 61 63 6b 65 64 20 61 72 72 61 79 20 28 31 2e 2e 6d 61 78 5f 75 5f 61 64 72 29 20 6f 66 20 ┆ packed array (1..max_u_adr) of ┆ 0x0fa20…0fa40 62 69 74 34 3b 0d 0a 0d 0a 09 09 6d 61 78 5f 75 5f 61 64 72 20 3d 20 35 3b 0d 0a 0d 0a 09 a1 46 ┆bit4; max_u_adr = 5; F┆ 0x0fa40…0fa60 75 6e 63 74 69 6f 6e e1 3a 0d 0a 09 84 54 68 69 73 20 6d 65 73 73 61 67 65 20 69 73 20 72 65 63 ┆unction : This message is rec┆ 0x0fa60…0fa80 65 69 76 65 64 20 61 74 20 74 68 65 20 73 79 6e 63 20 73 65 6d 61 70 68 6f 72 65 2e 20 57 68 65 ┆eived at the sync semaphore. Whe┆ 0x0fa80…0faa0 6e 20 72 65 63 65 69 76 65 64 20 69 6e 20 0a 19 89 80 80 74 68 65 20 73 74 61 74 65 20 78 69 64 ┆n received in the state xid┆ 0x0faa0…0fac0 6c 65 20 74 68 65 20 62 75 66 66 65 72 20 63 6f 6e 74 61 69 6e 73 20 64 69 66 66 65 72 65 6e 74 ┆le the buffer contains different┆ 0x0fac0…0fae0 20 70 61 72 61 6d 65 74 65 72 20 76 61 6c 75 65 73 20 74 6f 20 0a 19 89 80 80 62 65 20 75 73 65 ┆ parameter values to be use┆ 0x0fae0…0fb00 64 20 66 6f 72 20 74 68 65 20 61 63 74 75 61 6c 20 69 6e 63 61 72 6e 61 74 69 6f 6e 20 6f 66 20 ┆d for the actual incarnation of ┆ 0x0fb00…0fb20 61 6e 20 58 2e 32 35 20 6c 6f 67 69 63 61 6c 20 63 68 61 6e 6e 65 6c 2e 20 54 68 65 20 0a 19 89 ┆an X.25 logical channel. The ┆ 0x0fb20…0fb33 80 80 70 61 72 61 6d 65 74 65 72 73 20 61 72 65 3a 0d 0a ┆ parameters are: ┆ 0x0fb33…0fb36 FormFeed { 0x0fb33…0fb36 0c 80 a6 ┆ ┆ 0x0fb33…0fb36 } 0x0fb36…0fb40 0a 09 63 68 5f 69 6e 64 65 78 ┆ ch_index┆ 0x0fb40…0fb60 09 20 20 20 20 20 3a 20 69 6e 64 65 78 20 74 6f 20 63 68 61 6e 5f 70 72 6f 63 5f 74 61 62 6c 65 ┆ : index to chan_proc_table┆ 0x0fb60…0fb80 2c 20 75 73 65 64 20 62 79 20 64 74 65 0d 0a 09 6c 63 6e 5f 69 6e 64 65 78 09 20 20 20 20 20 3a ┆, used by dte lcn_index :┆ 0x0fb80…0fba0 20 69 6e 64 65 78 20 74 6f 20 6c 63 6e 5f 74 61 62 6c 65 2c 20 75 73 65 64 20 62 79 20 64 74 65 ┆ index to lcn_table, used by dte┆ 0x0fba0…0fbc0 0d 0a 09 6c 63 67 09 20 20 20 20 20 3a 20 6c 6f 67 69 63 61 6c 20 67 72 6f 75 70 20 6e 75 6d 62 ┆ lcg : logical group numb┆ 0x0fbc0…0fbe0 65 72 2c 20 75 73 65 64 20 62 79 20 64 74 65 20 61 6e 64 20 64 74 65 5f 63 68 61 6e 0d 0a 09 6c ┆er, used by dte and dte_chan l┆ 0x0fbe0…0fc00 63 6e 09 20 20 20 20 20 3a 20 6c 6f 67 69 63 61 6c 20 63 68 61 6e 6e 65 6c 20 6e 75 6d 62 65 72 ┆cn : logical channel number┆ 0x0fc00…0fc20 (126,) 2c 20 75 73 65 64 20 62 79 20 64 74 65 20 61 6e 64 20 64 74 65 5f 63 68 61 6e 0d 0a 09 75 73 65 ┆, used by dte and dte_chan use┆ 0x0fc20…0fc40 72 5f 6e 6f 09 20 20 20 20 20 3a 20 61 63 74 75 61 6c 20 75 73 65 72 20 6e 75 6d 62 65 72 2c 20 ┆r_no : actual user number, ┆ 0x0fc40…0fc60 75 73 65 64 20 62 79 20 64 74 65 5f 63 68 61 6e 0d 0a 09 6c 6f 63 61 6c 5f 75 61 64 64 72 20 20 ┆used by dte_chan local_uaddr ┆ 0x0fc60…0fc80 20 20 3a 20 6c 6f 63 61 6c 20 75 73 65 72 20 61 64 64 72 65 73 73 2c 20 75 73 65 64 20 62 79 20 ┆ : local user address, used by ┆ 0x0fc80…0fca0 64 74 65 5f 63 68 61 6e 0d 0a 09 64 65 66 61 75 6c 74 5f 77 20 20 20 20 20 20 3a 20 64 65 66 61 ┆dte_chan default_w : defa┆ 0x0fca0…0fcc0 75 6c 74 20 58 2e 32 35 20 77 69 6e 64 6f 77 20 73 69 7a 65 2c 20 75 73 65 64 20 62 79 20 64 74 ┆ult X.25 window size, used by dt┆ 0x0fcc0…0fce0 65 5f 63 68 61 6e 0d 0a 09 6d 61 78 5f 77 20 20 20 20 20 20 20 20 20 20 3a 20 6d 61 78 20 77 69 ┆e_chan max_w : max wi┆ 0x0fce0…0fd00 6e 64 6f 77 20 73 69 7a 65 20 61 6c 6c 6f 77 65 64 2c 20 75 73 65 64 20 62 79 20 64 74 65 5f 63 ┆ndow size allowed, used by dte_c┆ 0x0fd00…0fd20 68 61 6e 0d 0a 09 72 72 5f 74 69 6d 65 72 09 20 20 20 20 20 3a 20 69 64 6c 65 20 74 69 6d 65 72 ┆han rr_timer : idle timer┆ 0x0fd20…0fd40 20 76 61 6c 75 65 2c 20 75 73 65 64 20 62 79 20 64 74 65 5f 63 68 61 6e 0d 0a 09 61 63 6b 5f 74 ┆ value, used by dte_chan ack_t┆ 0x0fd40…0fd60 69 6d 65 72 09 20 20 20 20 20 3a 20 61 63 6b 6e 6f 77 6c 65 64 67 65 20 74 69 6d 65 72 20 76 61 ┆imer : acknowledge timer va┆ 0x0fd60…0fd80 6c 75 65 2c 20 75 73 65 64 20 62 79 20 64 74 65 5f 63 68 61 6e 0d 0a 0d 0a 09 84 46 75 72 74 68 ┆lue, used by dte_chan Furth┆ 0x0fd80…0fda0 65 72 6d 6f 72 65 2c 20 74 68 65 20 6d 65 73 73 61 67 65 20 69 73 20 75 73 65 64 20 74 6f 20 73 ┆ermore, the message is used to s┆ 0x0fda0…0fdc0 79 6e 63 68 72 6f 6e 69 7a 65 20 74 68 65 20 64 74 65 20 61 6e 64 20 0a 19 89 80 80 64 74 65 5f ┆ynchronize the dte and dte_┆ 0x0fdc0…0fde0 63 68 61 6e 20 70 72 6f 63 65 73 73 20 69 6e 20 74 68 65 20 73 74 6f 70 70 69 6e 67 20 70 68 61 ┆chan process in the stopping pha┆ 0x0fde0…0fe00 73 65 20 6f 66 20 74 68 65 20 6c 61 73 74 20 6f 6e 65 20 28 73 65 65 20 0a 19 89 80 80 73 75 62 ┆se of the last one (see sub┆ 0x0fe00…0fe20 (127,) 73 65 63 74 69 6f 6e 20 34 2e 32 2e 37 29 2e 0d 0a 0d 0a 09 84 54 68 65 20 63 61 75 73 65 20 66 ┆section 4.2.7). The cause f┆ 0x0fe20…0fe40 69 65 6c 64 20 69 64 65 6e 74 69 66 69 65 73 20 74 68 65 20 70 61 72 74 73 20 6f 66 20 74 68 65 ┆ield identifies the parts of the┆ 0x0fe40…0fe60 20 73 74 6f 70 70 6e 67 20 70 68 61 73 65 3a 0d 0a 09 09 20 20 20 20 20 63 61 75 73 65 20 3d 20 ┆ stoppng phase: cause = ┆ 0x0fe60…0fe80 33 20 3a 20 73 74 6f 70 70 69 6e 67 20 70 68 61 73 65 20 69 6e 69 74 69 61 74 65 64 0d 0a 09 09 ┆3 : stopping phase initiated ┆ 0x0fe80…0fea0 09 20 3d 20 30 20 3a 20 73 74 6f 70 70 69 6e 67 20 70 68 61 73 65 20 65 6e 64 65 64 0d 0a 0d 0a ┆ = 0 : stopping phase ended ┆ 0x0fea0…0fec0 09 a1 52 65 73 75 6c 74 e1 3a 0d 0a 09 6f 6b 09 28 30 29 20 20 3a 20 6d 65 73 73 61 67 65 20 70 ┆ Result : ok (0) : message p┆ 0x0fec0…0fee0 72 6f 63 65 73 73 65 64 20 70 72 6f 70 65 72 6c 79 0d 0a 0d 0a 09 a1 e1 a1 b0 4d 65 73 73 61 67 ┆rocessed properly Messag┆ 0x0fee0…0ff00 65 20 6e 61 6d 65 e1 20 20 20 3a 20 78 32 35 5f 69 6e 70 75 74 0d 0a 0d 0a 09 a1 4d 65 73 73 61 ┆e name : x25_input Messa┆ 0x0ff00…0ff20 67 65 20 66 6f 72 6d 61 74 e1 20 3a 20 0d 0a 09 09 20 20 20 20 20 20 20 72 65 63 65 69 76 65 64 ┆ge format : received┆ 0x0ff20…0ff40 20 61 6e 73 77 65 72 0d 0a 09 09 75 31 20 20 20 20 20 20 09 20 20 20 20 31 0d 0a 09 09 75 32 09 ┆ answer u1 1 u2 ┆ 0x0ff40…0ff60 20 20 20 20 30 0d 0a 09 09 75 33 09 20 20 20 20 2d 0d 0a 09 09 75 34 09 20 20 20 20 36 0d 0a 0d ┆ 0 u3 - u4 6 ┆ 0x0ff60…0ff80 0a 09 09 62 75 66 20 20 20 20 20 78 32 35 5f 62 75 66 5f 74 79 70 65 0d 0a 0d 0a 09 09 78 32 35 ┆ buf x25_buf_type x25┆ 0x0ff80…0ffa0 5f 62 75 66 5f 74 79 70 65 20 3d 20 72 65 63 6f 72 64 0d 0a 09 09 09 20 20 20 20 20 20 20 66 69 ┆_buf_type = record fi┆ 0x0ffa0…0ffc0 72 73 74 2c 6c 61 73 74 2c 6e 65 78 74 20 3a 20 69 6e 74 65 67 65 72 3b 0d 0a 09 09 09 20 20 20 ┆rst,last,next : integer; ┆ 0x0ffc0…0ffe0 20 20 20 20 68 65 61 64 20 20 20 20 20 20 20 20 20 20 20 20 3a 20 78 32 35 5f 68 65 61 64 3b 0d ┆ head : x25_head; ┆ 0x0ffe0…10000 0a 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 61 74 ┆ dat┆ 0x10000…10020 (128,) 61 20 20 20 20 09 20 20 20 3a 20 84 61 72 72 61 79 20 28 66 69 72 73 74 2b 33 2e 2e 6c 61 73 74 ┆a : array (first+3..last┆ 0x10020…1003f 29 20 0a 19 b6 80 80 6f 66 20 62 79 74 65 3b 0d 0a 09 09 09 20 20 20 20 20 65 6e 64 3b 0d 0a ┆) of byte; end; ┆ 0x1003f…10042 FormFeed { 0x1003f…10042 0c 80 a7 ┆ ┆ 0x1003f…10042 } 0x10042…10060 0a 09 09 78 32 35 5f 68 65 61 64 20 3d 20 70 61 63 6b 65 64 20 72 65 63 6f 72 64 0d 0a 09 ┆ x25_head = packed record ┆ 0x10060…10080 09 09 20 20 20 71 5f 62 69 74 2c 0d 0a 09 09 09 20 20 20 64 5f 62 69 74 2c 0d 0a 09 09 09 20 20 ┆ q_bit, d_bit, ┆ 0x10080…100a0 20 6d 31 32 38 2c 0d 0a 09 09 09 20 20 20 6d 38 20 20 20 20 20 20 20 20 3a 20 62 69 74 3b 20 0d ┆ m128, m8 : bit; ┆ 0x100a0…100c0 0a 09 09 09 20 20 20 6c 63 67 6e 20 20 20 20 20 20 3a 20 62 69 74 34 3b 0d 0a 09 09 09 20 20 20 ┆ lcgn : bit4; ┆ 0x100c0…100e0 6c 63 6e 20 20 20 20 20 20 20 3a 20 62 79 74 65 3b 0d 0a 09 09 09 20 20 20 70 61 63 6b 65 74 5f ┆lcn : byte; packet_┆ 0x100e0…10100 69 64 20 3a 20 62 79 74 65 3b 0d 0a 09 09 09 20 65 6e 64 3b 0d 0a 0d 0a 09 a1 46 75 6e 63 74 69 ┆id : byte; end; Functi┆ 0x10100…10120 6f 6e e1 3a 0d 0a 09 84 54 68 65 20 62 75 66 66 65 72 20 69 73 20 72 65 63 65 69 76 65 64 20 66 ┆on : The buffer is received f┆ 0x10120…10140 72 6f 6d 20 74 68 65 20 64 74 65 5f 68 72 65 63 20 70 72 6f 63 65 73 73 2e 20 49 74 20 63 6f 6e ┆rom the dte_hrec process. It con┆ 0x10140…10160 74 61 69 6e 73 20 61 20 0a 19 89 80 80 72 65 63 65 69 76 65 64 20 58 2e 32 35 20 70 61 63 6b 65 ┆tains a received X.25 packe┆ 0x10160…10180 74 20 6f 6e 20 74 68 65 20 58 2e 32 35 20 6c 6f 67 69 63 61 6c 20 63 68 61 6e 6e 65 6c 20 68 61 ┆t on the X.25 logical channel ha┆ 0x10180…101a0 6e 64 6c 65 64 20 62 79 20 74 68 69 73 20 0a 19 89 80 80 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 ┆ndled by this dte_chan proc┆ 0x101a0…101c0 65 73 73 20 69 6e 63 61 72 6e 61 74 69 6f 6e 2e 20 54 68 65 20 70 61 63 6b 65 74 20 74 79 70 65 ┆ess incarnation. The packet type┆ 0x101c0…101e0 20 69 73 20 69 64 65 6e 74 69 66 69 65 64 20 61 6e 64 20 0a 19 89 80 80 64 65 70 65 6e 64 69 6e ┆ is identified and dependin┆ 0x101e0…10200 67 20 6f 66 20 74 68 69 73 20 61 6e 64 20 74 68 65 20 69 6e 74 65 72 6e 61 6c 20 73 74 61 74 65 ┆g of this and the internal state┆ 0x10200…10220 (129,) 20 61 20 73 70 65 63 69 66 69 65 64 20 61 63 74 69 6f 6e 20 69 73 20 0a 19 89 80 80 70 65 72 80 ┆ a specified action is per ┆ 0x10220…10240 66 6f 72 6d 65 64 2e 0d 0a 0d 0a 0d 0a a1 33 2e 32 2e 35 2e 32 09 4d 65 73 73 61 67 65 73 20 73 ┆formed. 3.2.5.2 Messages s┆ 0x10240…10260 65 6e 74 0d 0a 0d 0a 09 84 54 68 65 20 6e 65 78 74 20 74 77 6f 20 6d 65 73 73 61 67 65 73 20 63 ┆ent The next two messages c┆ 0x10260…10280 6f 6e 63 65 72 6e 73 20 74 68 65 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 77 69 74 68 20 74 ┆oncerns the communication with t┆ 0x10280…102a0 68 65 20 74 69 6d 65 6f 75 74 20 0a 19 89 80 80 70 72 6f 63 65 73 73 2e 20 54 68 65 20 6d 65 73 ┆he timeout process. The mes┆ 0x102a0…102c0 73 61 67 65 73 20 61 72 65 20 73 65 6e 74 20 62 79 20 63 61 6c 6c 69 6e 67 20 6f 6e 65 20 6f 66 ┆sages are sent by calling one of┆ 0x102c0…102e0 20 74 68 65 20 74 77 6f 20 65 78 74 65 72 6e 61 6c 20 0a 19 89 80 80 70 72 6f 63 65 64 75 72 65 ┆ the two external procedure┆ 0x102e0…10300 73 3a 20 74 69 6d 65 72 62 6f 6f 6b 2c 20 74 69 6d 65 72 75 70 64 61 74 65 2e 20 46 6f 72 20 61 ┆s: timerbook, timerupdate. For a┆ 0x10300…10320 20 6d 6f 72 65 20 64 65 74 61 69 6c 65 64 20 64 65 73 63 72 69 70 80 0a 19 89 80 80 74 69 6f 6e ┆ more detailed descrip tion┆ 0x10320…10340 20 74 68 61 6e 20 67 69 76 65 6e 20 62 65 6c 6f 77 2c 20 70 6c 65 61 73 65 20 72 65 66 65 72 20 ┆ than given below, please refer ┆ 0x10340…10360 74 6f 20 72 65 66 2e 20 28 36 29 2e 0d 0a 0d 0a 09 a1 b0 4d 65 73 73 61 67 65 20 6e 61 6d 65 e1 ┆to ref. (6). Message name ┆ 0x10360…10380 20 20 20 3a 20 74 69 6d 65 72 5f 62 6f 6f 6b 0d 0a 0d 0a 09 a1 4d 65 73 73 61 67 65 20 66 6f 72 ┆ : timer_book Message for┆ 0x10380…103a0 6d 61 74 e1 20 3a 20 0d 0a 09 09 20 20 20 20 20 20 20 74 6f 70 20 6d 65 73 73 61 67 65 09 09 20 ┆mat : top message ┆ 0x103a0…103c0 73 74 61 63 6b 65 64 20 6d 65 73 73 61 67 65 0d 0a 09 09 20 20 20 20 6d 65 73 73 61 67 65 20 20 ┆stacked message message ┆ 0x103c0…103e0 20 20 61 6e 73 77 65 72 09 6d 65 73 73 61 67 65 20 20 20 20 20 20 61 6e 73 77 65 72 0d 0a 09 09 ┆ answer message answer ┆ 0x103e0…10400 75 31 20 20 20 20 20 37 09 20 20 20 20 20 20 75 6e 63 68 09 20 20 20 35 20 20 20 20 20 20 20 20 ┆u1 7 unch 5 ┆ 0x10400…10420 (130,) 20 20 75 6e 63 68 0d 0a 09 09 75 32 20 20 20 20 20 37 20 20 20 20 20 20 20 72 65 73 75 6c 74 20 ┆ unch u2 7 result ┆ 0x10420…10440 20 20 20 20 20 20 20 20 20 20 20 2d 20 20 20 20 20 20 20 20 20 72 65 73 75 6c 74 0d 0a 09 09 75 ┆ - result u┆ 0x10440…10460 33 20 20 20 20 20 2d 20 20 20 20 20 20 20 20 75 6e 63 68 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆3 - unch ┆ 0x10460…10480 2d 20 20 20 20 20 20 20 20 20 20 75 6e 63 68 0d 0a 09 09 75 34 20 20 20 20 20 35 20 20 20 20 20 ┆- unch u4 5 ┆ 0x10480…104a0 20 20 20 75 6e 63 68 09 20 20 20 2d 20 20 20 20 20 20 20 20 20 20 75 6e 63 68 0d 0a 0d 0a 09 09 ┆ unch - unch ┆ 0x104a0…104c0 62 75 66 20 20 20 20 2d 20 20 20 20 20 20 20 74 69 6d 65 72 73 09 75 70 64 61 74 65 73 20 20 20 ┆buf - timers updates ┆ 0x104c0…104cc 20 20 20 20 75 6e 63 68 0d 0a 0d 0a ┆ unch ┆ 0x104cc…104cf FormFeed { 0x104cc…104cf 0c 80 a5 ┆ ┆ 0x104cc…104cf } 0x104cf…104e0 0a 09 09 74 69 6d 65 72 73 20 20 3d 20 72 65 63 6f ┆ timers = reco┆ 0x104e0…10500 72 64 0d 0a 09 09 09 20 20 6f 62 6a 20 20 20 20 3a 20 69 6e 74 65 67 65 72 3b 0d 0a 09 09 09 65 ┆rd obj : integer; e┆ 0x10500…10520 6e 64 3b 0d 0a 0d 0a 09 09 75 70 64 61 74 65 73 20 3d 20 72 65 63 6f 72 64 0d 0a 09 09 09 20 20 ┆nd; updates = record ┆ 0x10520…10540 69 6e 64 65 78 2c 0d 0a 09 09 09 20 20 63 6f 75 6e 74 2c 0d 0a 09 09 09 20 20 6f 62 6a 20 20 20 ┆index, count, obj ┆ 0x10540…10560 20 3a 20 69 6e 74 65 67 65 72 3b 0d 0a 09 09 09 65 6e 64 3b 0d 0a 0d 0a 09 a1 46 75 6e 63 74 69 ┆ : integer; end; Functi┆ 0x10560…10580 6f 6e e1 3a 0d 0a 09 84 54 68 65 20 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 20 72 65 71 ┆on : The dte_chan process req┆ 0x10580…105a0 75 65 73 74 73 20 61 20 74 69 6d 65 72 20 65 6e 74 72 79 20 61 6e 64 20 73 74 61 72 74 20 6f 66 ┆uests a timer entry and start of┆ 0x105a0…105c0 20 74 68 65 20 72 65 80 0a 19 89 80 80 71 75 65 73 74 65 64 20 74 69 6d 65 72 2e 20 49 66 20 6f ┆ the re quested timer. If o┆ 0x105c0…105e0 6b 20 74 68 65 20 73 74 61 63 6b 65 64 20 6d 65 73 73 61 67 65 20 69 73 20 72 65 74 75 72 6e 65 ┆k the stacked message is returne┆ 0x105e0…10600 64 20 77 69 74 68 20 72 65 73 75 6c 74 20 0a 19 89 80 80 27 72 65 73 75 6c 74 5f 6f 6b 27 20 28 ┆d with result 'result_ok' (┆ 0x10600…10620 (131,) 31 29 2e 20 41 66 74 65 72 20 74 68 65 20 74 69 6d 65 20 70 65 72 69 6f 64 20 73 70 65 63 69 66 ┆1). After the time period specif┆ 0x10620…10640 69 65 64 20 69 6e 20 63 6f 75 6e 74 20 28 6e 75 6d 62 65 72 20 0a 19 89 80 80 6f 66 20 74 69 63 ┆ied in count (number of tic┆ 0x10640…10660 6b 73 29 20 74 68 65 20 74 6f 70 20 6d 65 73 73 61 67 65 20 69 73 20 72 65 74 75 72 6e 65 64 20 ┆ks) the top message is returned ┆ 0x10660…10680 77 69 74 68 20 72 65 73 75 6c 74 20 27 72 65 73 75 6c 74 5f 6f 6b 27 20 28 31 29 2e 0d 0a 0d 0a ┆with result 'result_ok' (1). ┆ 0x10680…106a0 09 84 54 68 65 20 70 61 72 61 6d 65 74 65 72 20 6f 62 6a 20 69 73 20 75 73 65 64 20 74 6f 20 69 ┆ The parameter obj is used to i┆ 0x106a0…106c0 64 65 6e 74 69 66 79 20 74 68 65 20 74 69 6d 65 72 20 69 6e 20 74 68 65 20 0a 19 89 80 80 64 74 ┆dentify the timer in the dt┆ 0x106c0…106e0 65 5f 63 68 61 6e 2f 74 69 6d 65 6f 75 74 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 2e 0d 0a 0d ┆e_chan/timeout communication. ┆ 0x106e0…10700 0a 09 84 49 6e 64 65 78 20 69 73 20 73 65 74 20 62 79 20 74 69 6d 65 6f 75 74 20 61 74 20 62 6f ┆ Index is set by timeout at bo┆ 0x10700…10720 6f 6b 69 6e 67 20 74 69 6d 65 20 61 6e 64 20 69 73 20 75 73 65 64 20 6c 61 74 65 72 20 6f 6e 20 ┆oking time and is used later on ┆ 0x10720…10740 61 74 20 0a 19 89 80 80 65 61 63 68 20 6e 65 77 20 75 70 64 61 74 65 20 6f 66 20 74 68 65 20 74 ┆at each new update of the t┆ 0x10740…10760 69 6d 65 72 20 61 73 20 61 20 72 65 66 65 72 65 6e 63 65 20 6e 75 6d 62 65 72 20 62 79 20 74 68 ┆imer as a reference number by th┆ 0x10760…10780 65 20 74 69 6d 65 6f 75 74 20 0a 19 89 80 80 70 72 6f 63 65 73 73 2e 0d 0a 0d 0a 09 a1 52 65 73 ┆e timeout process. Res┆ 0x10780…107a0 75 6c 74 e1 3a 0d 0a 09 72 65 73 75 6c 74 5f 6f 6b 20 20 20 20 20 28 31 29 20 3a 20 6d 65 73 73 ┆ult : result_ok (1) : mess┆ 0x107a0…107c0 61 67 65 20 70 72 6f 63 65 73 73 65 64 20 70 72 6f 70 65 72 6c 79 0d 0a 09 72 65 73 75 6c 74 5f ┆age processed properly result_┆ 0x107c0…107e0 66 75 6c 6c 20 20 20 28 32 29 20 3a 20 6e 6f 20 74 69 6d 65 72 20 65 6e 74 72 79 20 61 76 61 69 ┆full (2) : no timer entry avai┆ 0x107e0…10800 6c 61 62 6c 65 0d 0a 0d 0a b0 09 a1 4d 65 73 73 61 67 65 20 6e 61 6d 65 e1 20 20 20 3a 20 74 69 ┆lable Message name : ti┆ 0x10800…10820 (132,) 6d 65 72 5f 75 70 64 61 74 65 0d 0a 0d 0a 09 a1 4d 65 73 73 61 67 65 20 66 6f 72 6d 61 74 e1 20 ┆mer_update Message format ┆ 0x10820…10840 3a 0d 0a 09 09 20 20 20 20 20 20 20 6d 65 73 73 61 67 65 09 61 6e 73 77 65 72 0d 0a 09 09 75 31 ┆: message answer u1┆ 0x10840…10860 20 20 20 20 20 20 20 20 34 09 20 75 6e 63 68 0d 0a 09 09 75 32 20 20 20 20 20 20 20 20 37 09 72 ┆ 4 unch u2 7 r┆ 0x10860…10880 65 73 75 6c 74 0d 0a 09 09 75 33 20 20 20 20 20 20 20 20 2d 09 20 75 6e 63 68 0d 0a 09 09 75 34 ┆esult u3 - unch u4┆ 0x10880…108a0 20 20 20 20 20 20 20 20 2d 09 20 75 6e 63 68 0d 0a 0d 0a 09 09 62 75 66 20 20 20 20 75 70 64 61 ┆ - unch buf upda┆ 0x108a0…108ad 74 65 73 09 20 75 6e 63 68 0d 0a 0d 0a ┆tes unch ┆ 0x108ad…108b0 FormFeed { 0x108ad…108b0 0c 80 a6 ┆ ┆ 0x108ad…108b0 } 0x108b0…108c0 0a 09 09 75 70 64 61 74 65 73 20 3d 20 72 65 63 ┆ updates = rec┆ 0x108c0…108e0 6f 72 64 0d 0a 09 09 09 20 20 69 6e 64 65 78 2c 0d 0a 09 09 09 20 20 63 6f 75 6e 74 2c 0d 0a 09 ┆ord index, count, ┆ 0x108e0…10900 09 09 20 20 6f 62 6a 20 20 20 20 20 3a 20 69 6e 74 65 67 65 72 3b 0d 0a 09 09 09 65 6e 64 3b 0d ┆ obj : integer; end; ┆ 0x10900…10920 0a 0d 0a 09 a1 46 75 6e 63 74 69 6f 6e e1 3a 0d 0a 09 84 54 68 65 20 64 74 65 5f 63 68 61 6e 20 ┆ Function : The dte_chan ┆ 0x10920…10940 70 72 6f 63 65 73 73 20 72 65 71 75 65 73 74 73 20 74 68 65 20 74 69 6d 65 6f 75 74 20 70 72 6f ┆process requests the timeout pro┆ 0x10940…10960 63 65 73 73 20 74 6f 20 75 70 64 61 74 65 20 61 6e 20 0a 19 89 80 80 61 6c 72 65 61 64 79 20 73 ┆cess to update an already s┆ 0x10960…10980 74 61 72 74 65 64 20 74 69 6d 65 72 2e 20 49 66 20 63 6f 75 6e 74 20 3d 20 30 20 74 68 65 20 64 ┆tarted timer. If count = 0 the d┆ 0x10980…109a0 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 20 73 74 6f 70 73 20 74 68 65 20 0a 19 89 80 80 74 ┆te_chan process stops the t┆ 0x109a0…109c0 69 6d 65 72 20 62 79 20 72 65 71 75 65 73 74 69 6e 67 20 69 74 20 72 65 74 75 72 6e 65 64 20 69 ┆imer by requesting it returned i┆ 0x109c0…109e0 6d 6d 65 64 69 61 74 65 6c 79 2e 20 46 6f 72 20 73 70 65 63 69 66 69 63 61 74 69 6f 6e 20 6f 66 ┆mmediately. For specification of┆ 0x109e0…10a00 20 0a 19 89 80 80 69 6e 64 65 78 20 61 6e 64 20 6f 62 6a 2c 20 70 6c 65 61 73 65 20 72 65 66 65 ┆ index and obj, please refe┆ 0x10a00…10a20 (133,) 72 20 74 6f 20 b0 74 69 6d 65 72 5f 62 6f 6f 6b f0 2e 0d 0a 0d 0a 09 a1 52 65 73 75 6c 74 e1 3a ┆r to timer_book . Result :┆ 0x10a20…10a40 0d 0a 09 72 65 73 75 6c 74 5f 6f 6b 20 20 20 20 20 28 31 29 20 3a 20 6d 65 73 73 61 67 65 20 70 ┆ result_ok (1) : message p┆ 0x10a40…10a60 72 6f 63 65 73 73 65 64 20 70 72 6f 70 65 72 6c 79 0d 0a 09 72 65 73 75 6c 74 5f 77 72 6f 6e 67 ┆rocessed properly result_wrong┆ 0x10a60…10a80 20 20 28 33 29 20 3a 20 6e 6f 20 74 69 6d 65 72 20 6d 65 73 73 61 67 65 20 70 65 6e 64 69 6e 67 ┆ (3) : no timer message pending┆ 0x10a80…10aa0 0d 0a 09 72 65 73 75 6c 74 5f 6f 62 6a 20 20 20 20 28 34 29 20 3a 20 77 72 6f 6e 67 20 6f 62 6a ┆ result_obj (4) : wrong obj┆ 0x10aa0…10ac0 20 75 73 65 64 0d 0a 09 72 65 73 75 6c 74 5f 69 6e 64 65 78 20 20 28 35 29 20 3a 20 69 6e 64 65 ┆ used result_index (5) : inde┆ 0x10ac0…10ae0 78 20 6f 75 74 20 6f 66 20 72 61 6e 67 65 0d 0a 0d 0a 0d 0a a1 33 2e 32 2e 36 09 50 72 6f 63 65 ┆x out of range 3.2.6 Proce┆ 0x10ae0…10b00 73 73 20 64 74 65 5f 70 6f 6f 6c 2e 0d 0a 0d 0a 09 84 41 73 20 61 6c 72 65 61 64 79 20 6d 65 6e ┆ss dte_pool. As already men┆ 0x10b00…10b20 74 69 6f 6e 65 64 20 28 69 6e 20 63 68 61 70 74 65 72 20 32 29 20 74 68 65 20 64 74 65 5f 70 6f ┆tioned (in chapter 2) the dte_po┆ 0x10b20…10b40 6f 6c 20 70 72 6f 63 65 73 73 20 69 73 20 61 6e 20 69 6e 80 0a 19 89 80 80 63 61 72 6e 61 74 69 ┆ol process is an in carnati┆ 0x10b40…10b60 6f 6e 20 6f 66 20 74 68 65 20 70 6f 6f 6c 5f 68 61 6e 64 6c 65 72 20 70 72 6f 63 65 73 73 2e 20 ┆on of the pool_handler process. ┆ 0x10b60…10b80 53 6f 20 66 6f 72 20 61 20 64 65 74 61 69 6c 65 64 20 64 65 73 63 72 69 70 80 0a 19 89 80 80 74 ┆So for a detailed descrip t┆ 0x10b80…10ba0 69 6f 6e 20 6f 66 20 6d 65 73 73 61 67 65 73 20 70 6c 65 61 73 65 20 72 65 66 65 72 20 74 6f 20 ┆ion of messages please refer to ┆ 0x10ba0…10bad 72 65 66 2e 20 28 35 29 2e 0d 0a 0d 0a ┆ref. (5). ┆ 0x10bad…10bb0 FormFeed { 0x10bad…10bb0 0c 80 99 ┆ ┆ 0x10bad…10bb0 } 0x10bb0…10bc0 0a 16 20 66 6f 72 6d 61 74 6c 69 6e 69 65 20 74 ┆ formatlinie t┆ 0x10bc0…10be0 69 6c 20 52 43 20 6d 61 6e 75 61 6c 65 72 0d 0a 14 b3 0d 0a 14 b3 06 2d 20 0b 20 2d 0d 0a a1 0a ┆il RC manualer - - ┆ 0x10be0…10c00 a1 34 2e 09 50 52 4f 43 45 53 53 20 44 45 53 43 52 49 50 54 49 4f 4e 53 2e 0d 0a 0d 0a 09 84 53 ┆ 4. PROCESS DESCRIPTIONS. S┆ 0x10c00…10c20 (134,) 65 63 74 69 6f 6e 20 34 2e 31 20 67 69 76 65 73 20 73 6f 6d 65 20 67 65 6e 65 72 61 6c 20 69 6e ┆ection 4.1 gives some general in┆ 0x10c20…10c40 66 6f 72 6d 61 74 69 6f 6e 20 77 68 69 63 68 20 69 73 20 63 6f 6d 6d 6f 6e 20 74 6f 20 61 20 0a ┆formation which is common to a ┆ 0x10c40…10c60 19 89 80 80 6e 75 6d 62 65 72 20 6f 66 20 44 54 45 20 70 72 6f 63 65 73 73 65 73 2c 20 77 68 65 ┆ number of DTE processes, whe┆ 0x10c60…10c80 72 65 61 73 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 73 65 63 74 69 6f 6e 73 20 28 34 2e 32 ┆reas the following sections (4.2┆ 0x10c80…10ca0 2d 34 2e 36 29 20 0a 19 89 80 80 64 65 73 63 72 69 62 65 20 74 68 65 20 70 72 6f 63 65 73 73 65 ┆-4.6) describe the processe┆ 0x10ca0…10cc0 73 20 6f 6e 65 20 62 79 20 6f 6e 65 2e 0d 0a 0d 0a 09 84 54 68 65 20 61 63 74 75 61 6c 20 70 72 ┆s one by one. The actual pr┆ 0x10cc0…10ce0 6f 63 65 73 73 20 64 65 73 63 72 69 70 74 69 6f 6e 73 20 63 6f 76 65 72 20 74 68 65 20 66 6f 6c ┆ocess descriptions cover the fol┆ 0x10ce0…10d00 6c 6f 77 69 6e 67 20 61 73 70 65 63 74 73 2e 0d 0a 0d 0a b0 09 2d 20 70 72 6f 63 65 73 73 20 70 ┆lowing aspects. - process p┆ 0x10d00…10d20 61 72 61 6d 65 74 65 72 73 f0 20 28 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 78 2e 31 29 0d 0a 20 ┆arameters (subsection 4.x.1) ┆ 0x10d20…10d40 09 20 20 20 20 84 54 68 65 20 70 72 6f 63 65 73 73 20 68 65 61 64 20 69 73 20 73 68 6f 77 6e 20 ┆ The process head is shown ┆ 0x10d40…10d60 61 6e 64 20 74 68 65 20 70 61 72 61 6d 65 74 65 72 73 20 61 72 65 20 64 65 73 63 72 69 62 65 64 ┆and the parameters are described┆ 0x10d60…10d80 2e 20 0a 19 8d 80 80 50 6c 65 61 73 65 20 6e 6f 74 65 20 74 68 61 74 20 66 72 6f 7a 65 6e 20 56 ┆. Please note that frozen V┆ 0x10d80…10da0 41 52 20 70 61 72 61 6d 65 74 65 72 73 20 28 21 29 20 61 72 65 20 72 65 61 64 2d 6f 6e 6c 79 20 ┆AR parameters (!) are read-only ┆ 0x10da0…10dc0 0a 19 8d 80 80 70 61 72 61 6d 65 74 65 72 73 2e 0d 0a 0d 0a 09 b0 2d 20 73 74 61 74 65 73 f0 20 ┆ parameters. - states ┆ 0x10dc0…10de0 28 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 78 2e 32 29 0d 0a 09 20 20 20 20 84 41 20 64 65 73 63 ┆(subsection 4.x.2) A desc┆ 0x10de0…10e00 72 69 70 74 69 6f 6e 20 69 73 20 67 69 76 65 6e 20 6f 66 20 74 68 65 20 70 6f 73 73 69 62 6c 65 ┆ription is given of the possible┆ 0x10e00…10e20 (135,) 20 76 61 6c 75 65 73 20 6f 66 20 73 74 61 74 65 20 0a 19 8d 80 80 76 61 72 69 61 62 6c 65 73 20 ┆ values of state variables ┆ 0x10e20…10e40 69 6e 20 74 68 65 20 70 72 6f 63 65 73 73 2e 20 54 68 69 73 20 64 65 73 63 72 69 70 74 69 6f 6e ┆in the process. This description┆ 0x10e40…10e60 20 63 61 6e 20 69 6e 63 6c 75 64 65 20 61 20 73 74 61 74 65 20 0a 19 8d 80 80 74 72 61 6e 73 69 ┆ can include a state transi┆ 0x10e60…10e80 74 69 6f 6e 20 67 72 61 70 68 20 6f 72 20 74 61 62 6c 65 2e 0d 0a 0d 0a b0 09 2d 20 73 65 6d 61 ┆tion graph or table. - sema┆ 0x10e80…10ea0 70 68 6f 72 65 73 20 61 6e 64 20 72 65 66 65 72 65 6e 63 65 20 76 61 72 69 61 62 6c 65 73 f0 20 ┆phores and reference variables ┆ 0x10ea0…10ec0 28 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 78 2e 33 29 0d 0a 09 20 20 20 20 84 54 68 65 20 6c 6f ┆(subsection 4.x.3) The lo┆ 0x10ec0…10ee0 63 61 6c 20 73 65 6d 61 70 68 6f 72 65 73 20 28 65 78 63 6c 2e 20 70 72 6f 63 65 73 73 20 70 61 ┆cal semaphores (excl. process pa┆ 0x10ee0…10f00 72 61 6d 65 74 65 72 73 29 20 61 6e 64 20 74 68 65 20 0a 19 8d 80 80 72 65 66 65 72 65 6e 63 65 ┆rameters) and the reference┆ 0x10f00…10f20 20 76 61 72 69 61 62 6c 65 73 20 61 72 65 20 64 65 73 63 72 69 62 65 64 2e 0d 0a 0d 0a 09 b0 2d ┆ variables are described. -┆ 0x10f20…10f40 20 64 61 74 61 20 73 74 72 75 63 74 75 72 65 73 f0 20 28 73 75 62 73 65 63 74 69 6f 6e 20 34 2e ┆ data structures (subsection 4.┆ 0x10f40…10f60 78 2e 34 29 0d 0a 09 20 20 20 20 20 84 41 20 64 65 73 63 72 69 70 74 69 6f 6e 20 6f 66 20 69 6d ┆x.4) A description of im┆ 0x10f60…10f80 70 6f 72 74 61 6e 74 20 64 61 74 61 20 73 74 72 75 63 74 75 72 65 73 20 69 73 20 67 69 76 65 6e ┆portant data structures is given┆ 0x10f80…10fa0 2e 0d 0a 0d 0a b0 09 2d 20 73 65 6d 61 70 68 6f 72 65 73 20 61 6e 64 20 6d 65 73 73 61 67 65 20 ┆. - semaphores and message ┆ 0x10fa0…10fc0 66 6c 6f 77 f0 20 28 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 78 2e 35 29 0d 0a 09 20 20 20 20 20 ┆flow (subsection 4.x.5) ┆ 0x10fc0…10fe0 84 41 6e 20 6f 75 74 6c 69 6e 65 20 6f 66 20 74 68 65 20 66 6c 6f 77 20 6f 66 20 6d 65 73 73 61 ┆ An outline of the flow of messa┆ 0x10fe0…11000 67 65 73 20 74 6f 20 61 6e 64 20 66 72 6f 6d 20 74 68 65 20 70 72 6f 63 65 73 73 20 69 73 20 0a ┆ges to and from the process is ┆ 0x11000…11020 (136,) 19 8e 80 80 73 68 6f 77 6e 2e 20 54 68 65 20 75 73 65 20 6f 66 20 74 68 65 20 6d 61 69 6e 20 73 ┆ shown. The use of the main s┆ 0x11020…11040 65 6d 61 70 68 6f 72 65 20 61 6e 64 20 61 64 64 69 74 69 6f 6e 61 6c 20 73 65 6d 61 70 68 6f 2d ┆emaphore and additional semapho-┆ 0x11040…11060 0a 19 8e 80 80 72 65 73 20 28 69 6e 63 6c 2e 20 62 75 66 66 65 72 20 70 6f 6f 6c 73 29 20 69 73 ┆ res (incl. buffer pools) is┆ 0x11060…11080 20 69 6c 6c 75 73 74 72 61 74 65 64 2e 0d 0a 0d 0a b0 09 2d 20 6f 76 65 72 76 69 65 77 20 6f 66 ┆ illustrated. - overview of┆ 0x11080…110a0 20 70 72 6f 63 65 73 73 20 6f 70 65 72 61 74 69 6f 6e f0 20 28 73 75 62 73 65 63 74 69 6f 6e 20 ┆ process operation (subsection ┆ 0x110a0…110c0 34 2e 78 2e 36 29 0d 0a 09 20 20 20 20 20 84 41 20 73 68 6f 72 74 20 64 65 73 63 72 69 70 74 69 ┆4.x.6) A short descripti┆ 0x110c0…110e0 6f 6e 20 6f 66 20 74 68 65 20 69 6e 74 65 72 6e 61 6c 20 73 74 72 75 63 74 75 72 65 20 61 6e 64 ┆on of the internal structure and┆ 0x110e0…11100 20 77 6f 72 6b 20 6f 66 20 74 68 65 20 0a 19 8e 80 80 70 72 6f 63 65 73 73 20 69 73 20 67 69 76 ┆ work of the process is giv┆ 0x11100…11120 65 6e 2e 0d 0a 0d 0a b0 09 2d 20 73 70 65 63 69 61 6c 20 74 65 63 68 6e 69 71 75 65 73 f0 20 28 ┆en. - special techniques (┆ 0x11120…11140 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 78 2e 37 20 61 6e 64 20 6f 6e 29 0d 0a 20 20 20 20 20 20 ┆subsection 4.x.7 and on) ┆ 0x11140…11160 20 20 20 20 20 20 20 84 49 66 20 61 6e 79 20 73 70 65 63 69 61 6c 20 69 6d 70 6c 65 6d 65 6e 74 ┆ If any special implement┆ 0x11160…11180 61 74 69 6f 6e 20 74 65 63 68 6e 69 71 75 65 73 20 6f 72 20 6d 65 74 68 6f 64 73 20 61 72 65 20 ┆ation techniques or methods are ┆ 0x11180…111a0 75 73 65 64 20 0a 19 8d 80 80 74 68 65 73 65 20 61 72 65 20 64 65 73 63 72 69 62 65 64 2e 0d 0a ┆used these are described. ┆ 0x111a0…111c0 0d 0a 09 84 50 6c 65 61 73 65 20 72 65 66 65 72 20 74 6f 20 63 68 61 70 74 65 72 20 32 20 66 6f ┆ Please refer to chapter 2 fo┆ 0x111c0…111e0 72 20 61 6e 20 6f 76 65 72 61 6c 6c 20 64 65 73 63 72 69 70 74 69 6f 6e 20 6f 66 20 74 68 65 20 ┆r an overall description of the ┆ 0x111e0…11200 0a 19 89 80 80 70 72 6f 63 65 73 73 65 73 2e 0d 0a 0d 0a 0d 0a 8c 80 ab 0a a1 34 2e 31 09 47 65 ┆ processes. 4.1 Ge┆ 0x11200…11220 (137,) 6e 65 72 61 6c 20 49 6e 66 6f 72 6d 61 74 69 6f 6e 2e 0d 0a 0d 0a 0d 0a a1 34 2e 31 2e 31 09 43 ┆neral Information. 4.1.1 C┆ 0x11220…11240 6f 6d 6d 6f 6e 20 44 61 74 61 20 53 74 72 75 63 74 75 72 65 73 2e 0d 0a 0d 0a 0d 0a a1 34 2e 31 ┆ommon Data Structures. 4.1┆ 0x11240…11260 2e 31 2e 31 09 55 73 65 72 20 54 61 62 6c 65 2e 0d 0a 0d 0a 09 84 45 61 63 68 20 75 73 65 72 20 ┆.1.1 User Table. Each user ┆ 0x11260…11280 63 6f 6e 6e 65 63 74 65 64 20 74 6f 20 74 68 65 20 44 54 45 20 69 73 20 64 65 73 63 72 69 62 65 ┆connected to the DTE is describe┆ 0x11280…112a0 64 20 62 79 20 61 6e 20 65 6e 74 72 79 20 69 6e 20 74 68 65 20 0a 19 89 80 80 75 73 65 72 5f 74 ┆d by an entry in the user_t┆ 0x112a0…112c0 61 62 6c 65 2e 20 54 77 6f 20 70 72 6f 63 65 73 73 65 73 20 6f 70 65 72 61 74 65 20 6f 6e 20 74 ┆able. Two processes operate on t┆ 0x112c0…112e0 68 69 73 20 74 61 62 6c 65 2c 20 64 74 65 20 61 6e 64 20 0a 19 89 80 80 64 74 65 5f 61 63 63 65 ┆his table, dte and dte_acce┆ 0x112e0…11300 73 73 2e 20 4f 6e 65 20 6f 70 65 72 61 74 69 6f 6e 20 6f 6e 20 74 68 65 20 74 61 62 6c 65 20 69 ┆ss. One operation on the table i┆ 0x11300…11320 73 20 74 6f 20 66 69 6e 64 20 61 20 67 69 76 65 6e 20 75 73 65 72 20 61 6e 64 20 0a 19 89 80 80 ┆s to find a given user and ┆ 0x11320…11340 66 6f 72 20 74 68 69 73 20 70 75 72 70 6f 73 65 20 74 68 65 20 70 72 6f 63 65 64 75 72 65 20 b0 ┆for this purpose the procedure ┆ 0x11340…11360 66 6f 75 6e 64 5f 75 73 65 72 f0 20 28 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 31 2e 32 2e 33 29 ┆found_user (subsection 4.1.2.3)┆ 0x11360…11380 20 69 73 20 0a 19 89 81 80 64 65 66 69 6e 65 64 2e 20 41 6e 20 61 63 63 65 73 73 20 73 65 6d 61 ┆ is defined. An access sema┆ 0x11380…113a0 70 68 6f 72 65 20 28 75 73 65 72 5f 6b 65 79 29 20 69 73 20 61 73 73 6f 63 69 61 74 65 64 20 77 ┆phore (user_key) is associated w┆ 0x113a0…113c0 69 74 68 20 74 68 65 20 0a 19 89 81 80 74 61 62 6c 65 2e 20 54 68 65 20 70 72 6f 63 65 73 73 20 ┆ith the table. The process ┆ 0x113c0…113e0 77 68 69 63 68 20 61 74 20 61 20 67 69 76 65 6e 20 6d 6f 6d 65 6e 74 20 27 6f 77 6e 73 27 20 74 ┆which at a given moment 'owns' t┆ 0x113e0…11400 68 65 20 6d 65 73 73 61 67 65 20 09 0a 19 89 81 80 28 6b 65 79 29 20 71 75 65 75 65 64 20 61 74 ┆he message (key) queued at┆ 0x11400…11420 (138,) 20 74 68 65 20 73 65 6d 61 70 68 6f 72 65 2c 20 68 61 73 20 74 68 65 20 72 69 67 68 74 73 20 74 ┆ the semaphore, has the rights t┆ 0x11420…11440 6f 20 72 65 61 64 20 61 6e 64 20 77 72 69 74 65 20 0a 19 89 81 80 69 6e 20 74 68 65 20 74 61 62 ┆o read and write in the tab┆ 0x11440…11460 6c 65 2e 0d 0a 0d 0a 09 84 45 61 63 68 20 65 6e 74 72 79 20 69 6e 20 74 68 65 20 74 61 62 6c 65 ┆le. Each entry in the table┆ 0x11460…11480 20 69 73 20 6f 66 20 74 79 70 65 0d 0a 0d 0a 09 20 20 20 75 73 65 72 5f 64 65 73 63 20 3d 20 72 ┆ is of type user_desc = r┆ 0x11480…114a0 65 63 6f 72 64 0d 0a 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 75 73 65 72 5f 73 74 ┆ecord user_st┆ 0x114a0…114c0 61 74 65 09 20 20 20 20 20 20 20 20 20 20 3a 20 75 5f 73 74 61 74 65 5f 74 79 70 65 3b 0d 0a 09 ┆ate : u_state_type; ┆ 0x114c0…114e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 6f 63 61 6c 5f 75 61 64 64 72 09 20 20 20 ┆ local_uaddr ┆ 0x114e0…11500 20 20 20 20 20 20 20 3a 20 62 63 64 5f 61 64 72 5f 74 79 70 65 3b 0d 0a 20 20 20 20 20 20 20 20 ┆ : bcd_adr_type; ┆ 0x11500…11520 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 65 70 74 5f 72 61 6e 67 65 2c 0d ┆ accept_range, ┆ 0x11520…11540 0a 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 75 73 65 72 5f 73 74 72 65 61 6d 73 2c ┆ user_streams,┆ 0x11540…11560 0d 0a 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 6f 73 74 5f 73 74 72 65 61 6d 5f ┆ lost_stream_┆ 0x11560…11580 65 76 65 6e 74 2c 0d 0a 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 6f 73 74 5f 75 ┆event, lost_u┆ 0x11580…115a0 73 65 72 5f 65 76 65 6e 74 09 3a 20 62 79 74 65 3b 0d 0a 09 20 20 20 20 20 20 20 20 20 20 20 20 ┆ser_event : byte; ┆ 0x115a0…115c0 20 20 20 20 20 75 73 65 72 5f 65 76 65 6e 74 5f 72 65 63 09 3a 20 64 74 65 5f 65 76 65 6e 74 5f ┆ user_event_rec : dte_event_┆ 0x115c0…115e0 74 79 70 65 3b 0d 0a 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 6e 65 72 61 6c ┆type; general┆ 0x115e0…11600 5f 62 73 65 6d 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆_bsem, ┆ 0x11600…11620 (139,) 20 20 77 5f 65 76 65 6e 74 5f 62 73 65 6d 09 20 20 20 20 20 20 20 20 20 20 3a 20 73 65 6d 61 70 ┆ w_event_bsem : semap┆ 0x11620…11640 68 6f 72 65 3b 0d 0a 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6e 64 3b 0d 0a 0d 0a 09 ┆hore; end; ┆ 0x11640…11660 75 73 65 72 5f 73 74 61 74 65 09 3a 20 84 44 65 73 63 72 69 62 65 73 20 74 68 65 20 73 74 61 74 ┆user_state : Describes the stat┆ 0x11660…11680 65 20 28 66 72 65 65 2c 20 77 5f 72 65 73 63 2c 20 69 64 6c 65 2c 20 0a 19 9f 80 80 61 63 74 69 ┆e (free, w_resc, idle, acti┆ 0x11680…116a0 76 65 29 20 6f 66 20 74 68 65 20 65 6e 74 72 79 2f 61 73 73 6f 63 69 61 74 65 64 20 75 73 65 72 ┆ve) of the entry/associated user┆ 0x116a0…116c0 2e 20 50 6c 65 61 73 65 20 0a 19 9f 80 80 72 65 66 65 72 20 74 6f 20 73 75 62 73 65 63 74 69 6f ┆. Please refer to subsectio┆ 0x116c0…116e0 6e 20 34 2e 33 2e 32 20 66 6f 72 20 61 20 64 65 73 63 72 69 70 74 69 6f 6e 20 0a 19 9f 80 80 6f ┆n 4.3.2 for a description o┆ 0x116e0…11700 66 20 74 68 65 20 69 6e 64 69 76 69 64 75 61 6c 20 73 74 61 74 65 73 2e 0d 0a 0d 0a 09 6c 6f 63 ┆f the individual states. loc┆ 0x11700…11720 61 6c 5f 75 61 64 64 72 09 3a 20 84 43 6f 6e 74 61 69 6e 73 20 74 68 65 20 75 73 65 72 20 61 64 ┆al_uaddr : Contains the user ad┆ 0x11720…11740 64 72 65 73 73 20 28 58 2e 32 35 20 73 75 62 20 61 64 80 0a 19 9f 80 80 64 72 65 73 73 29 2e 20 ┆dress (X.25 sub ad dress). ┆ 0x11740…11760 53 65 65 20 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 31 2e 36 2e 0d 0a 0d 0a 09 61 63 63 65 70 74 ┆See subsection 4.1.6. accept┆ 0x11760…11780 5f 72 61 6e 67 65 09 3a 20 84 53 65 65 20 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 31 2e 36 2e 0d ┆_range : See subsection 4.1.6. ┆ 0x11780…117a0 0a 0d 0a 8c 80 a9 0a 09 75 73 65 72 5f 73 74 72 65 61 6d 73 09 3a 20 84 54 68 65 20 6e 75 6d 62 ┆ user_streams : The numb┆ 0x117a0…117c0 65 72 20 6f 66 20 73 74 72 65 61 6d 73 20 66 6f 72 20 74 68 69 73 20 75 73 65 72 2e 0d 0a 0d 0a ┆er of streams for this user. ┆ 0x117c0…117e0 09 6c 6f 73 74 5f 73 74 72 65 61 6d 5f 65 76 65 6e 74 09 3a 20 84 4e 75 6d 62 65 72 20 6f 66 20 ┆ lost_stream_event : Number of ┆ 0x117e0…11800 73 74 72 65 61 6d 73 20 77 69 74 68 20 6c 6f 73 74 20 65 76 65 6e 74 73 2e 0d 0a 0d 0a 09 6c 6f ┆streams with lost events. lo┆ 0x11800…11820 (140,) 73 74 5f 75 73 65 72 5f 65 76 65 6e 74 09 3a 20 84 4e 75 6d 62 65 72 20 6f 66 20 6c 6f 73 74 20 ┆st_user_event : Number of lost ┆ 0x11820…11840 75 73 65 72 20 65 76 65 6e 74 73 2e 0d 0a 0d 0a 09 75 73 65 72 5f 65 76 65 6e 74 5f 72 65 63 09 ┆user events. user_event_rec ┆ 0x11840…11860 3a 20 84 4c 61 73 74 20 72 65 63 65 69 76 65 64 20 75 73 65 72 20 65 76 65 6e 74 20 63 6f 6e 74 ┆: Last received user event cont┆ 0x11860…11880 61 69 6e 69 6e 67 20 65 76 65 6e 74 20 0a 19 9f 80 80 74 79 70 65 2c 20 63 61 75 73 65 20 61 6e ┆aining event type, cause an┆ 0x11880…118a0 64 20 64 69 61 67 6e 6f 73 74 69 63 2e 0d 0a 0d 0a 09 67 65 6e 65 72 61 6c 5f 62 73 65 6d 09 3a ┆d diagnostic. general_bsem :┆ 0x118a0…118c0 20 84 53 65 6d 61 70 68 6f 72 65 20 61 74 20 77 68 69 63 68 20 67 65 6e 65 72 61 6c 20 69 6e 70 ┆ Semaphore at which general inp┆ 0x118c0…118e0 75 74 20 62 75 66 66 65 72 73 20 61 72 65 20 0a 19 9f 80 80 71 75 65 75 65 64 2e 0d 0a 0d 0a 09 ┆ut buffers are queued. ┆ 0x118e0…11900 77 5f 65 76 65 6e 74 5f 62 73 65 6d 09 3a 20 84 53 65 6d 61 70 68 6f 72 65 20 61 74 20 77 68 69 ┆w_event_bsem : Semaphore at whi┆ 0x11900…11920 63 68 20 77 61 69 74 5f 65 76 65 6e 74 20 62 75 66 66 65 72 73 20 61 72 65 20 0a 19 9f 80 80 71 ┆ch wait_event buffers are q┆ 0x11920…11940 75 65 75 65 64 2e 0d 0a 0d 0a 0d 0a a1 34 2e 31 2e 31 2e 32 09 53 65 6d 61 70 68 6f 72 65 20 41 ┆ueued. 4.1.1.2 Semaphore A┆ 0x11940…11960 72 65 61 20 66 6f 72 20 64 74 65 5f 63 68 61 6e 3c 78 78 78 3e 2e 0d 0a 0d 0a 09 84 49 6e 20 74 ┆rea for dte_chan<xxx>. In t┆ 0x11960…11980 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 20 74 77 6f 20 74 61 62 6c 65 73 2c 20 63 6f 6e 74 61 ┆he dte process two tables, conta┆ 0x11980…119a0 69 6e 69 6e 67 20 73 65 6d 61 70 68 6f 72 65 20 70 6f 69 6e 74 65 72 73 20 74 6f 20 0a 19 89 80 ┆ining semaphore pointers to ┆ 0x119a0…119c0 80 74 68 65 20 6d 61 69 6e 20 73 65 6d 61 70 68 6f 72 65 73 20 6f 66 20 74 68 65 20 64 74 65 5f ┆ the main semaphores of the dte_┆ 0x119c0…119e0 63 68 61 6e 20 69 6e 63 61 72 6e 61 74 69 6f 6e 73 2c 20 61 72 65 20 64 65 66 69 6e 65 64 2e 20 ┆chan incarnations, are defined. ┆ 0x119e0…11a00 0a 19 89 80 80 54 68 65 73 65 20 74 77 6f 20 74 61 62 6c 65 73 20 28 68 72 65 63 5f 74 61 62 6c ┆ These two tables (hrec_tabl┆ 0x11a00…11a20 (141,) 65 20 61 6e 64 20 69 6e 74 5f 74 61 62 6c 65 29 20 61 72 65 20 70 72 6f 63 65 73 73 20 70 61 72 ┆e and int_table) are process par┆ 0x11a20…11a40 61 6d 65 74 65 72 73 20 0a 19 89 80 80 74 6f 20 74 68 65 20 64 74 65 5f 68 72 65 63 20 61 6e 64 ┆ameters to the dte_hrec and┆ 0x11a40…11a60 20 64 74 65 5f 61 63 63 65 73 73 20 70 72 6f 63 65 73 73 2c 20 72 65 73 70 65 63 74 69 76 65 6c ┆ dte_access process, respectivel┆ 0x11a60…11a80 79 2e 20 49 6e 20 74 68 65 73 65 20 0a 19 89 80 80 70 72 6f 63 65 73 73 65 73 20 74 68 65 79 20 ┆y. In these processes they ┆ 0x11a80…11aa0 61 72 65 20 75 73 65 64 20 74 6f 20 72 6f 75 74 65 20 6d 65 73 73 61 67 65 73 20 74 6f 20 74 68 ┆are used to route messages to th┆ 0x11aa0…11ac0 65 20 72 69 67 68 74 20 64 74 65 5f 63 68 61 6e 20 0a 19 89 80 80 69 6e 63 61 72 6e 61 74 69 6f ┆e right dte_chan incarnatio┆ 0x11ac0…11ae0 6e 2e 0d 0a 0d 0a 09 84 49 6e 20 64 74 65 5f 68 72 65 63 20 74 68 65 20 69 6e 64 65 78 20 74 6f ┆n. In dte_hrec the index to┆ 0x11ae0…11b00 20 74 68 65 20 74 61 62 6c 65 20 69 73 20 63 61 6c 63 75 6c 61 74 65 64 20 66 72 6f 6d 20 74 68 ┆ the table is calculated from th┆ 0x11b00…11b20 65 20 6c 6f 67 69 63 61 6c 20 0a 19 89 80 80 63 68 61 6e 6e 65 6c 20 6e 75 6d 62 65 72 20 28 73 ┆e logical channel number (s┆ 0x11b20…11b40 65 65 20 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 31 2e 35 29 2e 20 49 66 20 74 68 65 20 61 73 73 ┆ee subsection 4.1.5). If the ass┆ 0x11b40…11b60 6f 63 69 61 74 65 64 20 64 74 65 5f 63 68 61 6e 20 0a 19 89 80 80 69 6e 63 61 72 6e 61 74 69 6f ┆ociated dte_chan incarnatio┆ 0x11b60…11b80 6e 20 69 73 20 69 6e 20 73 74 61 74 65 20 78 69 64 6c 65 20 74 68 65 20 73 65 6d 61 70 68 6f 72 ┆n is in state xidle the semaphor┆ 0x11b80…11ba0 65 20 70 6f 69 6e 74 65 72 20 70 6f 69 6e 74 73 20 74 6f 20 74 68 65 20 0a 19 89 80 80 6d 61 69 ┆e pointer points to the mai┆ 0x11ba0…11bc0 6e 20 73 65 6d 61 70 68 6f 72 65 20 6f 66 20 74 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 2e 20 ┆n semaphore of the dte process. ┆ 0x11bc0…11be0 54 68 69 73 20 64 79 6e 61 6d 69 63 61 6c 20 63 68 61 6e 67 65 20 69 73 20 70 65 72 80 0a 19 89 ┆This dynamical change is per ┆ 0x11be0…11c00 80 80 66 6f 72 6d 65 64 20 62 79 20 74 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 2e 20 41 20 73 ┆ formed by the dte process. A s┆ 0x11c00…11c20 (142,) 6e 61 70 20 73 68 6f 74 20 69 73 20 67 69 76 65 6e 20 62 65 6c 6f 77 20 69 6e 20 66 69 67 75 72 ┆nap shot is given below in figur┆ 0x11c20…11c40 65 20 39 2e 0d 0a 0d 0a 09 84 49 6e 20 64 74 65 5f 61 63 63 65 73 73 20 74 68 65 20 73 74 72 65 ┆e 9. In dte_access the stre┆ 0x11c40…11c60 61 6d 20 6e 75 6d 62 65 72 20 69 73 20 75 73 65 64 20 61 73 20 69 6e 64 65 78 20 74 6f 20 73 74 ┆am number is used as index to st┆ 0x11c60…11c80 72 65 61 6d 5f 74 61 62 6c 65 2c 20 0a 19 89 80 80 77 68 69 63 68 20 63 6f 6e 74 61 69 6e 73 20 ┆ream_table, which contains ┆ 0x11c80…11ca0 61 20 73 65 6d 61 70 68 6f 72 65 20 70 6f 69 6e 74 65 72 20 28 63 68 61 6e 70 72 6f 63 5f 73 65 ┆a semaphore pointer (chanproc_se┆ 0x11ca0…11cc0 6d 29 20 74 6f 20 74 68 65 20 61 73 73 6f 63 69 61 80 0a 19 89 80 80 74 65 64 20 64 74 65 5f 63 ┆m) to the associa ted dte_c┆ 0x11cc0…11ce0 68 61 6e 20 69 6e 63 61 72 6e 61 74 69 6f 6e 2e 20 54 68 69 73 20 70 6f 69 6e 74 65 72 20 69 73 ┆han incarnation. This pointer is┆ 0x11ce0…11d00 20 61 73 73 69 67 6e 65 64 20 74 6f 20 74 68 65 20 76 61 6c 75 65 20 6f 66 20 0a 19 89 80 80 69 ┆ assigned to the value of i┆ 0x11d00…11d20 6e 74 5f 74 61 62 6c 65 28 69 6e 64 65 78 29 20 61 74 20 73 74 72 65 61 6d 20 69 6e 69 74 69 61 ┆nt_table(index) at stream initia┆ 0x11d20…11d40 6c 69 7a 61 74 69 6f 6e 2e 20 49 6e 64 65 78 20 69 73 20 72 65 74 75 72 6e 65 64 20 62 79 20 0a ┆lization. Index is returned by ┆ 0x11d40…11d60 19 89 80 80 74 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 20 69 6e 20 61 20 63 68 61 6e 5f 73 74 ┆ the dte process in a chan_st┆ 0x11d60…11d80 61 72 74 20 61 6e 73 77 65 72 2e 20 41 20 73 6e 61 70 20 73 68 6f 74 20 69 73 20 67 69 76 65 6e ┆art answer. A snap shot is given┆ 0x11d80…11d9c 20 62 65 6c 6f 77 20 0a 19 89 80 80 69 6e 20 66 69 67 75 72 65 20 39 2e 0d 0a 0d 0a ┆ below in figure 9. ┆ 0x11d9c…11d9f FormFeed { 0x11d9c…11d9f 0c 80 a6 ┆ ┆ 0x11d9c…11d9f } 0x11d9f…11da0 0a ┆ ┆ 0x11da0…11dc0 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ 0x11dc0…11de0 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 06 46 69 67 75 72 65 20 39 2e 20 53 6e 61 ┆ Figure 9. Sna┆ 0x11de0…11e00 70 20 73 68 6f 74 20 6f 66 20 72 6f 75 74 69 6e 67 20 70 6f 69 6e 74 65 72 73 2e 0d 0a 0d 0a 0d ┆p shot of routing pointers. ┆ 0x11e00…11e20 (143,) 0a a1 81 0a a1 34 2e 31 2e 31 2e 33 09 78 32 35 5f 70 61 72 61 6d 5f 74 79 70 65 2e 0d 0a 0d 0a ┆ 4.1.1.3 x25_param_type. ┆ 0x11e20…11e40 09 84 41 20 63 61 6c 6c 20 61 6e 64 20 72 65 74 75 72 6e 20 70 61 72 61 6d 65 74 65 72 73 20 74 ┆ A call and return parameters t┆ 0x11e40…11e60 6f 20 74 68 65 20 58 2e 32 35 20 70 72 6f 63 65 64 75 72 65 73 20 b0 63 6f 64 65 5f 78 32 35 f0 ┆o the X.25 procedures code_x25 ┆ 0x11e60…11e80 20 28 73 75 62 80 0a 19 89 81 80 73 65 63 74 69 6f 6e 20 34 2e 31 2e 32 2e 31 29 20 61 6e 64 20 ┆ (sub section 4.1.2.1) and ┆ 0x11e80…11ea0 b0 64 63 65 5f 78 32 35 f0 20 28 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 31 2e 32 2e 31 29 20 69 ┆ dce_x25 (subsection 4.1.2.1) i┆ 0x11ea0…11ec0 73 20 6f 66 20 74 79 70 65 20 0a 19 89 82 80 78 32 35 5f 70 61 72 61 6d 5f 74 79 70 65 2e 20 54 ┆s of type x25_param_type. T┆ 0x11ec0…11ee0 68 69 73 20 70 61 72 61 6d 65 74 65 72 20 63 6f 6e 74 61 69 6e 73 20 61 6c 6c 20 74 68 65 20 6e ┆his parameter contains all the n┆ 0x11ee0…11f00 65 63 65 73 73 61 72 79 20 70 61 72 61 6d 65 80 0a 19 89 82 80 74 65 72 73 20 74 6f 20 63 6f 64 ┆ecessary parame ters to cod┆ 0x11f00…11f1f 65 20 6f 72 20 64 65 63 6f 64 65 20 61 6e 20 58 2e 32 35 20 70 61 63 6b 65 74 2e 0d 0a 0d 0a ┆e or decode an X.25 packet. ┆ 0x11f1f…11f22 FormFeed { 0x11f1f…11f22 0c 80 a4 ┆ ┆ 0x11f1f…11f22 } 0x11f22…11f40 0a 09 78 32 35 5f 70 61 72 61 6d 5f 74 79 70 65 20 3d 20 72 65 63 6f 72 64 0d 0a 09 20 20 ┆ x25_param_type = record ┆ 0x11f40…11f60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 78 6c 63 67 20 20 20 20 20 20 20 20 20 3a 20 ┆ xlcg : ┆ 0x11f60…11f80 62 69 74 34 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆bit4; ┆ 0x11f80…11fa0 20 20 20 78 6c 63 6e 20 20 20 20 20 20 20 20 20 3a 20 62 79 74 65 3b 0d 0a 09 20 20 20 20 20 20 ┆ xlcn : byte; ┆ 0x11fa0…11fc0 20 20 20 20 20 20 20 20 20 20 20 20 20 78 70 61 63 6b 65 74 5f 69 64 09 20 20 3a 20 70 61 63 6b ┆ xpacket_id : pack┆ 0x11fc0…11fe0 65 74 5f 69 64 5f 74 79 70 65 3b 0d 0a 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆et_id_type; ┆ 0x11fe0…12000 20 71 62 69 74 2c 0d 0a 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 62 69 74 ┆ qbit, dbit┆ 0x12000…12020 (144,) 2c 0d 0a 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 62 69 74 09 20 20 3a 20 ┆, mbit : ┆ 0x12020…12040 62 69 74 3b 0d 0a 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 70 72 2c 0d 0a ┆bit; spr, ┆ 0x12040…12060 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 70 73 2c 0d 0a 09 20 20 20 20 20 ┆ sps, ┆ 0x12060…12080 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 70 72 2c 0d 0a 09 20 20 20 20 20 20 20 20 20 20 20 ┆ rpr, ┆ 0x12080…120a0 20 20 20 20 20 20 20 20 72 70 73 09 20 20 3a 20 62 69 74 33 3b 0d 0a 09 20 20 20 20 20 20 20 20 ┆ rps : bit3; ┆ 0x120a0…120c0 20 20 20 20 20 20 20 20 20 20 20 6f 63 74 65 74 34 2c 0d 0a 09 20 20 20 20 20 20 20 20 20 20 20 ┆ octet4, ┆ 0x120c0…120e0 20 20 20 20 20 20 20 20 6f 63 74 65 74 35 09 20 20 3a 20 62 79 74 65 3b 0d 0a 09 20 20 20 20 20 ┆ octet5 : byte; ┆ 0x120e0…12100 20 20 20 20 20 20 20 20 20 20 20 20 65 6e 64 3b 0d 0a 0d 0a 09 78 6c 63 67 09 09 3a 20 84 4c 6f ┆ end; xlcg : Lo┆ 0x12100…12120 67 69 63 61 6c 20 67 72 6f 75 70 20 6e 75 6d 62 65 72 20 69 6e 20 74 68 65 20 58 2e 32 35 20 70 ┆gical group number in the X.25 p┆ 0x12120…12140 61 63 6b 65 74 20 0a 19 9f 80 80 68 65 61 64 65 72 2e 0d 0a 0d 0a 09 78 6c 63 6e 09 09 3a 20 84 ┆acket header. xlcn : ┆ 0x12140…12160 4c 6f 67 69 63 61 6c 20 63 68 61 6e 6e 65 6c 20 6e 75 6d 62 65 72 20 69 6e 20 74 68 65 20 58 2e ┆Logical channel number in the X.┆ 0x12160…12180 32 35 20 70 61 63 6b 65 74 20 0a 19 9f 80 80 68 65 61 64 65 72 2e 0d 0a 0d 0a 09 78 70 61 63 6b ┆25 packet header. xpack┆ 0x12180…121a0 65 74 5f 69 64 09 3a 20 84 50 61 63 6b 65 74 20 69 64 65 6e 74 69 66 69 63 61 74 6f 72 2e 0d 0a ┆et_id : Packet identificator. ┆ 0x121a0…121c0 0d 0a 09 71 62 69 74 2c 64 62 69 74 2c 6d 62 69 74 09 3a 20 71 2c 20 64 20 61 6e 64 20 6d 20 62 ┆ qbit,dbit,mbit : q, d and m b┆ 0x121c0…121e0 69 74 20 69 6e 20 74 68 65 20 58 2e 32 35 20 70 61 63 6b 65 74 20 68 65 61 64 65 72 2e 0d 0a 0d ┆it in the X.25 packet header. ┆ 0x121e0…12200 0a 09 73 70 72 2c 20 73 70 73 09 09 3a 20 84 50 52 20 61 6e 64 20 50 53 20 6e 75 6d 62 65 72 73 ┆ spr, sps : PR and PS numbers┆ 0x12200…12220 (145,) 20 74 6f 20 62 65 20 77 72 69 74 74 65 6e 20 69 6e 20 74 68 65 20 58 2e 32 35 20 0a 19 9f 80 80 ┆ to be written in the X.25 ┆ 0x12220…12240 70 61 63 6b 65 74 20 68 65 61 64 2c 20 74 68 61 74 20 68 61 73 20 74 6f 20 62 65 20 74 72 61 6e ┆packet head, that has to be tran┆ 0x12240…12260 73 6d 69 74 74 65 64 20 74 6f 20 0a 19 9f 80 80 74 68 65 20 44 43 45 2e 0d 0a 0d 0a 09 72 70 72 ┆smitted to the DCE. rpr┆ 0x12260…12280 2c 20 72 70 73 09 09 3a 20 84 50 52 20 61 6e 64 20 50 53 20 6e 75 6d 62 65 72 73 20 72 65 61 64 ┆, rps : PR and PS numbers read┆ 0x12280…122a0 20 69 6e 20 74 68 65 20 58 2e 32 35 20 70 61 63 6b 65 74 20 0a 19 9f 80 80 68 65 61 64 20 72 65 ┆ in the X.25 packet head re┆ 0x122a0…122c0 63 65 69 76 65 64 20 66 72 6f 6d 20 74 68 65 20 44 43 45 2e 0d 0a 0d 0a 09 6f 63 74 65 74 34 09 ┆ceived from the DCE. octet4 ┆ 0x122c0…122e0 09 3a 20 4f 63 74 65 74 20 66 6f 75 72 20 69 6e 20 73 6f 6d 65 20 58 2e 32 35 20 70 61 63 6b 65 ┆ : Octet four in some X.25 packe┆ 0x122e0…12300 74 73 2e 0d 0a 0d 0a 09 6f 63 74 65 74 35 09 09 3a 20 4f 63 74 65 74 20 66 69 76 65 20 69 6e 20 ┆ts. octet5 : Octet five in ┆ 0x12300…12318 73 6f 6d 65 20 58 2e 32 35 20 70 61 63 6b 65 74 73 2e 0d 0a 0d 0a 0d 0a ┆some X.25 packets. ┆ 0x12318…1231b FormFeed { 0x12318…1231b 0c 80 a5 ┆ ┆ 0x12318…1231b } 0x1231b…12320 0a a1 34 2e 31 ┆ 4.1┆ 0x12320…12340 2e 31 2e 34 09 5a 6f 6e 65 73 2e 0d 0a 0d 0a 09 84 49 6e 20 74 68 65 20 70 72 6f 63 65 73 73 65 ┆.1.4 Zones. In the processe┆ 0x12340…12360 73 20 64 74 65 2c 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 20 61 20 73 74 61 6e 64 61 72 64 20 7a 6f ┆s dte, dte_lcnzero a standard zo┆ 0x12360…12380 6e 65 20 28 6f 75 74 7a 6f 6e 65 29 20 69 73 20 0a 19 89 80 80 75 73 65 64 20 74 6f 20 77 72 69 ┆ne (outzone) is used to wri┆ 0x12380…123a0 74 65 20 65 72 72 6f 72 20 6d 65 73 73 61 67 65 73 20 61 6e 64 20 6f 74 68 65 72 20 69 6e 66 6f ┆te error messages and other info┆ 0x123a0…123c0 72 6d 61 74 69 6f 6e 20 6f 6e 20 74 68 65 20 63 6f 6e 73 6f 6c 65 2e 20 0a 19 89 80 80 46 6f 72 ┆rmation on the console. For┆ 0x123c0…123e0 20 64 65 66 69 6e 69 74 69 6f 6e 20 61 6e 64 20 75 73 65 20 6f 66 20 74 68 65 20 7a 6f 6e 65 20 ┆ definition and use of the zone ┆ 0x123e0…12400 70 6c 65 61 73 65 20 72 65 66 65 72 20 74 6f 20 72 65 66 2e 20 28 31 35 29 2e 0d 0a 0d 0a 0d 0a ┆please refer to ref. (15). ┆ 0x12400…12420 (146,) a1 34 2e 31 2e 32 09 43 6f 6d 6d 6f 6e 20 6f 72 20 47 65 6e 65 72 61 6c 20 50 72 6f 63 65 64 75 ┆ 4.1.2 Common or General Procedu┆ 0x12420…12440 72 65 73 2e 0d 0a 0d 0a 0d 0a a1 34 2e 31 2e 32 2e 31 09 58 2e 32 35 20 50 72 6f 63 65 64 75 72 ┆res. 4.1.2.1 X.25 Procedur┆ 0x12440…12460 65 73 2e 0d 0a 0d 0a 09 84 49 6e 20 6f 72 64 65 72 20 65 61 73 65 6c 79 20 74 6f 20 6f 70 65 72 ┆es. In order easely to oper┆ 0x12460…12480 61 74 65 20 6f 6e 20 58 2e 32 35 20 70 61 63 6b 65 74 73 20 66 72 6f 6d 20 64 69 66 66 65 72 65 ┆ate on X.25 packets from differe┆ 0x12480…124a0 6e 74 20 70 72 6f 63 65 73 73 65 73 20 0a 19 89 80 80 37 20 70 72 6f 63 65 64 75 72 65 73 20 61 ┆nt processes 7 procedures a┆ 0x124a0…124c0 72 65 20 64 65 66 69 6e 65 64 3a 0d 0a 0d 0a 09 20 20 20 2d 20 63 6f 64 65 5f 78 32 35 0d 0a 09 ┆re defined: - code_x25 ┆ 0x124c0…124e0 20 20 20 2d 20 64 65 63 5f 78 32 35 0d 0a 09 20 20 20 2d 20 69 6e 69 74 5f 78 32 35 66 61 63 69 ┆ - dec_x25 - init_x25faci┆ 0x124e0…12500 0d 0a 09 20 20 20 2d 20 63 68 65 63 6b 5f 78 32 35 66 61 63 69 0d 0a 09 20 20 20 2d 20 63 68 65 ┆ - check_x25faci - che┆ 0x12500…12520 63 6b 5f 66 61 63 69 73 70 65 63 0d 0a 09 20 20 20 2d 20 69 6e 69 74 5f 77 69 6e 64 6f 77 0d 0a ┆ck_facispec - init_window ┆ 0x12520…12540 09 20 20 20 2d 20 77 5f 61 6c 67 6f 72 69 74 68 6d 0d 0a 0d 0a 09 84 63 6f 64 65 5f 78 32 35 20 ┆ - w_algorithm code_x25 ┆ 0x12540…12560 61 6e 64 20 64 65 63 5f 78 32 35 20 69 73 20 75 73 65 64 20 74 6f 20 63 6f 64 65 20 61 6e 64 20 ┆and dec_x25 is used to code and ┆ 0x12560…12580 64 65 63 6f 64 65 20 61 6e 20 58 2e 32 35 20 68 65 61 64 65 72 20 0a 19 89 80 80 61 6e 64 20 73 ┆decode an X.25 header and s┆ 0x12580…125a0 6f 6d 65 74 69 6d 65 73 20 6f 63 74 65 74 20 34 20 61 6e 64 20 35 20 69 6e 20 74 68 65 20 70 61 ┆ometimes octet 4 and 5 in the pa┆ 0x125a0…125c0 63 6b 65 74 73 2e 20 54 68 65 79 20 68 61 76 65 20 74 68 65 20 66 6f 72 6d 61 74 73 0d 0a 0d 0a ┆ckets. They have the formats ┆ 0x125c0…125e0 b0 09 20 20 20 50 52 4f 43 45 44 55 52 45 20 63 6f 64 65 5f 78 32 35 20 28 0d 0a 09 20 20 20 20 ┆ PROCEDURE code_x25 ( ┆ 0x125e0…12600 20 20 56 41 52 20 6d 73 67 09 20 20 20 20 20 3a 20 72 65 66 65 72 65 6e 63 65 3b 0d 0a 09 20 20 ┆ VAR msg : reference; ┆ 0x12600…12620 (147,) 20 20 20 20 70 66 69 72 73 74 09 20 20 20 20 20 3a 20 69 6e 74 65 67 65 72 3b 0d 0a 09 20 20 20 ┆ pfirst : integer; ┆ 0x12620…12640 20 20 20 64 74 65 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 20 62 6f 6f 6c 65 61 6e 3b ┆ dte : boolean;┆ 0x12640…12660 0d 0a 09 20 20 20 20 20 20 56 41 52 20 78 32 35 5f 70 61 72 61 6d 20 20 20 20 20 20 3a 20 78 32 ┆ VAR x25_param : x2┆ 0x12660…12680 35 5f 70 61 72 61 6d 5f 74 79 70 65 0d 0a 09 20 20 20 20 20 20 70 61 63 6b 65 74 5f 6c 67 74 68 ┆5_param_type packet_lgth┆ 0x12680…126a0 20 20 20 20 20 20 20 20 3a 20 69 6e 74 65 67 65 72 0d 0a 09 20 20 20 20 20 20 29 3b 0d 0a 0d 0a ┆ : integer ); ┆ 0x126a0…126c0 b0 09 20 20 20 46 55 4e 43 54 49 4f 4e 20 64 65 63 5f 78 32 35 20 28 0d 0a 09 20 20 20 20 20 20 ┆ FUNCTION dec_x25 ( ┆ 0x126c0…126e0 56 41 52 20 6d 73 67 09 20 20 20 20 20 3a 20 72 65 66 65 72 65 6e 63 65 3b 0d 0a 09 20 20 20 20 ┆VAR msg : reference; ┆ 0x126e0…12700 20 20 70 66 69 72 73 74 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 20 69 6e 74 65 67 65 72 3b 0d ┆ pfirst : integer; ┆ 0x12700…12720 0a 09 20 20 20 20 20 20 64 74 65 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 20 62 6f 6f ┆ dte : boo┆ 0x12720…12740 6c 65 61 6e 3b 0d 0a 09 20 20 20 20 20 20 56 41 52 20 78 32 35 5f 70 61 72 61 6d 20 20 20 20 20 ┆lean; VAR x25_param ┆ 0x12740…12760 20 3a 20 78 32 35 5f 70 61 72 61 6d 5f 74 79 70 65 0d 0a 09 20 20 20 20 20 20 56 41 52 20 70 61 ┆ : x25_param_type VAR pa┆ 0x12760…12780 63 6b 65 74 5f 6c 67 74 68 20 20 20 20 3a 20 69 6e 74 65 67 65 72 0d 0a 09 20 20 20 20 20 20 29 ┆cket_lgth : integer )┆ 0x12780…12795 20 3a 20 70 61 63 6b 65 74 5f 72 65 73 75 6c 74 3b 0d 0a 0d 0a ┆ : packet_result; ┆ 0x12795…12798 FormFeed { 0x12795…12798 0c 80 aa ┆ ┆ 0x12795…12798 } 0x12798…127a0 0a 09 2d 20 84 6d 73 67 ┆ - msg┆ 0x127a0…127c0 20 69 73 20 61 20 72 65 66 65 72 65 6e 63 65 20 74 6f 20 65 69 74 68 65 72 20 74 68 65 20 62 75 ┆ is a reference to either the bu┆ 0x127c0…127e0 66 66 65 72 20 69 6e 20 77 68 69 63 68 20 74 68 65 20 70 61 63 6b 65 74 20 68 61 73 20 0a 19 8b ┆ffer in which the packet has ┆ 0x127e0…12800 80 80 74 6f 20 62 65 20 63 6f 64 65 64 20 69 6e 20 6f 72 20 74 68 65 20 62 75 66 66 65 72 20 69 ┆ to be coded in or the buffer i┆ 0x12800…12820 (148,) 6e 20 77 68 69 63 68 20 74 68 65 20 70 61 63 6b 65 74 20 69 73 20 72 65 63 65 69 76 65 64 20 69 ┆n which the packet is received i┆ 0x12820…12840 6e 2e 0d 0a 09 2d 20 84 70 66 69 72 73 74 20 69 73 20 61 20 70 6f 69 6e 74 65 72 20 74 6f 20 74 ┆n. - pfirst is a pointer to t┆ 0x12840…12860 68 65 20 66 69 72 73 74 20 62 79 74 65 20 6f 66 20 74 68 65 20 70 61 63 6b 65 74 2e 0d 0a 20 20 ┆he first byte of the packet. ┆ 0x12860…12880 20 20 20 20 20 20 20 2d 20 84 64 74 65 20 73 70 65 63 69 66 69 65 73 20 77 68 65 74 68 65 72 20 ┆ - dte specifies whether ┆ 0x12880…128a0 74 68 65 20 66 75 6e 63 74 69 6f 6e 20 68 61 73 20 74 6f 20 62 65 20 44 54 45 20 28 74 72 75 65 ┆the function has to be DTE (true┆ 0x128a0…128c0 29 20 6f 72 20 44 43 45 20 0a 19 8b 80 80 28 66 61 6c 73 65 29 2e 0d 0a 09 2d 20 78 32 35 5f 70 ┆) or DCE (false). - x25_p┆ 0x128c0…128e0 61 72 61 6d 20 69 73 20 64 65 73 63 72 69 62 65 64 20 69 6e 20 73 75 62 73 65 63 74 69 6f 6e 20 ┆aram is described in subsection ┆ 0x128e0…12900 34 2e 31 2e 31 2e 33 2e 0d 0a 09 84 2d 20 70 61 63 6b 65 74 5f 6c 67 74 68 20 69 73 20 74 68 65 ┆4.1.1.3. - packet_lgth is the┆ 0x12900…12920 20 70 61 63 6b 65 74 20 6c 65 6e 67 74 68 20 69 6e 63 6c 75 64 69 6e 67 20 74 68 65 20 68 65 61 ┆ packet length including the hea┆ 0x12920…12940 64 2e 0d 0a 0d 0a 09 84 b0 63 6f 64 65 5f 78 32 35 f0 20 6d 61 6b 65 73 20 75 70 20 74 68 65 20 ┆d. code_x25 makes up the ┆ 0x12940…12960 70 61 63 6b 65 74 20 61 63 63 6f 72 64 69 6e 67 20 74 6f 20 74 68 65 20 70 61 72 61 6d 65 74 65 ┆packet according to the paramete┆ 0x12960…12980 72 73 2c 20 73 70 65 63 69 61 6c 20 0a 19 89 81 80 78 32 35 5f 70 61 72 61 6d 2e 78 70 61 63 6b ┆rs, special x25_param.xpack┆ 0x12980…129a0 65 74 5f 69 64 2c 20 61 6e 64 20 b0 64 65 63 5f 78 32 35 f0 20 72 65 74 75 72 6e 73 20 74 68 65 ┆et_id, and dec_x25 returns the┆ 0x129a0…129c0 20 66 69 65 6c 64 73 20 69 6e 20 74 68 65 20 70 61 72 61 80 0a 19 89 82 80 6d 65 74 65 72 73 20 ┆ fields in the para meters ┆ 0x129c0…129e0 61 6e 64 20 74 68 65 20 72 65 73 75 6c 74 20 69 6e 20 70 61 63 6b 65 74 5f 72 65 73 75 6c 74 20 ┆and the result in packet_result ┆ 0x129e0…12a00 28 73 65 65 20 61 70 70 65 6e 64 69 78 20 42 2e 33 29 2e 0d 0a 0d 0a 09 84 54 6f 20 68 61 6e 64 ┆(see appendix B.3). To hand┆ 0x12a00…12a20 (149,) 6c 65 20 74 68 65 20 58 2e 32 35 20 66 61 63 69 6c 69 74 69 65 73 20 74 68 72 65 65 20 70 72 6f ┆le the X.25 facilities three pro┆ 0x12a20…12a40 63 65 64 75 72 65 73 20 61 72 65 20 64 65 66 69 6e 65 64 3a 0d 0a 0d 0a b0 09 20 20 20 46 55 4e ┆cedures are defined: FUN┆ 0x12a40…12a60 43 54 49 4f 4e 20 69 6e 69 74 5f 78 32 35 66 61 63 69 20 28 0d 0a 09 20 20 20 20 20 20 56 41 52 ┆CTION init_x25faci ( VAR┆ 0x12a60…12a80 20 78 32 35 5f 72 65 66 09 20 20 20 20 20 20 20 3a 20 72 65 66 65 72 65 6e 63 65 3b 0d 0a 09 20 ┆ x25_ref : reference; ┆ 0x12a80…12aa0 20 20 20 20 20 56 41 52 20 66 61 63 69 5f 73 74 61 72 74 2c 0d 0a 09 20 20 20 20 20 20 20 20 20 ┆ VAR faci_start, ┆ 0x12aa0…12ac0 20 66 61 63 69 5f 6c 61 73 74 2c 0d 0a 09 20 20 20 20 20 20 20 20 20 20 69 6e 64 65 78 09 20 20 ┆ faci_last, index ┆ 0x12ac0…12ae0 20 20 20 20 20 3a 20 69 6e 74 65 67 65 72 3b 0d 0a 09 20 20 20 20 20 20 56 41 52 20 73 74 61 6e ┆ : integer; VAR stan┆ 0x12ae0…12b00 64 61 72 64 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 6f 72 65 20 20 ┆dard, more ┆ 0x12b00…12b20 20 20 20 20 20 20 20 20 20 20 20 3a 20 62 6f 6f 6c 65 61 6e 0d 0a 20 20 20 20 20 20 20 20 20 20 ┆ : boolean ┆ 0x12b20…12b40 20 20 20 20 20 29 20 3a 20 62 6f 6f 6c 65 61 6e 3b 0d 0a 0d 0a b0 09 20 20 20 46 55 4e 43 54 49 ┆ ) : boolean; FUNCTI┆ 0x12b40…12b60 4f 4e 20 63 68 65 63 6b 5f 78 32 35 66 61 63 69 20 28 0d 0a 09 20 20 20 20 20 20 56 41 52 20 78 ┆ON check_x25faci ( VAR x┆ 0x12b60…12b80 32 35 5f 72 65 66 20 20 20 20 20 20 20 20 20 3a 20 72 65 66 65 72 65 6e 63 65 3b 0d 0a 20 20 20 ┆25_ref : reference; ┆ 0x12b80…12ba0 20 20 20 20 20 20 20 20 20 20 20 20 66 61 63 69 5f 73 74 61 72 74 2c 0d 0a 20 20 20 20 20 20 20 ┆ faci_start, ┆ 0x12ba0…12bc0 20 20 20 20 20 20 20 20 66 61 63 69 5f 6c 61 73 74 20 20 20 20 20 20 20 20 20 20 20 20 3a 20 69 ┆ faci_last : i┆ 0x12bc0…12be0 6e 74 65 67 65 72 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 56 41 52 20 69 6e 64 65 ┆nteger; VAR inde┆ 0x12be0…12c00 78 20 20 20 20 20 20 20 20 20 20 20 20 3a 20 69 6e 74 65 67 65 72 3b 0d 0a 20 20 20 20 20 20 20 ┆x : integer; ┆ 0x12c00…12c20 (150,) 20 20 20 20 20 20 20 20 56 41 52 20 73 74 61 6e 64 61 72 64 2c 0d 0a 20 20 20 20 20 20 20 20 20 ┆ VAR standard, ┆ 0x12c20…12c40 20 20 20 20 20 20 20 20 20 20 6d 6f 72 65 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 20 62 6f 6f ┆ more : boo┆ 0x12c40…12c60 6c 65 61 6e 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 56 41 52 20 66 61 63 69 5f 73 ┆lean; VAR faci_s┆ 0x12c60…12c80 69 7a 65 20 20 20 20 20 20 20 20 3a 20 62 79 74 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 ┆ize : byte; ┆ 0x12c80…12ca0 20 20 20 56 41 52 20 66 61 63 69 6c 69 74 69 65 73 20 20 20 20 20 20 20 3a 20 61 72 72 61 79 20 ┆ VAR facilities : array ┆ 0x12ca0…12cc0 28 31 2e 2e 34 29 20 6f 66 20 62 79 74 65 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 29 ┆(1..4) of byte )┆ 0x12cc0…12ce0 20 3a 20 66 61 63 69 5f 72 65 73 75 6c 74 5f 74 79 70 65 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 ┆ : faci_result_type; ┆ 0x12ce0…12d00 20 20 20 20 b0 46 55 4e 43 54 49 4f 4e 20 63 68 65 63 6b 5f 66 61 63 69 73 70 65 63 20 28 0d 0a ┆ FUNCTION check_facispec ( ┆ 0x12d00…12d20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 61 63 69 6c 69 74 79 2c 0d 0a 20 20 20 20 20 20 ┆ facility, ┆ 0x12d20…12d40 20 20 20 20 20 20 20 20 20 64 65 66 61 75 6c 74 5f 66 61 63 69 2c 0d 0a 20 20 20 20 20 20 20 20 ┆ default_faci, ┆ 0x12d40…12d60 20 20 20 20 20 20 20 73 70 65 63 5f 66 61 63 69 20 20 20 20 20 20 20 20 20 20 20 20 3a 20 62 79 ┆ spec_faci : by┆ 0x12d60…12d80 74 65 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 29 20 3a 20 62 6f 6f 6c 65 61 6e 3b 0d ┆te ) : boolean; ┆ 0x12d80…12d83 0a 0d 0a ┆ ┆ 0x12d83…12d86 FormFeed { 0x12d83…12d86 0c 80 a8 ┆ ┆ 0x12d83…12d86 } 0x12d86…12da0 0a 09 84 b0 69 6e 69 74 5f 78 32 35 66 61 63 69 f0 20 69 73 20 75 73 65 64 20 ┆ init_x25faci is used ┆ 0x12da0…12dc0 74 6f 20 69 6e 69 74 69 61 6c 69 7a 65 20 74 68 65 20 76 61 72 69 61 62 6c 65 73 20 66 61 63 69 ┆to initialize the variables faci┆ 0x12dc0…12de0 5f 73 74 61 72 74 2c 20 0a 19 89 81 80 66 61 63 69 5f 6c 61 73 74 2c 20 69 6e 64 65 78 2c 20 73 ┆_start, faci_last, index, s┆ 0x12de0…12e00 74 61 6e 64 61 72 64 20 61 6e 64 20 6d 6f 72 65 2e 0d 0a 20 20 20 20 20 20 20 20 20 2d 20 84 69 ┆tandard and more. - i┆ 0x12e00…12e20 (151,) 6e 64 65 78 20 70 6f 69 6e 74 73 20 74 6f 20 74 68 65 20 6e 65 78 74 20 66 61 63 69 6c 69 74 79 ┆ndex points to the next facility┆ 0x12e20…12e40 0d 0a 20 20 20 20 20 20 20 20 20 2d 20 84 73 74 61 6e 64 61 72 64 20 69 73 20 74 72 75 65 20 69 ┆ - standard is true i┆ 0x12e40…12e60 66 20 74 68 65 20 6c 61 73 74 20 72 65 74 75 72 6e 65 64 20 66 61 63 69 6c 69 74 79 20 77 61 73 ┆f the last returned facility was┆ 0x12e60…12e80 20 61 6e 20 73 74 61 6e 64 61 72 64 20 0a 19 8b 80 80 58 2e 32 35 20 66 61 63 69 6c 69 74 79 2e ┆ an standard X.25 facility.┆ 0x12e80…12ea0 0d 0a 20 20 20 20 20 20 20 20 20 2d 20 84 6d 6f 72 65 20 69 73 20 74 72 75 65 20 69 66 20 74 68 ┆ - more is true if th┆ 0x12ea0…12ec0 65 72 65 20 69 73 20 6d 6f 72 65 20 66 61 63 69 6c 69 74 69 65 73 2e 0d 0a 0d 0a 20 20 20 20 20 ┆ere is more facilities. ┆ 0x12ec0…12ee0 20 20 20 20 84 41 74 20 72 65 74 75 72 6e 20 66 72 6f 6d 20 b0 63 68 65 63 6b 5f 78 32 35 66 61 ┆ At return from check_x25fa┆ 0x12ee0…12f00 63 69 f0 20 74 68 65 20 76 61 72 69 61 62 6c 65 73 20 61 72 65 20 75 70 64 61 74 65 64 20 61 6e ┆ci the variables are updated an┆ 0x12f00…12f20 64 20 66 61 80 0a 19 89 81 80 63 69 6c 69 74 69 65 73 20 63 6f 6e 74 61 69 6e 73 20 74 68 65 20 ┆d fa cilities contains the ┆ 0x12f20…12f40 6a 75 73 74 20 72 65 61 64 20 66 61 63 69 6c 69 74 79 2c 20 66 61 63 69 5f 73 69 7a 65 20 74 68 ┆just read facility, faci_size th┆ 0x12f40…12f60 65 20 6e 75 6d 62 65 72 20 6f 66 20 0a 19 89 81 80 6f 63 74 65 74 73 20 64 65 66 69 6e 65 64 20 ┆e number of octets defined ┆ 0x12f60…12f80 66 6f 72 20 74 68 65 20 66 61 63 69 6c 69 74 80 79 20 61 6e 64 20 74 68 65 20 72 65 73 75 6c 74 ┆for the facilit y and the result┆ 0x12f80…12fa0 20 69 73 20 73 70 65 63 69 66 69 65 64 20 61 73 20 74 68 65 20 0a 19 89 81 80 72 65 73 75 6c 74 ┆ is specified as the result┆ 0x12fa0…12fc0 20 6f 66 20 74 68 65 20 66 75 6e 63 74 69 6f 6e 2e 0d 0a 0d 0a 09 b0 84 63 68 65 63 6b 5f 66 61 ┆ of the function. check_fa┆ 0x12fc0…12fe0 63 69 73 70 65 63 f0 20 69 73 20 75 73 65 64 20 74 6f 20 63 68 65 63 6b 20 74 68 61 74 20 74 68 ┆cispec is used to check that th┆ 0x12fe0…13000 65 20 6e 65 67 6f 74 69 61 74 69 6f 6e 20 6f 66 20 61 20 66 61 63 69 6c 69 74 79 20 0a 19 89 81 ┆e negotiation of a facility ┆ 0x13000…13020 (152,) 80 69 73 20 74 6f 77 61 72 64 73 20 74 68 65 20 64 65 66 61 75 6c 74 20 76 61 6c 75 65 20 28 64 ┆ is towards the default value (d┆ 0x13020…13040 65 66 61 75 6c 74 5f 66 61 63 69 29 2e 20 54 68 65 20 70 61 72 61 6d 65 74 65 72 20 66 61 63 69 ┆efault_faci). The parameter faci┆ 0x13040…13060 6c 69 80 0a 19 89 81 80 74 79 20 69 73 20 74 68 65 20 6e 65 77 20 76 61 6c 75 65 20 61 6e 64 20 ┆li ty is the new value and ┆ 0x13060…13080 73 70 65 63 5f 66 61 63 69 20 74 68 65 20 63 75 72 72 65 6e 74 20 76 61 6c 75 65 2e 0d 0a 0d 0a ┆spec_faci the current value. ┆ 0x13080…130a0 09 84 54 6f 20 73 75 70 70 6f 72 74 20 74 68 65 20 58 2e 32 35 20 77 69 6e 64 6f 77 20 6d 65 63 ┆ To support the X.25 window mec┆ 0x130a0…130c0 68 61 6e 69 73 6d 20 74 77 6f 20 70 72 6f 63 65 64 75 72 65 73 20 61 72 65 20 64 65 66 69 6e 65 ┆hanism two procedures are define┆ 0x130c0…130e0 64 3a 0d 0a 0d 0a b0 09 20 20 20 20 50 52 4f 43 45 44 55 52 45 20 69 6e 69 74 5f 77 69 6e 64 6f ┆d: PROCEDURE init_windo┆ 0x130e0…13100 77 20 28 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 56 41 52 20 77 69 6e 64 6f 77 5f ┆w ( VAR window_┆ 0x13100…13120 72 65 63 20 20 20 20 20 20 3a 20 77 69 6e 64 6f 77 5f 72 65 63 5f 64 65 73 63 3b 0d 0a 09 20 20 ┆rec : window_rec_desc; ┆ 0x13120…13140 20 20 20 20 20 71 75 65 75 65 5f 75 73 65 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ queue_use, ┆ 0x13140…13160 20 72 65 73 65 74 5f 6f 6e 6c 79 20 20 20 20 20 20 20 20 20 20 3a 20 62 6f 6f 6c 65 61 6e 0d 0a ┆ reset_only : boolean ┆ 0x13160…13180 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 29 3b 0d 0a 0d 0a b0 09 20 20 20 46 55 4e 43 54 ┆ ); FUNCT┆ 0x13180…131a0 49 4f 4e 20 77 5f 61 6c 67 6f 72 69 74 68 6d 20 28 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ION w_algorithm ( ┆ 0x131a0…131c0 20 20 20 70 61 63 6b 65 74 5f 74 79 70 65 20 20 20 20 20 20 20 20 20 3a 20 70 61 63 6b 65 74 5f ┆ packet_type : packet_┆ 0x131c0…131e0 69 64 5f 74 79 70 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 6f 64 65 20 20 ┆id_type; mode ┆ 0x131e0…13200 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 20 74 72 61 6e 73 6d 6f 64 65 5f 74 79 70 65 3b 0d ┆ : transmode_type; ┆ 0x13200…13220 (153,) 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 56 41 52 20 70 5f 72 2c 0d 0a 20 20 20 20 20 ┆ VAR p_r, ┆ 0x13220…13240 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 5f 73 20 20 20 20 20 20 20 20 20 20 20 20 20 3a ┆ p_s :┆ 0x13240…13260 20 62 69 74 33 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 56 41 52 20 77 69 6e 64 ┆ bit3; VAR wind┆ 0x13260…13280 6f 77 5f 72 65 63 20 20 20 20 20 20 3a 20 77 69 6e 64 6f 77 5f 72 65 63 5f 74 79 70 65 3b 0d 0a ┆ow_rec : window_rec_type; ┆ 0x13280…132a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 56 41 52 20 72 65 74 75 72 6e 5f 62 75 66 20 20 ┆ VAR return_buf ┆ 0x132a0…132c0 20 20 20 20 3a 20 62 79 74 65 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 29 20 3a 20 ┆ : byte ) : ┆ 0x132c0…132e0 62 6f 6f 6c 65 61 6e 3b 0d 0a 0d 0a 09 84 b0 69 6e 69 74 5f 77 69 6e 64 6f 77 f0 20 69 73 20 63 ┆boolean; init_window is c┆ 0x132e0…13300 61 6c 6c 20 74 6f 20 69 6e 69 74 69 61 6c 69 7a 65 20 74 68 65 20 76 61 72 69 61 62 6c 65 73 20 ┆all to initialize the variables ┆ 0x13300…13320 69 6e 20 77 69 6e 64 6f 77 5f 72 65 63 2c 20 0a 19 89 81 80 63 6f 6e 74 61 69 6e 69 6e 67 20 6c ┆in window_rec, containing l┆ 0x13320…13340 6f 77 65 72 20 77 69 6e 64 6f 77 20 65 64 67 65 20 66 6f 72 20 72 65 63 65 69 76 69 6e 67 2f 73 ┆ower window edge for receiving/s┆ 0x13340…13360 65 6e 64 69 6e 67 2c 20 6e 65 78 74 20 50 28 53 29 20 74 6f 20 0a 19 89 81 80 73 65 6e 74 2c 20 ┆ending, next P(S) to sent, ┆ 0x13360…13380 6c 61 73 74 20 72 65 63 65 69 76 65 64 20 50 28 53 29 20 61 6e 64 20 6e 75 6d 62 65 72 20 6f 66 ┆last received P(S) and number of┆ 0x13380…133a0 20 69 6e 70 75 74 20 62 75 66 66 65 72 73 2e 20 54 68 65 20 0a 19 89 81 80 70 72 6f 63 65 64 75 ┆ input buffers. The procedu┆ 0x133a0…133c0 72 65 20 69 73 20 63 61 6c 6c 65 64 20 77 68 65 6e 20 74 68 65 20 63 61 6c 6c 20 73 65 74 2d 75 ┆re is called when the call set-u┆ 0x133c0…133dc 70 20 6f 72 20 72 65 73 65 74 20 70 68 61 73 65 20 69 73 20 65 6e 64 65 64 2e 0d 0a ┆p or reset phase is ended. ┆ 0x133dc…133df FormFeed { 0x133dc…133df 0c 80 a5 ┆ ┆ 0x133dc…133df } 0x133df…133e0 0a ┆ ┆ 0x133e0…13400 09 84 b0 77 5f 61 6c 67 6f 72 69 74 68 6d f0 20 69 73 20 63 61 6c 6c 20 65 76 65 72 79 20 74 69 ┆ w_algorithm is call every ti┆ 0x13400…13420 (154,) 6d 65 20 61 6e 20 52 52 2c 20 52 4e 52 20 6f 72 20 44 41 54 41 20 70 61 63 6b 65 74 20 69 73 20 ┆me an RR, RNR or DATA packet is ┆ 0x13420…13440 65 69 74 68 65 72 20 0a 19 89 81 80 72 65 63 65 69 76 65 64 20 6f 72 20 68 61 73 20 74 6f 20 62 ┆either received or has to b┆ 0x13440…13460 65 20 73 65 6e 74 20 28 73 70 65 63 69 66 69 65 64 20 77 69 74 68 20 6d 6f 64 65 29 2e 20 54 68 ┆e sent (specified with mode). Th┆ 0x13460…13480 65 20 76 61 72 69 61 62 6c 65 73 20 69 6e 20 0a 19 89 81 80 77 69 6e 64 6f 77 5f 72 65 63 20 69 ┆e variables in window_rec i┆ 0x13480…134a0 73 20 75 70 64 61 74 65 64 20 61 6e 64 20 72 65 74 75 72 6e 5f 62 75 66 20 73 70 65 63 69 66 69 ┆s updated and return_buf specifi┆ 0x134a0…134c0 65 73 20 28 61 74 20 72 65 63 65 69 76 61 6c 29 20 74 68 65 20 0a 19 89 81 80 6e 75 6d 62 65 72 ┆es (at receival) the number┆ 0x134c0…134e0 20 6f 66 20 61 63 6b 6e 6f 77 6c 65 64 67 65 64 20 70 61 63 6b 65 74 73 2e 20 54 68 65 20 76 61 ┆ of acknowledged packets. The va┆ 0x134e0…13500 72 69 61 62 6c 65 73 20 70 5f 72 20 61 6e 64 20 70 5f 73 20 65 69 74 68 65 72 20 0a 19 89 81 80 ┆riables p_r and p_s either ┆ 0x13500…13520 61 72 65 20 74 68 65 20 76 61 6c 75 65 73 20 74 6f 20 62 65 20 77 72 69 74 74 65 6e 20 69 6e 20 ┆are the values to be written in ┆ 0x13520…13540 74 68 65 20 70 61 63 6b 65 74 20 28 63 61 6c 6c 20 76 61 6c 75 65 73 29 20 6f 72 20 76 61 6c 80 ┆the packet (call values) or val ┆ 0x13540…13560 0a 19 89 81 80 75 65 73 20 72 65 61 64 20 69 6e 20 74 68 65 20 70 61 63 6b 65 74 20 28 72 65 74 ┆ ues read in the packet (ret┆ 0x13560…13580 75 72 6e 20 76 61 6c 75 65 73 29 2e 20 49 66 20 74 68 65 20 66 75 6e 63 74 69 6f 6e 20 72 65 74 ┆urn values). If the function ret┆ 0x13580…135a0 75 72 6e 20 77 69 74 68 20 0a 19 89 81 80 74 72 75 65 20 74 68 65 20 76 61 6c 75 65 73 20 77 65 ┆urn with true the values we┆ 0x135a0…135c0 72 65 20 6f 6b 20 61 6e 64 20 74 68 65 20 70 61 63 6b 65 74 20 63 61 6e 20 65 69 74 68 65 72 20 ┆re ok and the packet can either ┆ 0x135c0…135e0 62 65 20 73 65 6e 74 20 6f 72 20 69 73 20 0a 19 89 81 80 72 65 63 65 69 76 65 64 20 6f 6b 2e 0d ┆be sent or is received ok. ┆ 0x135e0…13600 0a 0d 0a 0d 0a a1 34 2e 31 2e 32 2e 32 09 4d 6f 64 65 6d 20 53 69 67 6e 61 6c 73 20 48 61 6e 64 ┆ 4.1.2.2 Modem Signals Hand┆ 0x13600…13620 (155,) 6c 69 6e 67 2e 0d 0a 0d 0a 09 84 49 6e 20 6f 72 64 65 72 20 74 6f 20 68 61 6e 64 6c 65 20 74 68 ┆ling. In order to handle th┆ 0x13620…13640 65 20 6d 6f 64 65 6d 20 73 69 67 6e 61 6c 73 20 74 77 6f 20 65 78 74 65 72 6e 61 6c 20 70 72 6f ┆e modem signals two external pro┆ 0x13640…13660 63 65 64 75 72 65 73 20 61 72 65 20 0a 19 89 80 80 64 65 66 69 6e 65 64 3a 0d 0a 0d 0a b0 09 20 ┆cedures are defined: ┆ 0x13660…13680 20 20 46 55 4e 43 54 49 4f 4e 20 63 6c 65 61 72 5f 6d 6f 64 65 6d 20 28 0d 0a 20 20 20 20 20 20 ┆ FUNCTION clear_modem ( ┆ 0x13680…136a0 20 20 20 20 20 20 20 20 20 56 41 52 20 72 65 73 65 74 5f 72 65 66 20 20 20 20 20 20 3a 20 72 65 ┆ VAR reset_ref : re┆ 0x136a0…136c0 66 65 72 65 6e 63 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 56 41 52 20 68 64 6c ┆ference; VAR hdl┆ 0x136c0…136e0 63 5f 73 65 6d 70 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 68 61 72 64 ┆c_semp, hard┆ 0x136e0…13700 77 61 69 74 20 20 20 20 20 20 20 3a 20 21 20 73 65 6d 70 6f 69 6e 74 65 72 3b 0d 0a 20 20 20 20 ┆wait : ! sempointer; ┆ 0x13700…13720 20 20 20 20 20 20 20 20 20 20 20 56 41 52 20 6d 6f 64 65 6d 5f 73 69 67 6e 61 6c 20 20 20 3a 20 ┆ VAR modem_signal : ┆ 0x13720…13740 62 79 74 65 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 29 20 3a 20 62 6f 6f 6c 65 61 6e ┆byte ) : boolean┆ 0x13740…13760 3b 0d 0a 0d 0a b0 09 20 20 20 46 55 4e 43 54 49 4f 4e 20 73 65 74 5f 6d 6f 64 65 6d 20 28 0d 0a ┆; FUNCTION set_modem ( ┆ 0x13760…13780 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 56 41 52 20 72 65 73 65 74 5f 72 65 66 20 20 20 20 ┆ VAR reset_ref ┆ 0x13780…137a0 20 20 3a 20 72 65 66 65 72 65 6e 63 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 56 ┆ : reference; V┆ 0x137a0…137c0 41 52 20 68 64 6c 63 5f 73 65 6d 70 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆AR hdlc_semp, ┆ 0x137c0…137e0 20 20 68 61 72 64 77 61 69 74 20 20 20 20 20 20 20 3a 20 21 20 73 65 6d 70 6f 69 6e 74 65 72 3b ┆ hardwait : ! sempointer;┆ 0x137e0…13800 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 56 41 52 20 6d 6f 64 65 6d 5f 73 69 67 6e 61 ┆ VAR modem_signa┆ 0x13800…13820 (156,) 6c 20 20 20 3a 20 62 79 74 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 65 73 74 ┆l : byte; test┆ 0x13820…13840 5f 6d 6f 64 65 6d 20 20 20 20 20 20 20 20 20 3a 20 62 6f 6f 6c 65 61 6e 3b 0d 0a 20 20 20 20 20 ┆_modem : boolean; ┆ 0x13840…13860 20 20 20 20 20 20 20 20 20 20 76 65 72 73 69 6f 6e 20 20 20 20 20 20 20 20 20 20 20 20 3a 20 62 ┆ version : b┆ 0x13860…13880 79 74 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 29 20 3a 20 62 6f 6f 6c 65 61 6e ┆yte; ) : boolean┆ 0x13880…138a0 3b 0d 0a 0d 0a 09 84 42 6f 74 68 20 70 72 6f 63 65 64 75 72 65 73 20 6f 70 65 72 61 74 65 20 6f ┆; Both procedures operate o┆ 0x138a0…138c0 6e 20 74 68 65 20 76 61 72 69 61 62 6c 65 20 6d 6f 64 65 6d 5f 73 69 67 6e 61 6c 2c 20 77 68 69 ┆n the variable modem_signal, whi┆ 0x138c0…138e0 63 68 20 68 61 73 20 74 6f 20 0a 19 89 80 80 62 65 20 69 6e 74 65 72 70 72 65 74 65 64 20 61 73 ┆ch has to be interpreted as┆ 0x138e0…138f2 20 61 20 62 69 74 20 73 74 72 69 6e 67 3a 0d 0a 0d 0a ┆ a bit string: ┆ 0x138f2…1392b Params { 0x138f2…1392b 04 00 2d 44 0c 00 06 00 00 00 00 02 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x138f2…1392b 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x138f2…1392b } 0x1392b…13964 Params { 0x1392b…13964 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x1392b…13964 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x1392b…13964 } 0x13964…13980 0a 09 09 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f ┆ _________________________┆ 0x13980…139a0 0d 0a 09 09 a1 20 20 20 21 20 20 21 20 20 21 20 20 21 20 20 21 20 20 21 20 20 21 20 20 20 0d 0a ┆ ! ! ! ! ! ! ! ┆ 0x139a0…139c0 09 09 09 09 09 44 43 44 0d 0a 09 09 09 09 09 44 53 52 0d 0a 09 09 09 09 09 53 51 44 0d 0a 09 09 ┆ DCD DSR SQD ┆ 0x139c0…139db 09 09 09 52 49 0d 0a 09 09 09 09 09 52 54 53 0d 0a 09 09 09 09 09 44 54 52 0d 0a ┆ RI RTS DTR ┆ 0x139db…13a14 Params { 0x139db…13a14 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x139db…13a14 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x139db…13a14 } 0x13a14…13a4d Params { 0x13a14…13a4d 04 00 2d 44 0c 00 06 00 00 00 00 02 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x13a14…13a4d 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x13a14…13a4d } 0x13a4d…13a60 0a 0d 0a 8c 80 ab 0a 09 84 54 68 65 20 70 72 6f 63 65 64 ┆ The proced┆ 0x13a60…13a80 75 72 65 20 b0 63 6c 65 61 72 5f 6d 6f 64 65 6d f0 20 63 6c 65 61 72 73 20 74 68 65 20 74 77 6f ┆ure clear_modem clears the two┆ 0x13a80…13aa0 20 73 69 67 6e 61 6c 73 20 44 54 52 20 61 6e 64 20 52 54 53 2e 0d 0a 0d 0a 09 84 54 68 65 20 70 ┆ signals DTR and RTS. The p┆ 0x13aa0…13ac0 72 6f 63 65 64 75 72 65 20 b0 73 65 74 5f 6d 6f 64 65 6d f0 20 66 69 72 73 74 20 73 65 74 73 20 ┆rocedure set_modem first sets ┆ 0x13ac0…13ae0 74 68 65 20 73 69 67 6e 61 6c 20 44 54 52 2c 20 74 68 65 6e 20 77 61 69 74 73 20 0a 19 89 81 80 ┆the signal DTR, then waits ┆ 0x13ae0…13b00 28 6d 61 78 69 6d 75 6d 20 31 20 73 65 63 29 20 6f 6e 20 44 53 52 20 73 65 74 74 69 6e 67 2c 20 ┆(maximum 1 sec) on DSR setting, ┆ 0x13b00…13b20 74 68 65 6e 20 73 65 74 73 20 74 68 65 20 73 69 67 6e 61 6c 20 52 54 53 20 61 6e 64 20 61 74 20 ┆then sets the signal RTS and at ┆ 0x13b20…13b40 0a 19 89 81 80 6c 61 73 74 20 77 61 69 74 73 20 28 6d 61 78 69 6d 75 6d 20 32 20 73 65 63 73 29 ┆ last waits (maximum 2 secs)┆ 0x13b40…13b60 20 6f 6e 20 44 43 44 20 73 65 74 74 69 6e 67 20 62 65 66 6f 72 65 20 72 65 74 75 72 6e 69 6e 67 ┆ on DCD setting before returning┆ 0x13b60…13b80 2e 20 54 68 65 73 65 20 0a 19 89 81 80 74 77 6f 20 77 61 69 74 73 20 63 61 6e 20 62 65 20 73 75 ┆. These two waits can be su┆ 0x13b80…13ba0 73 70 65 6e 64 65 64 20 62 79 20 63 61 6c 6c 69 6e 67 20 74 68 65 20 70 72 6f 63 65 64 75 72 65 ┆spended by calling the procedure┆ 0x13ba0…13bc0 20 77 69 74 68 20 0a 19 89 81 80 74 65 73 74 5f 6d 6f 64 65 6d 20 65 71 75 61 6c 20 74 6f 20 66 ┆ with test_modem equal to f┆ 0x13bc0…13be0 61 6c 73 65 2e 0d 0a 0d 0a 09 84 72 65 73 65 74 5f 72 65 66 20 68 6f 6c 64 73 20 61 20 6d 65 73 ┆alse. reset_ref holds a mes┆ 0x13be0…13c00 73 61 67 65 20 75 73 65 64 20 74 6f 20 74 68 65 20 68 64 6c 63 20 6f 70 65 72 61 74 69 6f 6e 73 ┆sage used to the hdlc operations┆ 0x13c00…13c20 (158,) 2c 20 68 64 6c 63 5f 73 65 6d 70 20 0a 19 89 80 80 69 73 20 74 68 65 20 73 65 6d 61 70 68 6f 72 ┆, hdlc_semp is the semaphor┆ 0x13c20…13c40 65 20 70 6f 69 6e 74 65 72 20 74 6f 20 74 68 65 20 48 44 4c 43 4c 43 50 20 61 6e 64 20 68 61 72 ┆e pointer to the HDLCLCP and har┆ 0x13c40…13c60 64 77 61 69 74 20 74 6f 20 74 68 65 20 61 6e 73 77 65 72 20 0a 19 89 80 80 73 65 6d 61 70 68 6f ┆dwait to the answer semapho┆ 0x13c60…13c80 72 65 20 6f 66 20 74 68 65 20 6d 65 73 73 61 67 65 2e 0d 0a 0d 0a 0d 0a a1 34 2e 31 2e 32 2e 33 ┆re of the message. 4.1.2.3┆ 0x13c80…13ca0 09 55 73 65 72 20 54 61 62 6c 65 20 4f 70 65 72 61 74 69 6f 6e 73 2e 0d 0a 0d 0a 09 84 49 6e 20 ┆ User Table Operations. In ┆ 0x13ca0…13cc0 6f 72 64 65 72 20 74 6f 20 66 69 6e 64 20 61 20 73 70 65 63 69 66 69 65 64 20 75 73 65 72 20 69 ┆order to find a specified user i┆ 0x13cc0…13ce0 6e 20 74 68 65 20 75 73 65 72 5f 74 61 62 6c 65 20 6f 6e 65 20 70 72 6f 63 65 64 75 72 65 20 0a ┆n the user_table one procedure ┆ 0x13ce0…13d00 19 89 80 80 69 73 20 64 65 66 69 6e 65 64 3a 0d 0a b0 09 20 20 20 46 55 4e 43 54 49 4f 4e 20 66 ┆ is defined: FUNCTION f┆ 0x13d00…13d20 6f 75 6e 64 5f 75 73 65 72 20 28 0d 0a 09 20 20 20 20 20 20 6f 70 63 6f 64 65 20 20 20 20 20 20 ┆ound_user ( opcode ┆ 0x13d20…13d40 20 20 20 20 20 20 20 3a 20 62 79 74 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 ┆ : byte; b┆ 0x13d40…13d60 63 64 5f 6e 6f 73 20 20 20 20 20 20 20 20 20 20 20 20 3a 20 62 63 64 5f 61 64 72 5f 74 79 70 65 ┆cd_nos : bcd_adr_type┆ 0x13d60…13d80 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 56 41 52 20 75 73 65 72 5f 6e 6f 20 20 20 ┆; VAR user_no ┆ 0x13d80…13da0 20 20 20 20 20 3a 20 62 79 74 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 56 41 52 ┆ : byte; VAR┆ 0x13da0…13dc0 20 75 73 65 72 5f 74 61 62 6c 65 20 20 20 20 20 3a 20 75 5f 74 61 62 6c 65 5f 74 79 70 65 0d 0a ┆ user_table : u_table_type ┆ 0x13dc0…13de0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 29 20 3a 20 62 6f 6f 6c 65 61 6e 3b 0d 0a 0d 0a 09 ┆ ) : boolean; ┆ 0x13de0…13e00 84 54 68 65 20 66 75 6e 63 74 69 6f 6e 20 69 73 20 63 61 6c 6c 65 64 20 69 6e 20 6f 72 64 65 72 ┆ The function is called in order┆ 0x13e00…13e20 (159,) 20 74 6f 20 66 69 6e 64 20 61 20 73 70 65 63 69 66 69 65 64 20 75 73 65 72 20 0a 19 89 80 80 28 ┆ to find a specified user (┆ 0x13e20…13e40 62 63 64 5f 6e 6f 73 29 2e 20 49 66 20 74 68 65 20 72 65 71 75 65 73 74 20 69 73 20 74 6f 20 66 ┆bcd_nos). If the request is to f┆ 0x13e40…13e60 69 6e 64 20 61 20 75 73 65 72 20 66 6f 72 20 61 6e 20 49 4e 43 4f 4d 49 4e 47 20 43 41 4c 4c 20 ┆ind a user for an INCOMING CALL ┆ 0x13e60…13e80 0a 19 89 80 80 28 6f 70 63 6f 64 65 20 3d 20 69 6e 63 5f 63 61 6c 6c 29 2c 20 74 68 65 6e 20 74 ┆ (opcode = inc_call), then t┆ 0x13e80…13ea0 68 65 20 72 65 73 75 6c 74 20 69 73 20 73 75 63 63 65 73 73 66 75 6c 20 64 65 70 65 6e 64 69 6e ┆he result is successful dependin┆ 0x13ea0…13ec0 67 20 6f 6e 20 0a 19 89 80 80 74 68 65 20 70 61 72 74 69 63 75 6c 61 72 20 6d 61 74 63 68 69 6e ┆g on the particular matchin┆ 0x13ec0…13ee0 67 20 28 70 6c 65 61 73 65 20 72 65 66 65 72 20 74 6f 20 73 65 63 74 69 6f 6e 20 34 2e 31 2e 36 ┆g (please refer to section 4.1.6┆ 0x13ee0…13f00 29 20 6f 66 20 74 68 65 20 0a 19 89 80 80 73 75 62 5f 61 64 64 72 65 73 73 20 63 6f 6e 74 61 69 ┆) of the sub_address contai┆ 0x13f00…13f20 6e 65 64 20 69 6e 20 74 68 65 20 63 61 6c 6c 65 64 20 64 74 65 20 61 64 64 72 65 73 73 2e 0d 0a ┆ned in the called dte address. ┆ 0x13f20…13f40 0d 0a 09 20 20 20 6f 70 63 6f 64 65 09 09 3a 20 84 45 69 74 68 65 72 20 69 6e 63 5f 63 61 6c 6c ┆ opcode : Either inc_call┆ 0x13f40…13f60 20 28 58 2e 32 35 20 49 4e 43 4f 4d 49 4e 47 20 43 41 4c 4c 29 20 6f 72 20 0a 19 9f 80 80 64 74 ┆ (X.25 INCOMING CALL) or dt┆ 0x13f60…13f80 65 5f 64 69 73 63 5f 75 73 65 72 20 28 75 73 65 72 20 64 69 73 63 6f 6e 6e 65 63 74 20 6d 65 73 ┆e_disc_user (user disconnect mes┆ 0x13f80…13fa0 73 61 67 65 29 2e 0d 0a 0d 0a 09 20 20 20 62 63 64 5f 6e 6f 73 20 09 3a 20 55 73 65 72 20 69 64 ┆sage). bcd_nos : User id┆ 0x13fa0…13fc0 65 6e 74 69 66 69 63 61 74 69 6f 6e 2e 0d 0a 0d 0a 09 20 20 20 75 73 65 72 5f 6e 6f 09 3a 20 84 ┆entification. user_no : ┆ 0x13fc0…13fe0 41 74 20 72 65 74 75 72 6e 20 74 68 65 20 69 6e 64 65 78 20 74 6f 20 74 68 65 20 75 73 65 72 5f ┆At return the index to the user_┆ 0x13fe0…14000 74 61 62 6c 65 2c 20 69 66 20 0a 19 9f 80 80 75 73 65 72 20 69 73 20 66 6f 75 6e 64 2e 0d 0a 0d ┆table, if user is found. ┆ 0x14000…14020 (160,) 0a 09 20 20 20 75 73 65 72 5f 74 61 62 6c 65 09 3a 20 50 6f 69 6e 74 65 72 20 74 6f 20 61 63 74 ┆ user_table : Pointer to act┆ 0x14020…14040 75 61 6c 20 75 73 65 72 5f 74 61 62 6c 65 2e 0d 0a 0d 0a 0d 0a 8c 80 a9 0a a1 34 2e 31 2e 32 2e ┆ual user_table. 4.1.2.┆ 0x14040…14060 34 09 45 72 72 6f 72 20 54 65 78 74 20 50 72 6f 63 65 64 75 72 65 73 2e 0d 0a 0d 0a 09 84 54 6f ┆4 Error Text Procedures. To┆ 0x14060…14080 20 73 75 70 70 6f 72 74 20 65 72 72 6f 72 20 6d 65 73 73 61 67 65 20 77 72 69 74 69 6e 67 2c 20 ┆ support error message writing, ┆ 0x14080…140a0 74 77 6f 20 70 72 6f 63 65 64 75 72 65 73 20 61 72 65 20 64 65 66 69 6e 65 64 2c 20 b0 65 72 80 ┆two procedures are defined, er ┆ 0x140a0…140c0 0a 19 89 81 82 72 6f 72 5f 74 65 78 74 f0 20 61 6e 64 20 b0 65 72 72 6f 72 5f 72 65 70 6f 72 74 ┆ ror_text and error_report┆ 0x140c0…140e0 f0 2e 20 b0 65 72 72 6f 72 5f 74 65 78 74 f0 20 6f 70 65 72 61 74 65 73 20 6f 6e 20 61 6e 20 6f ┆ . error_text operates on an o┆ 0x140e0…14100 75 74 70 75 74 20 7a 6f 6e 65 20 0a 19 89 83 80 74 6f 20 77 72 69 74 65 20 74 68 65 20 65 72 72 ┆utput zone to write the err┆ 0x14100…14120 6f 72 20 6d 65 73 73 61 67 65 20 69 6e 20 74 65 78 74 20 66 6f 72 6d 2c 20 77 68 65 72 65 61 73 ┆or message in text form, whereas┆ 0x14120…14140 20 b0 65 72 72 6f 72 5f 72 65 70 6f 72 74 f0 20 75 73 65 73 20 0a 19 89 84 80 74 68 65 20 70 72 ┆ error_report uses the pr┆ 0x14140…14160 6f 63 65 64 75 72 65 20 74 72 61 63 65 20 74 6f 20 77 72 69 74 65 20 61 20 73 69 6e 67 6c 65 20 ┆ocedure trace to write a single ┆ 0x14160…14180 69 6e 74 65 67 65 72 20 61 6e 64 20 6d 61 79 62 65 20 74 68 65 20 75 2d 0a 19 89 84 80 66 69 65 ┆integer and maybe the u- fie┆ 0x14180…141a0 6c 64 73 20 6f 66 20 61 20 6d 65 73 73 61 67 65 2e 0d 0a 0d 0a b0 09 20 20 20 50 52 4f 43 45 44 ┆lds of a message. PROCED┆ 0x141a0…141c0 55 52 45 20 65 72 72 6f 72 5f 74 65 78 74 20 28 0d 0a 09 20 20 20 20 20 20 56 41 52 20 6f 75 74 ┆URE error_text ( VAR out┆ 0x141c0…141e0 20 20 20 20 20 20 20 20 20 20 20 20 3a 20 7a 6f 6e 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 ┆ : zone; ┆ 0x141e0…14200 20 20 20 20 66 61 74 61 6c 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 20 62 6f 6f 6c 65 61 6e ┆ fatal : boolean┆ 0x14200…14220 (161,) 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 61 73 69 63 2c 0d 0a 20 20 20 20 20 20 ┆; basic, ┆ 0x14220…14240 20 20 20 20 20 20 20 20 20 6e 6f 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 20 62 79 ┆ no : by┆ 0x14240…14260 74 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 69 67 69 74 20 20 20 20 20 20 20 ┆te; digit ┆ 0x14260…14280 20 20 20 20 20 20 20 3a 20 69 6e 74 65 67 65 72 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ : integer; ┆ 0x14280…142a0 20 20 6e 61 6d 65 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 20 61 6c 66 61 3b 0d 0a 20 20 ┆ name : alfa; ┆ 0x142a0…142c0 20 20 20 20 20 20 20 20 20 20 20 20 20 74 65 78 74 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ text ┆ 0x142c0…142e0 3a 20 61 72 72 61 79 20 28 31 2e 2e 38 30 29 20 6f 66 20 63 68 61 72 3b 0d 0a 20 20 20 20 20 20 ┆: array (1..80) of char; ┆ 0x142e0…14300 20 20 20 20 20 20 20 20 20 74 65 78 74 20 6c 65 6e 67 74 68 2c 0d 0a 20 20 20 20 20 20 20 20 20 ┆ text length, ┆ 0x14300…14320 20 20 20 20 20 20 70 72 6f 63 65 73 73 5f 76 65 72 73 20 20 20 20 20 20 20 3a 20 62 79 74 65 0d ┆ process_vers : byte ┆ 0x14320…14340 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 29 3b 0d 0a 0d 0a 09 84 49 66 20 62 61 73 69 63 ┆ ); If basic┆ 0x14340…14360 20 3d 20 30 2c 20 6e 6f 20 73 70 65 63 69 66 69 65 73 20 74 68 65 20 65 72 72 6f 72 20 74 65 78 ┆ = 0, no specifies the error tex┆ 0x14360…14380 74 0d 0a 0d 0a 20 09 20 20 20 6e 6f 20 3d 20 30 09 3a 20 6c 69 6e 6b 20 65 72 72 6f 72 0d 0a 09 ┆t no = 0 : link error ┆ 0x14380…143a0 20 20 20 20 20 20 3d 20 31 20 3a 20 63 72 65 61 74 65 20 65 72 72 6f 72 0d 0a 20 20 20 20 20 20 ┆ = 1 : create error ┆ 0x143a0…143c0 20 20 20 20 20 20 20 20 20 3d 20 32 20 3a 20 70 6f 6f 6c 20 69 6e 63 72 65 61 73 65 20 65 72 72 ┆ = 2 : pool increase err┆ 0x143c0…143e0 6f 72 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3d 20 33 20 3a 20 70 6f 6f 6c 20 69 6e ┆or = 3 : pool in┆ 0x143e0…14400 69 74 20 65 72 72 6f 72 0d 0a 0d 0a 09 61 6e 64 20 6e 61 6d 65 20 63 6f 6e 74 61 69 6e 73 20 65 ┆it error and name contains e┆ 0x14400…14420 (162,) 69 74 68 65 72 20 61 20 70 72 6f 63 65 73 73 20 6f 72 20 70 6f 6f 6c 20 6e 61 6d 65 2e 0d 0a 0d ┆ither a process or pool name. ┆ 0x14420…14440 0a 09 84 49 66 20 62 61 73 69 63 20 3e 30 20 64 69 66 66 65 72 65 6e 74 20 6f 75 74 70 75 74 20 ┆ If basic >0 different output ┆ 0x14440…14460 74 79 70 65 73 20 61 72 65 20 64 65 66 69 6e 65 64 2e 0d 0a 20 20 20 20 20 20 20 20 20 54 65 78 ┆types are defined. Tex┆ 0x14460…14480 74 20 69 73 20 77 72 69 74 74 65 6e 20 66 6f 6c 6c 6f 77 20 62 79 0d 0a 0d 0a 09 20 20 20 62 61 ┆t is written follow by ba┆ 0x14480…144a0 73 69 63 20 3d 20 31 20 3a 20 74 68 65 20 62 79 74 65 20 76 61 6c 75 65 20 6f 66 20 64 69 67 69 ┆sic = 1 : the byte value of digi┆ 0x144a0…144c0 74 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3d 20 32 20 3a 20 74 68 65 20 69 ┆t = 2 : the i┆ 0x144c0…144e0 6e 74 65 67 65 72 20 76 61 6c 75 65 20 6f 66 20 64 69 67 69 74 0d 0a 20 20 20 20 20 20 20 20 20 ┆nteger value of digit ┆ 0x144e0…14500 20 20 20 20 20 20 20 20 20 3d 20 33 20 3a 20 6e 61 6d 65 0d 0a 20 20 20 20 20 20 20 20 20 20 20 ┆ = 3 : name ┆ 0x14500…14520 20 20 20 20 20 20 20 3d 20 34 20 3a 20 6e 6f 74 68 69 6e 67 2e 0d 0a 0d 0a 09 84 49 66 20 66 61 ┆ = 4 : nothing. If fa┆ 0x14520…14540 74 61 6c 20 69 73 20 74 72 75 65 20 74 68 65 20 70 72 6f 63 65 64 75 72 65 20 65 6e 64 73 20 62 ┆tal is true the procedure ends b┆ 0x14540…14560 79 20 63 61 6c 6c 69 6e 67 20 b0 70 61 6e 69 63 f0 20 77 69 74 68 20 74 68 65 20 70 72 6f 80 0a ┆y calling panic with the pro ┆ 0x14560…14580 19 89 81 80 63 65 73 73 5f 76 65 72 73 20 61 73 20 70 61 72 61 6d 65 74 65 72 2e 20 70 72 6f 63 ┆ cess_vers as parameter. proc┆ 0x14580…145a0 65 73 73 5f 76 65 72 73 20 69 73 20 61 20 70 72 6f 63 65 73 73 20 76 65 72 73 69 6f 6e 20 6e 75 ┆ess_vers is a process version nu┆ 0x145a0…145c0 6d 62 65 72 2e 0d 0a 0d 0a 8c 80 a8 0a b0 09 20 20 20 50 52 4f 43 45 44 55 52 45 20 65 72 72 6f ┆mber. PROCEDURE erro┆ 0x145c0…145e0 72 5f 72 65 70 6f 72 74 20 28 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 6f 63 5f ┆r_report ( proc_┆ 0x145e0…14600 69 64 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 72 72 6f 72 5f 69 6e 66 20 20 20 ┆id, error_inf ┆ 0x14600…14620 (163,) 20 20 20 20 20 20 20 3a 20 62 79 74 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d ┆ : byte; m┆ 0x14620…14640 65 73 73 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 74 6f 70 20 20 20 20 20 20 20 ┆ess, stop ┆ 0x14640…14660 20 20 20 20 20 20 20 20 3a 20 62 6f 6f 6c 65 61 6e 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 ┆ : boolean; ┆ 0x14660…14680 20 20 20 56 41 52 20 6d 65 73 73 5f 72 65 66 20 20 20 20 20 20 20 3a 20 72 65 66 65 72 65 6e 63 ┆ VAR mess_ref : referenc┆ 0x14680…146a0 65 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 29 3b 0d 0a 0d 0a 09 84 54 68 65 20 70 72 ┆e ); The pr┆ 0x146a0…146c0 6f 63 65 64 75 72 65 20 63 61 6c 6c 73 20 b0 74 72 61 63 65 f0 20 77 69 74 68 20 74 68 65 20 70 ┆ocedure calls trace with the p┆ 0x146c0…146e0 61 72 61 6d 65 74 65 72 20 27 70 72 6f 63 5f 69 64 20 2a 20 32 35 36 20 2b 20 0a 19 89 81 80 65 ┆arameter 'proc_id * 256 + e┆ 0x146e0…14700 72 72 6f 72 5f 69 6e 66 27 2e 20 49 66 20 6d 65 73 73 20 69 73 20 74 72 75 65 2c 20 74 68 65 20 ┆rror_inf'. If mess is true, the ┆ 0x14700…14720 75 2d 66 69 65 6c 64 73 20 6f 66 20 74 68 65 20 6d 65 73 73 61 67 65 20 68 61 6e 67 69 6e 67 20 ┆u-fields of the message hanging ┆ 0x14720…14740 0a 19 89 81 80 6f 6e 20 6d 65 73 73 5f 72 65 66 20 69 73 20 70 72 69 6e 74 65 64 20 74 6f 6f 2e ┆ on mess_ref is printed too.┆ 0x14740…14760 20 49 66 20 73 74 6f 70 20 69 73 20 74 72 75 65 20 74 68 65 20 70 72 6f 63 65 64 75 72 65 20 65 ┆ If stop is true the procedure e┆ 0x14760…14780 6e 64 73 20 62 79 20 0a 19 89 81 80 63 61 6c 6c 69 6e 67 20 b0 70 61 6e 69 63 f0 20 77 69 74 68 ┆nds by calling panic with┆ 0x14780…147a0 20 74 68 65 20 76 61 6c 75 65 20 31 2e 0d 0a 0d 0a 09 84 54 68 65 20 64 69 66 66 65 72 65 6e 74 ┆ the value 1. The different┆ 0x147a0…147c0 20 65 72 72 6f 72 20 6d 65 73 73 61 67 65 73 20 61 72 65 20 64 65 73 63 72 69 62 65 64 20 69 6e ┆ error messages are described in┆ 0x147c0…147e0 20 63 68 61 70 74 65 72 20 35 2e 0d 0a 0d 0a 0d 0a a1 34 2e 31 2e 32 2e 35 09 54 72 61 63 69 6e ┆ chapter 5. 4.1.2.5 Tracin┆ 0x147e0…14800 67 20 50 72 6f 63 65 64 75 72 65 73 2e 0d 0a 0d 0a 09 84 46 6f 72 20 74 72 61 63 69 6e 67 20 70 ┆g Procedures. For tracing p┆ 0x14800…14820 (164,) 75 72 70 6f 73 65 20 74 68 72 65 65 20 70 72 6f 63 65 64 75 72 65 73 20 61 72 65 20 64 65 66 69 ┆urpose three procedures are defi┆ 0x14820…14840 6e 65 64 2c 20 b0 69 6e 69 74 5f 74 72 61 63 65 2c 20 0a 19 89 81 82 65 6e 64 5f 74 72 61 63 65 ┆ned, init_trace, end_trace┆ 0x14840…14860 f0 20 61 6e 64 20 b0 74 72 61 63 69 6e 67 2e 0d 0a 0d 0a 09 84 41 6c 6c 20 74 68 72 65 65 20 70 ┆ and tracing. All three p┆ 0x14860…14880 72 6f 63 65 64 75 72 65 73 20 72 65 71 75 65 73 74 20 61 20 62 75 66 66 65 72 20 66 72 6f 6d 20 ┆rocedures request a buffer from ┆ 0x14880…148a0 74 68 65 20 70 6f 6f 6c 20 74 72 61 63 65 5f 62 75 66 20 0a 19 89 80 80 28 73 75 62 73 65 63 74 ┆the pool trace_buf (subsect┆ 0x148a0…148c0 69 6f 6e 20 34 2e 31 2e 33 29 2c 20 73 65 74 20 74 68 65 20 74 72 61 63 65 20 66 69 65 6c 64 73 ┆ion 4.1.3), set the trace fields┆ 0x148c0…148e0 20 61 6e 64 20 72 65 74 75 72 6e 20 69 74 20 74 6f 20 74 68 65 20 0a 19 89 80 80 64 74 65 74 72 ┆ and return it to the dtetr┆ 0x148e0…14900 61 63 65 20 70 72 6f 63 65 73 73 20 28 73 65 63 74 69 6f 6e 20 36 2e 31 29 2e 0d 0a 0d 0a 09 84 ┆ace process (section 6.1). ┆ 0x14900…14920 b0 69 6e 69 74 5f 74 72 61 63 65 f0 20 67 65 6e 65 72 61 74 65 73 20 61 20 6d 65 73 73 61 67 65 ┆ init_trace generates a message┆ 0x14920…14940 2c 20 77 68 69 63 68 20 70 72 6f 76 6f 6b 65 20 74 68 65 20 64 74 65 74 72 61 63 65 20 70 72 6f ┆, which provoke the dtetrace pro┆ 0x14940…14960 80 63 65 73 73 20 0a 19 89 81 80 74 6f 20 77 72 69 74 65 20 74 68 65 20 64 61 74 65 2c 20 74 69 ┆ cess to write the date, ti┆ 0x14960…14980 6d 65 20 61 6e 64 20 27 74 72 61 63 65 20 73 74 61 72 74 27 20 6f 6e 20 74 68 65 20 63 6f 6e 73 ┆me and 'trace start' on the cons┆ 0x14980…149a0 6f 6c 65 20 61 6e 64 20 0a 19 89 81 80 b0 65 6e 64 5f 74 72 61 63 65 f0 20 74 68 65 20 64 61 74 ┆ole and end_trace the dat┆ 0x149a0…149c0 65 2c 20 74 69 6d 65 20 61 6e 64 20 27 74 72 61 63 65 20 73 74 6f 70 70 65 64 27 2e 20 54 68 65 ┆e, time and 'trace stopped'. The┆ 0x149c0…149e0 20 70 72 6f 63 65 64 75 72 65 20 b0 74 72 61 63 80 0a 19 89 83 82 69 6e 67 f0 20 63 6f 70 69 65 ┆ procedure trac ing copie┆ 0x149e0…14a00 73 20 74 68 65 20 58 2e 32 35 20 70 61 63 6b 65 74 20 74 6f 20 61 20 74 72 61 63 65 20 62 75 66 ┆s the X.25 packet to a trace buf┆ 0x14a00…14a20 (165,) 66 65 72 2e 0d 0a 0d 0a b0 09 20 20 20 50 52 4f 43 45 44 55 52 45 20 69 6e 69 74 5f 74 72 61 63 ┆fer. PROCEDURE init_trac┆ 0x14a20…14a40 65 20 28 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 56 41 52 20 74 72 61 63 65 5f 72 65 ┆e ( VAR trace_re┆ 0x14a40…14a60 63 20 20 20 20 20 20 3a 20 74 72 61 63 65 5f 74 79 70 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 ┆c : trace_type; ┆ 0x14a60…14a80 20 20 20 20 20 56 41 52 20 74 72 61 63 65 5f 62 75 66 20 20 20 20 20 20 3a 20 70 68 5f 74 79 70 ┆ VAR trace_buf : ph_typ┆ 0x14a80…14aa0 65 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 29 3b 0d 0a 0d 0a b0 09 20 20 20 50 52 4f ┆e ); PRO┆ 0x14aa0…14ac0 43 45 44 55 52 45 20 65 6e 64 5f 74 72 61 63 65 20 28 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 ┆CEDURE end_trace ( ┆ 0x14ac0…14ae0 20 20 20 56 41 52 20 74 72 61 63 65 5f 72 65 63 20 20 20 20 20 20 3a 20 74 72 61 63 65 5f 74 79 ┆ VAR trace_rec : trace_ty┆ 0x14ae0…14b00 70 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 56 41 52 20 74 72 61 63 65 5f 62 75 ┆pe; VAR trace_bu┆ 0x14b00…14b20 66 20 20 20 20 20 20 3a 20 70 68 5f 74 79 70 65 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆f : ph_type ┆ 0x14b20…14b40 20 29 3b 0d 0a 0d 0a 8c 80 a8 0a b0 09 20 20 20 50 52 4f 43 45 44 55 52 45 20 74 72 61 63 69 6e ┆ ); PROCEDURE tracin┆ 0x14b40…14b60 67 20 28 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 56 41 52 20 64 72 65 66 20 20 20 20 ┆g ( VAR dref ┆ 0x14b60…14b80 20 20 20 20 20 20 20 3a 20 72 65 66 65 72 65 6e 63 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 ┆ : reference; ┆ 0x14b80…14ba0 20 20 20 20 6d 6f 64 65 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 20 74 72 61 63 65 5f 74 ┆ mode : trace_t┆ 0x14ba0…14bc0 6d 6f 64 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 56 41 52 20 74 72 61 63 65 5f ┆mode; VAR trace_┆ 0x14bc0…14be0 72 65 63 20 20 20 20 20 20 3a 20 74 72 61 63 65 5f 74 79 70 65 3b 0d 0a 20 20 20 20 20 20 20 20 ┆rec : trace_type; ┆ 0x14be0…14c00 20 20 20 20 20 20 20 56 41 52 20 74 72 61 63 65 5f 62 75 66 20 20 20 20 20 20 3a 20 70 68 5f 74 ┆ VAR trace_buf : ph_t┆ 0x14c00…14c20 (166,) 79 70 65 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 29 3b 0d 0a 0d 0a 09 20 20 20 74 72 ┆ype ); tr┆ 0x14c20…14c40 61 63 65 5f 72 65 63 20 20 20 20 20 20 20 20 3a 20 84 56 61 72 69 61 62 6c 65 20 63 6f 6e 74 61 ┆ace_rec : Variable conta┆ 0x14c40…14c60 69 6e 69 6e 67 20 61 20 62 75 66 66 65 72 20 72 65 71 75 65 73 74 20 6d 65 73 73 61 67 65 20 0a ┆ining a buffer request message ┆ 0x14c60…14c80 19 9f 80 80 61 6e 64 20 74 68 65 20 61 6e 73 77 65 72 20 73 65 6d 61 70 68 6f 72 65 2e 0d 0a 0d ┆ and the answer semaphore. ┆ 0x14c80…14ca0 0a 09 20 20 20 74 72 61 63 65 5f 62 75 66 20 20 20 20 20 20 20 20 3a 20 54 72 61 63 65 20 62 75 ┆ trace_buf : Trace bu┆ 0x14ca0…14cc0 66 66 65 72 20 70 6f 6f 6c 2e 0d 0a 0d 0a 09 20 20 20 64 72 65 66 20 20 20 20 20 20 20 20 20 20 ┆ffer pool. dref ┆ 0x14cc0…14ce0 20 20 20 3a 20 84 48 6f 6c 64 73 20 74 68 65 20 6d 65 73 73 61 67 65 20 63 6f 6e 74 61 69 6e 69 ┆ : Holds the message containi┆ 0x14ce0…14d00 6e 67 20 74 68 65 20 58 2e 32 35 20 0a 19 9f 80 80 70 61 63 6b 65 74 2e 0d 0a 0d 0a 09 20 20 20 ┆ng the X.25 packet. ┆ 0x14d00…14d20 6d 6f 64 65 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 20 84 53 70 65 63 69 66 69 65 73 20 65 69 ┆mode : Specifies ei┆ 0x14d20…14d40 74 68 65 72 20 73 65 6e 64 20 28 78 6d 69 74 29 20 6f 72 20 72 65 63 65 69 76 65 20 0a 19 9f 80 ┆ther send (xmit) or receive ┆ 0x14d40…14d60 80 28 72 65 63 76 29 2e 0d 0a 0d 0a 09 84 41 6c 6c 20 74 68 72 65 65 20 70 72 6f 63 65 64 75 72 ┆ (recv). All three procedur┆ 0x14d60…14d80 65 73 20 77 61 69 74 20 6f 6e 20 61 6e 20 65 6d 70 74 79 20 62 75 66 66 65 72 20 69 66 20 6e 6f ┆es wait on an empty buffer if no┆ 0x14d80…14da0 20 6f 6e 65 20 69 73 20 70 72 65 73 80 0a 19 89 80 80 65 6e 74 2e 0d 0a 0d 0a 0d 0a a1 34 2e 31 ┆ one is pres ent. 4.1┆ 0x14da0…14dc0 2e 32 2e 36 09 49 6e 74 65 72 6e 61 6c 20 54 65 73 74 20 50 72 6f 63 65 64 75 72 65 73 2e 0d 0a ┆.2.6 Internal Test Procedures. ┆ 0x14dc0…14de0 0d 0a 09 84 49 6e 20 65 61 63 68 20 70 72 6f 63 65 73 73 20 70 65 72 66 6f 72 6d 69 6e 67 20 69 ┆ In each process performing i┆ 0x14de0…14e00 6e 74 65 72 6e 61 6c 20 74 65 73 74 20 61 20 70 72 6f 63 65 64 75 72 65 20 6f 66 20 74 68 65 20 ┆nternal test a procedure of the ┆ 0x14e00…14e20 (167,) 66 6f 6c 80 0a 19 89 80 80 6c 6f 77 69 6e 67 20 66 6f 72 6d 20 69 73 20 64 65 66 69 6e 65 64 2e ┆fol lowing form is defined.┆ 0x14e20…14e40 0d 0a 0d 0a b0 09 20 20 20 50 52 4f 43 45 44 55 52 45 20 6f 74 65 73 74 20 28 0d 0a 09 20 20 20 ┆ PROCEDURE otest ( ┆ 0x14e40…14e60 20 20 20 6f 70 65 72 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 20 30 2e 2e 31 35 3b 0d 0a ┆ oper : 0..15; ┆ 0x14e60…14e80 09 20 20 20 20 20 20 28 2a 20 6d 61 79 62 65 20 70 61 72 61 6d 65 74 65 72 73 20 2a 29 0d 0a 09 ┆ (* maybe parameters *) ┆ 0x14e80…14ea0 20 20 20 20 20 20 29 3b 0d 0a 0d 0a 09 84 54 68 69 73 20 70 72 6f 63 65 64 75 72 65 20 70 72 6f ┆ ); This procedure pro┆ 0x14ea0…14ec0 64 75 63 65 73 20 74 68 65 20 61 63 74 75 61 6c 20 74 65 73 74 20 72 65 63 6f 72 64 73 2e 20 57 ┆duces the actual test records. W┆ 0x14ec0…14ee0 68 65 6e 65 76 65 72 20 74 68 65 20 69 6e 80 0a 19 89 80 80 74 65 72 6e 61 6c 20 74 65 73 74 20 ┆henever the in ternal test ┆ 0x14ee0…14f00 61 72 65 61 20 69 73 20 66 75 6c 6c 20 61 20 74 65 73 74 20 62 75 66 66 65 72 20 69 73 20 72 65 ┆area is full a test buffer is re┆ 0x14f00…14f20 71 75 65 73 74 65 64 20 66 72 6f 6d 20 74 68 65 20 74 65 73 74 20 0a 19 89 80 80 70 6f 6f 6c 20 ┆quested from the test pool ┆ 0x14f20…14f40 28 74 65 73 74 73 65 6d 29 20 61 6e 64 20 69 66 20 6f 6b 20 74 68 65 20 70 72 6f 63 65 64 75 72 ┆(testsem) and if ok the procedur┆ 0x14f40…14f60 65 20 b0 63 6f 70 79 5f 74 65 73 74 f0 20 69 73 20 63 61 6c 6c 65 64 20 74 6f 20 63 6f 70 79 20 ┆e copy_test is called to copy ┆ 0x14f60…14f80 0a 19 89 81 80 74 68 65 20 74 65 73 74 20 61 72 65 61 20 74 6f 20 74 68 65 20 62 75 66 66 65 72 ┆ the test area to the buffer┆ 0x14f80…14fa0 20 61 6e 64 20 72 65 73 65 74 20 74 68 65 20 70 6f 69 6e 74 65 72 73 2e 20 46 6f 72 20 61 20 64 ┆ and reset the pointers. For a d┆ 0x14fa0…14fc0 65 74 61 69 6c 65 64 20 0a 19 89 81 80 64 65 73 63 72 69 70 74 69 6f 6e 20 70 6c 65 61 73 65 20 ┆etailed description please ┆ 0x14fc0…14fe0 72 65 66 65 72 20 74 6f 20 73 65 63 74 69 6f 6e 20 36 2e 32 2e 0d 0a 0d 0a 0d 0a 8c 80 a7 0a a1 ┆refer to section 6.2. ┆ 0x14fe0…15000 34 2e 31 2e 33 09 42 75 66 66 65 72 20 50 6f 6f 6c 73 2e 0d 0a 0d 0a 09 84 41 73 20 61 6c 72 65 ┆4.1.3 Buffer Pools. As alre┆ 0x15000…15020 (168,) 61 64 79 20 6d 65 6e 74 69 6f 6e 65 64 20 74 68 65 20 44 54 45 20 75 73 65 73 20 74 68 65 20 70 ┆ady mentioned the DTE uses the p┆ 0x15020…15040 6f 6f 6c 5f 68 61 6e 64 6c 65 72 20 73 79 73 74 65 6d 20 28 72 65 66 2e 20 0a 19 89 80 80 28 35 ┆ool_handler system (ref. (5┆ 0x15040…15060 29 29 20 74 6f 20 73 75 70 70 6f 72 74 20 70 6f 6f 6c 20 68 61 6e 64 6c 69 6e 67 2e 0d 0a 0d 0a ┆)) to support pool handling. ┆ 0x15060…15080 09 41 20 62 75 66 66 65 72 20 70 6f 6f 6c 20 69 73 20 64 65 66 69 6e 65 64 20 62 79 20 74 68 65 ┆ A buffer pool is defined by the┆ 0x15080…150a0 20 74 79 70 65 3a 0d 0a 0d 0a 09 20 20 20 70 68 5f 74 79 70 65 20 3d 20 72 65 63 6f 72 64 0d 0a ┆ type: ph_type = record ┆ 0x150a0…150c0 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6b 65 79 20 20 20 20 20 20 20 20 20 3a 20 73 65 ┆ key : se┆ 0x150c0…150e0 6d 61 70 68 6f 72 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆maphore; ┆ 0x150e0…15100 20 20 62 75 66 66 65 72 5f 73 65 6d 20 20 3a 20 73 65 6d 61 70 68 6f 72 65 3b 0d 0a 20 20 20 20 ┆ buffer_sem : semaphore; ┆ 0x15100…15120 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 70 6f 6f 6c 20 20 20 20 20 20 20 ┆ bpool ┆ 0x15120…15140 3a 20 62 73 74 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆: bst; ┆ 0x15140…15160 70 72 69 6f 20 20 20 20 20 20 20 20 3a 20 70 72 74 61 62 6c 65 3b 0d 0a 20 20 20 20 20 20 20 20 ┆prio : prtable; ┆ 0x15160…15180 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6e 64 3b 0d 0a 0d 0a 09 20 20 20 6b 65 79 20 20 20 ┆ end; key ┆ 0x15180…151a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 20 41 63 63 65 73 73 20 73 65 6d 61 70 68 6f ┆ : Access semapho┆ 0x151a0…151c0 72 65 20 74 6f 20 74 68 65 20 62 75 66 66 65 72 20 70 6f 6f 6c 2e 0d 0a 0d 0a 09 20 20 20 62 75 ┆re to the buffer pool. bu┆ 0x151c0…151e0 66 66 65 72 5f 73 65 6d 20 20 20 20 20 20 20 20 20 20 20 20 3a 20 42 75 66 66 65 72 73 20 61 72 ┆ffer_sem : Buffers ar┆ 0x151e0…15200 65 20 71 75 65 75 65 64 20 61 74 20 74 68 69 73 20 73 65 6d 61 70 68 6f 72 65 2e 0d 0a 0d 0a 09 ┆e queued at this semaphore. ┆ 0x15200…15220 (169,) 20 20 20 62 70 6f 6f 6c 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 20 47 65 6e 65 72 ┆ bpool : Gener┆ 0x15220…15240 61 6c 20 73 74 61 74 69 73 74 69 63 20 63 6f 75 6e 74 65 72 73 2e 0d 0a 0d 0a 09 20 20 20 70 72 ┆al statistic counters. pr┆ 0x15240…15260 69 6f 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 20 84 43 6f 6e 74 61 69 6e 73 20 ┆io : Contains ┆ 0x15260…15280 66 6f 72 20 65 76 65 72 79 20 70 72 69 6f 72 69 74 79 20 28 30 2e 2e 33 29 20 61 20 0a 19 a4 80 ┆for every priority (0..3) a ┆ 0x15280…152a0 80 77 61 69 74 20 72 65 71 75 65 73 74 20 73 65 6d 61 70 68 6f 72 65 20 61 6e 64 20 73 74 61 74 ┆ wait request semaphore and stat┆ 0x152a0…152c0 69 73 74 69 63 20 0a 19 a4 80 80 63 6f 75 6e 74 65 72 73 2e 0d 0a 0d 0a 09 84 54 68 65 20 44 54 ┆istic counters. The DT┆ 0x152c0…152e0 45 20 6d 6f 64 75 6c 65 20 75 73 65 73 20 66 6f 75 72 20 62 75 66 66 65 72 20 70 6f 6f 6c 73 20 ┆E module uses four buffer pools ┆ 0x152e0…15300 6f 66 20 74 68 69 73 20 74 79 70 65 3a 0d 0a 0d 0a 09 20 20 20 62 69 67 62 75 66 20 20 20 20 20 ┆of this type: bigbuf ┆ 0x15300…15320 20 3a 20 84 42 69 67 20 69 6e 70 75 74 20 62 75 66 66 65 72 73 20 66 6f 72 20 58 2e 32 35 20 70 ┆ : Big input buffers for X.25 p┆ 0x15320…15340 61 63 6b 65 74 73 2e 20 53 69 67 6e 61 6c 6c 65 64 20 74 6f 20 0a 19 9a 80 80 74 68 65 20 48 44 ┆ackets. Signalled to the HD┆ 0x15340…15360 4c 43 4c 43 50 20 61 73 20 69 6e 70 75 74 20 62 75 66 66 65 72 73 20 61 6e 64 20 6f 6e 20 72 65 ┆LCLCP as input buffers and on re┆ 0x15360…15380 74 75 72 6e 20 72 6f 75 74 65 64 20 0a 19 9a 80 80 74 6f 20 61 6e 20 69 6e 74 65 72 6e 61 6c 20 ┆turn routed to an internal ┆ 0x15380…153a0 70 72 6f 63 65 73 73 20 28 64 74 65 2c 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 20 6f 72 20 0a 19 9a ┆process (dte, dte_lcnzero or ┆ 0x153a0…153c0 80 80 64 74 65 5f 63 68 61 6e 78 78 78 29 20 62 79 20 74 68 65 20 64 74 65 5f 68 72 65 63 20 70 ┆ dte_chanxxx) by the dte_hrec p┆ 0x153c0…153e0 72 6f 63 65 73 73 2e 20 46 72 6f 6d 20 74 68 65 73 65 20 0a 19 9a 80 80 70 72 6f 63 65 73 73 65 ┆rocess. From these processe┆ 0x153e0…15400 73 20 74 68 65 79 20 61 72 65 20 72 65 74 75 72 6e 65 64 20 74 6f 20 74 68 65 20 70 6f 6f 6c 2e ┆s they are returned to the pool.┆ 0x15400…15420 (170,) 0d 0a 0d 0a 09 20 20 20 73 6d 61 6c 6c 62 75 66 20 20 20 20 3a 20 84 53 6d 61 6c 6c 20 69 6e 70 ┆ smallbuf : Small inp┆ 0x15420…15440 75 74 20 62 75 66 66 65 72 73 2e 20 55 73 65 64 20 74 6f 20 63 6f 70 79 20 61 20 73 6d 61 6c 6c ┆ut buffers. Used to copy a small┆ 0x15440…15460 20 58 2e 32 35 20 0a 19 9a 80 80 70 61 63 6b 65 74 20 28 a1 3c e1 20 35 20 62 79 74 65 73 29 20 ┆ X.25 packet ( < 5 bytes) ┆ 0x15460…15480 69 6e 74 6f 20 61 6e 64 20 73 69 67 6e 61 6c 20 74 68 69 73 20 62 75 66 66 65 72 20 74 6f 20 0a ┆into and signal this buffer to ┆ 0x15480…154a0 19 9a 80 80 61 6e 20 69 6e 74 65 72 6e 61 6c 20 70 72 6f 63 65 73 73 20 28 64 74 65 2c 20 64 74 ┆ an internal process (dte, dt┆ 0x154a0…154c0 65 5f 6c 63 6e 7a 65 72 6f 20 6f 72 20 0a 19 9a 80 80 64 74 65 5f 63 68 61 6e 78 78 78 29 20 62 ┆e_lcnzero or dte_chanxxx) b┆ 0x154c0…154e0 79 20 74 68 65 20 64 74 65 5f 68 72 65 63 20 70 72 6f 63 65 73 73 2e 20 46 72 6f 6d 20 74 68 65 ┆y the dte_hrec process. From the┆ 0x154e0…15500 73 65 20 0a 19 9a 80 80 70 72 6f 63 65 73 73 65 73 20 74 68 65 79 20 61 72 65 20 72 65 74 75 72 ┆se processes they are retur┆ 0x15500…15512 6e 65 64 20 74 6f 20 74 68 65 20 70 6f 6f 6c 2e 0d 0a ┆ned to the pool. ┆ 0x15512…15515 FormFeed { 0x15512…15515 0c 80 a5 ┆ ┆ 0x15512…15515 } 0x15515…15520 0a 09 20 20 20 78 32 35 62 75 66 ┆ x25buf┆ 0x15520…15540 20 20 20 20 20 20 3a 20 84 58 2e 32 35 20 6f 75 74 70 75 74 20 63 6f 6e 74 72 6f 6c 20 62 75 66 ┆ : X.25 output control buf┆ 0x15540…15560 66 65 72 73 2e 20 54 68 65 20 70 72 6f 63 65 73 73 65 73 20 64 74 65 2c 20 0a 19 9a 80 80 64 74 ┆fers. The processes dte, dt┆ 0x15560…15580 65 5f 6c 63 6e 7a 65 72 6f 20 61 6e 64 20 64 74 65 5f 63 68 61 6e 78 78 78 20 72 65 71 75 65 73 ┆e_lcnzero and dte_chanxxx reques┆ 0x15580…155a0 74 20 74 68 65 73 65 20 62 75 66 80 66 65 72 73 20 0a 19 9a 80 80 66 6f 72 20 58 2e 32 35 20 70 ┆t these buf fers for X.25 p┆ 0x155a0…155c0 61 63 6b 65 74 73 20 6c 65 73 73 20 74 68 61 6e 20 6f 72 20 65 71 75 61 6c 20 74 6f 20 35 20 62 ┆ackets less than or equal to 5 b┆ 0x155c0…155e0 79 74 65 73 2c 20 0a 19 9a 80 80 73 69 67 6e 61 6c 20 74 68 65 20 6d 65 73 73 61 67 65 20 74 6f ┆ytes, signal the message to┆ 0x155e0…15600 20 74 68 65 20 48 44 4c 43 4c 43 50 20 66 6f 72 20 74 72 61 6e 73 80 0a 19 9a 80 80 6d 69 73 73 ┆ the HDLCLCP for trans miss┆ 0x15600…15620 (171,) 69 6f 6e 20 74 6f 20 74 68 65 20 44 43 45 2e 20 54 68 65 79 20 61 72 65 20 72 65 74 75 72 6e 65 ┆ion to the DCE. They are returne┆ 0x15620…15640 64 20 74 6f 20 74 68 65 20 0a 19 9a 80 80 64 74 65 5f 70 6f 6f 6c 20 70 72 6f 63 65 73 73 2c 20 ┆d to the dte_pool process, ┆ 0x15640…15660 77 68 69 63 68 20 72 65 74 75 72 6e 20 74 68 65 6d 20 74 6f 20 74 68 65 20 70 6f 6f 6c 2e 0d 0a ┆which return them to the pool. ┆ 0x15660…15680 0d 0a 09 20 20 20 74 72 61 63 65 5f 62 75 66 20 20 20 3a 20 84 54 72 61 63 65 20 62 75 66 66 65 ┆ trace_buf : Trace buffe┆ 0x15680…156a0 72 20 70 6f 6f 6c 2e 20 50 6c 65 61 73 65 20 72 65 66 65 72 20 74 6f 20 73 65 63 74 69 6f 6e 20 ┆r pool. Please refer to section ┆ 0x156a0…156c0 36 2e 31 2e 0d 0a 0d 0a 09 84 49 6e 20 66 69 67 75 72 65 20 31 30 20 74 68 65 20 66 6c 6f 77 20 ┆6.1. In figure 10 the flow ┆ 0x156c0…156e0 6f 66 20 74 68 65 20 62 75 66 66 65 72 73 20 61 72 65 20 73 68 6f 77 6e 2e 0d 0a 0d 0a 09 20 20 ┆of the buffers are shown. ┆ 0x156e0…15700 20 62 69 67 62 75 66 3a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ bigbuf: ┆ 0x15700…15720 0d 0a 0d 0a 09 20 20 73 6d 61 6c 6c 62 75 66 3a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ smallbuf: ┆ 0x15720…15740 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 8c 80 a7 0a 09 20 20 20 78 32 35 62 75 66 3a 0d 0a 0d 0a 0d ┆ x25buf: ┆ 0x15740…15760 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 46 69 67 75 ┆ Figu┆ 0x15760…15780 72 65 20 31 30 3a 20 42 75 66 66 65 72 20 66 6c 6f 77 20 66 6f 72 20 62 69 67 62 75 66 2c 20 73 ┆re 10: Buffer flow for bigbuf, s┆ 0x15780…157a0 6d 61 6c 6c 62 75 66 20 61 6e 64 20 78 32 35 62 75 66 2e 0d 0a 0d 0a 09 84 46 6f 72 20 6d 61 6e ┆mallbuf and x25buf. For man┆ 0x157a0…157c0 61 67 65 6d 65 6e 74 20 6f 66 20 74 68 65 73 65 20 62 75 66 66 65 72 20 70 6f 6f 6c 73 20 28 69 ┆agement of these buffer pools (i┆ 0x157c0…157e0 6e 63 6c 2e 20 4e 43 20 6f 70 65 72 61 74 69 6f 6e 73 29 20 74 68 65 20 44 54 45 20 0a 19 89 80 ┆ncl. NC operations) the DTE ┆ 0x157e0…15800 80 75 73 65 73 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 70 72 6f 63 65 64 75 72 65 73 3a 0d ┆ uses the following procedures: ┆ 0x15800…15820 (172,) 0a 0d 0a b0 09 20 20 20 50 52 4f 43 45 44 55 52 45 20 72 65 71 75 65 73 74 5f 62 75 66 66 65 72 ┆ PROCEDURE request_buffer┆ 0x15820…15840 20 f0 28 56 41 52 20 72 65 66 20 3a 20 72 65 66 65 72 65 6e 63 65 3b 0d 0a 09 20 20 20 20 20 20 ┆ (VAR ref : reference; ┆ 0x15840…15860 56 41 52 20 70 68 20 3a 20 70 68 5f 74 79 70 65 3b 20 70 72 69 6f 72 69 74 79 20 3a 20 30 2e 2e ┆VAR ph : ph_type; priority : 0..┆ 0x15860…15880 33 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 56 41 52 20 72 65 73 75 6c 74 20 3a 20 ┆3; VAR result : ┆ 0x15880…158a0 72 65 66 65 72 65 6e 63 65 29 3b 0d 0a 0d 0a b0 09 20 20 20 50 52 4f 43 45 44 55 52 45 20 72 65 ┆reference); PROCEDURE re┆ 0x158a0…158c0 74 75 72 6e 5f 62 75 66 66 65 72 20 f0 28 56 41 52 20 72 65 66 20 3a 20 72 65 66 65 72 65 6e 63 ┆turn_buffer (VAR ref : referenc┆ 0x158c0…158e0 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 56 41 52 20 70 68 20 3a 20 70 68 5f 74 ┆e; VAR ph : ph_t┆ 0x158e0…15900 79 70 65 3b 20 56 41 52 20 68 65 6c 70 5f 72 65 66 20 3a 20 72 65 66 65 72 65 6e 63 65 29 3b 0d ┆ype; VAR help_ref : reference); ┆ 0x15900…15920 0a 0d 0a b0 09 20 20 20 50 52 4f 43 45 44 55 52 45 20 72 65 6d 6f 76 65 5f 62 75 66 66 65 72 73 ┆ PROCEDURE remove_buffers┆ 0x15920…15940 20 f0 28 56 41 52 20 70 68 20 3a 20 70 68 5f 74 79 70 65 3b 0d 0a 09 20 20 20 20 20 20 63 6f 75 ┆ (VAR ph : ph_type; cou┆ 0x15940…15960 6e 74 20 3a 20 69 6e 74 65 67 65 72 29 3b 0d 0a 0d 0a b0 09 20 20 20 50 52 4f 43 45 44 55 52 45 ┆nt : integer); PROCEDURE┆ 0x15960…15980 20 64 65 6c 69 76 65 72 5f 62 75 66 66 65 72 20 f0 28 56 41 52 20 72 65 66 20 3a 20 72 65 66 65 ┆ deliver_buffer (VAR ref : refe┆ 0x15980…159a0 72 65 6e 63 65 3b 0d 0a 09 20 20 20 20 20 20 56 41 52 20 70 68 20 3a 20 70 68 5f 74 79 70 65 29 ┆rence; VAR ph : ph_type)┆ 0x159a0…159c0 3b 0d 0a 0d 0a b0 09 20 20 20 50 52 4f 43 45 44 55 52 45 20 72 65 73 65 74 5f 70 68 5f 73 74 61 ┆; PROCEDURE reset_ph_sta┆ 0x159c0…159e0 74 20 f0 28 56 41 52 20 70 68 20 3a 20 70 68 5f 74 79 70 65 29 3b 0d 0a 0d 0a b0 09 20 20 20 50 ┆t (VAR ph : ph_type); P┆ 0x159e0…15a00 52 4f 43 45 44 55 52 45 20 69 6e 69 74 5f 70 68 20 f0 28 56 41 52 20 70 68 20 3a 20 70 68 5f 74 ┆ROCEDURE init_ph (VAR ph : ph_t┆ 0x15a00…15a20 (173,) 79 70 65 3b 0d 0a 09 20 20 20 20 20 20 56 41 52 20 6c 6f 63 6b 70 6f 6f 6c 20 3a 20 70 6f 6f 6c ┆ype; VAR lockpool : pool┆ 0x15a20…15a40 20 31 29 3b 0d 0a 0d 0a 8c 80 a7 0a 09 84 46 6f 72 20 61 20 64 65 74 61 69 6c 65 64 20 64 65 73 ┆ 1); For a detailed des┆ 0x15a40…15a60 63 72 69 70 74 69 6f 6e 20 70 6c 65 61 73 65 20 72 65 66 65 72 20 74 6f 20 72 65 66 2e 20 28 35 ┆cription please refer to ref. (5┆ 0x15a60…15a80 29 2e 0d 0a 0d 0a 0d 0a a1 34 2e 31 2e 34 09 54 69 6d 65 72 73 20 69 6e 20 74 68 65 20 44 54 45 ┆). 4.1.4 Timers in the DTE┆ 0x15a80…15aa0 20 4d 6f 64 75 6c 65 2e 0d 0a 0d 0a 09 84 53 65 76 65 72 61 6c 20 74 69 6d 65 72 73 20 61 72 65 ┆ Module. Several timers are┆ 0x15aa0…15ac0 20 75 73 65 64 20 69 6e 20 74 68 65 20 44 54 45 20 6d 6f 64 75 6c 65 2e 20 53 6f 6d 65 20 6f 66 ┆ used in the DTE module. Some of┆ 0x15ac0…15ae0 20 74 68 65 73 65 20 63 6f 6e 63 65 72 6e 20 0a 19 89 80 80 69 6e 74 65 72 6e 61 6c 20 65 76 65 ┆ these concern internal eve┆ 0x15ae0…15b00 6e 74 73 20 61 6e 64 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 77 69 74 68 20 6f 74 68 65 72 ┆nts and communication with other┆ 0x15b00…15b20 20 70 72 6f 63 65 73 73 65 73 20 69 6e 20 74 68 65 20 54 43 2e 20 0a 19 89 80 80 54 68 65 20 72 ┆ processes in the TC. The r┆ 0x15b20…15b40 65 73 74 20 63 6f 6e 63 65 72 6e 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 77 69 74 68 20 74 ┆est concern communication with t┆ 0x15b40…15b60 68 65 20 44 43 45 2e 20 54 68 65 73 65 20 6c 61 73 74 20 74 69 6d 65 72 73 20 61 72 65 20 0a 19 ┆he DCE. These last timers are ┆ 0x15b60…15b80 89 80 80 64 65 73 63 72 69 62 65 64 20 62 79 0d 0a 0d 0a 09 20 20 20 74 69 6d 65 72 5f 64 65 73 ┆ described by timer_des┆ 0x15b80…15ba0 63 20 3d 20 72 65 63 6f 72 64 0d 0a 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 ┆c = record t┆ 0x15ba0…15bc0 69 63 6b 73 20 20 20 20 20 20 20 20 20 20 20 3a 20 69 6e 74 65 67 65 72 3b 0d 0a 09 20 20 20 20 ┆icks : integer; ┆ 0x15bc0…15be0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 74 61 74 65 20 20 20 20 20 20 20 20 20 20 20 3a 20 ┆ state : ┆ 0x15be0…15c00 74 69 6d 65 72 5f 73 74 61 74 65 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆timer_state; ┆ 0x15c00…15c20 (174,) 20 20 20 20 20 20 20 20 20 74 69 6d 65 72 5f 65 76 65 6e 74 5f 6e 6f 20 20 3a 20 69 6e 74 65 67 ┆ timer_event_no : integ┆ 0x15c20…15c40 65 72 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6e ┆er; en┆ 0x15c40…15c60 64 3b 0d 0a 0d 0a 09 20 20 20 74 69 63 6b 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆d; ticks ┆ 0x15c60…15c80 3a 20 84 44 65 66 69 6e 65 73 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 74 69 63 6b 73 2c 20 ┆: Defines the number of ticks, ┆ 0x15c80…15ca0 69 66 20 74 68 65 20 0a 19 a4 80 80 54 49 4d 45 4f 55 54 20 6d 6f 64 75 6c 65 20 69 73 20 75 73 ┆if the TIMEOUT module is us┆ 0x15ca0…15cc0 65 64 20 61 73 20 74 69 6d 65 72 20 0a 19 a4 80 80 70 72 6f 63 65 73 73 2e 0d 0a 0d 0a 09 20 20 ┆ed as timer process. ┆ 0x15cc0…15ce0 20 73 74 61 74 65 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a 20 84 44 65 66 69 6e 65 ┆ state : Define┆ 0x15ce0…15d00 73 20 74 68 65 20 73 74 61 74 65 20 6f 66 20 74 68 65 20 74 69 6d 65 72 20 28 73 65 65 20 0a 19 ┆s the state of the timer (see ┆ 0x15d00…15d20 a4 80 80 62 65 6c 6f 77 29 2e 0d 0a 0d 0a 09 20 20 20 74 69 6d 65 72 5f 65 76 65 6e 74 5f 6e 6f ┆ below). timer_event_no┆ 0x15d20…15d40 20 20 20 20 20 20 20 20 3a 20 45 76 65 6e 74 20 6e 75 6d 62 65 72 20 66 6f 72 20 73 74 61 74 65 ┆ : Event number for state┆ 0x15d40…15d60 5f 6d 61 63 68 69 6e 65 20 61 63 74 69 6f 6e 2e 0d 0a 0d 0a 09 41 20 74 69 6d 65 72 20 6d 61 79 ┆_machine action. A timer may┆ 0x15d60…15d80 20 62 65 20 69 6e 20 6f 6e 65 20 6f 66 20 74 68 72 65 65 20 73 74 61 74 65 73 0d 0a 0d 0a 09 20 ┆ be in one of three states ┆ 0x15d80…15da0 20 20 74 5f 73 74 6f 70 09 20 20 20 20 20 3a 20 54 68 65 20 74 69 6d 65 72 20 69 73 20 6e 6f 74 ┆ t_stop : The timer is not┆ 0x15da0…15dc0 20 61 63 74 69 76 65 2e 0d 0a 0d 0a 09 20 20 20 74 5f 72 75 6e 20 20 20 20 20 20 20 3a 20 54 68 ┆ active. t_run : Th┆ 0x15dc0…15de0 65 20 74 69 6d 65 72 20 69 73 20 61 63 74 69 76 65 2e 0d 0a 0d 0a 09 20 20 20 74 5f 75 70 64 61 ┆e timer is active. t_upda┆ 0x15de0…15e00 74 65 20 20 20 20 3a 20 84 41 74 20 74 68 65 20 74 69 6d 65 20 77 68 65 72 65 20 61 6e 20 75 70 ┆te : At the time where an up┆ 0x15e00…15e20 (175,) 64 61 74 65 20 77 61 73 20 72 65 71 75 69 72 65 64 2c 20 74 68 65 20 74 69 80 0a 19 9a 80 80 6d ┆date was required, the ti m┆ 0x15e20…15e40 65 72 20 6d 65 73 73 61 67 65 20 77 61 73 20 6e 6f 74 20 72 65 74 75 72 6e 65 64 2e 20 57 68 65 ┆er message was not returned. Whe┆ 0x15e40…15e60 6e 20 74 68 65 20 74 69 6d 65 72 20 6d 65 73 80 0a 19 9a 80 80 73 61 67 65 20 69 73 20 72 65 63 ┆n the timer mes sage is rec┆ 0x15e60…15e80 65 69 76 65 64 2c 20 74 68 65 20 74 69 6d 65 72 20 69 73 20 73 74 61 72 74 65 64 20 61 67 61 69 ┆eived, the timer is started agai┆ 0x15e80…15e84 6e 2e 0d 0a ┆n. ┆ 0x15e84…15e87 FormFeed { 0x15e84…15e87 0c 80 a2 ┆ ┆ 0x15e84…15e87 } 0x15e87…15ea0 0a 09 84 54 68 65 20 6e 61 6d 65 73 20 6f 66 20 74 68 65 20 61 62 6f 76 65 ┆ The names of the above┆ 0x15ea0…15ec0 20 6d 65 6e 74 69 6f 6e 65 64 20 74 69 6d 65 72 73 20 61 72 65 3a 0d 0a 0d 0a 09 20 20 20 74 31 ┆ mentioned timers are: t1┆ 0x15ec0…15ee0 31 6d 09 20 20 20 20 20 3a 20 44 43 45 20 63 61 6c 6c 20 72 65 71 75 65 73 74 20 74 69 6d 65 72 ┆1m : DCE call request timer┆ 0x15ee0…15f00 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 31 32 6d 20 20 20 20 20 20 20 20 3a 20 44 43 45 ┆. t12m : DCE┆ 0x15f00…15f20 20 72 65 73 65 74 20 72 65 71 75 65 73 74 20 74 69 6d 72 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 ┆ reset request timr. ┆ 0x15f20…15f40 20 20 74 32 30 20 20 20 20 20 20 20 20 20 3a 20 44 54 45 20 72 65 73 74 61 72 74 20 72 65 71 75 ┆ t20 : DTE restart requ┆ 0x15f40…15f60 65 73 74 20 74 69 6d 65 72 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 32 31 20 20 20 20 20 ┆est timer. t21 ┆ 0x15f60…15f80 20 20 20 20 3a 20 44 54 45 20 63 61 6c 6c 20 72 65 71 75 65 73 74 20 74 69 6d 65 72 2e 0d 0a 20 ┆ : DTE call request timer. ┆ 0x15f80…15fa0 20 20 20 20 20 20 20 20 20 20 20 74 32 32 20 20 20 20 20 20 20 20 20 3a 20 44 54 45 20 72 65 73 ┆ t22 : DTE res┆ 0x15fa0…15fc0 65 74 20 72 65 71 75 65 73 74 20 74 69 6d 65 72 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 ┆et request timer. t┆ 0x15fc0…15fe0 32 33 20 20 20 20 20 20 20 20 20 3a 20 44 54 45 20 63 6c 65 61 72 20 72 65 71 75 65 73 74 20 74 ┆23 : DTE clear request t┆ 0x15fe0…16000 69 6d 65 72 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 74 33 30 20 20 20 20 20 20 20 20 20 3a ┆imer. t30 :┆ 0x16000…16020 (176,) 20 56 69 72 74 75 61 6c 20 43 61 6c 6c 20 69 64 6c 65 20 74 69 6d 65 72 2e 0d 0a 20 20 20 20 20 ┆ Virtual Call idle timer. ┆ 0x16020…16040 20 20 20 20 20 20 20 74 33 31 20 20 20 20 20 20 20 20 20 3a 20 44 61 74 61 20 68 6f 6c 64 20 74 ┆ t31 : Data hold t┆ 0x16040…16060 69 6d 65 72 2e 0d 0a 0d 0a 09 84 54 68 65 20 76 61 6c 75 65 20 66 6f 72 20 65 61 63 68 20 74 69 ┆imer. The value for each ti┆ 0x16060…16080 6d 65 72 20 69 6e 20 74 68 65 20 44 54 45 20 6d 6f 64 75 6c 65 20 69 73 20 73 70 65 63 69 66 69 ┆mer in the DTE module is specifi┆ 0x16080…160a0 65 64 20 69 6e 20 74 68 65 20 0a 19 89 80 80 61 72 72 61 79 20 74 69 6d 65 72 5f 64 65 66 20 28 ┆ed in the array timer_def (┆ 0x160a0…160c0 44 54 45 45 4e 56 2c 20 61 70 70 65 6e 64 69 78 20 42 2e 35 29 2e 0d 0a 0d 0a 0d 0a a1 34 2e 31 ┆DTEENV, appendix B.5). 4.1┆ 0x160c0…160e0 2e 35 09 52 65 6c 61 74 69 6f 6e 20 62 65 74 77 65 65 6e 20 53 74 72 65 61 6d 73 20 61 6e 64 20 ┆.5 Relation between Streams and ┆ 0x160e0…16100 4c 6f 67 69 63 61 6c 20 43 68 61 6e 6e 65 6c 73 2e 0d 0a 0d 0a 09 84 45 61 63 68 20 63 6f 6e 6e ┆Logical Channels. Each conn┆ 0x16100…16120 65 63 74 65 64 20 75 73 65 72 20 68 61 73 20 69 74 73 20 6f 77 6e 20 a1 73 74 72 65 61 6d 73 e1 ┆ected user has its own streams ┆ 0x16120…16140 20 28 64 61 74 61 20 70 61 74 68 65 73 29 2c 20 69 64 65 6e 74 69 66 69 65 64 20 0a 19 89 80 80 ┆ (data pathes), identified ┆ 0x16140…16160 62 79 20 6e 75 6d 62 65 72 73 2c 20 69 6e 20 74 68 65 20 64 74 65 5f 61 63 63 65 73 73 20 70 72 ┆by numbers, in the dte_access pr┆ 0x16160…16180 6f 63 65 73 73 2e 20 41 6c 6c 20 73 74 72 65 61 6d 73 20 66 6f 72 20 61 6c 6c 20 75 73 65 72 73 ┆ocess. All streams for all users┆ 0x16180…161a0 20 0a 19 89 80 80 68 61 76 65 20 69 6e 64 69 76 69 64 75 61 6c 20 6e 75 6d 62 65 72 73 2c 20 73 ┆ have individual numbers, s┆ 0x161a0…161c0 6f 20 61 20 64 61 74 61 20 70 61 74 68 20 69 73 20 61 6c 77 61 79 73 20 69 64 65 6e 74 69 66 69 ┆o a data path is always identifi┆ 0x161c0…161e0 65 64 20 62 79 20 0a 19 89 80 80 6f 6e 65 20 6e 75 6d 62 65 72 20 28 73 74 72 65 61 6d 20 6e 75 ┆ed by one number (stream nu┆ 0x161e0…16200 6d 62 65 72 29 20 69 6e 20 74 68 65 20 44 54 45 2f 55 73 65 72 20 69 6e 74 65 72 66 61 63 65 2e ┆mber) in the DTE/User interface.┆ 0x16200…16220 (177,) 20 54 68 65 20 0a 19 89 80 80 64 74 65 5f 61 63 63 65 73 73 20 70 72 6f 63 65 73 73 20 68 61 6e ┆ The dte_access process han┆ 0x16220…16240 64 6c 65 73 20 74 68 65 20 63 6f 6e 6e 65 63 74 69 6f 6e 20 62 65 74 77 65 65 6e 20 61 6e 20 b0 ┆dles the connection between an ┆ 0x16240…16260 58 2e 32 35 20 56 69 72 74 75 61 6c 20 0a 19 89 81 82 43 61 6c 6c 20 f0 61 6e 64 20 74 68 65 20 ┆X.25 Virtual Call and the ┆ 0x16260…16280 b0 73 74 72 65 61 6d 2e 0d 0a 0d 0a 09 84 54 68 65 20 56 69 72 74 75 61 6c 20 43 61 6c 6c 20 68 ┆ stream. The Virtual Call h┆ 0x16280…162a0 61 73 20 61 20 6c 6f 67 69 63 61 6c 20 63 68 61 6e 6e 65 6c 20 6e 75 6d 62 65 72 20 61 74 20 74 ┆as a logical channel number at t┆ 0x162a0…162c0 68 65 20 44 54 45 2f 44 43 45 20 69 6e 80 0a 19 89 80 80 74 65 72 66 61 63 65 2c 20 61 6e 64 20 ┆he DTE/DCE in terface, and ┆ 0x162c0…162e0 61 6c 6c 20 56 69 72 74 75 61 6c 20 43 61 6c 6c 73 20 61 72 65 20 6d 75 6c 74 69 70 6c 65 78 65 ┆all Virtual Calls are multiplexe┆ 0x162e0…16300 64 20 6f 6e 20 6f 6e 65 20 68 64 6c 63 20 6c 69 6e 65 20 74 6f 20 0a 19 89 80 80 74 68 65 20 44 ┆d on one hdlc line to the D┆ 0x16300…16320 43 45 20 28 66 69 67 75 72 65 20 31 31 29 2e 0d 0a 0d 0a 09 84 54 68 65 20 73 74 72 65 61 6d 20 ┆CE (figure 11). The stream ┆ 0x16320…16340 6e 75 6d 62 65 72 20 69 73 20 61 6c 77 61 79 73 20 61 73 73 69 67 6e 65 64 20 62 79 20 74 68 65 ┆number is always assigned by the┆ 0x16340…16360 20 64 74 65 5f 61 63 63 65 73 73 20 70 72 6f 63 65 73 73 2c 20 0a 19 89 80 80 61 6e 64 20 74 68 ┆ dte_access process, and th┆ 0x16360…16380 65 20 64 61 74 61 20 70 61 74 68 20 74 6f 20 74 68 65 20 72 65 6d 6f 74 65 20 75 73 65 72 20 69 ┆e data path to the remote user i┆ 0x16380…163a0 73 20 69 64 65 6e 74 69 66 69 65 64 20 62 79 20 74 68 69 73 20 6e 75 6d 62 65 72 2c 20 0a 19 89 ┆s identified by this number, ┆ 0x163a0…163c0 80 80 77 68 65 6e 20 69 74 20 68 61 73 20 62 65 65 6e 20 73 65 74 20 75 70 2e 20 54 68 65 20 75 ┆ when it has been set up. The u┆ 0x163c0…163e0 73 65 72 20 6e 65 65 64 73 20 6e 6f 74 20 63 61 72 65 20 61 62 6f 75 74 20 74 68 65 20 6c 6f 67 ┆ser needs not care about the log┆ 0x163e0…16400 69 63 61 6c 20 0a 19 89 80 80 63 68 61 6e 6e 65 6c 20 6e 75 6d 62 65 72 73 2c 20 74 68 65 79 20 ┆ical channel numbers, they ┆ 0x16400…16420 (178,) 61 72 65 20 6f 6e 6c 79 20 73 69 67 6e 69 66 69 63 61 6e 74 20 66 6f 72 20 74 68 65 20 44 54 45 ┆are only significant for the DTE┆ 0x16420…1642c 20 6d 6f 64 75 6c 65 2e 0d 0a 0d 0a ┆ module. ┆ 0x1642c…1642f FormFeed { 0x1642c…1642f 0c 80 a1 ┆ ┆ 0x1642c…1642f } 0x1642f…16440 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ 0x16440…16460 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 46 69 67 75 72 65 20 31 31 ┆ Figure 11┆ 0x16460…16480 2e 20 52 65 6c 61 74 69 6f 6e 20 62 65 74 77 65 65 6e 20 73 74 72 65 61 6d 73 20 61 6e 64 20 6c ┆. Relation between streams and l┆ 0x16480…164a0 6f 67 69 63 61 6c 20 63 68 61 6e 6e 65 6c 73 2e 0d 0a 0d 0a 0d 0a a1 34 2e 31 2e 36 09 41 64 64 ┆ogical channels. 4.1.6 Add┆ 0x164a0…164c0 72 65 73 73 65 73 20 75 73 65 64 20 62 79 20 74 68 65 20 44 54 45 2e 0d 0a 0d 0a 09 54 68 65 20 ┆resses used by the DTE. The ┆ 0x164c0…164e0 44 54 45 20 75 74 69 6c 69 7a 65 73 20 74 77 6f 20 74 79 70 65 73 20 6f 66 20 61 64 64 72 65 73 ┆DTE utilizes two types of addres┆ 0x164e0…16500 73 65 73 3a 0d 0a 0d 0a 09 20 20 20 2d 20 75 73 65 72 20 69 64 65 6e 74 69 66 69 63 61 74 69 6f ┆ses: - user identificatio┆ 0x16500…16520 6e 0d 0a 09 20 20 20 2d 20 44 54 45 20 61 64 64 72 65 73 73 0d 0a 0d 0a 09 84 54 68 65 20 75 73 ┆n - DTE address The us┆ 0x16520…16540 65 72 20 69 64 65 6e 74 69 66 69 63 61 74 69 6f 6e 20 69 73 20 75 73 65 64 20 74 6f 20 73 65 70 ┆er identification is used to sep┆ 0x16540…16560 61 72 61 74 65 20 74 68 65 20 63 6f 6e 6e 65 63 74 65 64 20 75 73 65 72 73 20 69 6e 20 0a 19 89 ┆arate the connected users in ┆ 0x16560…16580 80 80 6f 72 64 65 72 20 74 6f 20 6d 61 6b 65 20 69 74 20 70 6f 73 73 69 62 6c 65 20 66 6f 72 20 ┆ order to make it possible for ┆ 0x16580…165a0 74 68 65 20 44 54 45 20 74 6f 20 72 6f 75 74 65 20 61 6e 20 49 4e 43 4f 4d 49 4e 47 20 43 41 4c ┆the DTE to route an INCOMING CAL┆ 0x165a0…165c0 4c 20 74 6f 20 0a 19 89 80 80 74 68 65 20 72 69 67 68 74 20 75 73 65 72 2e 20 46 75 72 74 68 65 ┆L to the right user. Furthe┆ 0x165c0…165e0 72 6d 6f 72 65 20 69 74 20 69 73 20 75 73 65 64 20 61 73 20 70 61 72 74 20 28 73 75 62 20 61 64 ┆rmore it is used as part (sub ad┆ 0x165e0…16600 64 72 65 73 73 29 20 6f 66 20 0a 19 89 80 80 74 68 65 20 44 54 45 20 61 64 64 72 65 73 73 2e 0d ┆dress) of the DTE address. ┆ 0x16600…16620 (179,) 0a 0d 0a 09 84 54 68 65 20 44 54 45 20 61 64 64 72 65 73 73 20 69 73 20 74 68 65 20 69 64 65 6e ┆ The DTE address is the iden┆ 0x16620…16640 74 69 66 69 63 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 44 54 45 20 61 6e 64 20 75 73 65 72 20 69 ┆tification of the DTE and user i┆ 0x16640…16660 6e 20 74 68 65 20 0a 19 89 80 80 74 6f 74 61 6c 20 6e 65 74 77 6f 72 6b 2e 20 54 68 65 20 44 54 ┆n the total network. The DT┆ 0x16660…16680 45 20 6d 6f 64 75 6c 65 20 61 70 70 6c 69 65 73 20 6e 6f 20 63 6f 6e 73 74 72 61 69 6e 74 73 20 ┆E module applies no constraints ┆ 0x16680…166a0 6f 6e 20 74 68 65 20 66 6f 72 6d 61 74 20 0a 19 89 80 80 6f 66 20 74 68 65 20 61 64 64 72 65 73 ┆on the format of the addres┆ 0x166a0…166c0 73 65 73 2c 20 62 75 74 20 69 74 20 69 73 20 72 65 63 6f 6d 6d 65 6e 64 65 64 20 74 6f 20 66 6f ┆ses, but it is recommended to fo┆ 0x166c0…166e0 6c 6c 6f 77 20 43 43 49 54 54 20 72 65 63 6f 6d 6d 65 6e 80 0a 19 89 80 80 64 61 74 69 6f 6e 20 ┆llow CCITT recommen dation ┆ 0x166e0…16700 58 2e 31 32 31 20 28 72 65 66 2e 20 28 32 29 29 2e 20 42 65 6c 6f 77 20 69 73 20 67 69 76 65 6e ┆X.121 (ref. (2)). Below is given┆ 0x16700…16720 20 61 6e 20 65 78 61 6d 70 6c 65 20 6f 66 20 61 20 44 54 45 20 0a 19 89 80 80 61 64 64 72 65 73 ┆ an example of a DTE addres┆ 0x16720…16726 73 2e 0d 0a 0d 0a ┆s. ┆ 0x16726…16729 FormFeed { 0x16726…16729 0c 80 a8 ┆ ┆ 0x16726…16729 } 0x16729…16740 0a 09 84 54 68 65 20 74 79 70 65 73 20 61 6e 64 20 63 6f 6e 73 74 61 ┆ The types and consta┆ 0x16740…16760 6e 74 73 20 64 65 66 69 6e 69 6e 67 20 74 68 65 20 61 64 64 72 65 73 73 65 73 20 61 6e 64 20 6c ┆nts defining the addresses and l┆ 0x16760…16780 65 6e 67 74 68 20 6f 66 20 74 68 65 73 65 20 0a 19 89 80 80 61 72 65 3a 0d 0a 0d 0a 09 20 20 20 ┆ength of these are: ┆ 0x16780…167a0 64 74 65 5f 61 64 64 72 5f 6c 67 74 20 20 20 3d 20 31 34 20 20 20 3a 20 84 4d 61 78 69 6d 75 6d ┆dte_addr_lgt = 14 : Maximum┆ 0x167a0…167c0 20 44 54 45 20 61 64 64 72 65 73 73 20 6c 65 6e 67 74 68 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 ┆ DTE address length. ┆ 0x167c0…167e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 b0 43 61 6e 6e 6f ┆ Canno┆ 0x167e0…16800 74 20 62 65 20 63 68 61 6e 67 65 64 2e 0d 0a 0d 0a 09 20 20 20 6d 61 78 5f 75 5f 61 64 72 20 20 ┆t be changed. max_u_adr ┆ 0x16800…16820 (180,) 20 20 20 20 3d 20 20 35 20 20 20 3a 20 84 4d 61 78 69 6d 75 6d 20 6c 65 6e 67 74 68 20 6f 66 20 ┆ = 5 : Maximum length of ┆ 0x16820…16840 75 73 65 72 20 69 64 65 6e 74 69 66 69 63 61 74 69 6f 6e 2e 20 0a 19 a4 80 80 b0 43 61 6e 6e 6f ┆user identification. Canno┆ 0x16840…16860 74 20 62 65 20 63 68 61 6e 67 65 64 2e 0d 0a 0d 0a 09 20 20 20 6e 65 74 5f 61 64 72 5f 6c 65 6e ┆t be changed. net_adr_len┆ 0x16860…16880 67 74 68 20 3d 20 31 33 20 20 20 3a 20 84 41 63 74 75 61 6c 20 6c 65 6e 67 74 68 20 6f 66 20 6e ┆gth = 13 : Actual length of n┆ 0x16880…168a0 65 74 77 6f 72 6b 20 61 64 64 72 65 73 73 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆etwork address. ┆ 0x168a0…168c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 b0 4d 61 79 20 62 65 20 63 68 61 ┆ May be cha┆ 0x168c0…168e0 6e 67 65 64 20 61 74 20 63 6f 6d 70 69 6c 61 74 69 6f 6e 2e 0d 0a 0d 0a 09 20 20 20 75 73 65 72 ┆nged at compilation. user┆ 0x168e0…16900 5f 69 64 5f 6c 67 74 68 20 20 20 3d 20 20 33 20 20 20 3a 20 84 41 63 74 75 61 6c 20 6c 65 6e 67 ┆_id_lgth = 3 : Actual leng┆ 0x16900…16920 74 68 20 6f 66 20 75 73 65 72 20 69 64 65 6e 74 69 66 69 63 61 74 69 6f 6e 2e 20 0a 19 a4 80 80 ┆th of user identification. ┆ 0x16920…16940 b0 4d 61 79 20 62 65 20 63 68 61 6e 67 65 64 20 61 74 20 63 6f 6d 70 69 6c 61 74 69 6f 6e 2e 0d ┆ May be changed at compilation. ┆ 0x16940…16960 0a 0d 0a 09 20 20 20 61 63 74 75 61 6c 5f 75 5f 6c 67 74 20 20 20 3d 0d 0a 09 20 20 20 20 20 64 ┆ actual_u_lgt = d┆ 0x16960…16980 74 65 5f 61 64 64 72 5f 6c 67 74 20 2d 20 6e 65 74 5f 61 64 72 5f 6c 65 6e 67 74 68 3a 20 61 63 ┆te_addr_lgt - net_adr_length: ac┆ 0x16980…169a0 74 75 61 6c 20 6c 65 6e 67 74 68 20 6f 66 20 73 75 62 20 61 64 64 72 65 73 73 2e 0d 0a 0d 0a 09 ┆tual length of sub address. ┆ 0x169a0…169c0 20 20 20 78 32 35 5f 61 64 72 5f 74 79 70 65 20 20 20 3d 20 61 72 72 61 79 20 28 31 2e 2e 20 64 ┆ x25_adr_type = array (1.. d┆ 0x169c0…169e0 74 65 5f 61 64 64 72 5f 6c 67 74 29 20 6f 66 20 62 79 74 65 3b 0d 0a 0d 0a 09 20 20 20 62 63 64 ┆te_addr_lgt) of byte; bcd┆ 0x169e0…16a00 5f 61 64 72 5f 74 79 70 65 20 20 20 3d 20 61 72 72 61 79 20 28 31 2e 2e 20 6d 61 78 5f 75 5f 61 ┆_adr_type = array (1.. max_u_a┆ 0x16a00…16a20 (181,) 64 72 29 20 6f 66 20 62 69 74 34 3b 0d 0a 0d 0a 09 20 20 20 61 64 72 5f 72 65 63 5f 74 79 70 65 ┆dr) of bit4; adr_rec_type┆ 0x16a20…16a40 20 20 20 3d 20 72 65 63 6f 72 64 0d 0a 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ = record ┆ 0x16a40…16a60 20 20 20 20 65 78 74 65 6e 64 65 64 5f 66 6f 72 6d 61 74 20 20 20 20 3a 20 62 6f 6f 6c 65 61 6e ┆ extended_format : boolean┆ 0x16a60…16a80 3b 0d 0a 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 64 72 5f 6c 67 ┆; adr_lg┆ 0x16a80…16aa0 74 68 20 20 20 20 20 20 20 20 20 20 20 3a 20 62 79 74 65 3b 0d 0a 09 20 20 20 20 20 20 20 20 20 ┆th : byte; ┆ 0x16aa0…16ac0 20 20 20 20 20 20 20 20 20 20 20 20 20 61 64 72 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ adr ┆ 0x16ac0…16ae0 3a 20 78 32 35 5f 61 64 72 5f 74 79 70 65 3b 0d 0a 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆: x25_adr_type; ┆ 0x16ae0…16b00 20 20 20 20 20 20 65 6e 64 3b 0d 0a 0d 0a 09 20 20 20 6c 6f 63 61 6c 5f 61 64 72 5f 74 79 70 65 ┆ end; local_adr_type┆ 0x16b00…16b20 20 3d 20 72 65 63 6f 72 64 0d 0a 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ = record ┆ 0x16b20…16b40 20 20 75 73 65 72 5f 6c 67 74 68 20 20 20 20 20 20 20 20 20 20 3a 20 62 79 74 65 3b 0d 0a 09 20 ┆ user_lgth : byte; ┆ 0x16b40…16b60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 75 73 65 72 5f 61 64 64 72 65 73 ┆ user_addres┆ 0x16b60…16b80 73 20 20 20 20 20 20 20 3a 20 62 63 64 5f 61 64 72 5f 74 79 70 65 3b 0d 0a 09 20 20 20 20 20 20 ┆s : bcd_adr_type; ┆ 0x16b80…16ba0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6e 64 3b 0d 0a 0d 0a 09 84 54 68 65 20 65 6e 76 69 ┆ end; The envi┆ 0x16ba0…16bc0 72 6f 6e 6d 65 6e 74 73 2c 20 69 6e 20 77 68 69 63 68 20 74 68 65 20 69 6e 64 69 76 69 64 75 61 ┆ronments, in which the individua┆ 0x16bc0…16be0 6c 20 74 79 70 65 73 20 61 6e 64 20 63 6f 6e 73 74 61 6e 74 73 20 61 72 65 20 0a 19 89 80 80 64 ┆l types and constants are d┆ 0x16be0…16c00 65 66 69 6e 65 64 2c 20 69 73 20 6f 75 74 6c 69 6e 65 64 20 69 6e 20 74 61 62 6c 65 20 33 20 62 ┆efined, is outlined in table 3 b┆ 0x16c00…16c20 (182,) 65 6c 6f 77 2e 0d 0a 0d 0a 09 84 61 64 72 5f 72 65 63 5f 74 79 70 65 20 69 73 20 75 73 65 64 20 ┆elow. adr_rec_type is used ┆ 0x16c20…16c40 74 6f 20 64 65 66 69 6e 65 20 76 61 72 69 61 62 6c 65 73 20 63 6f 6e 74 61 69 6e 69 6e 67 20 6f ┆to define variables containing o┆ 0x16c40…16c60 77 6e 20 44 54 45 20 0a 19 89 80 80 61 64 64 72 65 73 73 20 6f 72 20 72 65 6d 6f 74 65 20 44 54 ┆wn DTE address or remote DT┆ 0x16c60…16c80 45 20 61 64 64 72 65 73 73 2e 0d 0a 0d 0a 8c 80 a7 0a 09 84 6c 6f 63 61 6c 5f 61 64 72 5f 74 79 ┆E address. local_adr_ty┆ 0x16c80…16ca0 70 65 20 69 73 20 75 73 65 64 20 74 6f 20 64 65 66 69 6e 65 20 76 61 72 69 61 62 6c 65 73 20 63 ┆pe is used to define variables c┆ 0x16ca0…16cc0 6f 6e 74 61 69 6e 69 6e 67 20 63 6f 6e 76 65 72 74 65 64 20 0a 19 89 80 80 28 66 72 6f 6d 20 41 ┆ontaining converted (from A┆ 0x16cc0…16ce0 53 43 49 49 20 73 74 72 69 6e 67 20 74 6f 20 62 69 6e 61 72 79 20 64 69 67 69 74 73 29 20 75 73 ┆SCII string to binary digits) us┆ 0x16ce0…16d00 65 72 20 69 64 65 6e 74 69 66 69 63 61 74 69 6f 6e 2e 0d 0a 0d 0a 09 5f 5f 5f 5f 5f 5f 5f 5f 5f ┆er identification. _________┆ 0x16d00…16d20 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f ┆________________________________┆ 0x16d20…16d40 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 20 0d 0a 09 21 20 74 79 ┆________________________ ! ty┆ 0x16d40…16d60 70 65 2f 63 6f 6e 73 74 61 6e 74 20 20 20 21 20 20 20 63 68 61 6e 67 61 62 6c 65 20 20 20 21 20 ┆pe/constant ! changable ! ┆ 0x16d60…16d80 20 64 65 66 69 6e 65 64 20 69 6e 20 20 20 20 21 20 20 61 70 70 65 6e 64 69 78 20 20 20 21 0d 0a ┆ defined in ! appendix ! ┆ 0x16d80…16da0 09 a1 21 20 20 20 20 6e 61 6d 65 20 20 20 20 20 20 20 20 20 21 20 20 20 20 20 20 20 20 20 20 20 ┆ ! name ! ┆ 0x16da0…16dc0 20 20 20 20 21 20 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 20 20 21 20 20 20 20 20 20 20 20 20 20 ┆ ! environment ! ┆ 0x16dc0…16de0 20 20 20 21 0d 0a 09 21 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 21 20 20 20 20 20 20 ┆ ! ! ! ┆ 0x16de0…16e00 20 20 20 20 20 20 20 20 20 21 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 21 20 20 20 20 20 ┆ ! ! ┆ 0x16e00…16e20 (183,) 20 20 20 20 20 20 20 20 21 0d 0a 09 21 20 64 74 65 5f 61 64 64 72 5f 6c 67 74 20 20 20 20 21 20 ┆ ! ! dte_addr_lgt ! ┆ 0x16e20…16e40 20 20 20 20 20 6e 6f 20 20 20 20 20 20 20 21 20 20 20 6e 65 74 65 6e 76 20 20 20 20 20 20 20 21 ┆ no ! netenv !┆ 0x16e40…16e60 20 20 20 20 20 20 2d 20 20 20 20 20 20 21 0d 0a 09 21 20 6d 61 78 5f 75 5f 61 64 72 20 20 20 20 ┆ - ! ! max_u_adr ┆ 0x16e60…16e80 20 20 20 21 20 20 20 20 20 20 6e 6f 20 20 20 20 20 20 20 21 20 20 20 63 6e 6e 65 74 65 6e 76 20 ┆ ! no ! cnnetenv ┆ 0x16e80…16ea0 20 20 20 20 21 20 20 20 20 20 20 2d 20 20 20 20 20 20 21 0d 0a 09 21 20 6e 65 74 5f 61 64 72 5f ┆ ! - ! ! net_adr_┆ 0x16ea0…16ec0 6c 65 6e 67 74 68 20 20 21 20 20 20 20 20 20 79 65 73 20 20 20 20 20 20 21 20 20 20 63 6e 6e 65 ┆length ! yes ! cnne┆ 0x16ec0…16ee0 74 65 6e 76 20 20 20 20 20 21 20 20 20 20 20 20 2d 20 20 20 20 20 20 21 0d 0a 09 21 20 75 73 65 ┆tenv ! - ! ! use┆ 0x16ee0…16f00 72 5f 69 64 5f 6c 67 74 68 20 20 20 20 21 20 20 20 20 20 20 79 65 73 20 20 20 20 20 20 21 20 20 ┆r_id_lgth ! yes ! ┆ 0x16f00…16f20 20 78 64 74 65 65 6e 76 20 20 20 20 20 20 21 20 20 20 20 20 42 2e 32 20 20 20 20 20 21 0d 0a 09 ┆ xdteenv ! B.2 ! ┆ 0x16f20…16f40 21 20 61 63 74 75 61 6c 5f 75 5f 6c 67 74 20 20 20 20 21 20 20 20 69 6d 70 6c 69 63 69 74 20 20 ┆! actual_u_lgt ! implicit ┆ 0x16f40…16f60 20 20 21 20 20 20 63 6e 6e 65 74 65 6e 76 20 20 20 20 20 21 20 20 20 20 20 20 2d 20 20 20 20 20 ┆ ! cnnetenv ! - ┆ 0x16f60…16f80 20 21 0d 0a 09 21 20 78 32 35 5f 61 64 72 5f 74 79 70 65 20 20 20 20 21 20 20 20 20 20 20 2d 20 ┆ ! ! x25_adr_type ! - ┆ 0x16f80…16fa0 20 20 20 20 20 20 20 21 20 20 20 63 6e 6e 65 74 65 6e 76 20 20 20 20 20 21 20 20 20 20 20 20 2d ┆ ! cnnetenv ! -┆ 0x16fa0…16fc0 20 20 20 20 20 20 21 0d 0a 09 21 20 62 63 64 5f 61 64 72 5f 74 79 70 65 20 20 20 20 21 20 20 20 ┆ ! ! bcd_adr_type ! ┆ 0x16fc0…16fe0 20 20 20 2d 20 20 20 20 20 20 20 20 21 20 20 20 63 6e 6e 65 74 65 6e 76 20 20 20 20 20 21 20 20 ┆ - ! cnnetenv ! ┆ 0x16fe0…17000 20 20 20 20 2d 20 20 20 20 20 20 21 0d 0a 09 21 20 61 64 72 5f 72 65 63 5f 74 79 70 65 20 20 20 ┆ - ! ! adr_rec_type ┆ 0x17000…17020 (184,) 20 21 20 20 20 20 20 20 2d 20 20 20 20 20 20 20 20 21 20 20 20 63 6e 6e 65 74 65 6e 76 20 20 20 ┆ ! - ! cnnetenv ┆ 0x17020…17040 20 20 21 20 20 20 20 20 20 2d 20 20 20 20 20 20 21 0d 0a 09 21 20 6c 6f 63 61 6c 5f 61 64 72 5f ┆ ! - ! ! local_adr_┆ 0x17040…17060 74 79 70 65 20 20 21 20 20 20 20 20 20 2d 20 20 20 20 20 20 20 20 21 20 20 20 63 6e 6e 65 74 65 ┆type ! - ! cnnete┆ 0x17060…17080 6e 76 20 20 20 20 20 21 20 20 20 20 20 20 2d 20 20 20 20 20 20 21 0d 0a 09 a1 21 20 20 20 20 20 ┆nv ! - ! ! ┆ 0x17080…170a0 20 20 20 20 20 20 20 20 20 20 20 20 21 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 21 20 20 20 ┆ ! ! ┆ 0x170a0…170c0 20 20 20 20 20 20 20 20 20 20 20 20 20 21 20 20 20 20 20 20 20 20 20 20 20 20 20 21 0d 0a 0d 0a ┆ ! ! ┆ 0x170c0…170e0 0d 0a 09 54 61 62 6c 65 20 33 3a 20 84 45 6e 76 69 72 6f 6e 6d 65 6e 74 73 20 69 6e 20 77 68 69 ┆ Table 3: Environments in whi┆ 0x170e0…17100 63 68 20 61 64 64 72 65 73 73 20 74 79 70 65 73 20 61 6e 64 20 63 6f 6e 73 74 61 6e 74 73 20 61 ┆ch address types and constants a┆ 0x17100…17120 72 65 20 0a 19 92 80 80 64 65 66 69 6e 65 64 2e 0d 0a 0d 0a 0d 0a b0 20 20 20 20 20 20 20 20 20 ┆re defined. ┆ 0x17120…17140 a1 45 78 61 6d 70 6c 65 20 31 3a 0d 0a 0d 0a 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ Example 1: ┆ 0x17140…17160 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 75 6e 74 72 79 20 63 6f ┆ country co┆ 0x17160…17180 64 65 0d 0a 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆de ┆ 0x17180…171a0 20 20 20 20 20 20 20 20 20 20 20 6e 61 74 69 6f 6e 61 6c 20 6e 75 6d 62 65 72 0d 0a 0d 0a 0d 0a ┆ national number ┆ 0x171a0…171c0 09 20 20 20 20 20 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f ┆ __________________________┆ 0x171c0…171e0 5f 5f 5f 0d 0a 09 20 20 20 20 20 a1 20 32 20 33 20 38 20 31 20 30 20 34 20 30 20 31 20 30 20 31 ┆___ 2 3 8 1 0 4 0 1 0 1┆ 0x171e0…17200 20 32 20 30 20 31 20 31 20 0d 0a 09 09 09 09 20 20 20 20 20 20 20 20 64 61 74 61 20 6e 65 74 77 ┆ 2 0 1 1 data netw┆ 0x17200…17220 (185,) 6f 72 6b 20 6e 75 6d 62 65 72 0d 0a 0d 0a 09 09 09 09 20 20 20 20 20 20 20 20 73 75 62 20 61 64 ┆ork number sub ad┆ 0x17220…17240 64 72 65 73 73 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆dress ┆ 0x17240…17260 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 74 77 6f 72 6b 20 61 64 ┆ network ad┆ 0x17260…1726b 64 72 65 73 73 0d 0a 0d 0a 0d 0a ┆dress ┆ 0x1726b…1726e FormFeed { 0x1726b…1726e 0c 80 a5 ┆ ┆ 0x1726b…1726e } 0x1726e…17280 0a a1 34 2e 31 2e 36 2e 31 09 55 73 65 72 20 49 64 65 ┆ 4.1.6.1 User Ide┆ 0x17280…172a0 6e 74 69 66 69 63 61 74 69 6f 6e 2e 0d 0a 0d 0a 09 84 41 74 20 63 6f 6e 6e 65 63 74 20 74 69 6d ┆ntification. At connect tim┆ 0x172a0…172c0 65 20 74 68 65 20 75 73 65 72 20 69 64 65 6e 74 69 66 69 65 73 20 69 74 73 65 6c 66 20 62 79 20 ┆e the user identifies itself by ┆ 0x172c0…172e0 61 20 6e 75 6d 65 72 69 63 20 74 65 78 74 20 0a 19 89 80 80 73 74 72 69 6e 67 2e 20 54 68 65 20 ┆a numeric text string. The ┆ 0x172e0…17300 6c 65 6e 67 74 68 20 6f 66 20 74 68 69 73 20 74 65 78 74 20 73 74 72 69 6e 67 20 6d 61 79 20 76 ┆length of this text string may v┆ 0x17300…17320 61 72 79 20 66 72 6f 6d 20 31 20 74 6f 20 0a 19 89 80 80 6d 61 78 5f 75 5f 61 64 72 20 64 69 67 ┆ary from 1 to max_u_adr dig┆ 0x17320…17340 69 74 73 2e 20 54 68 65 20 61 63 74 75 61 6c 20 6c 65 6e 67 74 68 20 69 73 20 73 70 65 63 69 66 ┆its. The actual length is specif┆ 0x17340…17360 69 65 64 20 62 79 20 75 73 65 72 5f 69 64 5f 6c 67 74 68 20 0a 19 89 80 80 61 6e 64 20 69 73 20 ┆ied by user_id_lgth and is ┆ 0x17360…17380 61 20 63 6f 6d 70 69 6c 61 74 69 6f 6e 20 70 61 72 61 6d 65 74 65 72 20 6f 66 20 74 68 65 20 44 ┆a compilation parameter of the D┆ 0x17380…173a0 54 45 20 6d 6f 64 75 6c 65 2e 0d 0a 0d 0a 09 84 54 68 65 20 64 74 65 5f 61 63 63 65 73 73 20 70 ┆TE module. The dte_access p┆ 0x173a0…173c0 72 6f 63 65 73 73 20 63 6f 6e 76 65 72 74 73 20 74 68 69 73 20 69 64 65 6e 74 69 66 69 63 61 74 ┆rocess converts this identificat┆ 0x173c0…173e0 69 6f 6e 20 74 6f 20 62 69 6e 61 72 79 20 64 69 67 80 0a 19 89 80 80 69 74 73 20 62 65 66 6f 72 ┆ion to binary dig its befor┆ 0x173e0…17400 65 20 75 73 69 6e 67 20 69 74 20 61 73 20 73 75 62 20 61 64 64 72 65 73 73 20 69 6e 20 74 68 65 ┆e using it as sub address in the┆ 0x17400…17420 (186,) 20 56 69 72 74 75 61 6c 20 43 61 6c 6c 20 65 73 74 61 62 6c 69 73 68 80 0a 19 89 80 80 6d 65 6e ┆ Virtual Call establish men┆ 0x17420…17440 74 20 70 68 61 73 65 2e 0d 0a 0d 0a 09 84 46 75 72 74 68 65 72 6d 6f 72 65 20 74 68 65 20 75 73 ┆t phase. Furthermore the us┆ 0x17440…17460 65 72 20 6d 61 79 20 61 74 20 63 6f 6e 6e 65 63 74 20 74 69 6d 65 20 73 70 65 63 69 66 79 20 68 ┆er may at connect time specify h┆ 0x17460…17480 6f 77 20 6d 61 6e 79 20 64 69 67 69 74 73 2c 20 0a 19 89 80 80 74 68 65 20 44 54 45 20 73 68 61 ┆ow many digits, the DTE sha┆ 0x17480…174a0 6c 6c 20 75 73 65 20 69 6e 20 74 68 65 20 72 6f 75 74 69 6e 67 20 61 6c 67 6f 72 69 74 68 6d 20 ┆ll use in the routing algorithm ┆ 0x174a0…174c0 6f 66 20 61 6e 20 49 4e 43 4f 4d 49 4e 47 20 43 41 4c 4c 2e 0d 0a 0d 0a 09 84 54 68 65 20 66 69 ┆of an INCOMING CALL. The fi┆ 0x174c0…174e0 65 6c 64 20 73 75 62 5f 69 64 5f 6c 67 74 20 28 61 63 63 65 70 74 5f 72 61 6e 67 65 20 69 6e 74 ┆eld sub_id_lgt (accept_range int┆ 0x174e0…17500 65 72 6e 61 6c 20 69 6e 20 74 68 65 20 44 54 45 29 20 69 6e 20 74 68 65 20 0a 19 89 80 80 73 65 ┆ernal in the DTE) in the se┆ 0x17500…17520 72 76 69 63 65 20 70 72 69 6d 69 74 69 76 65 20 63 6f 6e 6e 65 63 74 5f 75 73 65 72 20 73 70 65 ┆rvice primitive connect_user spe┆ 0x17520…17540 63 69 66 69 65 73 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 6c 65 61 64 69 6e 67 20 64 69 80 ┆cifies the number of leading di ┆ 0x17540…17560 0a 19 89 80 80 67 69 74 73 20 6f 66 20 74 68 65 20 63 6f 6e 76 65 72 74 65 64 20 75 73 65 72 20 ┆ gits of the converted user ┆ 0x17560…17580 69 64 65 6e 74 69 66 69 63 61 74 69 6f 6e 20 74 6f 20 62 65 20 75 73 65 64 20 69 6e 20 66 69 6c ┆identification to be used in fil┆ 0x17580…175a0 74 65 72 69 6e 67 20 0a 19 89 80 80 61 6e 20 49 4e 43 4f 4d 49 4e 47 20 43 41 4c 4c 3a 0d 0a 0d ┆tering an INCOMING CALL: ┆ 0x175a0…175c0 0a 09 20 20 20 73 75 62 5f 69 64 5f 6c 67 74 20 3d 20 30 0d 0a 09 20 20 20 20 20 20 61 6c 6c 20 ┆ sub_id_lgt = 0 all ┆ 0x175c0…175e0 63 61 6c 6c 73 20 61 72 65 20 61 63 63 65 70 74 65 64 0d 0a 09 20 20 20 73 75 62 5f 69 64 5f 6c ┆calls are accepted sub_id_l┆ 0x175e0…17600 67 74 20 3d 20 31 0d 0a 09 20 20 20 20 20 20 84 6f 6e 6c 79 20 63 61 6c 6c 73 2c 20 77 68 65 72 ┆gt = 1 only calls, wher┆ 0x17600…17620 (187,) 65 20 74 68 65 20 66 69 72 73 74 20 64 69 67 69 74 20 6f 66 20 74 68 65 20 73 75 62 61 64 64 72 ┆e the first digit of the subaddr┆ 0x17620…17640 65 73 73 20 6d 61 74 63 68 65 73 20 0a 19 8f 80 80 77 69 74 68 20 74 68 65 20 66 69 72 73 74 20 ┆ess matches with the first ┆ 0x17640…17660 64 69 67 69 74 20 6f 66 20 74 68 65 20 75 73 65 72 20 69 64 65 6e 74 69 66 69 63 61 74 69 6f 6e ┆digit of the user identification┆ 0x17660…17680 2c 20 61 72 65 20 61 63 63 65 70 74 80 0a 19 8f 80 80 65 64 0d 0a 09 20 20 20 73 75 62 5f 69 64 ┆, are accept ed sub_id┆ 0x17680…176a0 5f 6c 67 74 20 3d 20 32 0d 0a 09 20 20 20 20 20 20 6f 6e 6c 79 20 63 61 6c 6c 73 2c 20 77 68 65 ┆_lgt = 2 only calls, whe┆ 0x176a0…176c0 72 65 20 74 77 6f 20 64 69 67 69 74 73 20 6d 61 74 63 68 2c 20 61 72 65 20 61 63 63 65 70 74 65 ┆re two digits match, are accepte┆ 0x176c0…176e0 64 0d 0a 09 20 20 20 73 75 62 5f 69 64 5f 6c 67 74 20 3d 20 33 0d 0a 09 20 20 20 20 20 20 6f 6e ┆d sub_id_lgt = 3 on┆ 0x176e0…17700 6c 79 20 63 61 6c 6c 73 2c 20 77 68 65 72 65 20 74 68 72 65 65 20 64 69 67 69 74 73 20 6d 61 74 ┆ly calls, where three digits mat┆ 0x17700…17720 63 68 2c 20 61 72 65 20 61 63 63 65 70 74 65 64 0d 0a 09 20 20 20 73 75 62 5f 69 64 5f 6c 67 74 ┆ch, are accepted sub_id_lgt┆ 0x17720…17740 20 3e 20 33 0d 0a 09 20 20 20 20 20 20 6e 6f 20 63 61 6c 6c 73 20 61 72 65 20 61 63 63 65 70 74 ┆ > 3 no calls are accept┆ 0x17740…17746 65 64 0d 0a 0d 0a ┆ed ┆ 0x17746…17749 FormFeed { 0x17746…17749 0c 80 a0 ┆ ┆ 0x17746…17749 } 0x17749…17760 0a a1 34 2e 31 2e 36 2e 32 09 44 54 45 20 41 64 64 72 65 73 73 2e 0d ┆ 4.1.6.2 DTE Address. ┆ 0x17760…17780 0a 0d 0a 09 84 54 68 65 20 44 54 45 20 61 64 64 72 65 73 73 20 69 73 20 74 68 65 20 61 64 64 72 ┆ The DTE address is the addr┆ 0x17780…177a0 65 73 73 20 6f 66 20 74 68 65 20 72 65 63 65 69 76 65 72 2f 73 65 6e 64 65 72 20 6f 66 20 61 20 ┆ess of the receiver/sender of a ┆ 0x177a0…177c0 43 41 4c 4c 20 0a 19 89 80 80 52 45 51 55 45 53 54 20 70 61 63 6b 65 74 2c 20 61 6e 64 20 63 6f ┆CALL REQUEST packet, and co┆ 0x177c0…177e0 6e 73 69 73 74 73 20 6f 66 20 74 77 6f 20 70 61 72 74 73 20 28 73 65 65 20 61 62 6f 76 65 29 2c ┆nsists of two parts (see above),┆ 0x177e0…17800 20 61 20 6e 65 74 77 6f 72 6b 20 0a 19 89 80 80 61 64 64 72 65 73 73 20 61 6e 64 20 61 20 73 75 ┆ a network address and a su┆ 0x17800…17820 (188,) 62 20 61 64 64 72 65 73 73 2e 20 54 68 65 20 6d 61 78 69 6d 75 6d 20 6c 65 6e 67 74 68 20 6f 66 ┆b address. The maximum length of┆ 0x17820…17840 20 61 20 44 54 45 20 61 64 64 72 65 73 73 20 69 73 20 0a 19 89 80 80 31 34 20 64 69 67 69 74 73 ┆ a DTE address is 14 digits┆ 0x17840…17860 20 28 64 74 65 5f 61 64 64 72 5f 6c 67 74 29 2e 0d 0a 0d 0a 09 84 54 68 65 20 6e 65 74 77 6f 72 ┆ (dte_addr_lgt). The networ┆ 0x17860…17880 6b 20 61 64 64 72 65 73 73 20 69 64 65 6e 74 69 66 69 65 73 20 61 20 44 54 45 20 6d 6f 64 75 6c ┆k address identifies a DTE modul┆ 0x17880…178a0 65 2f 70 68 79 73 69 63 61 6c 20 75 6e 69 74 20 61 6d 6f 6e 67 20 0a 19 89 80 80 61 6c 6c 20 44 ┆e/physical unit among all D┆ 0x178a0…178c0 54 45 20 6d 6f 64 75 6c 65 73 20 69 6e 20 74 68 65 20 6e 65 74 77 6f 72 6b 2e 0d 0a 0d 0a 09 84 ┆TE modules in the network. ┆ 0x178c0…178e0 54 68 65 20 6f 77 6e 20 6e 65 74 77 6f 72 6b 20 61 64 64 72 65 73 73 20 61 6e 64 20 74 68 65 20 ┆The own network address and the ┆ 0x178e0…17900 6c 65 6e 67 74 68 20 6f 66 20 69 74 20 28 6f 77 6e 5f 64 74 65 5f 61 64 72 29 2c 20 74 6f 67 65 ┆length of it (own_dte_adr), toge┆ 0x17900…17920 74 80 0a 19 89 80 80 68 65 72 20 77 69 74 68 20 74 68 65 20 61 63 74 75 61 6c 20 73 75 62 20 61 ┆t her with the actual sub a┆ 0x17920…17940 64 64 72 65 73 73 20 6c 65 6e 67 74 68 20 28 64 74 65 5f 63 6f 6e 66 5f 72 65 63 2e 75 73 65 72 ┆ddress length (dte_conf_rec.user┆ 0x17940…17960 5f 6c 65 6e 67 74 68 29 20 0a 19 89 80 80 61 72 65 20 70 72 6f 63 65 73 73 20 70 61 72 61 6d 65 ┆_length) are process parame┆ 0x17960…17980 74 65 72 73 20 74 6f 20 74 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 2e 20 41 74 20 69 6e 69 74 ┆ters to the dte process. At init┆ 0x17980…179a0 69 61 6c 69 7a 61 74 69 6f 6e 20 74 68 65 20 0a 19 89 80 80 64 74 65 20 70 72 6f 63 65 73 73 20 ┆ialization the dte process ┆ 0x179a0…179c0 63 68 65 63 6b 73 20 74 68 65 73 65 20 74 68 72 65 65 20 70 61 72 61 6d 65 74 65 72 73 3a 0d 0a ┆checks these three parameters: ┆ 0x179c0…179e0 0d 0a 09 09 75 73 65 72 5f 6c 65 6e 67 74 68 20 3c 3d 20 6d 61 78 5f 75 5f 61 64 72 0d 0a 09 09 ┆ user_length <= max_u_adr ┆ 0x179e0…17a00 61 64 72 5f 6c 67 74 68 20 20 20 20 3c 3d 20 64 74 65 5f 61 64 64 72 5f 6c 67 74 0d 0a 09 09 75 ┆adr_lgth <= dte_addr_lgt u┆ 0x17a00…17a20 (189,) 73 65 72 5f 6c 65 6e 67 74 68 20 2b 20 61 64 72 5f 6c 67 74 68 20 3c 3d 20 64 74 65 5f 61 64 64 ┆ser_length + adr_lgth <= dte_add┆ 0x17a20…17a40 72 5f 6c 67 74 0d 0a 09 09 61 64 72 28 49 29 20 61 72 65 20 61 6c 6c 20 64 69 67 69 74 73 0d 0a ┆r_lgt adr(I) are all digits ┆ 0x17a40…17a60 0d 0a 09 84 41 20 75 73 65 72 5f 6c 65 6e 67 74 68 20 61 6e 64 20 61 64 72 5f 6c 67 74 68 20 6f ┆ A user_length and adr_lgth o┆ 0x17a60…17a80 66 20 7a 65 72 6f 20 69 73 20 61 6c 6c 6f 77 65 64 2e 20 49 66 20 61 64 72 5f 6c 67 74 68 20 69 ┆f zero is allowed. If adr_lgth i┆ 0x17a80…17aa0 73 20 7a 65 72 6f 20 0a 19 89 80 80 75 73 65 72 5f 6c 65 6e 67 74 68 20 73 68 6f 75 6c 64 20 61 ┆s zero user_length should a┆ 0x17aa0…17ac0 6c 73 6f 20 62 65 20 73 65 74 20 74 6f 20 7a 65 72 6f 2e 0d 0a 0d 0a 09 84 54 68 65 20 63 6f 6e ┆lso be set to zero. The con┆ 0x17ac0…17ae0 63 61 74 65 6e 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 6e 65 74 77 6f 72 6b 20 61 64 64 72 65 73 ┆catenation of the network addres┆ 0x17ae0…17b00 73 20 61 6e 64 20 74 68 65 20 73 75 62 61 64 64 72 65 73 73 20 6d 61 79 20 0a 19 89 80 80 6e 6f ┆s and the subaddress may no┆ 0x17b00…17b20 74 20 61 6c 77 61 79 73 20 66 69 74 20 74 68 65 20 44 54 45 20 61 64 64 72 65 73 73 20 69 6e 20 ┆t always fit the DTE address in ┆ 0x17b20…17b40 6c 65 6e 67 74 68 2e 20 54 68 65 20 44 54 45 20 68 61 6e 64 6c 65 73 20 74 68 69 73 20 0a 19 89 ┆length. The DTE handles this ┆ 0x17b40…17b60 80 80 70 72 6f 62 6c 65 6d 20 61 63 63 6f 72 64 69 6e 67 20 74 6f 20 74 68 65 20 66 6f 6c 6c 6f ┆ problem according to the follo┆ 0x17b60…17b80 77 69 6e 67 20 66 6f 75 72 20 72 75 6c 65 73 3a 0d 0a 0d 0a 09 47 69 76 65 6e 3a 09 44 54 45 20 ┆wing four rules: Given: DTE ┆ 0x17b80…17ba0 61 64 64 72 65 73 73 20 6c 65 6e 67 74 68 09 09 3d 20 31 34 0d 0a 09 09 6e 65 74 77 6f 72 6b 20 ┆address length = 14 network ┆ 0x17ba0…17bc0 61 64 64 72 65 73 73 20 6c 65 6e 67 74 68 20 20 20 09 3d 20 20 78 0d 0a 09 09 75 73 65 72 20 69 ┆address length = x user i┆ 0x17bc0…17be0 64 65 6e 74 69 66 69 63 61 74 69 6f 6e 20 6c 65 6e 67 74 68 09 3d 20 20 79 0d 0a 09 09 73 75 62 ┆dentification length = y sub┆ 0x17be0…17c00 20 61 64 64 72 65 73 73 20 6c 65 6e 67 74 68 09 09 3d 20 31 34 2d 78 0d 0a 0d 0a 09 a1 52 75 6c ┆ address length = 14-x Rul┆ 0x17c00…17c20 (190,) 65 20 31 e1 3a 0d 0a 09 20 20 20 84 49 66 20 b0 73 65 6e 64 69 6e 67 20 61 20 43 41 4c 4c 20 52 ┆e 1 : If sending a CALL R┆ 0x17c20…17c40 45 51 55 45 53 54 20 70 61 63 6b 65 74 20 f0 61 6e 64 20 b0 28 31 34 2d 78 29 20 3c 20 79 20 f0 ┆EQUEST packet and (14-x) < y ┆ 0x17c40…17c60 74 68 65 20 75 73 65 72 20 69 64 65 6e 80 0a 19 8c 82 80 74 69 66 69 63 61 74 69 6f 6e 20 69 73 ┆the user iden tification is┆ 0x17c60…17c80 20 74 72 75 6e 63 61 74 65 64 20 74 6f 20 66 69 74 20 74 68 65 20 73 75 62 61 64 64 72 65 73 73 ┆ truncated to fit the subaddress┆ 0x17c80…17ca0 20 6c 65 6e 67 74 68 2e 0d 0a 0d 0a 09 a1 52 75 6c 65 20 32 e1 3a 0d 0a 09 20 20 20 84 49 66 20 ┆ length. Rule 2 : If ┆ 0x17ca0…17cc0 b0 73 65 6e 64 69 6e 67 20 61 20 43 41 4c 4c 20 52 45 51 55 45 53 54 20 70 61 63 6b 65 74 20 f0 ┆ sending a CALL REQUEST packet ┆ 0x17cc0…17ce0 61 6e 64 20 b0 28 31 34 2d 78 29 20 3e 20 79 20 f0 74 68 65 20 44 54 45 20 61 64 64 72 65 73 73 ┆and (14-x) > y the DTE address┆ 0x17ce0…17d00 20 0a 19 8c 82 80 69 66 20 66 69 6c 6c 65 64 20 77 69 74 68 20 62 69 6e 61 72 79 20 7a 65 72 6f ┆ if filled with binary zero┆ 0x17d00…17d20 27 73 20 61 66 74 65 72 20 74 68 65 20 73 75 62 61 64 64 72 65 73 73 2e 0d 0a 0d 0a 8c 80 a8 0a ┆'s after the subaddress. ┆ 0x17d20…17d40 09 a1 52 75 6c 65 20 33 e1 3a 0d 0a 09 20 20 20 84 49 66 20 b0 72 65 63 65 69 76 69 6e 67 20 61 ┆ Rule 3 : If receiving a┆ 0x17d40…17d60 6e 20 49 4e 43 4f 4d 49 4e 47 20 43 41 4c 4c 20 70 61 63 6b 65 74 20 f0 61 6e 64 20 b0 28 31 34 ┆n INCOMING CALL packet and (14┆ 0x17d60…17d80 2d 78 29 20 3c 20 79 20 f0 74 68 65 20 72 65 63 65 69 76 80 0a 19 8c 82 80 65 64 20 75 73 65 72 ┆-x) < y the receiv ed user┆ 0x17d80…17da0 20 69 64 65 6e 74 69 66 69 63 61 74 69 6f 6e 20 69 73 20 66 69 6c 6c 65 64 20 77 69 74 68 20 62 ┆ identification is filled with b┆ 0x17da0…17dc0 69 6e 61 72 79 20 7a 65 72 6f 27 73 2c 20 62 65 66 6f 72 65 20 74 68 65 20 0a 19 8c 82 80 72 6f ┆inary zero's, before the ro┆ 0x17dc0…17de0 75 74 69 6e 67 2f 73 65 61 72 63 68 69 6e 67 20 61 6c 67 6f 72 69 74 68 6d 20 69 73 20 69 6e 76 ┆uting/searching algorithm is inv┆ 0x17de0…17e00 6f 6b 65 64 2e 0d 0a 0d 0a 09 a1 52 75 6c 65 20 34 e1 3a 0d 0a 09 20 20 20 84 49 66 20 b0 72 65 ┆oked. Rule 4 : If re┆ 0x17e00…17e20 (191,) 63 65 69 76 69 6e 67 20 61 6e 20 49 4e 43 4f 4d 49 4e 47 20 43 41 4c 4c 20 70 61 63 6b 65 74 20 ┆ceiving an INCOMING CALL packet ┆ 0x17e20…17e40 f0 61 6e 64 20 b0 28 31 34 2d 78 29 20 3e 20 79 20 f0 74 68 65 20 72 65 80 0a 19 8c 82 80 63 65 ┆ and (14-x) > y the re ce┆ 0x17e40…17e60 69 76 65 64 20 75 73 65 72 20 69 64 65 6e 74 69 66 69 63 61 74 69 6f 6e 20 69 73 20 74 72 75 6e ┆ived user identification is trun┆ 0x17e60…17e80 63 61 74 65 64 2c 20 62 65 66 6f 72 65 20 74 68 65 20 72 6f 75 80 0a 19 8c 82 80 74 69 6e 67 2f ┆cated, before the rou ting/┆ 0x17e80…17ea0 73 65 61 72 80 63 68 80 69 6e 67 20 61 6c 67 6f 72 69 74 68 6d 20 69 73 20 69 6e 76 6f 6b 65 64 ┆sear ch ing algorithm is invoked┆ 0x17ea0…17ec0 2e 0d 0a 0d 0a 0d 0a 09 54 68 65 20 6e 65 78 74 20 74 77 6f 20 65 78 61 6d 70 6c 65 73 20 73 68 ┆. The next two examples sh┆ 0x17ec0…17ee0 6f 77 20 74 68 65 20 72 75 6c 65 73 20 69 6d 70 61 63 74 20 6f 6e 20 74 68 65 20 61 64 64 72 65 ┆ow the rules impact on the addre┆ 0x17ee0…17f00 73 73 65 73 2e 0d 0a 0d 0a b0 09 a1 45 78 61 6d 70 6c 65 20 32 3a 0d 0a 09 47 69 76 65 6e 3a 09 ┆sses. Example 2: Given: ┆ 0x17f00…17f20 75 73 65 72 5f 69 64 5f 6c 65 6e 67 74 68 09 3d 20 33 0d 0a 09 09 75 73 65 72 5f 69 64 09 09 3d ┆user_id_length = 3 user_id =┆ 0x17f20…17f40 20 27 31 32 33 27 0d 0a 09 09 6e 65 74 77 6f 72 6b 5f 61 64 64 72 5f 6c 65 6e 67 74 68 20 3d 20 ┆ '123' network_addr_length = ┆ 0x17f40…17f60 31 33 0d 0a 09 09 6f 77 6e 5f 6e 65 74 77 6f 72 6b 5f 61 64 64 72 09 3d 20 32 33 38 31 30 34 30 ┆13 own_network_addr = 2381040┆ 0x17f60…17f80 31 30 31 32 30 31 0d 0a 09 09 63 61 6c 6c 65 64 5f 64 74 65 5f 61 64 64 72 65 73 73 20 20 3d 20 ┆101201 called_dte_address = ┆ 0x17f80…17fa0 32 33 38 31 30 34 30 31 30 31 32 30 31 31 0d 0a 0d 0a 09 54 68 69 73 20 77 69 6c 6c 20 67 69 76 ┆23810401012011 This will giv┆ 0x17fa0…17fc0 65 3a 0d 0a 0d 0a 09 43 61 6c 6c 69 6e 67 20 64 74 65 20 61 64 64 72 65 73 73 20 69 6e 20 43 41 ┆e: Calling dte address in CA┆ 0x17fc0…17fe0 4c 4c 20 52 45 51 55 45 53 54 20 70 61 63 6b 65 74 20 28 72 75 6c 65 20 31 29 3a 0d 0a 09 09 a1 ┆LL REQUEST packet (rule 1): ┆ 0x17fe0…18000 32 33 38 31 30 34 30 31 30 31 32 30 31 31 0d 0a 0d 0a 09 84 55 73 65 72 20 69 64 65 6e 74 69 66 ┆23810401012011 User identif┆ 0x18000…18020 (192,) 69 63 61 74 69 6f 6e 20 73 75 62 74 72 61 63 74 65 64 20 66 72 6f 6d 20 63 61 6c 6c 65 64 5f 64 ┆ication subtracted from called_d┆ 0x18020…18040 74 65 5f 61 64 64 72 65 73 73 20 69 6e 20 61 6e 20 49 4e 43 4f 80 0a 19 89 80 80 4d 49 4e 47 20 ┆te_address in an INCO MING ┆ 0x18040…18060 43 41 4c 4c 20 70 61 63 6b 65 74 20 61 6e 64 20 75 73 65 64 20 69 6e 20 74 68 65 20 72 6f 75 74 ┆CALL packet and used in the rout┆ 0x18060…18080 69 6e 67 2f 73 65 61 72 63 68 69 6e 67 20 61 6c 67 6f 72 69 74 68 6d 20 28 72 75 6c 65 20 0a 19 ┆ing/searching algorithm (rule ┆ 0x18080…180a0 89 80 80 33 29 3a 0d 0a 09 09 a1 31 0d 0a 0d 0a b0 09 a1 45 78 61 6d 70 6c 65 20 33 3a 0d 0a 09 ┆ 3): 1 Example 3: ┆ 0x180a0…180c0 47 69 76 65 6e 3a 09 75 73 65 72 5f 69 64 5f 6c 65 6e 67 74 68 09 3d 20 33 0d 0a 09 09 75 73 65 ┆Given: user_id_length = 3 use┆ 0x180c0…180e0 72 5f 69 64 09 09 3d 20 27 31 32 33 27 0d 0a 09 09 6e 65 74 77 6f 72 6b 5f 61 64 64 72 5f 6c 65 ┆r_id = '123' network_addr_le┆ 0x180e0…18100 6e 67 74 68 09 3d 20 31 30 0d 0a 09 09 6f 77 6e 5f 6e 65 74 77 6f 72 6b 5f 61 64 64 72 09 3d 20 ┆ngth = 10 own_network_addr = ┆ 0x18100…18120 32 33 38 31 30 34 30 32 30 31 0d 0a 09 09 63 61 6c 6c 65 64 5f 64 74 65 5f 61 64 64 72 65 73 73 ┆2381040201 called_dte_address┆ 0x18120…18133 09 3d 20 32 33 38 31 30 34 30 32 30 31 31 32 33 34 0d 0a ┆ = 23810402011234 ┆ 0x18133…18136 FormFeed { 0x18133…18136 0c 80 a4 ┆ ┆ 0x18133…18136 } 0x18136…18140 0a 09 54 68 69 73 20 77 69 6c ┆ This wil┆ 0x18140…18160 6c 20 67 69 76 65 3a 0d 0a 0d 0a 09 43 61 6c 6c 69 6e 67 20 64 74 65 20 61 64 64 72 65 73 73 20 ┆l give: Calling dte address ┆ 0x18160…18180 69 6e 20 43 41 4c 4c 20 52 45 51 55 45 53 54 20 70 61 63 6b 65 74 20 28 72 75 6c 65 20 32 29 3a ┆in CALL REQUEST packet (rule 2):┆ 0x18180…181a0 0d 0a 09 09 a1 32 33 38 31 30 34 30 32 30 31 31 32 33 30 0d 0a 0d 0a 09 84 55 73 65 72 20 69 64 ┆ 23810402011230 User id┆ 0x181a0…181c0 65 6e 74 69 66 69 63 61 74 69 6f 6e 20 73 75 62 74 72 61 63 74 65 64 20 66 72 6f 6d 20 63 61 6c ┆entification subtracted from cal┆ 0x181c0…181e0 6c 65 64 5f 64 74 65 5f 61 64 64 72 65 73 73 20 69 6e 20 61 6e 20 49 4e 43 4f 80 0a 19 89 80 80 ┆led_dte_address in an INCO ┆ 0x181e0…18200 4d 49 4e 47 20 43 41 4c 4c 20 70 61 63 6b 65 74 20 61 6e 64 20 75 73 65 64 20 69 6e 20 74 68 65 ┆MING CALL packet and used in the┆ 0x18200…18220 (193,) 20 72 6f 75 74 69 6e 67 2f 73 65 61 72 63 68 69 6e 67 20 61 6c 67 6f 72 69 74 68 6d 20 28 72 75 ┆ routing/searching algorithm (ru┆ 0x18220…18240 6c 65 20 0a 19 89 80 80 34 29 3a 0d 0a 09 09 a1 31 32 33 34 0d 0a 0d 0a 0d 0a a1 34 2e 31 2e 36 ┆le 4): 1234 4.1.6┆ 0x18240…18260 2e 33 09 41 64 64 72 65 73 73 20 50 72 6f 63 65 64 75 72 65 73 2e 0d 0a 0d 0a 09 84 49 6e 20 6f ┆.3 Address Procedures. In o┆ 0x18260…18280 72 64 65 72 20 74 6f 20 62 65 20 61 62 6c 65 20 74 6f 20 70 65 72 66 6f 72 6d 20 74 68 65 20 61 ┆rder to be able to perform the a┆ 0x18280…182a0 62 6f 76 65 20 64 65 73 63 72 69 62 65 64 20 63 6f 6e 63 61 74 65 6e 61 74 69 6f 6e 2f 20 0a 19 ┆bove described concatenation/ ┆ 0x182a0…182c0 89 80 80 73 65 70 61 72 61 74 69 6f 6e 20 61 6e 64 20 70 61 63 6b 69 6e 67 2f 75 6e 70 61 63 6b ┆ separation and packing/unpack┆ 0x182c0…182e0 69 6e 67 20 6f 66 20 44 54 45 20 61 64 64 72 65 73 73 20 74 6f 2f 66 72 6f 6d 20 58 2e 32 35 20 ┆ing of DTE address to/from X.25 ┆ 0x182e0…18300 70 61 63 6b 80 0a 19 89 80 80 65 74 73 20 74 77 6f 20 70 72 6f 63 65 64 75 72 65 73 20 61 72 65 ┆pack ets two procedures are┆ 0x18300…18320 20 64 65 66 69 6e 65 64 3a 0d 0a 0d 0a b0 09 20 20 20 50 52 4f 43 45 44 55 52 45 20 70 61 63 6b ┆ defined: PROCEDURE pack┆ 0x18320…18340 5f 61 64 72 20 28 0d 0a 09 20 20 20 20 20 20 70 6b 74 5f 74 79 70 65 09 20 20 20 20 20 3a 20 70 ┆_adr ( pkt_type : p┆ 0x18340…18360 61 63 6b 65 74 5f 69 64 5f 74 79 70 65 3b 0d 0a 09 20 20 20 20 20 20 56 41 52 20 75 73 65 72 5f ┆acket_id_type; VAR user_┆ 0x18360…18380 72 65 66 2c 0d 0a 09 09 78 32 35 5f 72 65 66 20 20 20 20 20 20 20 20 3a 20 72 65 66 65 72 65 6e ┆ref, x25_ref : referen┆ 0x18380…183a0 63 65 3b 0d 0a 09 20 20 20 20 20 20 56 41 52 20 75 66 61 63 69 5f 73 74 61 72 74 2c 0d 0a 09 20 ┆ce; VAR ufaci_start, ┆ 0x183a0…183c0 20 20 20 20 20 20 20 20 20 78 66 61 63 69 5f 73 74 61 72 74 20 20 20 20 3a 20 69 6e 74 65 67 65 ┆ xfaci_start : intege┆ 0x183c0…183e0 72 3b 0d 0a 09 20 20 20 20 20 20 68 65 61 64 5f 69 6e 64 65 78 20 20 20 20 20 20 20 20 20 3a 20 ┆r; head_index : ┆ 0x183e0…18400 69 6e 74 65 67 65 72 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 56 41 52 20 6c 6f 63 ┆integer; VAR loc┆ 0x18400…18420 (194,) 61 6c 5f 75 73 65 72 20 20 20 20 20 3a 20 6c 6f 63 61 6c 5f 61 64 72 5f 74 79 70 65 3b 0d 0a 09 ┆al_user : local_adr_type; ┆ 0x18420…18440 20 20 20 20 20 20 56 41 52 20 6f 77 6e 2c 0d 0a 09 09 72 65 6d 6f 74 65 20 20 20 20 20 20 20 20 ┆ VAR own, remote ┆ 0x18440…18460 20 3a 20 61 64 72 5f 72 65 63 5f 74 79 70 65 3b 0d 0a 09 20 20 20 20 20 20 56 41 52 20 72 65 73 ┆ : adr_rec_type; VAR res┆ 0x18460…18480 75 6c 74 20 20 20 20 20 20 20 20 20 3a 20 62 79 74 65 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 ┆ult : byte ┆ 0x18480…184a0 20 20 20 29 3b 0d 0a 0d 0a 09 20 20 20 70 6b 74 5f 74 79 70 65 09 3a 20 84 53 70 65 63 69 66 69 ┆ ); pkt_type : Specifi┆ 0x184a0…184c0 65 73 20 77 68 65 74 68 65 72 20 69 74 20 69 73 20 61 20 43 41 4c 4c 20 52 45 51 55 45 53 54 20 ┆es whether it is a CALL REQUEST ┆ 0x184c0…184e0 6f 72 20 0a 19 9f 80 80 43 41 4c 4c 20 41 43 43 45 50 54 20 70 61 63 6b 65 74 2e 0d 0a 0d 0a 09 ┆or CALL ACCEPT packet. ┆ 0x184e0…18500 20 20 20 75 73 65 72 5f 72 65 66 09 3a 20 84 48 6f 6c 64 73 20 74 68 65 20 75 73 65 72 20 64 74 ┆ user_ref : Holds the user dt┆ 0x18500…18520 65 5f 63 61 6c 6c 5f 72 65 71 20 6d 65 73 73 61 67 65 2e 0d 0a 0d 0a 09 20 20 20 78 32 35 5f 72 ┆e_call_req message. x25_r┆ 0x18520…18540 65 66 09 3a 20 48 6f 6c 64 73 20 74 68 65 20 62 75 66 66 65 72 20 63 6f 6e 74 61 69 6e 69 6e 67 ┆ef : Holds the buffer containing┆ 0x18540…18560 20 74 68 65 20 58 2e 32 35 20 70 61 63 6b 65 74 2e 0d 0a 0d 0a 09 20 20 20 75 66 61 63 69 5f 73 ┆ the X.25 packet. ufaci_s┆ 0x18560…18580 74 61 72 74 09 3a 20 84 50 6f 69 6e 74 73 20 61 74 20 72 65 74 75 72 6e 20 74 6f 20 74 68 65 20 ┆tart : Points at return to the ┆ 0x18580…185a0 66 61 63 69 6c 69 74 69 65 73 20 69 6e 20 74 68 65 20 0a 19 9f 80 80 75 73 65 72 20 64 74 65 5f ┆facilities in the user dte_┆ 0x185a0…185c0 63 61 6c 6c 5f 72 65 71 2e 0d 0a 0d 0a 8c 80 a8 0a 09 20 20 20 78 66 61 63 69 5f 73 74 61 72 74 ┆call_req. xfaci_start┆ 0x185c0…185e0 09 3a 20 84 50 6f 69 6e 74 73 20 61 74 20 72 65 74 75 72 6e 20 74 6f 20 74 68 65 20 66 69 72 73 ┆ : Points at return to the firs┆ 0x185e0…18600 74 20 62 79 74 65 20 66 6f 72 20 0a 19 9f 80 80 66 61 63 69 6c 69 74 69 65 73 20 69 6e 20 74 68 ┆t byte for facilities in th┆ 0x18600…18620 (195,) 65 20 58 2e 32 35 20 70 61 63 6b 65 74 2e 0d 0a 0d 0a 09 20 20 20 68 65 61 64 5f 69 6e 64 65 78 ┆e X.25 packet. head_index┆ 0x18620…18640 09 3a 20 84 50 6f 69 6e 74 73 20 61 74 20 63 61 6c 6c 20 74 6f 20 74 68 65 20 66 69 72 73 74 20 ┆ : Points at call to the first ┆ 0x18640…18660 64 61 74 61 20 62 79 74 65 20 69 6e 20 74 68 65 20 0a 19 9f 80 80 75 73 65 72 20 64 74 65 5f 63 ┆data byte in the user dte_c┆ 0x18660…18680 61 6c 6c 5f 72 65 71 2e 0d 0a 0d 0a 09 20 20 20 6c 6f 63 61 6c 5f 75 73 65 72 09 3a 20 84 44 65 ┆all_req. local_user : De┆ 0x18680…186a0 66 69 6e 65 73 20 74 68 65 20 63 61 6c 6c 69 6e 67 20 6c 6f 63 61 6c 20 75 73 65 72 20 28 73 75 ┆fines the calling local user (su┆ 0x186a0…186c0 62 20 61 64 64 80 0a 19 9f 80 80 72 65 73 73 29 2e 0d 0a 0d 0a 09 20 20 20 6f 77 6e 09 09 3a 20 ┆b add ress). own : ┆ 0x186c0…186e0 44 65 66 69 6e 65 73 20 74 68 65 20 63 61 6c 6c 69 6e 67 20 6e 65 74 77 6f 72 6b 20 61 64 64 72 ┆Defines the calling network addr┆ 0x186e0…18700 65 73 73 2e 0d 0a 0d 0a 09 20 20 20 72 65 6d 6f 74 65 09 09 3a 20 43 6f 6e 74 61 69 6e 73 20 61 ┆ess. remote : Contains a┆ 0x18700…18720 74 20 72 65 74 75 72 6e 20 74 68 65 20 63 61 6c 6c 65 64 20 44 54 45 20 61 64 64 72 65 73 73 2e ┆t return the called DTE address.┆ 0x18720…18740 0d 0a 0d 0a 09 20 20 20 72 65 73 75 6c 74 09 09 3a 20 84 49 66 20 64 69 66 66 65 72 65 6e 74 20 ┆ result : If different ┆ 0x18740…18760 66 72 6f 6d 20 6f 6b 20 28 30 29 20 74 68 65 72 65 20 77 65 72 65 20 70 72 6f 62 6c 65 6d 73 20 ┆from ok (0) there were problems ┆ 0x18760…18780 0a 19 9f 80 80 69 6e 20 70 61 63 6b 69 6e 67 20 74 68 65 20 61 64 64 72 65 73 73 65 73 2e 0d 0a ┆ in packing the addresses. ┆ 0x18780…187a0 0d 0a 0d 0a b0 09 20 20 20 50 52 4f 43 45 44 55 52 45 20 75 6e 70 61 63 6b 5f 61 64 72 20 28 0d ┆ PROCEDURE unpack_adr ( ┆ 0x187a0…187c0 0a 09 20 20 20 20 20 20 56 41 52 20 75 73 65 72 5f 72 65 66 2c 0d 0a 09 20 20 20 20 20 20 09 78 ┆ VAR user_ref, x┆ 0x187c0…187e0 32 35 5f 72 65 66 09 20 20 20 20 20 3a 20 72 65 66 65 72 65 6e 63 65 3b 0d 0a 09 20 20 20 20 20 ┆25_ref : reference; ┆ 0x187e0…18800 20 56 41 52 20 75 66 61 63 69 5f 73 74 61 72 74 0d 0a 09 20 20 20 20 20 20 09 78 66 61 63 69 5f ┆ VAR ufaci_start xfaci_┆ 0x18800…18820 (196,) 73 74 61 72 74 20 20 20 20 3a 20 69 6e 74 65 67 65 72 3b 0d 0a 09 20 20 20 20 20 20 68 65 61 64 ┆start : integer; head┆ 0x18820…18840 5f 69 6e 64 65 78 20 20 20 20 20 20 20 20 20 3a 20 69 6e 74 65 67 65 72 3b 0d 0a 09 20 20 20 20 ┆_index : integer; ┆ 0x18840…18860 20 20 56 41 52 20 6c 6f 63 61 6c 5f 75 73 65 72 20 20 20 20 20 3a 20 6c 6f 63 61 6c 5f 61 64 72 ┆ VAR local_user : local_adr┆ 0x18860…18880 5f 74 79 70 65 3b 0d 0a 09 20 20 20 20 20 20 56 41 52 20 6f 77 6e 2c 0d 0a 09 09 72 65 6d 6f 74 ┆_type; VAR own, remot┆ 0x18880…188a0 65 20 20 20 20 20 20 20 20 20 3a 20 61 64 72 5f 72 65 63 5f 74 79 70 65 0d 0a 20 20 20 20 20 20 ┆e : adr_rec_type ┆ 0x188a0…188c0 20 20 20 20 20 20 20 20 20 29 3b 0d 0a 0d 0a 09 20 20 20 75 73 65 72 5f 72 65 66 09 3a 20 84 48 ┆ ); user_ref : H┆ 0x188c0…188e0 6f 6c 64 73 20 74 68 65 20 27 75 73 65 72 27 20 62 75 66 66 65 72 20 66 6f 72 20 61 6e 20 49 4e ┆olds the 'user' buffer for an IN┆ 0x188e0…18900 43 4f 4d 49 4e 47 20 0a 19 9f 80 80 43 41 4c 4c 2e 0d 0a 0d 0a 09 20 20 20 78 32 35 5f 72 65 66 ┆COMING CALL. x25_ref┆ 0x18900…18920 09 3a 20 84 48 6f 6c 64 73 20 74 68 65 20 6d 65 73 73 61 67 65 20 63 6f 6e 74 61 69 6e 69 6e 67 ┆ : Holds the message containing┆ 0x18920…18940 20 74 68 65 20 58 2e 32 35 20 0a 19 9f 80 80 49 4e 43 4f 4d 49 4e 47 20 43 41 4c 4c 20 70 61 63 ┆ the X.25 INCOMING CALL pac┆ 0x18940…18960 6b 65 74 2e 0d 0a 0d 0a 09 20 20 20 75 66 61 63 69 5f 73 74 61 72 74 09 3a 20 84 50 6f 69 6e 74 ┆ket. ufaci_start : Point┆ 0x18960…18980 73 20 61 74 20 72 65 74 75 72 6e 20 74 6f 20 74 68 65 20 66 69 72 73 74 20 62 79 74 65 20 66 6f ┆s at return to the first byte fo┆ 0x18980…189a0 72 20 0a 19 9f 80 80 66 61 63 69 6c 69 74 69 65 73 20 69 6e 20 74 68 65 20 27 75 73 65 72 27 20 ┆r facilities in the 'user' ┆ 0x189a0…189c0 62 75 66 66 65 72 2e 0d 0a 0d 0a 09 20 20 20 78 66 61 63 69 5f 73 74 61 72 74 09 3a 20 84 50 6f ┆buffer. xfaci_start : Po┆ 0x189c0…189e0 69 6e 74 73 20 61 74 20 72 65 74 75 72 6e 20 74 6f 20 74 68 65 20 66 69 72 73 74 20 62 79 74 65 ┆ints at return to the first byte┆ 0x189e0…18a00 20 6f 66 20 0a 19 9f 80 80 66 61 63 69 6c 69 74 69 65 73 20 69 6e 20 74 68 65 20 58 2e 32 35 20 ┆ of facilities in the X.25 ┆ 0x18a00…18a20 (197,) 70 61 63 6b 65 74 2e 0d 0a 0d 0a 8c 80 a8 0a 09 20 20 20 68 65 61 64 5f 69 6e 64 65 78 09 3a 20 ┆packet. head_index : ┆ 0x18a20…18a40 84 50 6f 69 6e 74 73 20 61 74 20 63 61 6c 6c 20 74 6f 20 74 68 65 20 66 69 72 73 74 20 64 61 74 ┆ Points at call to the first dat┆ 0x18a40…18a60 61 20 62 79 74 65 20 69 6e 20 0a 19 9f 80 80 74 68 65 20 27 75 73 65 72 27 20 62 75 66 66 65 72 ┆a byte in the 'user' buffer┆ 0x18a60…18a80 2e 0d 0a 0d 0a 09 20 20 20 6c 6f 63 61 6c 5f 75 73 65 72 09 3a 20 84 43 6f 6e 74 61 69 6e 73 20 ┆. local_user : Contains ┆ 0x18a80…18aa0 61 74 20 72 65 74 75 72 6e 20 74 68 65 20 63 61 6c 6c 65 64 20 6c 6f 63 61 6c 20 75 73 65 72 20 ┆at return the called local user ┆ 0x18aa0…18ac0 0a 19 9f 80 80 28 73 75 62 20 61 64 64 72 65 73 73 29 2e 0d 0a 0d 0a 09 20 20 20 6f 77 6e 09 09 ┆ (sub address). own ┆ 0x18ac0…18ae0 3a 20 84 4f 6e 6c 79 20 6e 65 74 77 6f 72 6b 20 61 64 64 72 65 73 73 20 6c 65 6e 67 74 68 20 28 ┆: Only network address length (┆ 0x18ae0…18b00 61 64 72 5f 6c 67 74 68 29 20 69 73 20 0a 19 9f 80 80 75 73 65 64 2e 0d 0a 0d 0a 09 20 20 20 72 ┆adr_lgth) is used. r┆ 0x18b00…18b20 65 6d 6f 74 65 09 09 3a 20 84 43 6f 6e 74 61 69 6e 73 20 61 74 20 72 65 74 75 72 6e 20 74 68 65 ┆emote : Contains at return the┆ 0x18b20…18b40 20 63 61 6c 6c 69 6e 67 20 44 54 45 20 61 64 64 72 65 73 73 2e 0d 0a 0d 0a 09 84 49 6e 20 61 70 ┆ calling DTE address. In ap┆ 0x18b40…18b60 70 65 6e 64 69 78 20 47 20 61 72 65 20 74 68 65 20 74 72 61 6e 73 66 65 72 20 66 72 6f 6d 20 75 ┆pendix G are the transfer from u┆ 0x18b60…18b80 73 65 72 20 64 74 65 5f 63 61 6c 6c 5f 72 65 71 20 74 6f 20 74 68 65 20 58 2e 32 35 20 0a 19 89 ┆ser dte_call_req to the X.25 ┆ 0x18b80…18ba0 80 80 43 41 4c 4c 20 52 45 51 55 45 53 54 20 70 61 63 6b 65 74 2c 20 66 72 6f 6d 20 58 2e 32 35 ┆ CALL REQUEST packet, from X.25┆ 0x18ba0…18bc0 20 49 4e 43 4f 4d 49 4e 47 20 43 41 4c 4c 20 70 61 63 6b 65 74 20 74 6f 20 75 73 65 72 20 6d 65 ┆ INCOMING CALL packet to user me┆ 0x18bc0…18be0 73 80 0a 19 89 80 80 73 61 67 65 20 73 68 6f 77 6e 2e 0d 0a 0d 0a 0d 0a a1 34 2e 31 2e 37 20 4e ┆s sage shown. 4.1.7 N┆ 0x18be0…18c00 61 6d 69 6e 67 20 6f 66 20 52 75 6e 6e 69 6e 67 20 50 72 6f 63 65 73 73 20 49 6e 63 61 72 6e 61 ┆aming of Running Process Incarna┆ 0x18c00…18c20 (198,) 74 69 6f 6e 73 2e 0d 0a 0d 0a 09 84 54 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 20 75 73 65 73 ┆tions. The dte process uses┆ 0x18c20…18c40 20 69 74 73 20 6f 77 6e 20 6e 61 6d 65 20 61 73 20 61 20 70 72 65 66 69 78 20 66 6f 72 20 74 68 ┆ its own name as a prefix for th┆ 0x18c40…18c60 65 20 6e 61 6d 65 73 20 6f 66 20 74 68 65 20 0a 19 89 80 80 63 68 69 6c 64 72 65 6e 20 69 6e 63 ┆e names of the children inc┆ 0x18c60…18c80 61 72 6e 61 74 69 6f 6e 73 2e 20 53 6f 6d 65 20 67 65 6e 65 72 61 6c 20 63 6f 6e 76 65 6e 74 69 ┆arnations. Some general conventi┆ 0x18c80…18ca0 6f 6e 73 20 66 6f 72 20 74 68 65 20 6e 61 6d 65 73 20 68 61 76 65 20 0a 19 89 80 80 62 65 65 6e ┆ons for the names have been┆ 0x18ca0…18cc0 20 64 65 66 69 6e 65 64 20 3a 0d 0a 0d 0a 09 20 20 31 2e 20 84 54 68 65 20 64 74 65 20 75 73 65 ┆ defined : 1. The dte use┆ 0x18cc0…18ce0 73 20 75 70 20 74 6f 20 66 6f 75 72 20 63 68 61 72 61 63 74 65 72 73 20 28 66 69 72 73 74 20 66 ┆s up to four characters (first f┆ 0x18ce0…18d00 6f 75 72 29 20 6f 66 20 69 74 73 20 6f 77 6e 20 0a 19 8e 80 80 6e 61 6d 65 20 28 6f 77 6e 2e 69 ┆our) of its own name (own.i┆ 0x18d00…18d20 6e 63 61 72 6e 61 6d 65 29 20 61 73 20 70 72 65 66 69 78 2e 0d 0a 0d 0a 09 20 20 32 2e 20 84 50 ┆ncarname) as prefix. 2. P┆ 0x18d20…18d40 72 6f 63 65 73 73 20 6f 66 20 74 68 65 20 74 72 61 63 65 2c 20 74 65 73 74 20 61 6e 64 20 73 6e ┆rocess of the trace, test and sn┆ 0x18d40…18d60 6f 6f 70 20 73 79 73 74 65 6d 73 20 77 69 6c 6c 20 68 61 76 65 20 6e 6f 20 27 5f 27 20 0a 19 8e ┆oop systems will have no '_' ┆ 0x18d60…18d80 80 80 62 65 74 77 65 65 6e 20 74 68 65 20 70 72 65 66 69 78 20 61 6e 64 20 74 68 65 20 6e 61 6d ┆ between the prefix and the nam┆ 0x18d80…18da0 65 2e 0d 0a 0d 0a 09 84 54 68 69 73 20 67 69 76 65 73 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 ┆e. This gives the following┆ 0x18da0…18dc0 20 6e 61 6d 65 73 20 6f 66 20 74 68 65 20 70 72 6f 63 65 73 73 20 69 6e 63 61 72 6e 61 74 69 6f ┆ names of the process incarnatio┆ 0x18dc0…18dc8 6e 73 20 3a 0d 0a 0d 0a ┆ns : ┆ 0x18dc8…18e01 Params { 0x18dc8…18e01 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x18dc8…18e01 00 00 00 00 00 00 00 00 0a 14 23 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ #(2<FKU_iså ┆ 0x18dc8…18e01 } 0x18e01…18e3a Params { 0x18e01…18e3a 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x18e01…18e3a 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x18e01…18e3a } 0x18e3a…18e40 0a 0d 0a 09 09 64 ┆ d┆ 0x18e40…18e60 74 65 09 3a 20 64 65 66 69 6e 65 64 20 62 79 20 66 61 74 68 65 72 20 70 72 6f 63 65 73 73 0d 0a ┆te : defined by father process ┆ 0x18e60…18e80 09 09 64 74 65 5f 61 63 63 65 73 73 09 3a 20 3c 70 72 65 66 69 78 3e 5f 61 63 63 65 73 73 0d 0a ┆ dte_access : <prefix>_access ┆ 0x18e80…18ea0 09 09 64 74 65 5f 63 68 61 6e 09 3a 20 3c 70 72 65 66 69 78 3e 5f 63 68 61 6e 3c 73 65 71 2e 20 ┆ dte_chan : <prefix>_chan<seq. ┆ 0x18ea0…18ec0 6e 6f 3e 0d 0a 09 09 64 74 65 5f 68 72 65 63 09 3a 20 3c 70 72 65 66 69 78 3e 5f 68 72 65 63 0d ┆no> dte_hrec : <prefix>_hrec ┆ 0x18ec0…18ee0 0a 09 09 64 74 65 5f 6c 63 6e 7a 65 72 6f 09 3a 20 3c 70 72 65 66 69 78 3e 5f 6c 63 6e 7a 65 72 ┆ dte_lcnzero : <prefix>_lcnzer┆ 0x18ee0…18f00 6f 0d 0a 09 09 70 6f 6f 6c 5f 68 61 6e 64 6c 65 72 09 3a 20 3c 70 72 65 66 69 78 3e 5f 70 6f 6f ┆o pool_handler : <prefix>_poo┆ 0x18f00…18f20 6c 0d 0a 09 09 64 74 65 74 65 73 74 09 3a 20 3c 70 72 65 66 69 78 3e 74 65 73 74 0d 0a 09 09 64 ┆l dtetest : <prefix>test d┆ 0x18f20…18f40 74 65 63 6c 6f 63 6b 09 3a 20 3c 70 72 65 66 69 78 3e 63 6c 6f 63 6b 0d 0a 8c 80 a7 0a 09 09 64 ┆teclock : <prefix>clock d┆ 0x18f40…18f60 74 65 74 72 61 63 65 09 3a 20 3c 70 72 65 66 69 78 3e 74 72 61 63 65 0d 0a 09 09 6f 75 74 74 72 ┆tetrace : <prefix>trace outtr┆ 0x18f60…18f80 61 63 65 09 3a 20 3c 70 72 65 66 69 78 3e 6f 75 74 74 72 61 63 65 0d 0a 09 09 73 6e 6f 6f 70 09 ┆ace : <prefix>outtrace snoop ┆ 0x18f80…18f95 3a 20 3c 70 72 65 66 69 78 3e 73 6e 6f 6f 70 0d 0a 0d 0a 0d 0a ┆: <prefix>snoop ┆ 0x18f95…18fce Params { 0x18f95…18fce 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x18f95…18fce 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 ff ff 04 ┆ (2<FKU_iså ┆ 0x18f95…18fce } 0x18fce…19007 Params { 0x18fce…19007 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x18fce…19007 00 00 00 00 00 00 00 00 0a 14 23 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ #(2<FKU_iså ┆ 0x18fce…19007 } 0x19007…19020 0a 09 84 54 68 65 20 70 72 6f 63 65 64 75 72 65 20 b0 63 5f 6e 61 6d 65 f0 ┆ The procedure c_name ┆ 0x19020…19040 20 69 73 20 75 73 65 64 20 74 6f 20 67 65 6e 65 72 61 74 65 20 74 68 65 20 6e 61 6d 65 73 20 3a ┆ is used to generate the names :┆ 0x19040…19060 0d 0a 0d 0a 09 20 20 b0 46 55 4e 43 54 49 4f 4e 20 63 5f 6e 61 6d 65 20 28 0d 0a 09 20 20 20 20 ┆ FUNCTION c_name ( ┆ 0x19060…19080 70 72 65 66 69 78 78 2c 0d 0a 09 20 20 20 20 73 75 66 66 69 78 78 20 20 20 3a 20 61 6c 66 61 3b ┆prefixx, suffixx : alfa;┆ 0x19080…190a0 0d 0a 09 20 20 20 20 66 75 6e 63 2c 0d 0a 09 20 20 20 20 69 6e 63 61 72 5f 6e 6f 20 20 3a 20 62 ┆ func, incar_no : b┆ 0x190a0…190c0 79 74 65 0d 0a 09 20 20 20 20 29 20 3a 20 61 6c 66 61 3b 0d 0a 0d 0a 09 70 72 65 66 69 78 78 20 ┆yte ) : alfa; prefixx ┆ 0x190c0…190e0 20 20 20 20 20 3a 20 4e 61 6d 65 20 6f 66 20 63 61 6c 6c 69 6e 67 20 70 72 6f 63 65 73 73 2e 0d ┆ : Name of calling process. ┆ 0x190e0…19100 0a 09 73 75 66 66 69 78 78 20 20 20 20 20 20 3a 20 43 68 61 72 61 63 74 65 72 73 20 74 6f 20 62 ┆ suffixx : Characters to b┆ 0x19100…19120 65 20 61 64 64 65 64 2e 0d 0a 09 66 75 6e 63 20 20 20 20 20 20 20 20 20 3a 20 44 65 66 69 6e 65 ┆e added. func : Define┆ 0x19120…19140 73 20 74 68 65 20 66 75 6e 63 74 69 6f 6e 20 74 6f 20 62 65 20 70 65 72 66 6f 72 6d 65 64 2e 0d ┆s the function to be performed. ┆ 0x19140…19160 0a 09 69 6e 63 61 72 5f 6e 6f 20 20 20 20 20 3a 20 84 41 20 73 65 71 75 65 6e 63 65 20 6e 75 6d ┆ incar_no : A sequence num┆ 0x19160…19180 62 65 72 20 61 64 64 65 64 20 61 73 20 74 68 65 20 6c 61 73 74 20 74 68 72 65 65 20 0a 19 98 80 ┆ber added as the last three ┆ 0x19180…191a0 80 63 68 61 72 61 63 74 65 72 73 20 69 66 20 66 75 6e 63 20 73 70 65 63 69 66 69 65 73 20 74 68 ┆ characters if func specifies th┆ 0x191a0…191a5 69 73 2e 0d 0a ┆is. ┆ 0x191a5…191a8 FormFeed { 0x191a5…191a8 0c 80 93 ┆ ┆ 0x191a5…191a8 } 0x191a8…191c0 0a 16 20 66 6f 72 6d 61 74 6c 69 6e 69 65 20 74 69 6c 20 52 43 20 6d 61 ┆ formatlinie til RC ma┆ 0x191c0…191e0 6e 75 61 6c 65 72 0d 0a 14 b3 0d 0a 14 b3 06 2d 20 0b 20 2d 0d 0a a1 34 2e 32 09 44 65 73 63 72 ┆nualer - - 4.2 Descr┆ 0x191e0…19200 69 70 74 69 6f 6e 20 6f 66 20 64 74 65 2e 0d 0a 0d 0a 09 84 54 68 65 20 64 74 65 20 28 73 75 70 ┆iption of dte. The dte (sup┆ 0x19200…19220 (201,) 65 72 76 69 73 6f 72 29 20 70 72 6f 63 65 73 73 20 69 73 20 74 68 65 20 70 61 72 65 6e 74 20 70 ┆ervisor) process is the parent p┆ 0x19220…19240 72 6f 63 65 73 73 20 6f 66 20 74 68 65 20 44 54 45 20 0a 19 89 80 80 4d 6f 64 75 6c 65 2f 53 79 ┆rocess of the DTE Module/Sy┆ 0x19240…19260 73 74 65 6d 20 61 73 20 61 6c 72 65 61 64 79 20 64 65 73 63 72 69 62 65 64 20 69 6e 20 63 68 61 ┆stem as already described in cha┆ 0x19260…19280 70 74 65 72 20 32 2e 0d 0a 09 54 68 65 20 6d 61 69 6e 20 70 75 72 70 6f 73 65 20 69 73 3a 0d 0a ┆pter 2. The main purpose is: ┆ 0x19280…192a0 0d 0a 09 31 29 20 84 63 72 65 61 74 69 6e 67 20 74 68 65 20 6f 74 68 65 72 20 44 54 45 20 70 72 ┆ 1) creating the other DTE pr┆ 0x192a0…192c0 6f 63 65 73 73 65 73 20 61 6e 64 20 64 79 6e 61 6d 69 63 61 6c 20 63 72 65 61 74 69 6e 67 2f 80 ┆ocesses and dynamical creating/ ┆ 0x192c0…192e0 0a 19 8c 80 80 72 65 6d 6f 76 69 6e 67 20 74 68 65 20 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 ┆ removing the dte_chan proce┆ 0x192e0…19300 73 73 20 69 6e 63 61 72 6e 61 74 69 6f 6e 73 0d 0a 0d 0a 09 32 29 20 84 63 72 65 61 74 69 6f 6e ┆ss incarnations 2) creation┆ 0x19300…19320 20 61 6e 64 20 72 65 6d 6f 76 61 6c 20 6f 66 20 74 68 65 20 44 54 45 20 54 72 61 63 65 20 61 6e ┆ and removal of the DTE Trace an┆ 0x19320…19340 64 20 54 65 73 74 20 53 79 73 74 65 6d 73 0d 0a 0d 0a 09 33 29 20 84 63 68 65 63 6b 69 6e 67 20 ┆d Test Systems 3) checking ┆ 0x19340…19360 72 75 6e 74 69 6d 65 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 44 54 45 ┆runtime configuration of the DTE┆ 0x19360…19380 0d 0a 0d 0a 09 34 29 20 68 61 6e 64 6c 69 6e 67 20 6f 66 20 4c 43 50 20 65 76 65 6e 74 73 20 61 ┆ 4) handling of LCP events a┆ 0x19380…193a0 6e 64 20 6f 70 65 72 61 74 69 6f 6e 73 0d 0a 0d 0a 09 35 29 20 84 68 61 6e 64 6c 69 6e 67 20 65 ┆nd operations 5) handling e┆ 0x193a0…193c0 76 65 6e 74 73 20 66 72 6f 6d 20 74 68 65 20 48 44 4c 43 4c 43 50 20 61 6e 64 20 63 6f 6e 6e 65 ┆vents from the HDLCLCP and conne┆ 0x193c0…193e0 63 74 69 6e 67 2f 64 69 73 63 6f 6e 6e 65 63 74 69 6e 67 20 0a 19 8c 80 80 74 68 65 20 68 64 6c ┆cting/disconnecting the hdl┆ 0x193e0…19400 63 20 6c 69 6e 65 0d 0a 0d 0a 09 36 29 20 84 6d 61 6e 61 67 65 6d 65 6e 74 20 6f 66 20 74 68 65 ┆c line 6) management of the┆ 0x19400…19420 (202,) 20 75 73 65 72 20 74 61 62 6c 65 20 69 6e 20 63 6f 6e 6e 65 63 74 69 6f 6e 20 77 69 74 68 20 74 ┆ user table in connection with t┆ 0x19420…19440 68 65 20 64 74 65 5f 61 63 63 65 73 73 20 0a 19 8c 80 80 70 72 6f 63 65 73 73 0d 0a 0d 0a 09 37 ┆he dte_access process 7┆ 0x19440…19460 29 20 84 6d 61 6b 69 6e 67 20 74 68 65 20 63 6f 6e 6e 65 63 74 69 6f 6e 20 62 65 74 77 65 65 6e ┆) making the connection between┆ 0x19460…19480 20 49 4e 43 4f 4d 49 4e 47 20 43 41 4c 4c 27 73 20 6f 72 20 75 73 65 72 20 0a 19 8c 80 80 64 74 ┆ INCOMING CALL's or user dt┆ 0x19480…194a0 65 5f 63 61 6c 6c 5f 72 65 71 27 73 2c 20 61 6e 64 20 74 68 65 20 6c 6f 63 61 6c 20 63 68 61 6e ┆e_call_req's, and the local chan┆ 0x194a0…194c0 6e 65 6c 20 70 72 6f 63 65 73 73 20 28 64 74 65 5f 63 68 61 6e 78 78 78 29 0d 0a 0d 0a 09 38 29 ┆nel process (dte_chanxxx) 8)┆ 0x194c0…194e0 20 84 68 61 6e 64 6c 69 6e 67 20 74 68 65 20 61 73 73 69 67 6e 65 64 20 6c 6f 67 69 63 61 6c 20 ┆ handling the assigned logical ┆ 0x194e0…19500 63 68 61 6e 6e 65 6c 20 6e 75 6d 62 65 72 73 20 61 6e 64 20 73 65 74 20 75 70 20 74 68 65 20 0a ┆channel numbers and set up the ┆ 0x19500…19520 19 8c 80 80 63 6f 6e 6e 65 63 74 69 6f 6e 20 62 65 74 77 65 65 6e 20 61 20 6c 6f 67 69 63 61 6c ┆ connection between a logical┆ 0x19520…19540 20 63 68 61 6e 6e 65 6c 20 6e 75 6d 62 65 72 20 61 6e 64 20 61 20 75 73 65 72 20 73 74 72 65 61 ┆ channel number and a user strea┆ 0x19540…19560 6d 20 0a 19 8c 80 80 6e 75 6d 62 65 72 2e 0d 0a 0d 0a 0d 0a a1 34 2e 32 2e 31 09 50 72 6f 63 65 ┆m number. 4.2.1 Proce┆ 0x19560…19580 73 73 20 50 61 72 61 6d 65 74 65 72 73 2e 0d 0a 0d 0a 09 20 20 20 50 52 4f 43 45 53 53 20 64 74 ┆ss Parameters. PROCESS dt┆ 0x19580…195a0 65 20 28 0d 0a 09 20 20 20 20 20 20 56 41 52 20 73 79 73 76 65 63 74 6f 72 20 20 20 20 20 20 3a ┆e ( VAR sysvector :┆ 0x195a0…195c0 20 73 79 73 74 65 6d 5f 76 65 63 74 6f 72 3b 0d 0a 09 20 20 20 20 20 20 56 41 52 20 64 74 65 5f ┆ system_vector; VAR dte_┆ 0x195c0…195e0 70 74 72 2c 0d 0a 09 20 20 20 20 20 09 73 75 70 5f 70 74 72 2c 0d 0a 09 09 6c 63 6e 30 5f 70 74 ┆ptr, sup_ptr, lcn0_pt┆ 0x195e0…19600 72 2c 0d 0a 09 09 68 72 65 63 5f 70 74 72 2c 0d 0a 09 09 70 6f 6f 6c 5f 70 74 72 2c 0d 0a 09 09 ┆r, hrec_ptr, pool_ptr, ┆ 0x19600…19620 (203,) 68 61 72 64 77 61 69 74 20 20 20 20 20 20 20 3a 20 21 20 74 61 70 5f 70 6f 69 6e 74 65 72 3b 0d ┆hardwait : ! tap_pointer; ┆ 0x19620…19640 0a 8c 80 a7 0a 09 20 20 20 20 20 20 56 41 52 20 68 64 6c 63 5f 73 65 6d 70 2c 0d 0a 09 09 74 69 ┆ VAR hdlc_semp, ti┆ 0x19640…19660 6d 65 6f 75 74 5f 73 65 6d 70 2c 0d 0a 09 09 6e 63 70 5f 73 65 6d 70 20 20 20 20 20 20 20 3a 20 ┆meout_semp, ncp_semp : ┆ 0x19660…19680 21 20 73 65 6d 70 6f 69 6e 74 65 72 3b 0d 0a 09 20 20 20 20 20 20 56 41 52 20 6c 6f 63 6b 73 65 ┆! sempointer; VAR lockse┆ 0x19680…196a0 6d 20 20 20 20 20 20 20 20 3a 20 73 65 6d 61 70 68 6f 72 65 3b 0d 0a 09 20 20 20 20 20 20 64 74 ┆m : semaphore; dt┆ 0x196a0…196c0 65 5f 6c 63 70 5f 69 64 20 20 20 20 20 20 20 20 20 3a 20 6c 63 70 5f 69 64 65 6e 74 5f 74 79 70 ┆e_lcp_id : lcp_ident_typ┆ 0x196c0…196e0 65 3b 0d 0a 09 20 20 20 20 20 20 68 64 6c 63 5f 70 61 72 61 6d 20 20 20 20 20 20 20 20 20 3a 20 ┆e; hdlc_param : ┆ 0x196e0…19700 68 64 6c 63 5f 63 70 5f 74 79 70 65 3b 0d 0a 09 20 20 20 20 20 20 64 74 65 5f 63 6f 6e 66 5f 72 ┆hdlc_cp_type; dte_conf_r┆ 0x19700…19720 65 63 20 20 20 20 20 20 20 3a 20 64 74 65 5f 63 70 5f 74 79 70 65 3b 0d 0a 20 09 20 20 20 20 20 ┆ec : dte_cp_type; ┆ 0x19720…19740 20 6f 77 6e 5f 64 74 65 5f 61 64 72 20 20 20 20 20 20 20 20 3a 20 61 64 72 5f 72 65 63 5f 74 79 ┆ own_dte_adr : adr_rec_ty┆ 0x19740…19760 70 65 3b 0d 0a 09 20 20 20 20 20 20 70 6f 6f 6c 5f 63 6f 6e 66 5f 72 65 63 09 20 20 20 20 20 3a ┆pe; pool_conf_rec :┆ 0x19760…19780 20 64 74 65 5f 70 63 5f 74 79 70 65 3b 0d 0a 09 20 20 20 20 20 20 64 65 62 75 67 5f 72 65 63 20 ┆ dte_pc_type; debug_rec ┆ 0x19780…197a0 20 20 20 20 20 20 20 20 20 3a 20 64 74 65 5f 64 63 5f 74 79 70 65 0d 0a 09 20 20 20 20 20 20 29 ┆ : dte_dc_type )┆ 0x197a0…197c0 3b 0d 0a 0d 0a 09 20 20 20 73 79 73 76 65 63 74 6f 72 20 20 20 20 3a 20 54 68 65 20 73 79 73 74 ┆; sysvector : The syst┆ 0x197c0…197e0 65 6d 20 73 65 6d 61 70 68 6f 72 65 73 2e 0d 0a 0d 0a 09 20 20 20 64 74 65 5f 70 74 72 20 20 20 ┆em semaphores. dte_ptr ┆ 0x197e0…19800 20 20 20 3a 20 4d 61 69 6e 20 73 65 6d 61 70 68 6f 72 65 20 70 6f 69 6e 74 65 72 20 6f 66 20 74 ┆ : Main semaphore pointer of t┆ 0x19800…19820 (204,) 68 65 20 44 54 45 20 6d 6f 64 75 6c 65 2e 0d 0a 0d 0a 09 20 20 20 73 75 70 5f 70 74 72 20 20 20 ┆he DTE module. sup_ptr ┆ 0x19820…19840 20 20 20 3a 20 64 74 65 20 6c 6f 63 61 6c 20 6d 61 69 6e 20 73 65 6d 61 70 68 6f 72 65 20 70 6f ┆ : dte local main semaphore po┆ 0x19840…19860 69 6e 74 65 72 2e 0d 0a 0d 0a 09 20 20 20 6c 63 6e 30 5f 70 74 72 20 20 20 20 20 3a 20 64 74 65 ┆inter. lcn0_ptr : dte┆ 0x19860…19880 5f 6c 63 6e 7a 65 72 6f 20 6d 61 69 6e 20 73 65 6d 61 70 68 6f 72 65 20 70 6f 69 6e 74 65 72 2e ┆_lcnzero main semaphore pointer.┆ 0x19880…198a0 0d 0a 0d 0a 09 20 20 20 68 72 65 63 5f 70 74 72 20 20 20 20 20 3a 20 64 74 65 5f 68 72 65 63 20 ┆ hrec_ptr : dte_hrec ┆ 0x198a0…198c0 6d 61 69 6e 20 73 65 6d 61 70 68 6f 72 65 20 70 6f 69 6e 74 65 72 2e 0d 0a 0d 0a 09 20 20 20 70 ┆main semaphore pointer. p┆ 0x198c0…198e0 6f 6f 6c 5f 70 74 72 20 20 20 20 20 3a 20 64 74 65 5f 70 6f 6f 6c 20 6d 61 69 6e 20 73 65 6d 61 ┆ool_ptr : dte_pool main sema┆ 0x198e0…19900 70 68 6f 72 65 20 70 6f 69 6e 74 65 72 2e 0d 0a 0d 0a 09 20 20 20 68 61 72 64 77 61 69 74 20 20 ┆phore pointer. hardwait ┆ 0x19900…19920 20 20 20 3a 20 4c 6f 63 61 6c 20 68 61 72 64 77 61 69 74 20 73 65 6d 61 70 68 6f 72 65 20 70 6f ┆ : Local hardwait semaphore po┆ 0x19920…19940 69 6e 74 65 72 2e 0d 0a 0d 0a 09 20 20 20 68 64 6c 63 5f 73 65 6d 70 20 20 20 20 3a 20 84 84 4d ┆inter. hdlc_semp : M┆ 0x19940…19960 61 69 6e 20 73 65 6d 61 70 68 6f 72 65 20 70 6f 69 6e 74 65 72 20 6f 66 20 74 68 65 20 48 44 4c ┆ain semaphore pointer of the HDL┆ 0x19960…19980 43 4c 43 50 20 6d 6f 64 75 6c 65 2e 0d 0a 0d 0a 09 20 20 20 74 69 6d 65 6f 75 74 5f 73 65 6d 70 ┆CLCP module. timeout_semp┆ 0x19980…199a0 20 3a 20 84 4d 61 69 6e 20 73 65 6d 61 70 68 6f 72 65 20 70 6f 69 6e 74 65 72 20 6f 66 20 74 68 ┆ : Main semaphore pointer of th┆ 0x199a0…199c0 65 20 54 49 4d 45 4f 55 54 20 6d 6f 64 75 6c 65 2e 0d 0a 0d 0a 09 20 20 20 6e 63 70 5f 73 65 6d ┆e TIMEOUT module. ncp_sem┆ 0x199c0…199e0 70 20 20 20 20 20 3a 20 84 4d 61 69 6e 20 73 65 6d 61 70 68 6f 72 65 20 70 6f 69 6e 74 65 72 20 ┆p : Main semaphore pointer ┆ 0x199e0…19a00 6f 66 20 74 68 65 20 4e 43 50 20 6d 6f 64 75 6c 65 2e 0d 0a 0d 0a 09 20 20 20 6c 6f 63 6b 73 65 ┆of the NCP module. lockse┆ 0x19a00…19a20 (205,) 6d 20 20 20 20 20 20 3a 20 43 6f 6e 73 6f 6c 65 20 61 63 63 65 73 73 20 73 65 6d 61 70 68 6f 72 ┆m : Console access semaphor┆ 0x19a20…19a40 65 2e 0d 0a 0d 0a 09 20 20 20 64 74 65 5f 6c 63 70 5f 69 64 20 20 20 3a 20 6c 63 70 5f 69 64 20 ┆e. dte_lcp_id : lcp_id ┆ 0x19a40…19a60 28 6c 63 70 20 61 64 64 72 65 73 73 29 20 6f 66 20 74 68 65 20 44 54 45 20 6d 6f 64 75 6c 65 2e ┆(lcp address) of the DTE module.┆ 0x19a60…19a64 0d 0a 0d 0a ┆ ┆ 0x19a64…19a67 FormFeed { 0x19a64…19a67 0c 80 a4 ┆ ┆ 0x19a64…19a67 } 0x19a67…19a80 0a 09 20 20 20 68 64 6c 63 5f 70 61 72 61 6d 20 20 20 3a 20 68 64 6c 63 20 ┆ hdlc_param : hdlc ┆ 0x19a80…19aa0 63 6f 6e 6e 65 63 74 20 70 61 72 61 6d 65 74 65 72 73 0d 0a 09 09 20 20 20 20 20 20 20 20 68 64 ┆connect parameters hd┆ 0x19aa0…19ac0 6c 63 5f 63 70 5f 74 79 70 65 20 3d 20 72 65 63 6f 72 64 0d 0a 09 09 20 20 20 20 20 20 20 20 20 ┆lc_cp_type = record ┆ 0x19ac0…19ae0 20 74 65 73 74 5f 6d 6f 64 65 6d 2c 20 20 20 20 20 20 20 20 20 20 20 28 2a 20 74 72 75 65 20 69 ┆ test_modem, (* true i┆ 0x19ae0…19b00 66 20 6d 6f 64 65 6d 20 2a 29 0d 0a 09 09 09 09 20 20 20 20 20 20 20 20 20 20 20 20 28 2a 20 73 ┆f modem *) (* s┆ 0x19b00…19b20 69 67 6e 61 6c 73 20 73 68 61 6c 6c 20 2a 29 0d 0a 09 09 09 09 20 20 20 20 20 20 20 20 20 20 20 ┆ignals shall *) ┆ 0x19b20…19b40 20 28 2a 20 62 65 20 74 65 73 74 65 64 20 20 20 20 20 2a 29 0d 0a 09 09 09 63 6f 6d 32 30 34 20 ┆ (* be tested *) com204 ┆ 0x19b40…19b60 20 20 20 3a 20 62 6f 6f 6c 65 61 6e 3b 20 20 28 2a 20 74 72 75 65 20 69 66 20 48 44 4c 43 20 20 ┆ : boolean; (* true if HDLC ┆ 0x19b60…19b80 2a 29 0d 0a 09 09 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 2a 20 ┆*) (* ┆ 0x19b80…19ba0 69 73 20 43 4f 4d 32 30 34 20 20 20 20 20 2a 29 0d 0a 09 09 09 63 5f 69 64 2c 09 20 20 20 20 20 ┆is COM204 *) c_id, ┆ 0x19ba0…19bc0 20 20 20 20 20 20 20 28 2a 20 73 65 65 20 72 65 66 20 28 39 29 20 20 20 2a 29 0d 0a 09 09 09 74 ┆ (* see ref (9) *) t┆ 0x19bc0…19be0 31 2c 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 2a 20 20 20 2d 20 22 20 2d 20 ┆1, (* - " - ┆ 0x19be0…19c00 20 20 20 20 20 20 2a 29 0d 0a 09 09 09 6e 32 20 20 20 20 20 20 20 20 3a 20 69 6e 74 65 67 65 72 ┆ *) n2 : integer┆ 0x19c00…19c20 (206,) 3b 20 20 28 2a 20 20 20 2d 20 22 20 2d 20 20 20 20 20 20 20 2a 29 0d 0a 09 09 09 6b 20 20 20 20 ┆; (* - " - *) k ┆ 0x19c20…19c40 20 20 20 20 20 3a 20 62 79 74 65 3b 20 20 20 20 20 28 2a 20 20 20 2d 20 22 20 2d 20 20 20 20 20 ┆ : byte; (* - " - ┆ 0x19c40…19c60 20 20 2a 29 0d 0a 09 09 20 20 20 20 20 20 20 20 20 20 66 72 61 6d 65 73 70 61 63 65 2c 20 20 20 ┆ *) framespace, ┆ 0x19c60…19c80 20 20 20 20 20 20 20 20 28 2a 20 20 20 2d 20 22 20 2d 20 20 20 20 20 20 20 2a 29 0d 0a 09 09 09 ┆ (* - " - *) ┆ 0x19c80…19ca0 61 62 6f 72 74 73 70 61 63 65 3a 20 69 6e 74 65 67 65 72 3b 20 20 28 2a 20 20 20 2d 20 22 20 2d ┆abortspace: integer; (* - " -┆ 0x19ca0…19cbf 20 20 20 20 20 20 20 2a 29 0d 0a 09 09 20 20 20 20 20 20 20 20 20 20 65 6e 64 3b 09 0a 0d 0a ┆ *) end; ┆ 0x19cbf…19cf8 Params { 0x19cbf…19cf8 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x19cbf…19cf8 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x19cbf…19cf8 } 0x19cf8…19d31 Params { 0x19cf8…19d31 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x19cf8…19d31 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 ff ff 04 ┆ (2<FKU_iså ┆ 0x19cf8…19d31 } 0x19d31…19d40 0a 0d 0a 09 64 74 65 5f 63 6f 6e 66 5f 72 65 ┆ dte_conf_re┆ 0x19d40…19d60 63 20 3a 20 52 75 6e 20 74 69 6d 65 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 6f 66 20 74 68 ┆c : Run time configuration of th┆ 0x19d60…19d80 65 20 44 54 45 20 6d 6f 64 75 6c 65 0d 0a 09 09 20 20 20 20 20 64 74 65 5f 63 70 5f 74 79 70 65 ┆e DTE module dte_cp_type┆ 0x19d80…19da0 20 3d 20 72 65 63 6f 72 64 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ = record ┆ 0x19da0…19dc0 20 20 20 20 20 78 32 35 5f 6c 63 67 20 20 20 20 20 20 3a 62 69 74 34 20 20 20 20 28 2a 20 6c 6f ┆ x25_lcg :bit4 (* lo┆ 0x19dc0…19de0 67 69 63 61 6c 20 67 72 6f 75 70 20 6e 75 6d 62 65 72 20 2a 29 0d 0a 09 09 20 20 20 20 20 20 20 ┆gical group number *) ┆ 0x19de0…19e00 64 6c 74 63 2c 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 2a 20 64 65 66 61 75 6c 74 ┆dltc, (* default┆ 0x19e00…19e20 (207,) 20 6c 6f 77 65 73 74 20 74 77 6f 2d 20 20 2a 29 0d 0a 09 09 09 20 20 20 20 20 20 20 20 20 20 20 ┆ lowest two- *) ┆ 0x19e20…19e40 20 20 20 20 20 20 20 20 28 2a 20 77 61 79 20 63 68 61 6e 6e 65 6c 20 6e 75 6d 62 65 72 20 20 20 ┆ (* way channel number ┆ 0x19e40…19e60 2a 29 0d 0a 09 09 20 20 20 20 20 20 20 64 68 74 63 20 20 20 20 20 20 20 20 20 3a 69 6e 74 65 67 ┆*) dhtc :integ┆ 0x19e60…19e80 65 72 3b 28 2a 20 64 65 66 61 75 6c 74 20 68 69 67 68 65 73 74 20 74 77 6f 2d 20 2a 29 0d 0a 09 ┆er;(* default highest two- *) ┆ 0x19e80…19ea0 09 09 09 20 20 20 20 20 20 20 20 20 28 2a 20 77 61 79 20 63 68 61 6e 6e 65 6c 20 6e 75 6d 62 65 ┆ (* way channel numbe┆ 0x19ea0…19ec0 72 20 20 20 2a 29 0d 0a 09 09 20 20 20 20 20 20 20 6d 61 78 5f 63 68 61 6e 2c 20 20 20 20 20 20 ┆r *) max_chan, ┆ 0x19ec0…19ee0 20 20 20 20 20 20 20 28 2a 20 6d 61 78 69 6d 75 6d 20 58 2e 32 35 20 63 68 61 6e 6e 65 6c 73 2a ┆ (* maximum X.25 channels*┆ 0x19ee0…19f00 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 77 5f ┆) dw_┆ 0x19f00…19f20 73 69 7a 65 2c 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 2a 20 64 65 66 61 75 6c 74 20 77 69 ┆size, (* default wi┆ 0x19f20…19f40 6e 64 6f 77 20 73 69 7a 65 20 20 2a 29 0d 0a 09 09 20 20 20 20 20 20 20 6d 61 78 77 5f 73 69 7a ┆ndow size *) maxw_siz┆ 0x19f40…19f60 65 2c 20 20 20 20 20 20 20 20 20 20 20 20 28 2a 20 6d 61 78 20 77 69 6e 64 6f 77 20 73 69 7a 65 ┆e, (* max window size┆ 0x19f60…19f80 20 20 20 20 20 20 2a 29 0d 0a 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 75 73 65 72 ┆ *) user┆ 0x19f80…19fa0 5f 6c 65 6e 67 74 68 20 20 3a 62 79 74 65 3b 20 20 20 28 2a 20 61 63 74 75 61 6c 20 75 73 65 72 ┆_length :byte; (* actual user┆ 0x19fa0…19fc0 20 69 64 20 20 20 20 20 20 20 2a 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ id *) ┆ 0x19fc0…19fe0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 2a ┆ (*┆ 0x19fe0…1a000 20 6c 65 6e 67 74 68 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2a 29 0d 0a 20 20 20 20 20 20 ┆ length *) ┆ 0x1a000…1a020 (208,) 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 78 32 35 5f 64 61 74 61 73 69 7a 65 ┆ x25_datasize┆ 0x1a020…1a040 20 3a 69 6e 74 65 67 65 72 3b 28 2a 20 58 2e 32 35 20 64 61 74 61 20 70 61 63 6b 65 74 20 20 20 ┆ :integer;(* X.25 data packet ┆ 0x1a040…1a060 20 20 2a 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ *) ┆ 0x1a060…1a080 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 2a 20 73 69 7a 65 20 20 20 ┆ (* size ┆ 0x1a080…1a0a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2a 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ *) ┆ 0x1a0a0…1a0c0 20 20 20 20 20 20 20 20 20 20 20 20 65 6e 64 3b 0d 0a 0d 0a 09 6f 77 6e 5f 64 74 65 5f 61 64 72 ┆ end; own_dte_adr┆ 0x1a0c0…1a0e0 20 20 3a 20 54 68 65 20 58 2e 32 35 20 61 64 64 72 65 73 73 20 6f 66 20 74 68 69 73 20 44 54 45 ┆ : The X.25 address of this DTE┆ 0x1a0e0…1a0fb 20 28 73 65 65 20 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 31 2e 36 29 0d 0a 0d 0a ┆ (see subsection 4.1.6) ┆ 0x1a0fb…1a0fe FormFeed { 0x1a0fb…1a0fe 0c 80 a2 ┆ ┆ 0x1a0fb…1a0fe } 0x1a0fe…1a100 0a 09 ┆ ┆ 0x1a100…1a120 70 6f 6f 6c 5f 63 6f 6e 66 5f 72 65 63 3a 20 43 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 6f 66 20 ┆pool_conf_rec: Configuration of ┆ 0x1a120…1a140 69 6e 74 65 72 6e 61 6c 20 70 6f 6f 6c 73 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆internal pools ┆ 0x1a140…1a160 20 20 20 20 20 20 20 20 64 74 65 5f 70 63 5f 74 79 70 65 20 3d 20 72 65 63 6f 72 64 0d 0a 20 20 ┆ dte_pc_type = record ┆ 0x1a160…1a180 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 75 70 68 65 61 64 5f ┆ suphead_┆ 0x1a180…1a1a0 6e 6f 2c 20 20 20 20 20 20 20 20 20 20 20 20 28 2a 20 6e 6f 2e 20 6f 66 20 69 6e 74 65 72 6e 61 ┆no, (* no. of interna┆ 0x1a1a0…1a1c0 6c 20 20 20 2a 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆l *) ┆ 0x1a1c0…1a1e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 2a 20 20 68 65 61 ┆ (* hea┆ 0x1a1e0…1a200 64 65 72 73 20 20 20 20 20 20 20 20 20 20 2a 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ders *) ┆ 0x1a200…1a220 (209,) 20 20 20 20 20 20 20 20 20 20 20 20 73 75 70 6d 65 73 73 5f 6e 6f 2c 20 20 20 20 20 20 20 20 20 ┆ supmess_no, ┆ 0x1a220…1a240 20 20 20 28 2a 20 6e 6f 2e 20 6f 66 20 69 6e 74 65 72 6e 61 6c 20 20 20 2a 29 0d 0a 20 20 20 20 ┆ (* no. of internal *) ┆ 0x1a240…1a260 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1a260…1a280 20 20 20 20 20 20 20 20 20 20 20 20 20 28 2a 20 73 75 70 65 72 76 69 73 6f 72 20 62 75 66 66 65 ┆ (* supervisor buffe┆ 0x1a280…1a2a0 72 73 2a 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆rs*) ┆ 0x1a2a0…1a2c0 65 76 65 6e 74 62 75 66 5f 6e 6f 2c 20 20 20 20 20 20 20 20 20 20 20 28 2a 20 6e 6f 2e 20 6f 66 ┆eventbuf_no, (* no. of┆ 0x1a2c0…1a2e0 20 69 6e 74 65 72 6e 61 6c 20 20 20 2a 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ internal *) ┆ 0x1a2e0…1a300 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1a300…1a320 20 28 2a 20 65 76 65 6e 74 20 62 75 66 66 65 72 73 20 20 20 20 20 2a 29 0d 0a 20 20 20 20 20 20 ┆ (* event buffers *) ┆ 0x1a320…1a340 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 68 64 6c 63 5f 65 76 65 6e 74 6e 6f ┆ hdlc_eventno┆ 0x1a340…1a360 3a 20 69 6e 74 65 67 65 72 3b 20 28 2a 20 6e 6f 2e 20 6f 66 20 68 64 6c 63 20 20 20 20 20 20 20 ┆: integer; (* no. of hdlc ┆ 0x1a360…1a380 2a 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆*) ┆ 0x1a380…1a3a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 2a 20 65 76 65 6e 74 20 62 75 ┆ (* event bu┆ 0x1a3a0…1a3c0 66 66 65 72 73 20 20 20 20 20 2a 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ffers *) ┆ 0x1a3c0…1a3e0 20 20 20 20 20 20 20 20 65 6e 64 3b 0d 0a 0d 0a 09 64 65 62 75 67 5f 72 65 63 20 20 20 20 3a 20 ┆ end; debug_rec : ┆ 0x1a3e0…1a400 44 65 62 75 67 20 70 61 72 61 6d 65 74 65 72 73 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆Debug parameters ┆ 0x1a400…1a420 (210,) 20 20 20 20 20 20 20 20 20 20 64 74 65 5f 64 63 5f 74 79 70 65 20 3d 20 72 65 63 6f 72 64 0d 0a ┆ dte_dc_type = record ┆ 0x1a420…1a440 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 74 65 74 65 73 ┆ dtetes┆ 0x1a440…1a460 74 2c 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 2a 20 74 72 75 65 20 69 66 20 62 61 63 6b ┆t, (* true if back┆ 0x1a460…1a480 20 74 6f 20 20 20 2a 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ to *) ┆ 0x1a480…1a4a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 2a 20 62 61 ┆ (* ba┆ 0x1a4a0…1a4c0 63 6b 20 74 65 73 74 20 20 20 20 20 20 20 20 20 2a 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 ┆ck test *) ┆ 0x1a4c0…1a4e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 6e 6f 6f 70 5f 6f 6e 2c 20 20 20 20 20 20 20 20 20 ┆ snoop_on, ┆ 0x1a4e0…1a500 20 20 20 20 20 28 2a 20 74 72 75 65 20 69 66 20 69 6e 74 65 72 6e 61 6c 20 20 2a 29 0d 0a 20 20 ┆ (* true if internal *) ┆ 0x1a500…1a520 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1a520…1a540 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 2a 20 6d 65 73 73 61 67 65 20 73 6e 6f 6f 70 20 ┆ (* message snoop ┆ 0x1a540…1a560 20 20 20 20 2a 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ *) ┆ 0x1a560…1a580 20 20 64 65 66 5f 74 72 61 63 65 3a 20 62 6f 6f 6c 65 61 6e 3b 20 20 20 20 28 2a 20 74 72 75 65 ┆ def_trace: boolean; (* true┆ 0x1a580…1a5a0 20 69 66 20 58 2e 32 35 20 20 20 20 20 20 2a 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ if X.25 *) ┆ 0x1a5a0…1a5c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1a5c0…1a5e0 20 20 20 28 2a 20 6c 65 76 65 6c 20 33 20 74 72 61 63 65 20 20 20 20 20 2a 29 0d 0a 20 20 20 20 ┆ (* level 3 trace *) ┆ 0x1a5e0…1a600 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 65 66 5f 74 65 73 74 20 3a ┆ def_test :┆ 0x1a600…1a620 (211,) 20 74 65 73 74 72 65 63 74 79 70 65 3b 28 2a 20 74 65 73 74 20 62 69 74 73 20 20 20 20 20 20 20 ┆ testrectype;(* test bits ┆ 0x1a620…1a640 20 20 2a 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ *) ┆ 0x1a640…1a660 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 2a 20 73 65 65 20 73 65 ┆ (* see se┆ 0x1a660…1a680 63 74 69 6f 6e 20 36 2e 32 20 20 20 2a 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ction 6.2 *) ┆ 0x1a680…1a6a0 20 20 20 20 20 20 20 20 20 20 65 6e 64 3b 0d 0a 0d 0a 0d 0a a1 34 2e 32 2e 32 09 53 74 61 74 65 ┆ end; 4.2.2 State┆ 0x1a6a0…1a6c0 73 2e 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 84 54 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 20 ┆s. The dte process ┆ 0x1a6c0…1a6e0 6d 61 69 6e 74 61 69 6e 73 20 61 20 73 74 61 74 65 20 76 61 72 69 61 62 6c 65 2c 20 64 74 65 5f ┆maintains a state variable, dte_┆ 0x1a6e0…1a700 73 74 61 74 65 2c 20 77 68 69 63 68 20 72 65 66 80 0a 19 89 80 80 6c 65 63 74 73 20 74 68 65 20 ┆state, which ref lects the ┆ 0x1a700…1a720 73 74 61 74 65 20 6f 66 20 74 68 65 20 77 68 6f 6c 65 20 44 54 45 20 6d 6f 64 75 6c 65 2e 20 49 ┆state of the whole DTE module. I┆ 0x1a720…1a740 74 20 61 6c 73 6f 20 6d 61 69 6e 74 61 69 6e 73 20 61 20 73 74 61 80 74 65 20 0a 19 89 80 80 76 ┆t also maintains a sta te v┆ 0x1a740…1a760 61 72 69 61 62 6c 65 2c 20 6c 69 6e 65 5f 73 74 61 74 65 2c 20 77 68 69 63 68 20 72 65 66 6c 65 ┆ariable, line_state, which refle┆ 0x1a760…1a780 63 74 73 20 74 68 65 20 44 54 45 27 73 20 76 69 65 77 20 6f 66 20 74 68 65 20 68 64 6c 63 20 0a ┆cts the DTE's view of the hdlc ┆ 0x1a780…1a7a0 19 89 80 80 6c 69 6e 65 20 28 73 65 65 20 61 6c 73 6f 20 73 75 62 73 65 63 74 69 6f 6e 20 34 2e ┆ line (see also subsection 4.┆ 0x1a7a0…1a7c0 32 2e 38 29 2e 0d 0a 0d 0a 09 b0 64 74 65 5f 73 74 61 74 65 3a 0d 0a 0d 0a 09 b0 20 20 20 64 74 ┆2.8). dte_state: dt┆ 0x1a7c0…1a7e0 65 5f 72 65 61 64 79 20 20 20 20 20 84 f0 74 68 65 20 44 54 45 20 69 73 20 69 6e 20 72 65 61 64 ┆e_ready the DTE is in read┆ 0x1a7e0…1a800 79 20 73 74 61 74 65 2c 20 69 2e 65 2e 20 72 31 20 61 63 63 6f 72 64 69 6e 67 20 74 6f 20 0a 19 ┆y state, i.e. r1 according to ┆ 0x1a800…1a820 (212,) 9a 81 80 74 68 65 20 58 2e 32 35 20 52 65 63 6f 6d 6d 65 6e 64 61 74 69 6f 6e 20 28 72 65 66 2e ┆ the X.25 Recommendation (ref.┆ 0x1a820…1a840 20 28 31 29 29 0d 0a 0d 0a 09 20 20 20 b0 64 74 65 5f 72 65 73 74 61 72 74 20 20 20 84 f0 74 68 ┆ (1)) dte_restart th┆ 0x1a840…1a860 65 20 44 54 45 20 69 73 20 69 6e 20 61 20 72 65 73 74 61 72 74 20 70 68 61 73 65 2c 20 69 2e 65 ┆e DTE is in a restart phase, i.e┆ 0x1a860…1a880 2e 20 72 32 20 61 63 63 6f 72 64 69 6e 67 20 0a 19 9a 81 80 74 6f 20 74 68 65 20 58 2e 32 35 20 ┆. r2 according to the X.25 ┆ 0x1a880…1a8a0 52 65 63 6f 6d 6d 65 6e 64 61 74 69 6f 6e 20 28 72 65 66 2e 20 28 31 29 29 0d 0a 0d 0a 8c 80 a8 ┆Recommendation (ref. (1)) ┆ 0x1a8a0…1a8c0 0a 09 20 20 20 b0 68 64 6c 63 5f 61 63 74 69 76 65 20 20 20 84 f0 74 68 65 20 68 64 6c 63 20 6c ┆ hdlc_active the hdlc l┆ 0x1a8c0…1a8e0 69 6e 65 20 69 73 20 63 6f 6e 6e 65 63 74 65 64 2c 20 62 75 74 20 6c 65 76 65 6c 20 33 20 68 61 ┆ine is connected, but level 3 ha┆ 0x1a8e0…1a900 73 20 6e 6f 74 20 0a 19 9a 81 80 79 65 74 20 65 78 63 68 61 6e 67 65 64 20 52 45 53 54 41 52 54 ┆s not yet exchanged RESTART┆ 0x1a900…1a920 20 70 61 63 6b 65 74 73 0d 0a 0d 0a 09 20 20 20 b0 6e 65 74 5f 64 6f 77 6e 20 20 20 20 20 20 84 ┆ packets net_down ┆ 0x1a920…1a940 f0 74 68 65 20 68 64 6c 63 20 6c 69 6e 65 20 69 73 20 64 69 73 63 6f 6e 6e 65 63 74 65 64 0d 0a ┆ the hdlc line is disconnected ┆ 0x1a940…1a960 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 46 ┆ F┆ 0x1a960…1a980 69 67 75 72 65 20 31 32 3a 20 53 74 61 74 65 20 74 72 61 6e 73 69 74 69 6f 6e 20 67 72 61 70 68 ┆igure 12: State transition graph┆ 0x1a980…1a9a0 20 66 6f 72 20 64 74 65 5f 73 74 61 74 65 20 69 6e 20 70 72 6f 63 65 73 73 20 64 74 65 2e 0d 0a ┆ for dte_state in process dte. ┆ 0x1a9a0…1a9c0 0d 0a 0d 0a b0 09 6c 69 6e 65 5f 73 74 61 74 65 3a 0d 0a 0d 0a 09 20 20 20 b0 68 5f 63 6f 6e 6e ┆ line_state: h_conn┆ 0x1a9c0…1a9e0 20 20 20 20 20 20 20 20 f0 74 68 65 20 68 64 6c 63 20 6c 69 6e 65 20 69 73 20 63 6f 6e 6e 65 63 ┆ the hdlc line is connec┆ 0x1a9e0…1aa00 74 65 64 0d 0a 0d 0a 09 20 20 20 b0 68 5f 63 6f 6e 6e 5f 69 6e 67 20 20 20 20 84 f0 74 68 65 20 ┆ted h_conn_ing the ┆ 0x1aa00…1aa20 (213,) 68 64 6c 63 20 6c 69 6e 65 20 69 73 20 62 65 69 6e 67 20 63 6f 6e 6e 65 63 74 65 64 2c 20 69 2e ┆hdlc line is being connected, i.┆ 0x1aa20…1aa40 65 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 84 61 ┆e. a┆ 0x1aa40…1aa60 20 63 6f 6e 6e 65 63 74 20 6d 65 73 73 61 67 65 20 68 61 73 20 62 65 65 6e 20 73 65 6e 74 2c 20 ┆ connect message has been sent, ┆ 0x1aa60…1aa80 62 75 74 20 61 6e 20 65 76 65 6e 74 20 28 30 29 20 0a 19 9a 80 80 68 61 73 20 6e 6f 74 20 79 65 ┆but an event (0) has not ye┆ 0x1aa80…1aaa0 74 20 62 65 65 6e 20 72 65 63 65 69 76 65 64 0d 0a 0d 0a 09 20 20 20 b0 68 5f 64 69 73 63 5f 69 ┆t been received h_disc_i┆ 0x1aaa0…1aac0 6e 67 20 20 20 20 84 f0 74 68 65 20 68 64 6c 63 20 6c 69 6e 65 20 69 73 20 62 65 69 6e 67 20 64 ┆ng the hdlc line is being d┆ 0x1aac0…1aae0 69 73 63 6f 6e 6e 65 63 74 65 64 2c 20 69 2e 65 2e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆isconnected, i.e. ┆ 0x1aae0…1ab00 20 20 20 20 20 20 20 20 20 20 20 20 20 84 61 6e 20 65 76 65 6e 74 20 28 37 2c 38 2c 39 20 6f 72 ┆ an event (7,8,9 or┆ 0x1ab00…1ab20 20 31 30 29 20 68 61 73 20 62 65 65 6e 20 72 65 63 65 69 76 65 64 2c 20 62 75 74 20 61 6e 20 0a ┆ 10) has been received, but an ┆ 0x1ab20…1ab40 19 9a 80 80 65 76 65 6e 74 20 28 33 29 20 68 61 73 20 6e 6f 74 20 79 65 74 20 62 65 65 6e 20 72 ┆ event (3) has not yet been r┆ 0x1ab40…1ab60 65 63 65 69 76 65 64 0d 0a 0d 0a 09 20 20 20 b0 68 5f 72 65 63 76 5f 64 69 73 63 20 20 20 84 f0 ┆eceived h_recv_disc ┆ 0x1ab60…1ab80 74 68 65 20 68 64 6c 63 20 6c 69 6e 65 20 68 61 73 20 62 65 65 6e 20 64 69 73 63 6f 6e 6e 65 63 ┆the hdlc line has been disconnec┆ 0x1ab80…1aba0 74 65 64 20 62 79 20 74 68 65 20 6f 74 68 65 72 20 0a 19 9a 81 80 65 6e 64 2c 20 69 2e 65 2e 20 ┆ted by the other end, i.e. ┆ 0x1aba0…1abc0 61 6e 20 65 76 65 6e 74 20 28 34 29 20 68 61 73 20 62 65 65 6e 20 72 65 63 65 69 76 65 64 20 61 ┆an event (4) has been received a┆ 0x1abc0…1abe0 6e 64 20 0a 19 9a 81 80 73 74 61 74 65 20 77 61 73 20 68 5f 63 6f 6e 6e 5f 69 6e 67 0d 0a 0d 0a ┆nd state was h_conn_ing ┆ 0x1abe0…1ac00 09 20 20 20 b0 68 5f 64 69 73 63 20 20 20 20 20 20 20 20 84 f0 74 68 65 20 68 64 6c 63 20 6c 69 ┆ h_disc the hdlc li┆ 0x1ac00…1ac20 (214,) 6e 65 20 69 73 20 64 69 73 63 6f 6e 6e 65 63 74 65 64 2e 0d 0a 0d 0a 8c 80 a8 0a 09 84 41 20 73 ┆ne is disconnected. A s┆ 0x1ac20…1ac40 74 61 74 65 20 74 72 61 6e 73 69 74 69 6f 6e 20 67 72 61 70 68 20 61 6e 64 20 74 61 62 6c 65 20 ┆tate transition graph and table ┆ 0x1ac40…1ac60 66 6f 72 20 6c 69 6e 65 20 73 74 61 74 65 20 69 73 20 6f 75 74 6c 69 6e 65 64 20 69 6e 20 0a 19 ┆for line state is outlined in ┆ 0x1ac60…1ac80 89 80 80 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 32 2e 38 2e 0d 0a 0d 0a 0d 0a a1 34 2e 32 2e 33 ┆ subsection 4.2.8. 4.2.3┆ 0x1ac80…1aca0 09 53 65 6d 61 70 68 6f 72 65 20 61 6e 64 20 52 65 66 65 72 65 6e 63 65 20 56 61 72 69 61 62 6c ┆ Semaphore and Reference Variabl┆ 0x1aca0…1acc0 65 73 2e 0d 0a 0d 0a 09 84 56 61 72 69 61 62 6c 65 73 20 6f 66 20 74 79 70 65 20 27 73 65 6d 70 ┆es. Variables of type 'semp┆ 0x1acc0…1ace0 6f 69 6e 74 65 72 27 20 61 6e 64 20 27 74 61 70 5f 70 6f 69 6e 74 65 72 27 20 61 72 65 20 6d 65 ┆ointer' and 'tap_pointer' are me┆ 0x1ace0…1ad00 6e 74 69 6f 6e 65 64 20 69 6e 20 0a 19 89 80 80 74 68 65 20 73 65 6d 61 70 68 6f 72 65 20 73 75 ┆ntioned in the semaphore su┆ 0x1ad00…1ad20 62 73 65 63 74 69 6f 6e 20 6a 75 73 74 20 61 73 20 74 68 65 79 20 77 65 72 65 20 73 65 6d 61 70 ┆bsection just as they were semap┆ 0x1ad20…1ad40 68 6f 72 65 73 2e 0d 0a 0d 0a 09 a1 b0 53 45 4d 41 50 48 4f 52 45 53 0d 0a 0d 0a 09 62 72 65 61 ┆hores. SEMAPHORES brea┆ 0x1ad40…1ad60 6b 73 65 6d 09 09 3a 20 84 41 20 73 65 6d 61 70 68 6f 72 65 20 75 73 65 64 20 74 6f 20 68 6f 6c ┆ksem : A semaphore used to hol┆ 0x1ad60…1ad80 64 20 61 20 62 72 65 61 6b 20 6d 65 73 73 61 67 65 2e 20 0a 19 9f 80 80 54 68 69 73 20 6d 65 73 ┆d a break message. This mes┆ 0x1ad80…1ada0 73 61 67 65 20 69 73 20 75 73 65 64 20 62 79 20 6f 74 68 65 72 20 44 54 45 20 70 72 6f 63 65 73 ┆sage is used by other DTE proces┆ 0x1ada0…1adc0 73 65 73 20 0a 19 9f 80 80 74 6f 20 72 65 70 6f 72 74 20 65 78 63 65 70 74 69 6f 6e 73 20 74 6f ┆ses to report exceptions to┆ 0x1adc0…1ade0 20 74 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 2e 0d 0a 0d 0a 09 65 76 5f 70 6f 6f 6c 5f 73 65 ┆ the dte process. ev_pool_se┆ 0x1ade0…1ae00 6d 09 3a 20 84 55 73 65 64 20 61 73 20 61 20 44 54 45 20 67 6c 6f 62 61 6c 20 65 76 65 6e 74 20 ┆m : Used as a DTE global event ┆ 0x1ae00…1ae20 (215,) 70 6f 6f 6c 2e 20 45 61 63 68 20 70 72 6f 80 0a 19 9f 80 80 63 65 73 73 20 28 65 78 63 65 70 74 ┆pool. Each pro cess (except┆ 0x1ae20…1ae40 20 64 74 65 29 20 70 69 63 6b 73 20 75 70 20 61 6e 20 65 76 65 6e 74 20 62 75 66 66 65 72 20 0a ┆ dte) picks up an event buffer ┆ 0x1ae40…1ae60 19 9f 80 80 66 72 6f 6d 20 74 68 69 73 20 73 65 6d 61 70 68 6f 72 65 2c 20 70 75 74 73 20 64 61 ┆ from this semaphore, puts da┆ 0x1ae60…1ae80 74 61 20 69 6e 20 74 68 65 20 62 75 66 80 0a 19 9f 80 80 66 65 72 2c 20 61 6e 64 20 72 65 74 75 ┆ta in the buf fer, and retu┆ 0x1ae80…1aea0 72 6e 73 20 69 74 20 74 6f 20 74 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 2e 0d 0a 0d 0a 09 6c ┆rns it to the dte process. l┆ 0x1aea0…1aec0 6f 63 61 6c 5f 69 6e 73 65 6d 09 3a 20 84 4c 6f 63 61 6c 20 69 6e 70 75 74 20 73 65 6d 61 70 68 ┆ocal_insem : Local input semaph┆ 0x1aec0…1aee0 6f 72 65 20 75 73 65 64 20 69 6e 20 63 6f 6e 6e 65 63 74 69 6f 6e 20 0a 19 9f 80 80 77 69 74 68 ┆ore used in connection with┆ 0x1aee0…1af00 20 72 65 73 74 61 72 74 5f 73 65 6d 20 61 6e 64 20 73 79 6e 63 5f 73 65 6d 20 74 6f 20 73 65 70 ┆ restart_sem and sync_sem to sep┆ 0x1af00…1af20 65 72 61 74 65 20 0a 19 9f 80 80 74 68 65 20 69 6e 70 75 74 20 73 74 72 65 61 6d 20 69 6e 74 6f ┆erate the input stream into┆ 0x1af20…1af40 20 63 68 61 6e 6e 65 6c 20 73 79 6e 63 68 72 6f 6e 69 7a 61 80 0a 19 9f 80 80 74 69 6f 6e 20 6d ┆ channel synchroniza tion m┆ 0x1af40…1af60 65 73 73 61 67 65 73 20 28 73 79 6e 63 5f 73 65 6d 29 2c 20 72 65 73 74 61 72 74 20 6d 65 73 73 ┆essages (sync_sem), restart mess┆ 0x1af60…1af80 61 67 65 73 20 0a 19 9f 80 80 28 72 65 73 74 61 72 74 5f 73 65 6d 29 2c 20 61 6e 64 20 61 6c 6c ┆ages (restart_sem), and all┆ 0x1af80…1afa0 20 6f 74 68 65 72 73 20 28 6c 6f 63 61 6c 5f 69 6e 73 65 6d 29 2e 0d 0a 0d 0a 09 6f 77 6e 5f 65 ┆ others (local_insem). own_e┆ 0x1afa0…1afc0 76 5f 73 65 6d 09 3a 20 84 55 73 65 64 20 61 73 20 61 20 6c 6f 63 61 6c 20 65 76 65 6e 74 20 62 ┆v_sem : Used as a local event b┆ 0x1afc0…1afe0 75 66 66 65 72 20 70 6f 6f 6c 2c 20 6f 6e 6c 79 20 0a 19 9f 80 80 6b 6e 6f 77 6e 20 62 79 20 74 ┆uffer pool, only known by t┆ 0x1afe0…1b000 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 2e 20 54 68 65 20 72 65 61 73 6f 6e 20 66 6f 72 20 68 ┆he dte process. The reason for h┆ 0x1b000…1b020 (216,) 61 80 0a 19 9f 80 80 76 69 6e 67 20 74 77 6f 20 69 6e 74 65 72 6e 61 6c 20 65 76 65 6e 74 20 70 ┆a ving two internal event p┆ 0x1b020…1b040 6f 6f 6c 73 20 69 73 20 74 6f 20 61 76 6f 69 64 20 0a 19 9f 80 80 74 68 65 20 64 65 61 64 6c 6f ┆ools is to avoid the deadlo┆ 0x1b040…1b060 63 6b 3a 0d 0a 09 09 09 20 20 84 74 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 20 77 61 69 74 73 ┆ck: the dte process waits┆ 0x1b060…1b080 20 61 20 62 75 66 66 65 72 20 61 74 20 0a 19 9f 80 80 65 76 5f 70 6f 6f 6c 5f 73 65 6d 2c 20 62 ┆ a buffer at ev_pool_sem, b┆ 0x1b080…1b0a0 75 74 20 61 6c 6c 20 74 68 65 20 65 76 65 6e 74 20 62 75 66 66 65 72 73 20 61 72 65 20 0a 19 9f ┆ut all the event buffers are ┆ 0x1b0a0…1b0c0 80 80 71 75 65 75 65 64 20 61 74 20 69 74 73 20 6d 61 69 6e 20 69 6e 70 75 74 20 73 65 6d 61 70 ┆ queued at its main input semap┆ 0x1b0c0…1b0e0 68 6f 72 65 2e 0d 0a 0d 0a 09 70 6f 6f 6c 68 5f 6e 63 70 73 65 6d 09 3a 20 84 44 75 6d 6d 79 20 ┆hore. poolh_ncpsem : Dummy ┆ 0x1b0e0…1b100 73 65 6d 61 70 68 6f 72 65 20 75 73 65 64 20 61 73 20 4e 43 50 20 6d 61 69 6e 20 73 65 6d 61 70 ┆semaphore used as NCP main semap┆ 0x1b100…1b120 68 6f 72 65 20 0a 19 9f 80 80 69 6e 20 74 68 65 20 64 74 65 5f 70 6f 6f 6c 20 70 72 6f 63 65 73 ┆hore in the dte_pool proces┆ 0x1b120…1b140 73 2e 0d 0a 0d 0a 09 72 65 73 74 61 72 74 5f 73 65 6d 09 3a 20 84 4c 6f 63 61 6c 20 69 6e 70 75 ┆s. restart_sem : Local inpu┆ 0x1b140…1b160 74 20 73 65 6d 61 70 68 6f 72 65 2c 20 75 73 65 64 20 66 6f 72 20 72 65 73 74 61 72 74 20 6d 65 ┆t semaphore, used for restart me┆ 0x1b160…1b180 73 80 0a 19 9f 80 80 73 61 67 65 73 20 28 73 65 65 20 6c 6f 63 61 6c 5f 69 6e 73 65 6d 29 2e 0d ┆s sages (see local_insem). ┆ 0x1b180…1b1a0 0a 0d 0a 8c 80 a8 0a 09 73 79 6e 63 5f 73 65 6d 09 09 3a 20 84 4c 6f 63 61 6c 20 69 6e 70 75 74 ┆ sync_sem : Local input┆ 0x1b1a0…1b1c0 20 73 65 6d 61 70 68 6f 72 65 20 75 73 65 64 20 66 6f 72 20 63 68 61 6e 6e 65 6c 20 73 79 6e 80 ┆ semaphore used for channel syn ┆ 0x1b1c0…1b1e0 0a 19 9f 80 80 63 68 72 6f 6e 69 7a 61 74 69 6f 6e 20 6d 65 73 73 61 67 65 73 20 28 73 65 65 20 ┆ chronization messages (see ┆ 0x1b1e0…1b200 6c 6f 63 61 6c 5f 69 6e 73 65 6d 29 2e 0d 0a 0d 0a 09 75 73 65 72 5f 6b 65 79 09 09 3a 20 84 41 ┆local_insem). user_key : A┆ 0x1b200…1b220 (217,) 63 63 65 73 73 20 73 65 6d 61 70 68 6f 72 65 20 28 68 6f 6c 64 73 20 61 20 62 75 66 66 65 72 20 ┆ccess semaphore (holds a buffer ┆ 0x1b220…1b240 75 73 65 64 20 61 73 20 61 20 0a 19 9f 80 80 6b 65 79 29 20 74 6f 20 74 68 65 20 75 73 65 72 20 ┆used as a key) to the user ┆ 0x1b240…1b260 74 61 62 6c 65 2e 0d 0a 0d 0a 09 69 6e 74 5f 68 64 6c 63 5f 70 74 72 09 3a 20 84 41 20 73 65 6d ┆table. int_hdlc_ptr : A sem┆ 0x1b260…1b280 70 6f 69 6e 74 65 72 20 77 68 69 63 68 20 70 6f 69 6e 74 73 20 61 74 20 48 44 4c 43 4c 43 50 20 ┆pointer which points at HDLCLCP ┆ 0x1b280…1b2a0 69 66 20 58 2e 32 35 20 0a 19 9f 80 80 74 72 61 63 65 20 69 73 20 6f 66 66 20 61 6e 64 20 61 74 ┆if X.25 trace is off and at┆ 0x1b2a0…1b2c0 20 74 68 65 20 6f 75 74 74 72 61 63 65 20 70 72 6f 63 65 73 73 20 69 66 20 0a 19 9f 80 80 58 2e ┆ the outtrace process if X.┆ 0x1b2c0…1b2e0 32 35 20 74 72 61 63 65 20 69 73 20 6f 6e 2e 0d 0a 0d 0a 09 63 68 61 6e 5f 74 61 62 6c 65 28 6e ┆25 trace is on. chan_table(n┆ 0x1b2e0…1b300 29 2e 09 3a 20 41 20 73 65 6d 70 6f 69 6e 74 65 72 20 70 6f 69 6e 74 69 6e 67 20 61 74 20 74 68 ┆). : A sempointer pointing at th┆ 0x1b300…1b320 65 20 67 65 6e 65 72 61 6c 5f 62 73 65 6d 0d 0a 09 67 65 6e 65 72 61 6c 5f 62 73 65 6d 20 20 20 ┆e general_bsem general_bsem ┆ 0x1b320…1b340 20 20 20 20 20 20 20 84 73 65 6d 61 70 68 6f 72 65 20 69 6e 20 74 68 65 20 75 73 65 72 5f 74 61 ┆ semaphore in the user_ta┆ 0x1b340…1b360 62 6c 65 2e 20 54 68 69 73 20 69 73 20 74 68 65 20 0a 19 9f 80 80 63 6f 6e 6e 65 63 74 69 6f 6e ┆ble. This is the connection┆ 0x1b360…1b380 20 66 72 6f 6d 20 61 20 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 20 69 6e 63 61 72 6e 61 ┆ from a dte_chan process incarna┆ 0x1b380…1b3a0 80 0a 19 9f 80 80 74 69 6f 6e 20 74 6f 20 74 68 65 20 67 65 6e 65 72 61 6c 20 69 6e 70 75 74 20 ┆ tion to the general input ┆ 0x1b3a0…1b3c0 73 65 6d 61 70 68 6f 72 65 20 6f 66 20 74 68 65 20 0a 19 9f 80 80 75 73 65 72 2c 20 77 68 6f 20 ┆semaphore of the user, who ┆ 0x1b3c0…1b3e0 61 74 20 74 68 65 20 6d 6f 6d 65 6e 74 20 69 73 20 61 73 73 6f 63 69 61 74 65 64 20 77 69 74 68 ┆at the moment is associated with┆ 0x1b3e0…1b400 20 0a 19 9f 80 80 74 68 69 73 20 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 20 69 6e 63 61 ┆ this dte_chan process inca┆ 0x1b400…1b420 (218,) 72 6e 61 74 69 6f 6e 20 28 73 65 65 20 73 75 62 80 0a 19 9f 80 80 73 65 63 74 69 6f 6e 20 34 2e ┆rnation (see sub section 4.┆ 0x1b420…1b440 32 2e 37 29 2e 0d 0a 0d 0a 09 63 68 61 6e 5f 74 61 62 6c 65 28 6e 29 2e 69 6e 5f 70 74 72 3a 20 ┆2.7). chan_table(n).in_ptr: ┆ 0x1b440…1b460 84 4d 61 69 6e 20 27 73 65 6d 61 70 68 6f 72 65 27 20 66 6f 72 20 61 20 64 74 65 5f 63 68 61 6e ┆ Main 'semaphore' for a dte_chan┆ 0x1b460…1b480 20 70 72 6f 63 65 73 73 20 69 6e 80 0a 19 9f 80 80 63 61 72 6e 61 74 69 6f 6e 20 28 73 65 65 20 ┆ process in carnation (see ┆ 0x1b480…1b4a0 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 32 2e 37 29 2e 0d 0a 0d 0a 09 63 68 61 6e 5f 74 61 62 6c ┆subsection 4.2.7). chan_tabl┆ 0x1b4a0…1b4c0 65 28 6e 29 2e 20 20 20 20 20 20 3a 20 84 53 79 6e 63 68 72 6f 6e 69 7a 61 74 69 6f 6e 20 27 73 ┆e(n). : Synchronization 's┆ 0x1b4c0…1b4e0 65 6d 61 70 68 6f 72 65 27 20 66 6f 72 20 61 20 64 74 65 5f 63 68 61 6e 0d 0a 09 73 79 6e 63 5f ┆emaphore' for a dte_chan sync_┆ 0x1b4e0…1b500 70 74 72 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 6f 63 65 73 73 20 69 6e 63 61 72 6e 61 ┆ptr process incarna┆ 0x1b500…1b520 74 69 6f 6e 20 28 73 65 65 20 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 32 2e 37 29 2e 0d 0a 0d 0a ┆tion (see subsection 4.2.7). ┆ 0x1b520…1b540 09 68 72 65 63 5f 74 61 62 6c 65 09 3a 20 84 41 72 72 61 79 20 6f 66 20 70 6f 69 6e 74 65 72 73 ┆ hrec_table : Array of pointers┆ 0x1b540…1b560 20 74 6f 20 74 68 65 20 69 6e 70 75 74 20 73 65 6d 61 70 68 6f 72 65 73 20 6f 66 20 0a 19 9f 80 ┆ to the input semaphores of ┆ 0x1b560…1b580 80 74 68 65 20 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 20 69 6e 63 61 72 6e 61 74 69 6f ┆ the dte_chan process incarnatio┆ 0x1b580…1b5a0 6e 73 2e 20 41 20 70 72 6f 63 65 73 73 20 0a 19 9f 80 80 70 61 72 61 6d 65 74 65 72 20 74 6f 20 ┆ns. A process parameter to ┆ 0x1b5a0…1b5c0 74 68 65 20 64 74 65 5f 68 72 65 63 20 70 72 6f 63 65 73 73 20 28 73 65 65 20 73 75 62 80 0a 19 ┆the dte_hrec process (see sub ┆ 0x1b5c0…1b5e0 9f 80 80 73 65 63 74 69 6f 6e 73 20 34 2e 31 2e 31 2e 32 20 61 6e 64 20 34 2e 32 2e 37 29 2e 0d ┆ sections 4.1.1.2 and 4.2.7). ┆ 0x1b5e0…1b600 0a 0d 0a 09 69 6e 74 5f 74 61 62 6c 65 09 09 3a 20 84 41 72 72 61 79 20 6f 66 20 70 6f 69 6e 74 ┆ int_table : Array of point┆ 0x1b600…1b620 (219,) 65 72 73 20 74 6f 20 74 68 65 20 69 6e 70 75 74 20 73 65 6d 61 70 68 6f 72 65 73 20 6f 66 20 0a ┆ers to the input semaphores of ┆ 0x1b620…1b640 19 9f 80 80 74 68 65 20 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 20 69 6e 63 61 72 6e 61 ┆ the dte_chan process incarna┆ 0x1b640…1b660 74 69 6f 6e 73 2e 20 41 20 70 72 6f 63 65 73 73 20 0a 19 9f 80 80 70 61 72 61 6d 65 74 65 72 20 ┆tions. A process parameter ┆ 0x1b660…1b680 74 6f 20 74 68 65 20 64 74 65 5f 61 63 63 65 73 73 20 70 72 6f 63 65 73 73 20 28 73 65 65 20 0a ┆to the dte_access process (see ┆ 0x1b680…1b6a0 19 9f 80 80 73 75 62 73 65 63 80 74 69 6f 6e 20 34 2e 31 2e 31 2e 32 20 61 6e 64 20 34 2e 32 2e ┆ subsec tion 4.1.1.2 and 4.2.┆ 0x1b6a0…1b6c0 37 29 2e 0d 0a 0d 0a 09 74 72 61 63 65 5f 73 65 6d 20 61 6e 64 20 09 3a 20 4d 61 69 6e 20 69 6e ┆7). trace_sem and : Main in┆ 0x1b6c0…1b6e0 70 75 74 20 73 65 6d 61 70 68 6f 72 65 20 6f 66 20 74 68 65 20 64 74 65 74 72 61 63 65 20 70 72 ┆put semaphore of the dtetrace pr┆ 0x1b6e0…1b700 6f 2d 0d 0a 09 74 72 61 63 65 5f 70 74 72 20 20 20 20 20 20 20 20 20 20 20 20 20 84 63 65 73 73 ┆o- trace_ptr cess┆ 0x1b700…1b720 20 28 74 72 61 63 65 5f 70 74 72 28 31 29 29 20 61 6e 64 20 6f 75 74 74 72 61 63 65 20 70 72 6f ┆ (trace_ptr(1)) and outtrace pro┆ 0x1b720…1b740 63 65 73 73 20 0a 19 9f 80 80 28 74 72 61 63 65 5f 70 74 72 28 32 29 29 2e 0d 0a 0d 0a 09 74 72 ┆cess (trace_ptr(2)). tr┆ 0x1b740…1b760 61 63 65 5f 72 65 63 2e 77 73 65 6d 09 3a 20 84 41 6e 73 77 65 72 20 73 65 6d 61 70 68 6f 72 65 ┆ace_rec.wsem : Answer semaphore┆ 0x1b760…1b780 20 75 73 65 64 20 69 6e 20 74 68 65 20 74 72 61 63 69 6e 67 20 70 72 6f 63 65 80 0a 19 9f 80 80 ┆ used in the tracing proce ┆ 0x1b780…1b7a0 64 75 72 65 73 20 28 73 65 65 20 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 31 2e 32 2e 35 29 2e 0d ┆dures (see subsection 4.1.2.5). ┆ 0x1b7a0…1b7c0 0a 0d 0a 8c 80 a9 0a 09 73 6e 6f 6f 70 5f 70 74 72 09 09 3a 20 84 41 72 72 61 79 20 6f 66 20 74 ┆ snoop_ptr : Array of t┆ 0x1b7c0…1b7e0 61 70 5f 70 6f 69 6e 74 65 72 73 20 75 73 65 64 20 62 79 20 74 68 65 20 73 6e 6f 6f 70 20 0a 19 ┆ap_pointers used by the snoop ┆ 0x1b7e0…1b800 9f 80 80 70 72 6f 63 65 73 73 20 28 73 65 65 20 72 65 66 20 28 37 29 29 2e 0d 0a 0d 0a 09 64 74 ┆ process (see ref (7)). dt┆ 0x1b800…1b820 (220,) 65 5f 74 65 73 74 5f 73 65 6d 09 3a 20 84 4d 61 69 6e 20 69 6e 70 75 74 20 73 65 6d 61 70 68 6f ┆e_test_sem : Main input semapho┆ 0x1b820…1b840 72 65 20 6f 66 20 74 68 65 20 64 74 65 74 65 73 74 20 70 72 6f 63 65 73 73 2e 0d 0a 0d 0a 09 74 ┆re of the dtetest process. t┆ 0x1b840…1b860 65 73 74 73 65 6d 09 09 3a 20 84 53 65 6d 61 70 68 6f 72 65 20 75 73 65 64 20 61 73 20 61 20 44 ┆estsem : Semaphore used as a D┆ 0x1b860…1b880 54 45 20 67 6c 6f 62 61 6c 20 74 65 73 74 20 62 75 66 66 65 72 20 0a 19 9f 80 80 70 6f 6f 6c 2e ┆TE global test buffer pool.┆ 0x1b880…1b8a0 0d 0a 0d 0a 0d 0a b0 09 a1 52 45 46 45 52 45 4e 43 45 53 0d 0a 0d 0a 09 63 6c 6f 63 6b 5f 72 65 ┆ REFERENCES clock_re┆ 0x1b8a0…1b8c0 66 09 09 3a 20 48 6f 6c 64 73 20 61 20 b0 67 65 74 5f 63 6c 6f 63 6b f0 20 6d 65 73 73 61 67 65 ┆f : Holds a get_clock message┆ 0x1b8c0…1b8e0 2e 0d 0a 0d 0a 09 68 65 61 64 65 72 5f 72 65 66 09 3a 20 57 6f 72 6b 69 6e 67 20 72 65 66 65 72 ┆. header_ref : Working refer┆ 0x1b8e0…1b900 65 6e 63 65 2e 0d 0a 0d 0a 09 6b 65 79 5f 72 65 66 09 09 3a 20 84 55 73 65 64 20 74 6f 20 68 6f ┆ence. key_ref : Used to ho┆ 0x1b900…1b920 6c 64 20 74 68 65 20 6b 65 79 20 6d 65 73 73 61 67 65 20 64 75 72 69 6e 67 20 61 63 63 65 73 73 ┆ld the key message during access┆ 0x1b920…1b940 20 0a 19 9f 80 80 74 6f 20 70 6f 6f 6c 73 20 61 6e 64 20 74 68 65 20 75 73 65 72 20 74 61 62 6c ┆ to pools and the user tabl┆ 0x1b940…1b960 65 2e 0d 0a 0d 0a 09 6d 65 73 73 5f 72 65 66 09 09 3a 20 48 6f 6c 64 73 20 74 68 65 20 6d 65 73 ┆e. mess_ref : Holds the mes┆ 0x1b960…1b980 73 61 67 65 20 75 6e 64 65 72 20 70 72 6f 63 65 73 73 69 6e 67 2e 0d 0a 0d 0a 09 6e 63 70 5f 72 ┆sage under processing. ncp_r┆ 0x1b980…1b9a0 65 66 09 09 3a 20 84 48 6f 6c 64 73 20 61 6e 20 4e 43 2d 72 65 73 74 61 72 74 20 72 65 71 75 65 ┆ef : Holds an NC-restart reque┆ 0x1b9a0…1b9c0 73 74 20 77 68 69 6c 65 20 61 77 61 69 74 69 6e 67 20 0a 19 9f 80 80 72 65 73 74 61 72 74 20 63 ┆st while awaiting restart c┆ 0x1b9c0…1b9e0 6f 6e 66 69 72 6d 61 74 69 6f 6e 20 66 72 6f 6d 20 74 68 65 20 64 74 65 5f 6c 63 6e 7a 65 72 6f ┆onfirmation from the dte_lcnzero┆ 0x1b9e0…1ba00 20 0a 19 9f 80 80 70 72 6f 63 65 73 73 2e 0d 0a 0d 0a 09 63 74 72 6c 5f 72 65 66 09 09 3a 20 84 ┆ process. ctrl_ref : ┆ 0x1ba00…1ba20 (221,) 48 6f 6c 64 73 20 61 20 62 75 66 66 65 72 20 75 73 65 64 20 74 6f 20 64 69 73 63 6f 6e 6e 65 63 ┆Holds a buffer used to disconnec┆ 0x1ba20…1ba40 74 20 74 68 65 20 68 64 6c 63 20 0a 19 9f 80 80 6c 69 6e 65 20 6f 72 20 74 6f 20 6d 6f 64 65 6d ┆t the hdlc line or to modem┆ 0x1ba40…1ba60 20 73 69 67 6e 61 6c 73 20 73 65 74 74 69 6e 67 2e 0d 0a 0d 0a 09 72 65 71 5f 72 65 66 09 09 3a ┆ signals setting. req_ref :┆ 0x1ba60…1ba80 20 84 57 6f 72 6b 69 6e 67 20 72 65 66 65 72 65 6e 63 65 2e 0d 0a 0d 0a 09 74 69 6d 65 72 5f 72 ┆ Working reference. timer_r┆ 0x1ba80…1baa0 65 66 09 09 3a 20 84 48 6f 6c 64 73 20 61 20 62 75 66 66 65 72 20 75 73 65 64 20 66 6f 72 20 61 ┆ef : Holds a buffer used for a┆ 0x1baa0…1bac0 20 73 68 6f 72 74 20 64 65 6c 61 79 20 69 6e 20 0a 19 9f 80 80 63 61 73 65 20 6f 66 20 70 72 6f ┆ short delay in case of pro┆ 0x1bac0…1bae0 62 6c 65 6d 20 61 74 20 6d 6f 64 65 6d 20 73 69 67 6e 61 6c 20 73 65 74 74 69 6e 67 2e 0d 0a 0d ┆blem at modem signal setting. ┆ 0x1bae0…1bb00 0a 09 74 72 61 63 65 5f 72 65 63 2e 74 5f 72 65 66 09 3a 20 84 84 57 6f 72 6b 69 6e 67 20 72 65 ┆ trace_rec.t_ref : Working re┆ 0x1bb00…1bb20 66 65 72 65 6e 63 65 20 75 73 65 64 20 69 6e 20 74 68 65 20 74 72 61 63 69 6e 67 20 70 72 6f 63 ┆ference used in the tracing proc┆ 0x1bb20…1bb40 65 80 0a 19 9f 80 80 64 75 72 65 73 20 28 73 65 65 20 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 31 ┆e dures (see subsection 4.1┆ 0x1bb40…1bb60 2e 32 2e 35 29 2e 0d 0a 0d 0a 09 74 65 73 74 72 65 66 09 09 3a 20 84 57 6f 72 6b 69 6e 67 20 72 ┆.2.5). testref : Working r┆ 0x1bb60…1bb80 65 66 65 72 65 6e 63 65 20 75 73 65 64 20 64 75 72 69 6e 67 20 63 6f 70 79 69 6e 67 20 74 68 65 ┆eference used during copying the┆ 0x1bb80…1bba0 20 0a 19 9f 80 80 69 6e 74 65 72 6e 61 6c 20 74 65 73 74 20 61 72 65 61 20 74 6f 20 61 20 74 65 ┆ internal test area to a te┆ 0x1bba0…1bbc0 73 74 20 62 75 66 66 65 72 2e 0d 0a 0d 0a 0d 0a 8c 80 a7 0a a1 34 2e 32 2e 34 09 44 61 74 61 20 ┆st buffer. 4.2.4 Data ┆ 0x1bbc0…1bbe0 53 74 72 75 63 74 75 72 65 73 2e 0d 0a 0d 0a 09 84 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 64 ┆Structures. The following d┆ 0x1bbe0…1bc00 61 74 61 20 73 74 72 75 63 74 75 72 65 73 20 75 73 65 64 20 69 6e 20 74 68 65 20 64 74 65 20 70 ┆ata structures used in the dte p┆ 0x1bc00…1bc20 (222,) 72 6f 63 65 73 73 20 61 72 65 20 64 65 73 63 72 69 62 80 0a 19 89 80 80 65 64 20 65 6c 73 65 77 ┆rocess are describ ed elsew┆ 0x1bc20…1bc40 68 65 72 65 2e 0d 0a 0d 0a 09 20 20 20 78 32 35 5f 70 61 72 61 6d 09 73 65 63 74 69 6f 6e 20 34 ┆here. x25_param section 4┆ 0x1bc40…1bc60 2e 31 2e 31 2e 33 0d 0a 09 20 20 20 75 73 65 72 5f 74 61 62 6c 65 09 73 65 63 74 69 6f 6e 20 34 ┆.1.1.3 user_table section 4┆ 0x1bc60…1bc80 2e 31 2e 31 2e 31 0d 0a 09 20 20 20 68 72 65 63 5f 74 61 62 6c 65 09 73 65 63 74 69 6f 6e 20 34 ┆.1.1.1 hrec_table section 4┆ 0x1bc80…1bca0 2e 31 2e 31 2e 32 0d 0a 09 20 20 20 69 6e 74 5f 74 61 62 6c 65 09 73 65 63 74 69 6f 6e 20 34 2e ┆.1.1.2 int_table section 4.┆ 0x1bca0…1bcc0 31 2e 31 2e 32 0d 0a 09 20 20 20 74 65 73 74 09 09 73 65 63 74 69 6f 6e 20 36 2e 32 2e 31 0d 0a ┆1.1.2 test section 6.2.1 ┆ 0x1bcc0…1bce0 09 20 20 20 74 65 73 74 62 75 66 09 73 65 63 74 69 6f 6e 20 36 2e 32 2e 34 2e 31 0d 0a 0d 0a 09 ┆ testbuf section 6.2.4.1 ┆ 0x1bce0…1bd00 84 54 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 20 61 6c 73 6f 20 75 73 65 73 20 61 20 7a 6f 6e ┆ The dte process also uses a zon┆ 0x1bd00…1bd20 65 20 28 7a 29 20 66 6f 72 20 70 72 69 6e 74 69 6e 67 20 6f 66 20 65 72 72 6f 72 20 0a 19 89 80 ┆e (z) for printing of error ┆ 0x1bd20…1bd40 80 6d 65 73 73 61 67 65 73 20 61 6e 64 20 6f 74 68 65 72 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 ┆ messages and other information ┆ 0x1bd40…1bd60 6f 6e 20 74 68 65 20 63 6f 6e 73 6f 6c 65 2e 0d 0a 0d 0a 09 84 42 65 73 69 64 65 73 20 74 68 65 ┆on the console. Besides the┆ 0x1bd60…1bd80 73 65 20 74 68 65 20 62 65 6c 6f 77 20 64 65 73 63 72 69 62 65 64 20 64 61 74 61 20 73 74 72 75 ┆se the below described data stru┆ 0x1bd80…1bda0 63 74 75 72 65 73 20 61 72 65 20 69 6d 70 6f 72 74 61 6e 74 20 0a 19 89 80 80 66 6f 72 20 75 6e ┆ctures are important for un┆ 0x1bda0…1bdc0 64 65 72 73 74 61 6e 64 69 6e 67 20 74 68 65 20 69 6e 74 65 72 6e 61 6c 20 73 74 72 75 63 74 75 ┆derstanding the internal structu┆ 0x1bdc0…1bde0 72 65 20 61 6e 64 20 77 6f 72 6b 20 6f 66 20 74 68 65 20 64 74 65 20 0a 19 89 80 80 70 72 6f 63 ┆re and work of the dte proc┆ 0x1bde0…1be00 65 73 73 2e 0d 0a 0d 0a 09 64 74 65 5f 70 61 72 61 6d 5f 72 65 63 2c 0d 0a 09 6e 65 77 5f 64 74 ┆ess. dte_param_rec, new_dt┆ 0x1be00…1be20 (223,) 65 5f 70 61 72 61 6d 09 3a 20 84 42 6f 74 68 20 6f 66 20 74 79 70 65 20 64 74 65 5f 72 65 63 5f ┆e_param : Both of type dte_rec_┆ 0x1be20…1be40 74 79 70 65 20 64 65 66 69 6e 65 64 20 69 6e 20 74 68 65 20 0a 19 9f 80 80 44 54 45 45 4e 56 20 ┆type defined in the DTEENV ┆ 0x1be40…1be60 28 61 70 70 65 6e 64 69 78 20 42 2e 35 29 2e 20 54 68 65 79 20 62 6f 74 68 20 63 6f 6e 74 61 69 ┆(appendix B.5). They both contai┆ 0x1be60…1be80 6e 20 69 6e 80 0a 19 9f 80 80 66 6f 72 6d 61 74 69 6f 6e 20 61 62 6f 75 74 20 6c 6f 77 65 73 74 ┆n in formation about lowest┆ 0x1be80…1bea0 20 61 6e 64 20 68 69 67 68 65 73 74 20 61 73 73 69 67 6e 20 0a 19 9f 80 80 74 77 6f 77 61 79 20 ┆ and highest assign twoway ┆ 0x1bea0…1bec0 6c 6f 67 69 63 61 6c 20 63 68 61 6e 6e 65 6c 20 6e 75 6d 62 65 72 2c 20 6e 75 6d 62 65 72 20 6f ┆logical channel number, number o┆ 0x1bec0…1bee0 66 20 69 6e 80 0a 19 9f 80 80 70 75 74 20 62 75 66 66 65 72 73 20 61 74 20 74 68 65 20 48 44 4c ┆f in put buffers at the HDL┆ 0x1bee0…1bf00 43 20 64 72 69 76 65 72 2c 20 61 6e 64 20 76 61 6c 75 65 73 20 0a 19 9f 80 80 66 6f 72 20 74 68 ┆C driver, and values for th┆ 0x1bf00…1bf20 65 20 74 77 6f 20 74 69 6d 65 72 73 20 74 33 30 20 28 69 64 6c 65 20 74 69 6d 65 72 29 20 61 6e ┆e two timers t30 (idle timer) an┆ 0x1bf20…1bf40 64 20 74 33 32 20 0a 19 9f 80 80 28 61 63 6b 20 74 69 6d 65 72 29 2e 20 64 74 65 5f 70 61 72 61 ┆d t32 (ack timer). dte_para┆ 0x1bf40…1bf60 6d 5f 72 65 63 20 63 6f 6e 74 61 69 6e 73 20 74 68 65 20 61 63 80 0a 19 9f 80 80 74 75 61 6c 20 ┆m_rec contains the ac tual ┆ 0x1bf60…1bf80 76 61 6c 75 65 73 20 61 6e 64 20 6e 65 77 5f 64 74 65 5f 70 61 72 61 6d 20 74 68 65 20 70 6f 73 ┆values and new_dte_param the pos┆ 0x1bf80…1bfa0 73 69 62 6c 65 20 0a 19 9f 80 80 6e 65 77 20 76 61 6c 75 65 73 2e 20 54 68 65 20 63 68 61 6e 67 ┆sible new values. The chang┆ 0x1bfa0…1bfc0 65 20 66 72 6f 6d 20 6f 6e 65 20 73 65 74 20 74 6f 20 61 6e 6f 74 80 0a 19 9f 80 80 68 65 72 20 ┆e from one set to anot her ┆ 0x1bfc0…1bfe0 28 75 70 64 61 74 69 6e 67 20 6f 66 20 73 65 70 65 72 61 74 65 20 76 61 6c 75 65 73 20 6f 72 20 ┆(updating of seperate values or ┆ 0x1bfe0…1c000 61 6c 6c 29 20 6d 61 79 20 0a 19 9f 80 80 62 65 20 69 6e 69 74 69 61 74 65 64 20 62 79 20 74 68 ┆all) may be initiated by th┆ 0x1c000…1c020 (224,) 65 20 4c 43 50 20 6f 70 65 72 61 74 69 6f 6e 20 0a 19 9f 80 80 72 65 73 74 61 72 74 5f 64 74 65 ┆e LCP operation restart_dte┆ 0x1c020…1c040 20 28 44 54 45 20 35 34 2c 30 29 2e 0d 0a 0d 0a 09 63 68 61 6e 5f 76 65 63 74 6f 72 09 3a 20 84 ┆ (DTE 54,0). chan_vector : ┆ 0x1c040…1c060 41 72 72 61 79 20 6f 66 20 70 61 69 72 73 20 6f 66 20 73 65 6d 61 70 68 6f 72 65 73 20 75 73 65 ┆Array of pairs of semaphores use┆ 0x1c060…1c080 64 20 61 73 20 69 6e 70 75 74 20 0a 19 9f 80 80 73 65 6d 61 70 68 6f 72 65 73 20 66 6f 72 20 74 ┆d as input semaphores for t┆ 0x1c080…1c0a0 68 65 20 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 20 69 6e 63 61 72 6e 61 80 0a 19 9f 80 ┆he dte_chan process incarna ┆ 0x1c0a0…1c0c0 80 74 69 6f 6e 73 2e 20 53 65 65 20 61 6c 73 6f 20 63 68 61 6e 5f 74 61 62 6c 65 28 6e 29 2e 69 ┆ tions. See also chan_table(n).i┆ 0x1c0c0…1c0d0 6e 5f 70 72 74 20 62 65 6c 6f 77 2e 0d 0a 0d 0a ┆n_prt below. ┆ 0x1c0d0…1c0d3 FormFeed { 0x1c0d0…1c0d3 0c 80 a5 ┆ ┆ 0x1c0d0…1c0d3 } 0x1c0d3…1c0e0 0a 09 73 79 6e 63 5f 76 65 63 74 6f 72 ┆ sync_vector┆ 0x1c0e0…1c100 09 3a 20 84 41 72 72 61 79 20 6f 66 20 70 61 69 72 73 20 6f 66 20 73 65 6d 61 70 68 6f 72 65 73 ┆ : Array of pairs of semaphores┆ 0x1c100…1c120 20 75 73 65 64 20 61 73 20 73 79 6e 80 0a 19 9f 80 80 63 68 72 6f 6e 69 7a 61 74 69 6f 6e 20 73 ┆ used as syn chronization s┆ 0x1c120…1c140 65 6d 61 70 68 6f 72 65 73 20 66 6f 72 20 74 68 65 20 64 74 65 5f 63 68 61 6e 20 0a 19 9f 80 80 ┆emaphores for the dte_chan ┆ 0x1c140…1c160 70 72 6f 63 65 73 73 20 69 6e 63 61 72 6e 61 74 69 6f 6e 73 2e 0d 0a 20 20 20 20 20 20 20 20 20 ┆process incarnations. ┆ 0x1c160…1c180 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 84 53 65 65 20 61 6c 73 6f 20 ┆ See also ┆ 0x1c180…1c1a0 63 68 61 6e 5f 74 61 62 6c 65 28 6e 29 2e 73 79 6e 63 5f 70 74 72 20 62 65 6c 6f 77 2e 0d 0a 0d ┆chan_table(n).sync_ptr below. ┆ 0x1c1a0…1c1c0 0a 09 6c 63 6e 5f 74 61 62 6c 65 09 09 3a 20 84 41 72 72 61 79 20 6f 66 20 74 79 70 65 20 6c 63 ┆ lcn_table : Array of type lc┆ 0x1c1c0…1c1e0 6e 5f 65 6e 74 72 79 2e 0d 0a 09 09 09 20 20 6c 63 6e 5f 65 6e 74 72 79 20 3d 20 72 65 63 6f 72 ┆n_entry. lcn_entry = recor┆ 0x1c1e0…1c200 64 0d 0a 09 09 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 74 61 74 65 20 20 20 20 20 ┆d state ┆ 0x1c200…1c220 (225,) 3a 20 6c 63 6e 5f 73 74 61 74 65 5f 74 79 70 65 3b 0d 0a 09 09 09 20 20 20 20 20 20 20 20 20 20 ┆: lcn_state_type; ┆ 0x1c220…1c240 20 20 20 20 20 20 69 6e 64 65 78 5f 70 63 74 20 3a 20 69 6e 74 65 67 65 72 3b 0d 0a 20 20 20 20 ┆ index_pct : integer; ┆ 0x1c240…1c260 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1c260…1c280 20 20 20 20 20 20 20 65 6e 64 3b 0d 0a 09 09 09 20 20 84 55 73 65 64 20 69 6e 20 63 72 65 61 74 ┆ end; Used in creat┆ 0x1c280…1c2a0 69 6f 6e 2f 72 65 6d 6f 76 61 6c 20 6f 66 20 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 20 ┆ion/removal of dte_chan process ┆ 0x1c2a0…1c2c0 0a 19 9f 80 80 69 6e 63 61 72 6e 61 74 69 6f 6e 73 20 28 73 75 62 73 65 63 74 69 6f 6e 20 34 2e ┆ incarnations (subsection 4.┆ 0x1c2c0…1c2e0 32 2e 37 29 2e 0d 0a 0d 0a 09 63 68 61 6e 5f 74 61 62 6c 65 09 3a 20 84 41 72 72 61 79 20 6f 66 ┆2.7). chan_table : Array of┆ 0x1c2e0…1c300 20 64 74 65 5f 63 68 61 6e 20 64 65 73 63 72 69 70 74 6f 72 73 2e 20 45 61 63 68 20 65 6e 74 72 ┆ dte_chan descriptors. Each entr┆ 0x1c300…1c320 79 20 69 73 20 0a 19 9f 80 80 6f 66 20 74 79 70 65 20 63 68 61 6e 5f 64 65 73 63 2e 0d 0a 0d 0a ┆y is of type chan_desc. ┆ 0x1c320…1c340 09 20 20 20 63 68 61 6e 5f 64 65 73 63 20 3d 20 72 65 63 6f 72 64 0d 0a 09 09 20 20 20 20 20 20 ┆ chan_desc = record ┆ 0x1c340…1c360 20 6c 63 67 09 3a 20 62 69 74 34 3b 0d 0a 09 09 20 20 20 20 20 20 20 6c 63 6e 09 3a 20 62 79 74 ┆ lcg : bit4; lcn : byt┆ 0x1c360…1c380 65 3b 0d 0a 09 20 20 20 20 20 20 09 20 20 20 20 20 20 20 70 72 6f 63 5f 73 74 61 74 65 09 3a 20 ┆e; proc_state : ┆ 0x1c380…1c3a0 70 72 6f 63 5f 73 74 61 74 65 5f 74 79 70 65 3b 0d 0a 09 20 20 20 20 20 20 09 20 20 20 20 20 20 ┆proc_state_type; ┆ 0x1c3a0…1c3c0 20 69 6e 5f 70 74 72 09 3a 20 74 61 70 5f 70 6f 69 6e 74 65 72 3b 0d 0a 09 20 20 20 20 20 20 09 ┆ in_ptr : tap_pointer; ┆ 0x1c3c0…1c3e0 20 20 20 20 20 20 20 73 79 6e 63 5f 70 74 72 09 3a 20 74 61 70 5f 70 6f 69 6e 74 65 72 3b 0d 0a ┆ sync_ptr : tap_pointer; ┆ 0x1c3e0…1c400 09 20 20 20 20 20 20 09 20 20 20 20 20 20 20 67 65 6e 65 72 61 6c 5f 62 73 65 6d 09 3a 20 73 65 ┆ general_bsem : se┆ 0x1c400…1c420 (226,) 6d 70 6f 69 6e 74 65 72 3b 0d 0a 09 20 20 20 20 20 20 09 20 20 20 20 20 20 20 69 6e 63 61 72 5f ┆mpointer; incar_┆ 0x1c420…1c440 73 74 61 74 65 09 3a 20 69 6e 63 61 72 5f 73 74 61 74 65 5f 74 79 70 65 3b 0d 0a 09 20 20 20 20 ┆state : incar_state_type; ┆ 0x1c440…1c460 20 20 09 20 20 20 20 20 20 20 63 68 61 6e 5f 73 68 09 3a 20 73 68 61 64 6f 77 3b 0d 0a 09 20 20 ┆ chan_sh : shadow; ┆ 0x1c460…1c480 20 20 20 20 09 20 20 20 20 20 65 6e 64 3b 0d 0a 0d 0a 09 20 20 20 6c 63 67 2c 20 6c 63 6e 09 3a ┆ end; lcg, lcn :┆ 0x1c480…1c4a0 20 84 44 65 66 69 6e 65 73 20 74 68 65 20 6c 6f 67 69 63 61 6c 20 67 72 6f 75 70 20 61 6e 64 20 ┆ Defines the logical group and ┆ 0x1c4a0…1c4c0 63 68 61 6e 6e 65 6c 20 0a 19 9f 80 80 6e 75 6d 62 65 72 2e 0d 0a 0d 0a 09 20 20 20 70 72 6f 63 ┆channel number. proc┆ 0x1c4c0…1c4e0 5f 73 74 61 74 65 09 3a 20 84 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 20 73 74 61 74 65 ┆_state : dte_chan process state┆ 0x1c4e0…1c500 20 28 73 65 65 20 73 75 62 73 65 63 74 69 6f 6e 20 20 0a 19 9f 80 80 34 2e 32 2e 37 29 2e 0d 0a ┆ (see subsection 4.2.7). ┆ 0x1c500…1c520 0d 0a 09 20 20 20 69 6e 5f 70 74 72 09 09 3a 20 64 74 65 5f 63 68 61 6e 20 69 6e 63 61 72 6e 61 ┆ in_ptr : dte_chan incarna┆ 0x1c520…1c540 74 69 6f 6e 20 6d 61 69 6e 20 73 65 6d 61 70 68 6f 72 65 20 70 6f 69 6e 74 65 72 2e 0d 0a 0d 0a ┆tion main semaphore pointer. ┆ 0x1c540…1c560 09 20 20 20 73 79 6e 63 5f 70 74 72 09 3a 20 84 64 74 65 5f 63 68 61 6e 20 69 6e 63 61 72 6e 61 ┆ sync_ptr : dte_chan incarna┆ 0x1c560…1c580 74 69 6f 6e 20 73 79 6e 63 68 72 6f 6e 69 7a 61 74 69 6f 6e 20 73 65 6d 61 80 0a 19 9f 80 80 70 ┆tion synchronization sema p┆ 0x1c580…1c5a0 68 6f 72 65 20 70 6f 69 6e 74 65 72 2e 0d 0a 0d 0a 09 20 20 20 67 65 6e 65 72 61 6c 5f 62 73 65 ┆hore pointer. general_bse┆ 0x1c5a0…1c5c0 6d 09 3a 20 47 65 6e 65 72 61 6c 20 69 6e 70 75 74 20 73 65 6d 61 70 68 6f 72 65 20 70 6f 69 6e ┆m : General input semaphore poin┆ 0x1c5c0…1c5e0 74 65 72 2e 0d 0a 0d 0a 8c 80 a8 0a 09 20 20 20 69 6e 63 61 72 5f 73 74 61 74 65 09 3a 20 84 53 ┆ter. incar_state : S┆ 0x1c5e0…1c600 74 61 74 65 20 28 69 72 65 6d 6f 76 65 64 2c 20 69 6e 6f 74 5f 72 65 6d 6f 76 65 64 29 20 6f 66 ┆tate (iremoved, inot_removed) of┆ 0x1c600…1c620 (227,) 20 74 68 65 20 69 6e 63 61 72 80 0a 19 9f 80 80 6e 61 74 69 6f 6e 2e 0d 0a 0d 0a 09 20 20 20 63 ┆ the incar nation. c┆ 0x1c620…1c640 68 61 6e 5f 73 68 09 3a 20 84 50 6f 69 6e 74 65 72 20 74 6f 20 64 74 65 5f 63 68 61 6e 20 69 6e ┆han_sh : Pointer to dte_chan in┆ 0x1c640…1c660 63 61 72 6e 61 74 69 6f 6e 20 75 73 65 64 20 62 79 20 74 68 65 20 0a 19 9f 80 80 6f 70 65 72 61 ┆carnation used by the opera┆ 0x1c660…1c670 74 69 6e 67 20 73 79 73 74 65 6d 2e 0d 0a 0d 0a ┆ting system. ┆ 0x1c670…1c673 FormFeed { 0x1c670…1c673 0c 80 86 ┆ ┆ 0x1c670…1c673 } 0x1c673…1c680 0a a1 34 2e 32 2e 35 09 53 65 6d 61 70 ┆ 4.2.5 Semap┆ 0x1c680…1c6a0 68 6f 72 65 73 20 61 6e 64 20 4d 65 73 73 61 67 65 20 46 6c 6f 77 2e 0d 0a 0d 0a 0d 0a 0d 0a 0d ┆hores and Message Flow. ┆ 0x1c6a0…1c6c0 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d ┆ ┆ […0x1…] 0x1c6e0…1c700 0a 0d 0a 09 46 69 67 75 72 65 20 31 33 3a 20 46 6c 6f 77 20 6f 66 20 6d 65 73 73 61 67 65 73 20 ┆ Figure 13: Flow of messages ┆ 0x1c700…1c712 74 6f 20 61 6e 64 20 66 72 6f 6d 20 64 74 65 2e 0d 0a ┆to and from dte. ┆ 0x1c712…1c715 FormFeed { 0x1c712…1c715 0c 80 a7 ┆ ┆ 0x1c712…1c715 } 0x1c715…1c720 0a a1 34 2e 32 2e 36 09 4f 76 65 ┆ 4.2.6 Ove┆ 0x1c720…1c740 72 76 69 65 77 20 6f 66 20 50 72 6f 63 65 73 73 20 4f 70 65 72 61 74 69 6f 6e 2e 0d 0a 0d 0a 09 ┆rview of Process Operation. ┆ 0x1c740…1c760 84 49 6e 20 74 68 69 73 20 73 75 62 73 65 63 74 69 6f 6e 20 61 6e 20 6f 76 65 72 76 69 65 77 20 ┆ In this subsection an overview ┆ 0x1c760…1c780 6f 66 20 74 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 20 6f 70 65 72 61 74 69 6f 6e 20 69 73 20 ┆of the dte process operation is ┆ 0x1c780…1c7a0 0a 19 89 80 80 6f 75 74 6c 69 6e 65 64 20 65 69 74 68 65 72 20 61 73 20 66 6c 6f 77 63 68 61 72 ┆ outlined either as flowchar┆ 0x1c7a0…1c7c0 74 73 20 6f 72 20 69 6e 20 70 73 65 75 64 6f 20 52 65 61 6c 2d 54 69 6d 65 20 50 61 73 63 61 6c ┆ts or in pseudo Real-Time Pascal┆ 0x1c7c0…1c7e0 20 63 6f 64 65 20 0a 19 89 80 80 6f 72 20 69 6e 20 6e 61 74 75 72 61 6c 20 74 65 78 74 2e 0d 0a ┆ code or in natural text. ┆ 0x1c7e0…1c800 0d 0a 09 84 41 20 64 65 74 61 69 6c 65 64 20 64 65 73 63 72 69 70 74 69 6f 6e 20 6f 66 20 63 68 ┆ A detailed description of ch┆ 0x1c800…1c820 (228,) 61 6e 6e 65 6c 20 73 65 74 2d 75 70 20 61 6e 64 20 63 6c 65 61 72 69 6e 67 20 69 73 20 67 69 76 ┆annel set-up and clearing is giv┆ 0x1c820…1c840 65 6e 20 69 6e 20 0a 19 89 80 80 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 32 2e 37 20 61 6e 64 20 ┆en in subsection 4.2.7 and ┆ 0x1c840…1c860 74 68 65 20 68 64 6c 63 20 65 76 65 6e 74 20 74 72 65 61 74 6d 65 6e 74 20 69 6e 20 73 75 62 73 ┆the hdlc event treatment in subs┆ 0x1c860…1c880 65 63 74 69 6f 6e 20 34 2e 32 2e 38 2e 0d 0a 0d 0a 09 54 68 65 20 64 69 66 66 65 72 65 6e 74 20 ┆ection 4.2.8. The different ┆ 0x1c880…1c8a0 73 74 61 74 65 20 76 61 72 69 61 62 6c 65 73 20 75 73 65 64 20 69 6e 20 74 68 65 20 64 65 73 63 ┆state variables used in the desc┆ 0x1c8a0…1c8c0 72 69 70 74 69 6f 6e 20 61 72 65 3a 0d 0a 0d 0a b0 09 64 74 65 5f 73 74 61 74 65 20 20 20 20 20 ┆ription are: dte_state ┆ 0x1c8c0…1c8e0 f0 3a 20 73 65 65 20 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 32 2e 32 2e 0d 0a 0d 0a b0 09 70 72 ┆ : see subsection 4.2.2. pr┆ 0x1c8e0…1c900 6f 63 5f 73 74 61 74 65 20 20 20 20 f0 3a 20 70 5f 65 78 69 74 09 3a 20 84 65 78 63 65 70 74 69 ┆oc_state : p_exit : excepti┆ 0x1c900…1c920 6f 6e 20 70 72 6f 63 65 64 75 72 65 20 63 61 6c 6c 65 64 20 69 6e 20 0a 19 a9 81 80 63 68 61 6e ┆on procedure called in chan┆ 0x1c920…1c940 6e 65 6c 20 70 72 6f 63 65 73 73 0d 0a 09 09 20 20 20 20 20 20 70 5f 69 64 6c 65 09 3a 20 84 63 ┆nel process p_idle : c┆ 0x1c940…1c960 68 61 6e 6e 65 6c 20 70 72 6f 63 65 73 73 20 69 64 6c 65 20 65 69 74 68 65 72 20 72 65 6d 6f 76 ┆hannel process idle either remov┆ 0x1c960…1c980 80 0a 19 a9 80 80 65 64 20 6f 72 20 73 74 6f 70 70 65 64 20 28 69 72 65 6d 6f 76 65 64 2c 20 69 ┆ ed or stopped (iremoved, i┆ 0x1c980…1c9a0 6e 6f 74 5f 72 65 6d 80 0a 19 a9 80 80 6f 76 65 64 29 0d 0a 09 09 20 20 20 20 20 20 70 5f 61 63 ┆not_rem oved) p_ac┆ 0x1c9a0…1c9c0 74 69 76 65 09 3a 20 84 56 69 72 74 75 61 6c 20 43 61 6c 6c 20 65 78 73 69 73 74 69 6e 67 0d 0a ┆tive : Virtual Call exsisting ┆ 0x1c9c0…1c9e0 09 09 20 20 20 20 20 20 70 5f 73 74 6f 70 70 69 6e 67 09 3a 20 84 63 68 61 6e 6e 65 6c 20 70 72 ┆ p_stopping : channel pr┆ 0x1c9e0…1ca00 6f 63 65 73 73 20 69 6e 20 73 74 6f 70 20 70 68 61 73 65 20 28 56 43 20 0a 19 a9 80 80 63 6c 65 ┆ocess in stop phase (VC cle┆ 0x1ca00…1ca20 (229,) 61 72 69 6e 67 29 0d 0a 09 09 20 20 20 20 20 20 70 5f 72 65 73 74 61 72 74 09 3a 20 44 54 45 20 ┆aring) p_restart : DTE ┆ 0x1ca20…1ca40 69 6e 20 72 65 73 74 61 72 74 20 70 68 61 73 65 0d 0a 0d 0a b0 09 6c 63 6e 5f 73 74 61 74 65 09 ┆in restart phase lcn_state ┆ 0x1ca40…1ca60 20 20 20 20 f0 3a 20 63 68 5f 72 65 61 64 79 09 3a 20 6c 6f 67 69 63 61 6c 20 63 68 61 6e 6e 65 ┆ : ch_ready : logical channe┆ 0x1ca60…1ca80 6c 20 69 64 6c 65 0d 0a 09 09 20 20 20 20 20 20 63 68 5f 64 61 74 61 09 3a 20 56 69 72 74 75 61 ┆l idle ch_data : Virtua┆ 0x1ca80…1caa0 6c 20 43 61 6c 6c 20 65 78 73 69 73 74 69 6e 67 0d 0a 09 09 20 20 20 20 20 20 63 68 5f 63 6c 65 ┆l Call exsisting ch_cle┆ 0x1caa0…1cac0 61 72 69 6e 67 09 3a 20 56 69 72 74 75 61 6c 20 43 61 6c 6c 20 69 73 20 62 65 69 6e 67 20 63 6c ┆aring : Virtual Call is being cl┆ 0x1cac0…1cae0 65 61 72 65 64 0d 0a 0d 0a b0 09 6c 69 6e 65 5f 73 74 61 74 65 20 20 20 20 f0 3a 20 73 65 65 20 ┆eared line_state : see ┆ 0x1cae0…1caf6 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 32 2e 32 0d 0a 0d 0a 0d 0a ┆subsection 4.2.2 ┆ 0x1caf6…1caf9 FormFeed { 0x1caf6…1caf9 0c 80 9e ┆ ┆ 0x1caf6…1caf9 } 0x1caf9…1cb00 0a 0d 0a 0d 0a 0d 0a ┆ ┆ 0x1cb00…1cb20 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ […0x1…] 0x1cb40…1cb60 0d 0a 0d 0a 0d 0a 09 46 69 67 75 72 65 20 31 34 3a 20 50 72 6f 63 65 73 73 20 64 74 65 2c 20 6d ┆ Figure 14: Process dte, m┆ 0x1cb60…1cb70 61 69 6e 20 66 6c 6f 77 63 68 61 72 74 2e 0d 0a ┆ain flowchart. ┆ 0x1cb70…1cb73 FormFeed { 0x1cb70…1cb73 0c 80 a7 ┆ ┆ 0x1cb70…1cb73 } 0x1cb73…1cb80 0a b0 b0 50 41 52 54 20 28 41 29 3a 0d ┆ PART (A): ┆ 0x1cb80…1cba0 0a 0d 0a 20 20 84 20 20 20 20 20 20 20 49 6e 20 74 68 65 20 69 6e 69 74 69 61 6c 69 7a 61 74 69 ┆ In the initializati┆ 0x1cba0…1cbc0 6f 6e 20 70 61 72 74 2c 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 61 63 74 69 6f 6e 73 20 61 ┆on part, the following actions a┆ 0x1cbc0…1cbe0 72 65 20 70 65 72 66 6f 72 6d 65 64 3a 0d 0a 0d 0a 09 20 20 20 2d 20 84 69 6e 69 74 69 61 6c 69 ┆re performed: - initiali┆ 0x1cbe0…1cc00 7a 61 74 69 6f 6e 20 6f 66 20 b0 67 65 74 5f 63 6c 6f 63 6b f0 20 6d 65 73 73 61 67 65 20 61 6e ┆zation of get_clock message an┆ 0x1cc00…1cc20 (230,) 64 20 6f 75 74 70 75 74 20 7a 6f 6e 65 2c 0d 0a 09 20 20 20 2d 20 84 77 72 69 74 69 6e 67 20 74 ┆d output zone, - writing t┆ 0x1cc20…1cc40 68 65 20 44 54 45 20 76 65 72 73 69 6f 6e 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 6f 6e 20 74 68 ┆he DTE version information on th┆ 0x1cc40…1cc60 65 20 63 6f 6e 73 6f 6c 65 2c 20 69 66 20 0a 19 8e 80 80 74 65 73 74 28 34 29 20 3d 20 74 72 75 ┆e console, if test(4) = tru┆ 0x1cc60…1cc80 65 20 28 73 65 65 20 73 75 62 73 65 63 74 69 6f 6e 20 36 2e 32 2e 31 29 0d 0a 09 20 20 20 2d 20 ┆e (see subsection 6.2.1) - ┆ 0x1cc80…1cca0 84 63 68 65 63 6b 69 6e 67 20 64 65 66 61 75 6c 74 20 76 61 6c 75 65 73 2c 20 70 72 6f 63 65 73 ┆ checking default values, proces┆ 0x1cca0…1ccc0 73 20 70 61 72 61 6d 65 74 65 72 73 20 61 6e 64 20 6f 77 6e 20 64 74 65 20 0a 19 8e 80 80 61 64 ┆s parameters and own dte ad┆ 0x1ccc0…1cce0 64 72 65 73 73 0d 0a 09 20 20 20 2d 20 84 69 6e 69 74 69 61 6c 69 7a 61 74 69 6f 6e 20 6f 66 20 ┆dress - initialization of ┆ 0x1cce0…1cd00 6c 6f 63 61 6c 2c 20 74 72 61 63 69 6e 67 20 61 6e 64 20 4e 43 20 76 61 72 69 61 62 6c 65 73 0d ┆local, tracing and NC variables ┆ 0x1cd00…1cd20 0a 09 20 20 20 2d 20 84 69 6e 69 74 69 61 6c 69 7a 61 74 69 6f 6e 20 6f 66 20 74 61 62 6c 65 73 ┆ - initialization of tables┆ 0x1cd20…1cd40 3a 0d 0a 09 09 63 68 61 6e 5f 74 61 62 6c 65 0d 0a 09 09 6c 63 6e 5f 74 61 62 6c 65 0d 0a 09 09 ┆: chan_table lcn_table ┆ 0x1cd40…1cd60 68 72 65 63 5f 74 61 62 6c 65 0d 0a 09 09 69 6e 74 5f 74 61 62 6c 65 0d 0a 09 09 75 73 65 72 5f ┆hrec_table int_table user_┆ 0x1cd60…1cd80 74 61 62 6c 65 0d 0a 09 20 20 20 2d 20 62 75 66 66 65 72 20 61 6c 6c 6f 63 61 74 69 6f 6e 0d 0a ┆table - buffer allocation ┆ 0x1cd80…1cda0 09 09 73 79 6e 63 5f 6d 65 73 73 20 61 6e 64 20 72 65 73 74 61 72 74 5f 6d 65 73 73 20 70 6f 6f ┆ sync_mess and restart_mess poo┆ 0x1cda0…1cdc0 6c 73 0d 0a 09 09 68 64 6c 63 20 69 6e 70 75 74 20 70 6f 6f 6c 73 0d 0a 09 09 58 2e 32 35 20 63 ┆ls hdlc input pools X.25 c┆ 0x1cdc0…1cde0 6f 6e 74 72 6f 6c 20 6f 75 74 70 75 74 20 70 6f 6f 6c 0d 0a 09 09 69 6e 74 65 72 6e 61 6c 20 65 ┆ontrol output pool internal e┆ 0x1cde0…1ce00 76 65 6e 74 20 6d 65 73 73 61 67 65 73 0d 0a 09 09 68 64 6c 63 20 65 76 65 6e 74 20 70 6f 6f 6c ┆vent messages hdlc event pool┆ 0x1ce00…1ce20 (231,) 0d 0a 09 09 69 6e 74 65 72 6e 61 6c 20 68 65 61 64 65 72 20 70 6f 6f 6c 0d 0a 09 09 69 6e 74 65 ┆ internal header pool inte┆ 0x1ce20…1ce40 72 6e 61 6c 20 73 75 70 65 72 76 69 73 6f 72 20 6d 65 73 73 61 67 65 20 70 6f 6f 6c 0d 0a 09 09 ┆rnal supervisor message pool ┆ 0x1ce40…1ce60 62 72 65 61 6b 20 6d 65 73 73 61 67 65 0d 0a 09 20 20 20 2d 20 84 69 6e 69 74 69 61 6c 69 7a 61 ┆break message - initializa┆ 0x1ce60…1ce80 74 69 6f 6e 20 28 6c 69 6e 6b 2c 20 63 72 65 61 74 65 20 61 6e 64 20 73 74 61 72 74 29 20 6f 66 ┆tion (link, create and start) of┆ 0x1ce80…1cea0 20 63 68 69 6c 64 72 65 6e 20 70 72 6f 63 65 73 73 65 73 0d 0a 09 20 20 20 2d 20 84 73 65 6e 64 ┆ children processes - send┆ 0x1cea0…1cec0 69 6e 67 20 b0 63 6f 6e 6e 65 63 74 5f 6c 63 70 f0 20 74 6f 20 74 68 65 20 4e 43 50 0d 0a 09 20 ┆ing connect_lcp to the NCP ┆ 0x1cec0…1cee0 20 20 2d 20 84 73 65 6e 64 69 6e 67 20 b0 63 6f 6e 6e 65 63 74 f0 20 61 6e 64 20 b0 65 76 65 6e ┆ - sending connect and even┆ 0x1cee0…1cf00 74 f0 20 6d 65 73 73 61 67 65 73 20 74 6f 20 74 68 65 20 48 44 4c 43 4c 43 50 20 61 6e 64 20 69 ┆t messages to the HDLCLCP and i┆ 0x1cf00…1cf20 6e 69 74 69 61 80 0a 19 8e 82 80 6c 69 7a 61 74 69 6f 6e 20 6f 66 20 61 6c 6c 20 61 73 73 6f 63 ┆nitia lization of all assoc┆ 0x1cf20…1cf34 69 61 74 65 64 20 76 61 72 69 61 62 6c 65 73 2e 0d 0a 0d 0a ┆iated variables. ┆ 0x1cf34…1cf37 FormFeed { 0x1cf34…1cf37 0c 80 9e ┆ ┆ 0x1cf34…1cf37 } 0x1cf37…1cf40 0a b0 50 41 52 54 20 28 42 ┆ PART (B┆ 0x1cf40…1cf60 29 3a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆): ┆ 0x1cf60…1cf80 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ 0x1cf80…1cfa0 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 46 69 67 75 72 65 20 31 35 3a 20 50 72 6f 63 65 73 ┆ Figure 15: Proces┆ 0x1cfa0…1cfbe 73 20 64 74 65 2c 20 70 61 72 74 20 28 42 29 20 66 6c 6f 77 63 68 61 72 74 2e 0d 0a 0d 0a ┆s dte, part (B) flowchart. ┆ 0x1cfbe…1cfc1 FormFeed { 0x1cfbe…1cfc1 0c 80 a8 ┆ ┆ 0x1cfbe…1cfc1 } 0x1cfc1…1cfe0 0a b0 50 41 52 54 20 28 43 29 3a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ PART (C): ┆ 0x1cfe0…1d000 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ 0x1d000…1d020 (232,) 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 46 69 67 75 72 ┆ Figur┆ 0x1d020…1d040 65 20 31 36 3a 20 50 72 6f 63 65 73 73 20 64 74 65 2c 20 70 61 72 74 20 28 43 29 20 66 6c 6f 77 ┆e 16: Process dte, part (C) flow┆ 0x1d040…1d048 63 68 61 72 74 2e 0d 0a ┆chart. ┆ 0x1d048…1d04b FormFeed { 0x1d048…1d04b 0c 80 a8 ┆ ┆ 0x1d048…1d04b } 0x1d04b…1d060 0a b0 50 41 52 54 20 28 44 29 3a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ PART (D): ┆ 0x1d060…1d080 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ […0x1…] 0x1d0a0…1d0c0 0d 0a 0d 0a 09 46 69 67 75 72 65 20 31 37 3a 20 50 72 6f 63 65 73 73 20 64 74 65 2c 20 70 61 72 ┆ Figure 17: Process dte, par┆ 0x1d0c0…1d0d4 74 20 28 44 29 20 66 6c 6f 77 63 68 61 72 74 2e 0d 0a 0d 0a ┆t (D) flowchart. ┆ 0x1d0d4…1d0d7 FormFeed { 0x1d0d4…1d0d7 0c 80 a9 ┆ ┆ 0x1d0d4…1d0d7 } 0x1d0d7…1d0e0 0a b0 50 41 52 54 20 28 45 ┆ PART (E┆ 0x1d0e0…1d100 29 3a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆): ┆ 0x1d100…1d120 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ 0x1d120…1d140 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 46 69 67 75 72 65 20 31 38 3a 20 50 72 6f 63 65 73 ┆ Figure 18: Proces┆ 0x1d140…1d15e 73 20 64 74 65 2c 20 70 61 72 74 20 28 45 29 20 66 6c 6f 77 63 68 61 72 74 2e 0d 0a 0d 0a ┆s dte, part (E) flowchart. ┆ 0x1d15e…1d161 FormFeed { 0x1d15e…1d161 0c 80 a8 ┆ ┆ 0x1d15e…1d161 } 0x1d161…1d180 0a b0 50 41 52 54 20 28 46 29 3a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ PART (F): ┆ 0x1d180…1d1a0 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ 0x1d1a0…1d1c0 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 2a 20 73 65 65 20 72 65 66 2e 20 ┆ * see ref. ┆ 0x1d1c0…1d1e0 28 34 29 0d 0a 09 46 69 67 75 72 65 20 31 39 3a 20 50 72 6f 63 65 73 73 20 64 74 65 2c 20 70 61 ┆(4) Figure 19: Process dte, pa┆ 0x1d1e0…1d1f3 72 74 20 28 46 29 20 66 6c 6f 77 63 68 61 72 74 2e 0d 0a ┆rt (F) flowchart. ┆ 0x1d1f3…1d1f6 FormFeed { 0x1d1f3…1d1f6 0c 80 a6 ┆ ┆ 0x1d1f3…1d1f6 } 0x1d1f6…1d200 0a b0 50 41 52 54 20 28 47 29 ┆ PART (G)┆ 0x1d200…1d220 (233,) 3a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d ┆: ┆ 0x1d220…1d240 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d ┆ ┆ 0x1d240…1d260 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 46 69 67 75 72 65 20 32 30 3a 20 50 72 6f 63 65 73 73 ┆ Figure 20: Process┆ 0x1d260…1d27b 20 64 74 65 2c 20 70 61 72 74 20 28 47 29 20 66 6c 6f 77 63 68 61 72 74 2e 0d 0a ┆ dte, part (G) flowchart. ┆ 0x1d27b…1d27e FormFeed { 0x1d27b…1d27e 0c 80 a7 ┆ ┆ 0x1d27b…1d27e } 0x1d27e…1d280 0a b0 ┆ ┆ 0x1d280…1d2a0 50 41 52 54 20 28 48 29 3a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d ┆PART (H): ┆ 0x1d2a0…1d2c0 0a 0d 0a 09 46 69 67 75 72 65 20 32 31 3a 20 50 72 6f 63 65 73 73 20 64 74 65 2c 20 70 61 72 74 ┆ Figure 21: Process dte, part┆ 0x1d2c0…1d2e0 20 28 48 29 20 66 6c 6f 77 63 68 61 72 74 2e 0d 0a 0d 0a 0d 0a 0d 0a b0 b0 50 41 52 54 20 28 49 ┆ (H) flowchart. PART (I┆ 0x1d2e0…1d300 29 3a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆): ┆ 0x1d300…1d320 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 46 69 67 75 72 65 20 32 32 3a 20 50 72 6f 63 65 73 73 20 ┆ Figure 22: Process ┆ 0x1d320…1d33a 64 74 65 2c 20 70 61 72 74 20 28 49 29 20 66 6c 6f 77 63 68 61 72 74 2e 0d 0a ┆dte, part (I) flowchart. ┆ 0x1d33a…1d33d FormFeed { 0x1d33a…1d33d 0c 80 a7 ┆ ┆ 0x1d33a…1d33d } 0x1d33d…1d340 0a b0 50 ┆ P┆ 0x1d340…1d360 41 52 54 20 28 4a 29 3a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ART (J): ┆ 0x1d360…1d380 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ 0x1d380…1d3a0 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 46 69 67 75 72 65 20 32 33 3a 20 ┆ Figure 23: ┆ 0x1d3a0…1d3c0 50 72 6f 63 65 73 73 20 64 74 65 2c 20 70 61 72 74 20 28 4a 29 20 66 6c 6f 77 63 68 61 72 74 2e ┆Process dte, part (J) flowchart.┆ 0x1d3c0…1d3c2 0d 0a ┆ ┆ 0x1d3c2…1d3c5 FormFeed { 0x1d3c2…1d3c5 0c 80 a7 ┆ ┆ 0x1d3c2…1d3c5 } 0x1d3c5…1d3e0 0a a1 34 2e 32 2e 37 09 43 72 65 61 74 69 6f 6e 20 61 6e 64 20 52 65 6d 6f 76 61 ┆ 4.2.7 Creation and Remova┆ 0x1d3e0…1d400 6c 20 6f 66 20 64 74 65 5f 63 68 61 6e 20 50 72 6f 63 65 73 73 20 49 6e 63 61 72 6e 61 74 69 6f ┆l of dte_chan Process Incarnatio┆ 0x1d400…1d420 (234,) 6e 73 2e 0d 0a 0d 0a 09 84 41 73 20 61 6c 72 65 61 64 79 20 6d 65 6e 74 69 6f 6e 65 64 20 61 20 ┆ns. As already mentioned a ┆ 0x1d420…1d440 56 69 72 74 75 61 6c 20 43 61 6c 6c 20 69 73 20 73 65 72 76 69 63 65 64 20 62 79 20 6f 6e 65 20 ┆Virtual Call is serviced by one ┆ 0x1d440…1d460 64 74 65 5f 63 68 61 6e 20 0a 19 89 80 80 70 72 6f 63 65 73 73 20 69 6e 63 61 72 6e 61 74 69 6f ┆dte_chan process incarnatio┆ 0x1d460…1d480 6e 2e 20 54 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 20 70 65 72 66 6f 72 6d 73 20 74 68 65 20 ┆n. The dte process performs the ┆ 0x1d480…1d4a0 63 72 65 61 74 69 6f 6e 2c 20 63 6f 6e 80 0a 19 89 80 80 6e 65 63 74 69 6f 6e 20 74 6f 20 61 20 ┆creation, con nection to a ┆ 0x1d4a0…1d4c0 56 43 2c 20 61 6e 64 20 72 65 6d 6f 76 61 6c 20 6f 66 20 74 68 65 73 65 20 69 6e 63 61 72 6e 61 ┆VC, and removal of these incarna┆ 0x1d4c0…1d4e0 74 69 6f 6e 73 20 62 79 20 6d 61 69 6e 74 61 69 6e 69 6e 67 20 0a 19 89 80 80 74 77 6f 20 74 61 ┆tions by maintaining two ta┆ 0x1d4e0…1d500 62 6c 65 73 20 65 61 63 68 20 63 6f 6e 74 61 69 6e 69 6e 67 20 61 20 73 74 61 74 65 20 76 61 72 ┆bles each containing a state var┆ 0x1d500…1d520 69 61 62 6c 65 3a 0d 0a 09 20 20 20 2d 20 6c 6f 67 69 63 61 6c 20 63 68 61 6e 6e 65 6c 20 74 61 ┆iable: - logical channel ta┆ 0x1d520…1d540 62 6c 65 20 28 6c 63 6e 5f 74 61 62 6c 65 28 6e 29 2e 73 74 61 74 65 29 0d 0a 09 20 20 20 2d 20 ┆ble (lcn_table(n).state) - ┆ 0x1d540…1d560 63 68 61 6e 6e 65 6c 20 70 72 6f 63 65 73 73 20 74 61 62 6c 65 20 28 63 68 61 6e 5f 74 61 62 6c ┆channel process table (chan_tabl┆ 0x1d560…1d580 65 28 6e 29 2e 70 72 6f 63 5f 73 74 61 74 65 29 0d 0a 0d 0a 09 84 41 66 74 65 72 20 69 6e 69 74 ┆e(n).proc_state) After init┆ 0x1d580…1d5a0 69 61 6c 69 7a 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 44 54 45 20 61 6e 64 20 65 78 63 68 61 6e ┆ialization of the DTE and exchan┆ 0x1d5a0…1d5c0 67 65 20 6f 66 20 52 45 53 54 41 52 54 20 70 61 63 6b 65 74 73 20 6f 6e 20 0a 19 89 80 80 74 68 ┆ge of RESTART packets on th┆ 0x1d5c0…1d5e0 65 20 44 54 45 2f 44 43 45 20 69 6e 74 65 72 66 61 63 65 2c 20 61 6c 6c 20 6c 6f 67 69 63 61 6c ┆e DTE/DCE interface, all logical┆ 0x1d5e0…1d600 20 63 68 61 6e 6e 65 6c 73 20 61 72 65 20 69 6e 20 73 74 61 74 65 20 63 68 5f 72 65 61 64 79 20 ┆ channels are in state ch_ready ┆ 0x1d600…1d620 (235,) 0a 19 89 80 80 61 6e 64 20 61 6c 6c 20 69 6e 63 61 72 6e 61 74 69 6f 6e 73 20 69 6e 20 73 74 61 ┆ and all incarnations in sta┆ 0x1d620…1d640 74 65 20 70 5f 69 64 6c 65 2e 20 41 6e 20 69 6e 63 61 72 6e 61 74 69 6f 6e 20 69 73 20 63 72 65 ┆te p_idle. An incarnation is cre┆ 0x1d640…1d660 61 74 65 64 2f 80 0a 19 89 80 80 73 74 61 72 74 65 64 20 65 69 74 68 65 72 2c 20 77 68 65 6e 20 ┆ated/ started either, when ┆ 0x1d660…1d680 61 20 75 73 65 72 20 64 74 65 5f 63 61 6c 6c 5f 72 65 71 2c 20 6f 72 20 61 6e 20 58 2e 32 35 20 ┆a user dte_call_req, or an X.25 ┆ 0x1d680…1d6a0 70 61 63 6b 65 74 20 6f 6e 20 61 20 0a 19 89 80 80 6c 6f 67 69 63 61 6c 20 63 68 61 6e 6e 65 6c ┆packet on a logical channel┆ 0x1d6a0…1d6c0 20 69 6e 20 73 74 61 74 65 20 63 68 5f 72 65 61 64 79 2c 20 69 73 20 72 65 63 65 69 76 65 64 2e ┆ in state ch_ready, is received.┆ 0x1d6c0…1d6e0 20 57 68 65 6e 20 74 68 65 20 56 69 72 74 75 61 6c 20 0a 19 89 80 80 43 61 6c 6c 20 69 73 20 63 ┆ When the Virtual Call is c┆ 0x1d6e0…1d700 6c 65 61 72 65 64 20 74 68 65 20 61 73 73 6f 63 69 61 74 65 64 20 64 74 65 5f 63 68 61 6e 20 69 ┆leared the associated dte_chan i┆ 0x1d700…1d720 6e 63 61 72 6e 61 74 69 6f 6e 20 69 73 20 73 74 6f 70 70 65 64 20 61 6e 64 20 0a 19 89 80 80 74 ┆ncarnation is stopped and t┆ 0x1d720…1d740 68 65 20 73 74 61 74 65 20 62 65 63 6f 6d 65 73 20 70 5f 69 64 6c 65 2c 20 61 6e 64 20 77 68 65 ┆he state becomes p_idle, and whe┆ 0x1d740…1d760 6e 20 74 68 65 20 44 54 45 20 70 65 72 66 6f 72 6d 73 20 61 6e 20 58 2e 32 35 20 72 65 80 0a 19 ┆n the DTE performs an X.25 re ┆ 0x1d760…1d780 89 80 80 73 74 61 72 74 20 61 6c 6c 20 69 6e 63 61 72 6e 61 74 69 6f 6e 73 20 61 72 65 20 73 74 ┆ start all incarnations are st┆ 0x1d780…1d7a0 6f 70 70 65 64 20 61 6e 64 20 72 65 6d 6f 76 65 64 2e 0d 0a 0d 0a 09 84 42 65 6c 6f 77 20 61 72 ┆opped and removed. Below ar┆ 0x1d7a0…1d7c0 65 20 74 68 65 20 63 6f 6e 6e 65 63 74 69 6f 6e 73 20 62 65 74 77 65 65 6e 20 74 68 65 20 64 69 ┆e the connections between the di┆ 0x1d7c0…1d7e0 66 66 65 72 65 6e 74 20 74 61 62 6c 65 73 20 28 6c 63 6e 5f 74 61 62 6c 65 2c 20 0a 19 89 80 80 ┆fferent tables (lcn_table, ┆ 0x1d7e0…1d800 63 68 61 6e 5f 74 61 62 6c 65 2c 20 75 73 65 72 5f 74 61 62 6c 65 2c 20 68 72 65 63 5f 74 61 62 ┆chan_table, user_table, hrec_tab┆ 0x1d800…1d820 (236,) 6c 65 20 61 6e 64 20 69 6e 74 5f 74 61 62 6c 65 29 20 6f 75 74 6c 69 6e 65 64 20 28 66 69 67 75 ┆le and int_table) outlined (figu┆ 0x1d820…1d840 72 65 20 0a 19 89 80 80 32 34 29 20 61 6e 64 20 73 74 61 80 74 65 20 74 72 61 6e 73 69 74 69 6f ┆re 24) and sta te transitio┆ 0x1d840…1d860 6e 20 74 61 62 6c 65 73 20 28 74 61 62 6c 65 20 34 20 61 6e 64 20 35 29 2c 20 69 6e 63 6c 75 64 ┆n tables (table 4 and 5), includ┆ 0x1d860…1d880 69 6e 67 20 61 63 74 69 6f 6e 73 20 0a 19 89 80 80 70 65 72 66 6f 72 6d 65 64 2c 20 66 6f 72 20 ┆ing actions performed, for ┆ 0x1d880…1d8a0 74 68 65 20 74 77 6f 20 73 74 61 74 65 20 76 61 72 69 61 62 6c 65 73 20 61 72 65 20 73 68 6f 77 ┆the two state variables are show┆ 0x1d8a0…1d8c0 6e 20 74 6f 6f 2e 0d 0a 0d 0a 09 84 49 6e 20 74 68 65 20 66 69 67 75 72 65 20 61 6e 20 65 78 61 ┆n too. In the figure an exa┆ 0x1d8c0…1d8e0 6d 70 6c 65 20 77 69 74 68 20 6c 6f 67 69 63 61 6c 20 63 68 61 6e 6e 65 6c 20 6e 75 6d 62 65 72 ┆mple with logical channel number┆ 0x1d8e0…1d900 20 35 20 61 6e 64 20 32 6e 64 20 69 6e 80 0a 19 89 80 80 63 61 72 6e 61 74 69 6f 6e 20 28 32 6e ┆ 5 and 2nd in carnation (2n┆ 0x1d900…1d920 64 20 65 6e 74 72 79 20 69 6e 20 63 68 61 6e 5f 74 61 62 6c 65 29 20 6f 66 20 64 74 65 5f 63 68 ┆d entry in chan_table) of dte_ch┆ 0x1d920…1d940 61 6e 20 69 73 20 75 73 65 64 2e 20 54 68 65 20 75 73 65 72 20 0a 19 89 80 80 68 61 73 20 74 77 ┆an is used. The user has tw┆ 0x1d940…1d960 6f 20 61 63 74 69 76 65 20 73 74 72 65 61 6d 73 2f 56 69 72 74 75 61 6c 20 43 61 6c 6c 73 20 61 ┆o active streams/Virtual Calls a┆ 0x1d960…1d980 6e 64 20 74 68 65 20 6f 6e 65 20 73 68 6f 77 6e 20 69 73 20 69 6e 20 74 68 65 20 0a 19 89 80 80 ┆nd the one shown is in the ┆ 0x1d980…1d9a0 64 61 74 61 20 70 68 61 73 65 2e 0d 0a 0d 0a 09 84 54 68 65 20 73 65 6d 61 70 68 6f 72 65 20 70 ┆data phase. The semaphore p┆ 0x1d9a0…1d9c0 6f 69 6e 74 65 72 73 20 69 6e 20 63 68 61 6e 5f 74 61 62 6c 65 20 61 6e 64 20 68 72 65 63 5f 74 ┆ointers in chan_table and hrec_t┆ 0x1d9c0…1d9e0 61 62 6c 65 20 69 73 20 75 70 64 61 74 65 64 20 0a 19 89 80 80 65 76 65 72 79 20 74 69 6d 65 20 ┆able is updated every time ┆ 0x1d9e0…1da00 61 20 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 20 69 6e 63 61 72 6e 61 74 69 6f 6e 20 69 ┆a dte_chan process incarnation i┆ 0x1da00…1da20 (237,) 73 20 63 72 65 61 74 65 64 2f 73 74 61 72 74 65 64 20 6f 72 20 0a 19 89 80 80 73 74 6f 70 70 65 ┆s created/started or stoppe┆ 0x1da20…1da40 64 2f 72 65 6d 6f 76 65 64 2c 20 77 68 65 72 65 61 73 20 69 6e 20 69 6e 74 5f 74 61 62 6c 65 20 ┆d/removed, whereas in int_table ┆ 0x1da40…1da60 74 68 65 79 20 61 72 65 20 69 6e 69 74 69 61 6c 69 7a 65 64 20 61 74 20 0a 19 89 80 80 73 74 61 ┆they are initialized at sta┆ 0x1da60…1da80 72 74 20 61 6e 64 20 6b 65 70 74 2e 20 49 66 20 61 20 73 65 6d 61 70 68 6f 72 65 20 70 6f 69 6e ┆rt and kept. If a semaphore poin┆ 0x1da80…1daa0 74 65 72 20 69 6e 20 74 68 65 20 68 72 65 63 5f 74 61 62 6c 65 20 64 6f 65 73 20 0a 19 89 80 80 ┆ter in the hrec_table does ┆ 0x1daa0…1dac0 6e 6f 74 20 70 6f 69 6e 74 20 74 6f 20 61 6e 20 61 63 74 69 76 65 20 64 74 65 5f 63 68 61 6e 20 ┆not point to an active dte_chan ┆ 0x1dac0…1dae0 69 6e 63 61 72 6e 61 74 69 6f 6e 20 69 74 20 70 6f 69 6e 74 73 20 74 6f 20 74 68 65 20 6d 61 69 ┆incarnation it points to the mai┆ 0x1dae0…1db00 6e 20 0a 19 89 80 80 73 65 6d 61 70 68 6f 72 65 20 6f 66 20 74 68 65 20 64 74 65 20 70 72 6f 63 ┆n semaphore of the dte proc┆ 0x1db00…1db20 65 73 73 20 69 6e 20 6f 72 64 65 72 20 6e 6f 74 20 74 6f 20 6c 6f 6f 73 65 20 61 6e 79 20 58 2e ┆ess in order not to loose any X.┆ 0x1db20…1db40 32 35 20 70 61 63 6b 80 0a 19 89 80 80 65 74 73 2e 0d 0a 0d 0a 09 84 41 20 73 70 65 63 69 61 6c ┆25 pack ets. A special┆ 0x1db40…1db60 20 63 61 73 65 20 69 73 20 6c 6f 67 69 63 61 6c 20 63 68 61 6e 6e 65 6c 20 30 2c 20 77 68 69 63 ┆ case is logical channel 0, whic┆ 0x1db60…1db80 68 20 61 74 20 73 74 61 72 74 20 75 70 20 70 6f 69 6e 74 73 20 74 6f 20 0a 19 89 80 80 74 68 65 ┆h at start up points to the┆ 0x1db80…1dba0 20 6d 61 69 6e 20 73 65 6d 61 70 68 6f 72 65 20 6f 66 20 74 68 65 20 64 74 65 20 70 72 6f 63 65 ┆ main semaphore of the dte proce┆ 0x1dba0…1dbc0 73 73 20 61 6e 64 20 66 69 72 73 74 20 63 68 61 6e 67 65 73 20 77 68 65 6e 20 74 68 65 20 0a 19 ┆ss and first changes when the ┆ 0x1dbc0…1dbe0 89 80 80 6c 69 6e 65 20 62 65 63 6f 6d 65 73 20 63 6f 6e 6e 65 63 74 65 64 2e 20 54 68 65 6e 20 ┆ line becomes connected. Then ┆ 0x1dbe0…1dc00 69 74 20 69 73 20 63 68 61 6e 67 65 64 20 74 6f 20 70 6f 69 6e 74 20 61 74 20 74 68 65 20 6d 61 ┆it is changed to point at the ma┆ 0x1dc00…1dc20 (238,) 69 6e 20 0a 19 89 80 80 73 65 6d 61 70 68 6f 72 65 20 6f 66 20 74 68 65 20 64 74 65 5f 6c 63 6e ┆in semaphore of the dte_lcn┆ 0x1dc20…1dc40 7a 65 72 6f 20 70 72 6f 63 65 73 73 2e 20 57 68 65 6e 20 74 68 65 20 6c 69 6e 65 20 69 73 20 64 ┆zero process. When the line is d┆ 0x1dc40…1dc60 69 73 63 6f 6e 6e 65 63 74 80 0a 19 89 80 80 65 64 2c 20 69 74 20 69 73 20 61 67 61 69 6e 20 63 ┆isconnect ed, it is again c┆ 0x1dc60…1dc80 68 61 6e 67 65 64 20 74 6f 20 70 6f 69 6e 74 20 74 6f 20 74 68 65 20 64 74 65 20 70 72 6f 63 65 ┆hanged to point to the dte proce┆ 0x1dc80…1dc87 73 73 2e 0d 0a 0d 0a ┆ss. ┆ 0x1dc87…1dc8a FormFeed { 0x1dc87…1dc8a 0c 80 aa ┆ ┆ 0x1dc87…1dc8a } 0x1dc8a…1dca0 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d ┆ ┆ 0x1dca0…1dcc0 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d ┆ ┆ 0x1dcc0…1dce0 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 46 69 67 75 72 65 20 32 ┆ Figure 2┆ 0x1dce0…1dd00 34 3a 20 53 6e 61 70 20 73 68 6f 74 20 6f 66 20 74 61 62 6c 65 73 20 63 6f 6e 6e 65 63 74 69 6f ┆4: Snap shot of tables connectio┆ 0x1dd00…1dd05 6e 73 2e 0d 0a ┆ns. ┆ 0x1dd05…1dd08 FormFeed { 0x1dd05…1dd08 0c 80 a7 ┆ ┆ 0x1dd05…1dd08 } 0x1dd08…1dd18 0a b0 09 70 72 6f 63 5f 73 74 61 74 65 3a 0d 0a ┆ proc_state: ┆ 0x1dd18…1dd51 Params { 0x1dd18…1dd51 04 00 2d 44 0c 00 06 00 00 00 00 02 01 50 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D P1@ ┆ 0x1dd18…1dd51 00 00 00 00 00 00 00 00 0a 17 22 2d 38 43 55 5f 69 73 7d 87 91 ff ff ff 04 ┆ "-8CU_iså ┆ 0x1dd18…1dd51 } 0x1dd51…1dd8a Params { 0x1dd51…1dd8a 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x1dd51…1dd8a 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x1dd51…1dd8a } 0x1dd8a…1dda0 0a 09 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f ┆ ____________________┆ 0x1dda0…1ddc0 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f ┆________________________________┆ 0x1ddc0…1dde0 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 0d 0a 09 20 20 20 20 73 74 61 74 65 20 20 ┆__________________ state ┆ 0x1dde0…1de00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1de00…1de20 (239,) 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 09 09 20 ┆ ┆ 0x1de20…1de40 20 20 70 5f 65 78 69 74 09 20 20 20 70 5f 69 64 6c 65 09 20 20 70 5f 61 63 74 69 76 65 09 20 70 ┆ p_exit p_idle p_active p┆ 0x1de40…1de60 5f 73 74 6f 70 70 69 6e 67 09 20 70 5f 72 65 73 74 61 72 74 20 20 0d 0a 09 a1 20 20 65 76 65 6e ┆_stopping p_restart even┆ 0x1de60…1de80 74 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆t ┆ 0x1de80…1dea0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1dea0…1dec0 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1dec0…1dee0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1dee0…1df00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 09 09 70 5f 65 78 69 74 09 70 5f 65 78 ┆ p_exit p_ex┆ 0x1df00…1df20 69 74 09 70 5f 65 78 69 74 09 70 5f 65 78 69 74 09 70 5f 65 78 69 74 20 20 20 20 20 20 20 0d 0a ┆it p_exit p_exit p_exit ┆ 0x1df20…1df40 09 20 62 72 65 61 6b 5f 6d 65 73 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ break_mess ┆ 0x1df40…1df60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1df60…1df80 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1df80…1dfa0 20 20 20 20 20 70 61 63 32 20 20 20 20 20 20 20 70 61 63 32 20 20 20 20 20 20 20 70 61 63 31 20 ┆ pac2 pac2 pac1 ┆ 0x1dfa0…1dfc0 20 20 20 20 20 20 70 61 63 31 20 20 20 20 20 20 20 70 61 63 31 20 20 20 0d 0a 20 20 20 20 20 20 ┆ pac1 pac1 ┆ 0x1dfc0…1dfe0 20 20 20 a1 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1dfe0…1e000 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1e000…1e020 (240,) 20 20 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1e020…1e040 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1e040…1e060 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 09 09 09 ┆ ┆ 0x1e060…1e080 70 5f 61 63 74 69 76 65 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆p_active ┆ 0x1e080…1e0a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 20 20 63 61 6c 6c 5f 72 ┆ call_r┆ 0x1e0a0…1e0c0 65 71 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆eq ┆ 0x1e0c0…1e0e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d ┆ ┆ 0x1e0e0…1e100 0a 20 20 20 20 20 20 20 20 20 20 69 6e 63 2e 20 63 61 6c 6c 20 20 20 20 20 20 20 20 20 20 20 20 ┆ inc. call ┆ 0x1e100…1e120 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1e120…1e140 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1e140…1e160 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 61 63 33 20 20 20 ┆ pac3 ┆ 0x1e160…1e180 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1e180…1e1a0 20 0d 0a 09 a1 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1e1a0…1e1c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1e1c0…1e1e0 20 20 20 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1e1e0…1e200 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1e200…1e220 (241,) 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 09 09 ┆ ┆ 0x1e220…1e240 70 5f 69 64 6c 65 09 70 5f 69 64 6c 65 09 70 5f 69 64 6c 65 09 70 5f 69 64 6c 65 09 70 5f 69 64 ┆p_idle p_idle p_idle p_idle p_id┆ 0x1e240…1e260 6c 65 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 20 20 73 79 6e 63 5f 6d 65 73 73 20 20 ┆le sync_mess ┆ 0x1e260…1e280 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1e280…1e2a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 ┆ ┆ 0x1e2a0…1e2c0 20 20 20 20 20 20 20 75 32 3c 3e 6f 6b 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ u2<>ok ┆ 0x1e2c0…1e2e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1e2e0…1e300 20 20 20 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1e300…1e320 20 20 20 20 20 20 20 20 20 70 61 63 34 20 20 20 20 20 20 20 70 61 63 34 20 20 20 20 20 20 20 70 ┆ pac4 pac4 p┆ 0x1e320…1e340 61 63 34 20 20 20 20 20 20 20 70 61 63 34 20 20 20 20 20 20 20 70 61 63 34 20 20 20 0d 0a 09 a1 ┆ac4 pac4 pac4 ┆ 0x1e340…1e360 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ […0x1…] 0x1e380…1e3a0 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1e3a0…1e3c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1e3c0…1e3e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 09 20 73 79 6e 63 5f ┆ sync_┆ 0x1e3e0…1e400 6d 65 73 73 09 20 3f 09 20 3f 09 20 3f 09 3f 09 70 5f 72 65 73 74 61 72 74 20 20 20 20 0d 0a 09 ┆mess ? ? ? ? p_restart ┆ 0x1e400…1e420 (242,) 20 75 32 20 3d 20 6f 6b 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ u2 = ok ┆ 0x1e420…1e440 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1e440…1e460 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 20 20 75 33 20 3d 20 75 73 65 72 5f 20 20 20 20 ┆ u3 = user_ ┆ 0x1e460…1e480 20 20 20 20 70 61 63 35 20 20 20 20 20 20 20 70 61 63 35 20 20 20 20 20 20 20 70 61 63 35 20 20 ┆ pac5 pac5 pac5 ┆ 0x1e480…1e4a0 20 20 20 20 20 70 61 63 35 20 20 20 20 20 20 20 70 61 63 37 20 20 20 0d 0a 20 20 20 20 20 20 20 ┆ pac5 pac7 ┆ 0x1e4a0…1e4c0 20 20 a1 20 20 20 20 20 20 74 65 72 6d 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ term ┆ 0x1e4c0…1e4e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1e4e0…1e500 20 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1e500…1e520 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1e520…1e540 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 09 20 73 79 ┆ sy┆ 0x1e540…1e560 6e 63 5f 6d 65 73 73 09 20 3f 09 20 3f 09 70 5f 73 74 6f 70 70 69 6e 67 09 70 5f 69 64 6c 65 09 ┆nc_mess ? ? p_stopping p_idle ┆ 0x1e560…1e580 70 5f 69 64 6c 65 20 20 20 20 20 20 20 0d 0a 09 20 20 75 32 20 3d 20 6f 6b 20 20 20 20 20 20 20 ┆p_idle u2 = ok ┆ 0x1e580…1e5a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1e5a0…1e5c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 ┆ ┆ 0x1e5c0…1e5e0 20 20 20 75 33 20 3d 20 6f 6b 20 20 20 20 20 20 20 20 20 20 70 61 63 35 20 20 20 20 20 20 20 70 ┆ u3 = ok pac5 p┆ 0x1e5e0…1e600 61 63 35 20 20 20 20 20 20 20 70 61 63 36 20 20 20 20 20 20 20 20 70 61 63 39 20 20 20 20 20 20 ┆ac5 pac6 pac9 ┆ 0x1e600…1e620 (243,) 70 61 63 38 20 20 20 0d 0a 20 20 20 20 20 20 20 20 20 a1 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆pac8 ┆ 0x1e620…1e640 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1e640…1e65b 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a ┆ ┆ 0x1e65b…1e694 Params { 0x1e65b…1e694 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x1e65b…1e694 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x1e65b…1e694 } 0x1e694…1e6cd Params { 0x1e694…1e6cd 04 00 2d 44 0c 00 06 00 00 00 00 02 01 50 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D P1@ ┆ 0x1e694…1e6cd 00 00 00 00 00 00 00 00 0a 17 22 2d 38 43 55 5f 69 73 7d 87 91 ff ff ff 04 ┆ "-8CU_iså ┆ 0x1e694…1e6cd } 0x1e6cd…1e6e0 0a 0d 0a 09 54 61 62 6c 65 20 34 3a 20 84 50 72 6f 63 65 ┆ Table 4: Proce┆ 0x1e6e0…1e700 73 73 20 64 74 65 2c 20 69 6e 74 65 72 6e 61 6c 20 73 74 61 74 65 2f 61 63 74 69 6f 6e 20 74 61 ┆ss dte, internal state/action ta┆ 0x1e700…1e720 62 6c 65 20 66 6f 72 20 61 20 64 74 65 5f 63 68 61 6e 20 0a 19 92 80 80 69 6e 63 61 72 6e 61 74 ┆ble for a dte_chan incarnat┆ 0x1e720…1e740 69 6f 6e 2e 0d 0a 0d 0a 09 61 63 74 69 6f 6e 73 3a 0d 0a 0d 0a 09 20 20 20 70 61 63 31 20 20 3a ┆ion. actions: pac1 :┆ 0x1e740…1e760 20 20 63 6c 65 61 72 20 56 69 72 74 75 61 6c 20 43 61 6c 6c 20 61 6e 64 20 70 72 69 6e 74 20 65 ┆ clear Virtual Call and print e┆ 0x1e760…1e780 72 72 6f 72 20 6d 65 73 73 61 67 65 0d 0a 09 20 20 20 70 61 63 32 20 20 3a 20 20 70 72 69 6e 74 ┆rror message pac2 : print┆ 0x1e780…1e7a0 20 65 72 72 6f 72 20 6d 65 73 73 61 67 65 0d 0a 09 20 20 20 70 61 63 33 20 20 3a 20 20 84 63 72 ┆ error message pac3 : cr┆ 0x1e7a0…1e7c0 65 61 74 65 2f 73 74 61 72 74 20 64 74 65 5f 63 68 61 6e 20 69 6e 63 61 72 6e 61 74 69 6f 6e 20 ┆eate/start dte_chan incarnation ┆ 0x1e7c0…1e7e0 61 6e 64 20 75 70 64 61 74 65 20 74 61 62 6c 65 73 2c 20 0a 19 95 80 80 73 65 6e 64 20 b0 73 79 ┆and update tables, send sy┆ 0x1e7e0…1e800 6e 63 5f 6d 65 73 73 0d 0a 09 20 20 20 70 61 63 34 20 20 3a 20 20 72 65 6d 6f 76 65 20 70 72 6f ┆nc_mess pac4 : remove pro┆ 0x1e800…1e820 (244,) 63 65 73 73 20 61 6e 64 20 75 70 64 61 74 65 20 74 61 62 6c 65 73 0d 0a 09 20 20 20 70 61 63 35 ┆cess and update tables pac5┆ 0x1e820…1e840 20 20 3a 20 20 70 72 69 6e 74 20 65 72 72 6f 72 20 6d 65 73 73 61 67 65 20 61 6e 64 20 73 74 6f ┆ : print error message and sto┆ 0x1e840…1e860 70 0d 0a 20 09 20 20 20 70 61 63 36 20 20 3a 20 20 84 73 69 67 6e 61 6c 20 b0 73 79 6e 63 5f 6d ┆p pac6 : signal sync_m┆ 0x1e860…1e880 65 73 73 f0 20 74 6f 20 64 74 65 5f 63 68 61 6e 20 69 6e 63 61 72 6e 61 74 69 6f 6e 20 61 6e 64 ┆ess to dte_chan incarnation and┆ 0x1e880…1e8a0 20 75 70 64 61 74 65 20 0a 19 95 81 80 68 72 65 63 5f 74 61 62 6c 65 0d 0a 09 20 20 20 70 61 63 ┆ update hrec_table pac┆ 0x1e8a0…1e8c0 37 20 20 3a 20 20 73 69 67 6e 61 6c 20 b0 73 79 6e 63 5f 6d 65 73 73 f0 20 74 6f 20 64 74 65 5f ┆7 : signal sync_mess to dte_┆ 0x1e8c0…1e8e0 63 68 61 6e 20 69 6e 63 61 72 6e 61 74 69 6f 6e 0d 0a 09 20 20 20 70 61 63 38 20 20 3a 20 20 72 ┆chan incarnation pac8 : r┆ 0x1e8e0…1e900 65 6d 6f 76 65 20 70 72 6f 63 65 73 73 0d 0a 09 20 20 20 70 61 63 39 20 20 3a 20 20 73 74 6f 70 ┆emove process pac9 : stop┆ 0x1e900…1e90e 20 70 72 6f 63 65 73 73 0d 0a 0d 0a 0d 0a ┆ process ┆ 0x1e90e…1e911 FormFeed { 0x1e90e…1e911 0c 80 b3 ┆ ┆ 0x1e90e…1e911 } 0x1e911…1e912 0a ┆ ┆ 0x1e912…1e94b Params { 0x1e912…1e94b 04 00 2d 44 0c 00 06 00 00 00 00 02 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x1e912…1e94b 00 00 00 00 00 00 00 00 0a 19 26 33 40 46 4b 55 5f 69 73 7d 87 91 ff ff 04 ┆ &3@FKU_iså ┆ 0x1e912…1e94b } 0x1e94b…1e984 Params { 0x1e94b…1e984 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x1e94b…1e984 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x1e94b…1e984 } 0x1e984…1e9a0 0a b0 09 6c 63 6e 5f 73 74 61 74 65 20 3a 0d 0a 0d 0a 09 5f 5f 5f 5f 5f 5f 5f 5f 5f ┆ lcn_state : _________┆ 0x1e9a0…1e9c0 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f ┆________________________________┆ 0x1e9c0…1e9e0 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 0d 0a 09 20 20 20 20 20 20 73 74 61 74 65 20 20 20 20 ┆______________ state ┆ 0x1e9e0…1ea00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1ea00…1ea20 (245,) 20 20 20 20 20 20 20 20 0d 0a 09 09 20 20 63 68 5f 72 65 61 64 79 09 20 20 20 20 63 68 5f 64 61 ┆ ch_ready ch_da┆ 0x1ea20…1ea40 74 61 09 20 63 68 5f 63 6c 65 61 72 69 6e 67 20 20 0d 0a 09 a1 20 65 76 65 6e 74 20 20 20 20 20 ┆ta ch_clearing event ┆ 0x1ea40…1ea60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1ea60…1ea80 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1ea80…1eaa0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1eaa0…1eac0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 09 09 20 63 68 5f 64 61 74 61 20 20 20 20 20 20 ┆ ch_data ┆ 0x1eac0…1eae0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 ┆ ┆ 0x1eae0…1eb00 20 20 20 20 20 20 63 61 6c 6c 5f 72 65 71 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ call_req ┆ 0x1eb00…1eb20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 09 09 ┆ ┆ 0x1eb20…1eb40 20 20 20 20 20 20 20 20 6c 61 63 31 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ lac1 ┆ 0x1eb40…1eb60 20 20 20 20 20 20 20 20 0d 0a 09 a1 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1eb60…1eb80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1eb80…1eba0 20 20 20 0d 0a 09 09 09 09 09 20 0d 0a 09 09 20 63 68 5f 64 61 74 61 09 20 63 68 5f 64 61 74 61 ┆ ch_data ch_data┆ 0x1eba0…1ebc0 09 20 63 68 5f 63 6c 65 61 72 69 6e 67 20 20 0d 0a 09 20 69 6e 63 2e 63 61 6c 6c 09 09 09 09 20 ┆ ch_clearing inc.call ┆ 0x1ebc0…1ebe0 0d 0a 09 09 20 20 20 20 20 20 20 20 6c 61 63 34 09 20 20 20 20 20 20 20 20 6c 61 63 32 09 20 20 ┆ lac4 lac2 ┆ 0x1ebe0…1ec00 20 20 20 20 20 20 20 6c 61 63 35 20 0d 0a 09 a1 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ lac5 ┆ 0x1ec00…1ec20 (246,) 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1ec20…1ec40 20 20 20 20 20 20 20 0d 0a 09 09 09 09 09 20 0d 0a 09 20 63 6c 65 61 72 5f 72 65 71 09 20 63 68 ┆ clear_req ch┆ 0x1ec40…1ec60 5f 64 61 74 61 09 20 63 68 5f 64 61 74 61 09 20 63 68 5f 72 65 61 64 79 20 20 20 20 20 0d 0a 09 ┆_data ch_data ch_ready ┆ 0x1ec60…1ec80 20 09 09 09 09 20 0d 0a 09 20 63 6c 65 61 72 5f 63 6f 6e 66 09 20 20 20 20 20 20 20 20 6c 61 63 ┆ clear_conf lac┆ 0x1ec80…1eca0 33 09 20 20 20 20 20 20 20 20 6c 61 63 32 09 20 20 20 20 20 20 20 20 20 6c 61 63 35 20 0d 0a 09 ┆3 lac2 lac5 ┆ 0x1eca0…1ecc0 a1 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1ecc0…1ece0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 09 09 09 09 09 20 ┆ ┆ 0x1ece0…1ed00 0d 0a 09 09 20 63 68 5f 64 61 74 61 09 20 63 68 5f 64 61 74 61 09 20 63 68 5f 63 6c 65 61 72 69 ┆ ch_data ch_data ch_cleari┆ 0x1ed00…1ed20 6e 67 20 20 0d 0a 20 20 20 20 20 20 20 20 20 20 58 2e 32 35 20 70 61 63 6b 65 74 09 09 09 09 20 ┆ng X.25 packet ┆ 0x1ed20…1ed40 0d 0a 09 09 20 20 20 20 20 20 20 20 6c 61 63 33 09 20 20 20 20 20 20 6c 61 63 32 09 20 20 20 20 ┆ lac3 lac2 ┆ 0x1ed40…1ed60 20 20 20 20 20 6c 61 63 35 20 0d 0a 09 a1 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ lac5 ┆ 0x1ed60…1ed80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x1ed80…1eda0 20 20 20 20 20 0d 0a 09 20 73 79 6e 63 5f 6d 65 73 73 09 09 09 09 20 0d 0a 09 20 75 32 20 3d 20 ┆ sync_mess u2 = ┆ 0x1eda0…1edc0 6f 6b 09 20 63 68 5f 72 65 61 64 79 09 20 63 68 5f 72 65 61 64 79 09 20 63 68 5f 72 65 61 64 79 ┆ok ch_ready ch_ready ch_ready┆ 0x1edc0…1ede0 20 20 20 20 20 0d 0a 09 20 75 33 20 3d 20 6f 6b 09 09 09 09 20 0d 0a 20 09 20 70 5f 73 74 61 74 ┆ u3 = ok p_stat┆ 0x1ede0…1ee00 65 3d 09 09 09 09 20 0d 0a 09 20 a1 70 5f 61 63 69 74 69 76 65 20 09 20 20 20 20 20 20 20 20 20 ┆e= p_acitive ┆ 0x1ee00…1ee20 (247,) 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d ┆ ┆ 0x1ee20…1ee21 0a ┆ ┆ 0x1ee21…1ee5a Params { 0x1ee21…1ee5a 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x1ee21…1ee5a 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x1ee21…1ee5a } 0x1ee5a…1ee93 Params { 0x1ee5a…1ee93 04 00 2d 44 0c 00 06 00 00 00 00 02 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x1ee5a…1ee93 00 00 00 00 00 00 00 00 0a 19 26 33 40 46 4b 55 5f 69 73 7d 87 91 ff ff 04 ┆ &3@FKU_iså ┆ 0x1ee5a…1ee93 } 0x1ee93…1eea0 0a 0d 0a 09 54 61 62 6c 65 20 35 3a 20 ┆ Table 5: ┆ 0x1eea0…1eec0 84 50 72 6f 63 65 73 73 20 64 74 65 2c 20 69 6e 74 65 72 6e 61 6c 20 73 74 61 74 65 2f 61 63 74 ┆ Process dte, internal state/act┆ 0x1eec0…1eee0 69 6f 6e 20 74 61 62 6c 65 20 66 6f 72 20 61 20 6c 6f 67 69 63 61 6c 20 0a 19 92 80 80 63 68 61 ┆ion table for a logical cha┆ 0x1eee0…1ef00 6e 6e 65 6c 2e 0d 0a 0d 0a 09 61 63 74 69 6f 6e 73 3a 0d 0a 0d 0a 09 20 20 20 6c 61 63 31 20 20 ┆nnel. actions: lac1 ┆ 0x1ef00…1ef20 3a 20 20 69 6e 63 6c 75 64 65 64 20 69 6e 20 70 61 63 33 0d 0a 09 20 20 20 6c 61 63 32 20 20 3a ┆: included in pac3 lac2 :┆ 0x1ef20…1ef40 20 20 73 69 67 6e 61 6c 20 6d 65 73 73 61 67 65 20 74 6f 20 64 74 65 5f 63 68 61 6e 20 69 6e 63 ┆ signal message to dte_chan inc┆ 0x1ef40…1ef60 61 72 6e 61 74 69 6f 6e 0d 0a 09 20 20 20 6c 61 63 33 20 20 3a 20 20 74 72 61 6e 73 6d 69 74 20 ┆arnation lac3 : transmit ┆ 0x1ef60…1ef80 43 4c 45 41 52 20 43 4f 4e 46 49 52 4d 41 54 49 4f 4e 20 74 6f 20 74 68 65 20 44 43 45 0d 0a 09 ┆CLEAR CONFIRMATION to the DCE ┆ 0x1ef80…1efa0 20 20 20 6c 61 63 34 20 20 3a 20 20 69 6e 63 6c 75 64 65 64 20 69 6e 20 70 61 63 33 0d 0a 09 20 ┆ lac4 : included in pac3 ┆ 0x1efa0…1efc0 20 20 6c 61 63 35 20 20 3a 20 20 64 69 73 63 61 72 64 20 6d 65 73 73 61 67 65 0d 0a 0d 0a 0d 0a ┆ lac5 : discard message ┆ 0x1efc0…1efc3 FormFeed { 0x1efc0…1efc3 0c 80 ac ┆ ┆ 0x1efc0…1efc3 } 0x1efc3…1efe0 0a a1 34 2e 32 2e 38 09 48 44 4c 43 20 45 76 65 6e 74 20 48 61 6e 64 6c 69 6e 67 2e 0d ┆ 4.2.8 HDLC Event Handling. ┆ 0x1efe0…1f000 0a 0d 0a 09 84 41 6c 6c 20 63 6f 6e 74 72 6f 6c 20 6f 66 20 74 68 65 20 48 44 4c 43 20 64 72 69 ┆ All control of the HDLC dri┆ 0x1f000…1f020 (248,) 76 65 72 2f 48 44 4c 43 4c 43 50 20 69 73 20 70 65 72 66 6f 72 6d 65 64 20 62 79 20 74 68 65 20 ┆ver/HDLCLCP is performed by the ┆ 0x1f020…1f040 64 74 65 20 0a 19 89 80 80 70 72 6f 63 65 73 73 2e 20 49 6e 20 6f 72 64 65 72 20 74 6f 20 70 65 ┆dte process. In order to pe┆ 0x1f040…1f060 72 66 6f 72 6d 20 74 68 69 73 20 63 6f 6e 74 72 6f 6c 20 74 68 65 20 64 74 65 20 70 72 6f 63 65 ┆rform this control the dte proce┆ 0x1f060…1f080 73 73 20 6d 61 69 6e 80 0a 19 89 80 80 74 61 69 6e 73 20 61 20 73 74 61 74 65 20 76 61 72 69 61 ┆ss main tains a state varia┆ 0x1f080…1f0a0 62 6c 65 2c 20 6c 69 6e 65 5f 73 74 61 74 65 2c 20 77 68 69 63 68 20 69 73 20 74 68 65 20 44 54 ┆ble, line_state, which is the DT┆ 0x1f0a0…1f0c0 45 27 73 20 77 69 65 77 20 6f 66 20 74 68 65 20 0a 19 89 80 80 73 74 61 74 65 20 6f 66 20 74 68 ┆E's wiew of the state of th┆ 0x1f0c0…1f0e0 65 20 6c 69 6e 65 2e 20 54 68 65 20 73 74 61 74 65 20 6d 61 79 20 63 68 61 6e 67 65 20 65 76 65 ┆e line. The state may change eve┆ 0x1f0e0…1f100 72 79 20 74 69 6d 65 20 61 6e 20 65 76 65 6e 74 20 69 73 20 0a 19 89 80 80 72 65 74 75 72 6e 65 ┆ry time an event is returne┆ 0x1f100…1f120 64 20 66 6f 72 6d 20 74 68 65 20 48 44 4c 43 2e 20 49 6e 20 66 69 67 75 72 65 20 32 35 20 61 20 ┆d form the HDLC. In figure 25 a ┆ 0x1f120…1f140 66 6c 6f 77 63 68 61 72 74 20 6f 66 20 74 68 65 20 63 6f 6e 74 72 6f 6c 20 69 73 20 0a 19 89 80 ┆flowchart of the control is ┆ 0x1f140…1f160 80 6f 75 74 6c 69 6e 65 64 20 61 6e 64 20 62 65 6c 6f 77 20 69 73 20 61 20 73 74 61 74 65 20 74 ┆ outlined and below is a state t┆ 0x1f160…1f180 72 61 6e 73 69 74 69 6f 6e 20 74 61 62 6c 65 20 66 6f 72 20 6c 69 6e 65 5f 73 74 61 74 65 20 0a ┆ransition table for line_state ┆ 0x1f180…1f1a0 19 89 80 80 73 68 6f 77 6e 2e 0d 0a 0d 0a 09 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f ┆ shown. _________________┆ 0x1f1a0…1f1c0 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f ┆________________________________┆ 0x1f1c0…1f1e0 5f 5f 5f 0d 0a 09 a1 21 20 20 20 20 20 20 20 20 20 20 20 20 65 76 65 6e 74 20 20 20 20 20 20 20 ┆___ ! event ┆ 0x1f1e0…1f200 20 20 20 20 20 20 21 20 20 20 20 20 20 20 20 73 74 61 74 65 20 20 20 20 20 20 21 0d 0a 09 a1 21 ┆ ! state ! !┆ 0x1f200…1f220 (249,) 20 67 72 6f 75 70 20 21 20 20 68 64 6c 63 20 6e 75 6d 62 65 72 20 20 20 20 20 20 20 20 20 21 20 ┆ group ! hdlc number ! ┆ 0x1f220…1f240 41 20 21 20 42 20 21 20 43 20 21 20 44 20 21 20 45 20 21 0d 0a 09 a1 21 20 20 49 20 20 20 20 21 ┆A ! B ! C ! D ! E ! ! I !┆ 0x1f240…1f260 20 20 30 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 21 20 2d 20 21 20 41 20 21 20 ┆ 0 ! - ! A ! ┆ 0x1f260…1f280 2d 20 21 20 41 20 21 20 2d 20 21 0d 0a 09 a1 21 20 20 49 49 20 20 20 21 20 20 31 2c 31 31 20 20 ┆- ! A ! - ! ! II ! 1,11 ┆ 0x1f280…1f2a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 21 20 41 20 21 20 42 20 21 20 43 20 21 20 44 20 21 20 ┆ ! A ! B ! C ! D ! ┆ 0x1f2a0…1f2c0 45 20 21 0d 0a 09 a1 21 20 20 49 49 49 20 20 21 20 20 32 2c 33 2c 35 2c 31 32 20 20 20 20 20 20 ┆E ! ! III ! 2,3,5,12 ┆ 0x1f2c0…1f2e0 20 20 20 20 20 20 21 20 45 20 21 20 45 20 21 20 45 20 21 20 2d 20 21 20 2d 20 21 0d 0a 09 a1 21 ┆ ! E ! E ! E ! - ! - ! !┆ 0x1f2e0…1f300 20 20 49 56 20 20 20 21 20 20 34 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 21 20 ┆ IV ! 4 ! ┆ 0x1f300…1f320 45 20 21 20 44 20 21 20 45 20 21 20 2d 20 21 20 2d 20 21 0d 0a 09 a1 21 20 20 56 20 20 20 20 21 ┆E ! D ! E ! - ! - ! ! V !┆ 0x1f320…1f340 20 20 36 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 21 20 45 20 21 20 42 20 21 20 ┆ 6 ! E ! B ! ┆ 0x1f340…1f360 45 20 21 20 45 20 21 20 45 20 21 0d 0a 09 a1 21 20 20 56 49 20 20 20 21 20 20 37 2c 38 2c 39 2c ┆E ! E ! E ! ! VI ! 7,8,9,┆ 0x1f360…1f380 31 30 20 20 20 20 20 20 20 20 20 20 20 20 21 20 43 20 21 20 42 20 21 20 43 20 21 20 43 20 21 20 ┆10 ! C ! B ! C ! C ! ┆ 0x1f380…1f3a0 2d 20 21 0d 0a 09 a1 21 20 20 56 49 49 20 20 21 20 20 31 33 2c 31 34 09 20 20 20 20 20 20 20 20 ┆- ! ! VII ! 13,14 ┆ 0x1f3a0…1f3c0 20 20 20 21 20 45 20 21 20 45 20 21 20 45 20 21 20 45 20 21 20 45 20 21 0d 0a 09 a1 21 20 20 56 ┆ ! E ! E ! E ! E ! E ! ! V┆ 0x1f3c0…1f3e0 49 49 49 20 21 20 20 31 35 09 20 20 20 20 20 20 20 20 20 20 20 21 20 41 20 21 20 42 20 21 20 43 ┆III ! 15 ! A ! B ! C┆ 0x1f3e0…1f400 20 21 20 44 20 21 20 45 20 21 0d 0a 0d 0a 09 6c 69 6e 65 5f 73 74 61 74 65 3a 0d 0a 09 20 20 20 ┆ ! D ! E ! line_state: ┆ 0x1f400…1f420 (250,) 68 5f 63 6f 6e 6e 20 20 20 20 20 20 3d 20 41 0d 0a 09 20 20 20 68 5f 63 6f 6e 6e 5f 69 6e 67 20 ┆h_conn = A h_conn_ing ┆ 0x1f420…1f440 20 3d 20 42 0d 0a 09 20 20 20 68 5f 64 69 73 63 5f 69 6e 67 20 20 3d 20 43 0d 0a 09 20 20 20 68 ┆ = B h_disc_ing = C h┆ 0x1f440…1f460 5f 72 65 63 76 5f 64 69 73 63 20 3d 20 44 0d 0a 09 20 20 20 68 5f 64 69 73 63 20 20 20 20 20 20 ┆_recv_disc = D h_disc ┆ 0x1f460…1f480 3d 20 45 0d 0a 0d 0a 09 54 61 62 6c 65 20 36 3a 20 50 72 6f 63 65 73 73 20 64 74 65 2c 20 73 74 ┆= E Table 6: Process dte, st┆ 0x1f480…1f4a0 61 74 65 20 74 72 61 6e 73 69 74 69 6f 6e 20 74 61 62 6c 65 20 66 6f 72 20 6c 69 6e 65 5f 73 74 ┆ate transition table for line_st┆ 0x1f4a0…1f4c0 61 74 65 2e 0d 0a 0d 0a 09 84 54 68 65 20 63 6f 6d 70 72 65 73 73 69 6f 6e 20 6f 66 20 74 68 65 ┆ate. The compression of the┆ 0x1f4c0…1f4e0 20 6c 69 6e 65 20 73 74 61 74 65 20 74 61 62 6c 65 20 73 68 6f 77 6e 20 69 6e 20 72 65 66 2e 20 ┆ line state table shown in ref. ┆ 0x1f4e0…1f500 28 39 29 20 69 73 20 6f 62 80 0a 19 89 80 80 74 61 69 6e 65 64 20 62 79 20 73 65 74 74 69 6e 67 ┆(9) is ob tained by setting┆ 0x1f500…1f520 20 62 6f 74 68 20 74 68 65 20 61 75 74 6f 5f 63 6f 6e 6e 65 63 74 20 61 6e 64 20 72 6e 72 5f 64 ┆ both the auto_connect and rnr_d┆ 0x1f520…1f540 69 73 63 20 62 69 74 73 20 69 6e 20 74 68 65 20 0a 19 89 80 80 63 6f 6e 6e 65 63 74 20 6d 65 73 ┆isc bits in the connect mes┆ 0x1f540…1f560 73 61 67 65 20 74 6f 20 66 61 6c 73 65 20 61 6e 64 20 74 68 65 6e 20 67 72 6f 75 70 20 74 68 65 ┆sage to false and then group the┆ 0x1f560…1f570 20 65 76 65 6e 74 73 2e 0d 0a 0d 0a 0d 0a 0d 0a ┆ events. ┆ 0x1f570…1f573 FormFeed { 0x1f570…1f573 0c 80 a5 ┆ ┆ 0x1f570…1f573 } 0x1f573…1f580 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ 0x1f580…1f5a0 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ […0x1…] 0x1f5c0…1f5e0 09 46 69 67 75 72 65 20 32 35 3a 20 46 6c 6f 77 63 68 61 72 74 20 66 6f 72 20 48 44 4c 43 20 65 ┆ Figure 25: Flowchart for HDLC e┆ 0x1f5e0…1f5f3 76 65 6e 74 20 74 72 65 61 74 6d 65 6e 74 2e 0d 0a 0d 0a ┆vent treatment. ┆ 0x1f5f3…1f5f6 FormFeed { 0x1f5f3…1f5f6 0c 80 a8 ┆ ┆ 0x1f5f3…1f5f6 } 0x1f5f6…1f600 0a 09 84 54 68 65 20 44 54 45 ┆ The DTE┆ 0x1f600…1f620 (251,) 20 6f 70 65 72 61 74 65 73 20 6f 6e 20 66 6f 75 72 20 6d 6f 64 65 6d 20 73 69 67 6e 61 6c 73 20 ┆ operates on four modem signals ┆ 0x1f620…1f640 6d 61 64 65 20 61 76 61 69 62 6c 65 20 62 79 20 74 68 65 20 48 44 4c 43 20 0a 19 89 80 80 64 72 ┆made avaible by the HDLC dr┆ 0x1f640…1f660 69 76 65 72 2e 20 54 68 69 73 20 69 73 20 0d 0a 0d 0a 09 20 20 20 2d 20 44 54 52 20 20 20 20 73 ┆iver. This is - DTR s┆ 0x1f660…1f680 65 74 20 62 79 20 74 68 65 20 44 54 45 0d 0a 09 20 20 20 2d 20 44 53 52 09 20 20 74 65 73 74 65 ┆et by the DTE - DSR teste┆ 0x1f680…1f6a0 64 20 62 79 20 74 68 65 20 44 54 45 0d 0a 09 20 20 20 2d 20 52 54 53 20 20 20 20 73 65 74 20 62 ┆d by the DTE - RTS set b┆ 0x1f6a0…1f6c0 79 20 74 68 65 20 44 54 45 0d 0a 09 20 20 20 2d 20 44 43 44 20 20 20 20 74 65 73 74 65 64 20 62 ┆y the DTE - DCD tested b┆ 0x1f6c0…1f6e0 79 20 74 68 65 20 44 54 45 0d 0a 0d 0a 09 84 46 6f 72 20 61 20 6d 6f 72 65 20 64 65 74 61 69 6c ┆y the DTE For a more detail┆ 0x1f6e0…1f700 65 64 20 64 65 73 63 72 69 70 74 69 6f 6e 20 70 6c 65 61 73 65 20 73 65 65 20 70 72 6f 63 65 64 ┆ed description please see proced┆ 0x1f700…1f720 75 72 65 20 b0 73 65 74 5f 6d 6f 64 65 6d f0 20 0a 19 89 81 80 73 75 62 73 65 63 74 69 6f 6e 20 ┆ure set_modem subsection ┆ 0x1f720…1f740 34 2e 31 2e 32 2e 32 2e 0d 0a 0d 0a 09 84 49 74 20 69 73 20 70 6f 73 73 69 62 6c 65 20 74 6f 20 ┆4.1.2.2. It is possible to ┆ 0x1f740…1f760 73 75 73 70 65 6e 64 20 74 68 69 73 20 6d 6f 64 65 6d 20 73 69 67 6e 61 6c 73 20 73 65 74 74 69 ┆suspend this modem signals setti┆ 0x1f760…1f780 6e 67 2f 74 65 73 74 69 6e 67 20 62 79 20 0a 19 89 80 80 73 65 74 74 69 6e 67 20 74 68 65 20 70 ┆ng/testing by setting the p┆ 0x1f780…1f7a0 61 72 61 6d 65 74 65 72 20 74 65 73 74 5f 6d 6f 64 65 6d 20 69 6e 20 74 68 65 20 68 64 6c 63 2d ┆arameter test_modem in the hdlc-┆ 0x1f7a0…1f7c0 70 61 72 61 6d 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 0a 19 89 80 80 72 65 63 6f 72 64 20 ┆param configuration record ┆ 0x1f7c0…1f7e0 28 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 32 2e 31 20 61 6e 64 20 73 75 62 73 65 63 74 69 6f 6e ┆(subsection 4.2.1 and subsection┆ 0x1f7e0…1f800 20 37 2e 31 2e 32 29 20 74 6f 20 66 61 6c 73 65 2e 20 49 6e 20 74 68 69 73 20 0a 19 89 80 80 63 ┆ 7.1.2) to false. In this c┆ 0x1f800…1f820 (252,) 61 73 65 20 74 68 65 20 73 69 67 6e 61 6c 73 20 61 72 65 20 72 65 61 64 20 6f 6e 6c 79 2e 0d 0a ┆ase the signals are read only. ┆ 0x1f820…1f824 0d 0a 0d 0a ┆ ┆ 0x1f824…1f827 FormFeed { 0x1f824…1f827 0c 80 91 ┆ ┆ 0x1f824…1f827 } 0x1f827…1f840 0a 16 20 66 6f 72 6d 61 74 6c 69 6e 69 65 20 74 69 6c 20 52 43 20 6d 61 6e ┆ formatlinie til RC man┆ 0x1f840…1f860 75 61 6c 65 72 0d 0a 14 b3 0d 0a 14 b3 06 2d 20 0b 20 2d 0d 0a a1 34 2e 33 09 44 65 73 63 72 69 ┆ualer - - 4.3 Descri┆ 0x1f860…1f880 70 74 69 6f 6e 20 6f 66 20 64 74 65 5f 61 63 63 65 73 73 2e 0d 0a 0d 0a 09 84 54 68 65 20 64 74 ┆ption of dte_access. The dt┆ 0x1f880…1f8a0 65 5f 61 63 63 65 73 73 20 70 72 6f 63 65 73 73 20 69 73 20 74 68 65 20 55 73 65 72 20 49 6e 74 ┆e_access process is the User Int┆ 0x1f8a0…1f8c0 65 72 66 61 63 65 20 6f 66 20 74 68 65 20 44 54 45 20 6d 6f 64 75 6c 65 20 61 73 20 0a 19 89 80 ┆erface of the DTE module as ┆ 0x1f8c0…1f8e0 80 61 6c 72 65 61 64 79 20 64 65 73 63 72 69 62 65 64 20 69 6e 20 73 65 63 74 69 6f 6e 20 32 2e ┆ already described in section 2.┆ 0x1f8e0…1f900 0d 0a 09 54 68 65 20 6d 61 69 6e 20 70 75 72 70 6f 73 65 20 69 73 3a 0d 0a 0d 0a 09 20 20 20 31 ┆ The main purpose is: 1┆ 0x1f900…1f920 29 20 84 69 6e 74 65 72 66 61 63 69 6e 67 20 61 20 75 73 65 72 20 74 6f 20 74 68 65 20 44 54 45 ┆) interfacing a user to the DTE┆ 0x1f920…1f940 20 6d 6f 64 75 6c 65 20 61 6e 64 20 61 6e 20 58 2e 32 35 20 0a 19 8f 80 80 63 6f 6d 6d 75 6e 69 ┆ module and an X.25 communi┆ 0x1f940…1f960 63 61 74 69 6f 6e 0d 0a 0d 0a 09 20 20 20 32 29 20 84 65 73 74 61 62 6c 69 73 68 69 6e 67 20 74 ┆cation 2) establishing t┆ 0x1f960…1f980 68 65 20 63 6f 6e 6e 65 63 74 69 6f 6e 20 62 65 74 77 65 65 6e 20 61 20 28 75 73 65 72 29 20 73 ┆he connection between a (user) s┆ 0x1f980…1f9a0 74 72 65 61 6d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 6e 64 20 61 6e 20 58 2e 32 ┆tream and an X.2┆ 0x1f9a0…1f9c0 35 20 6c 6f 67 69 63 61 6c 20 63 68 61 6e 6e 65 6c 2e 0d 0a 0d 0a 0d 0a a1 34 2e 33 2e 31 09 50 ┆5 logical channel. 4.3.1 P┆ 0x1f9c0…1f9e0 72 6f 63 65 73 73 20 50 61 72 61 6d 65 74 65 72 73 2e 0d 0a 0d 0a 09 84 50 52 4f 43 45 53 53 20 ┆rocess Parameters. PROCESS ┆ 0x1f9e0…1fa00 64 74 65 5f 61 63 63 65 73 73 28 0d 0a 09 20 20 20 56 41 52 20 64 74 65 5f 70 74 72 09 3a 20 21 ┆dte_access( VAR dte_ptr : !┆ 0x1fa00…1fa20 (253,) 20 74 61 70 5f 70 6f 69 6e 74 65 72 3b 0d 0a 09 20 20 20 56 41 52 20 73 75 70 5f 70 74 72 09 3a ┆ tap_pointer; VAR sup_ptr :┆ 0x1fa20…1fa40 20 21 20 73 65 6d 70 6f 69 6e 74 65 72 3b 0d 0a 09 20 20 20 56 41 52 20 65 76 65 6e 74 5f 70 6f ┆ ! sempointer; VAR event_po┆ 0x1fa40…1fa60 6f 6c 09 3a 20 73 65 6d 61 70 68 6f 72 65 3b 0d 0a 09 20 20 20 56 41 52 20 73 74 72 65 61 6d 5f ┆ol : semaphore; VAR stream_┆ 0x1fa60…1fa80 76 65 63 74 6f 72 3a 20 21 20 63 68 5f 73 65 6d 5f 74 79 70 65 3b 0d 0a 09 20 20 20 6d 61 78 5f ┆vector: ! ch_sem_type; max_┆ 0x1fa80…1faa0 73 74 72 65 61 6d 09 3a 20 62 79 74 65 3b 0d 0a 09 20 20 20 56 41 52 20 75 73 65 72 5f 74 61 62 ┆stream : byte; VAR user_tab┆ 0x1faa0…1fac0 6c 65 09 3a 20 75 5f 74 61 62 6c 65 5f 74 79 70 65 3b 0d 0a 09 20 20 20 56 41 52 20 75 73 65 72 ┆le : u_table_type; VAR user┆ 0x1fac0…1fae0 5f 6b 65 79 09 3a 20 73 65 6d 61 70 68 6f 72 65 3b 0d 0a 09 20 20 20 61 63 74 5f 75 73 65 72 5f ┆_key : semaphore; act_user_┆ 0x1fae0…1fb00 69 64 5f 6c 67 74 68 20 3a 20 62 79 74 65 0d 0a 09 20 20 20 29 3b 0d 0a 0d 0a 09 64 74 65 5f 70 ┆id_lgth : byte ); dte_p┆ 0x1fb00…1fb20 72 74 09 09 3a 20 84 4d 61 69 6e 20 73 65 6d 61 70 68 6f 72 65 20 70 6f 69 6e 74 65 72 20 6f 66 ┆rt : Main semaphore pointer of┆ 0x1fb20…1fb40 20 74 68 65 20 44 54 45 20 6d 6f 64 75 6c 65 20 61 6e 64 20 0a 19 9f 80 80 74 68 65 20 64 74 65 ┆ the DTE module and the dte┆ 0x1fb40…1fb60 5f 61 63 63 65 73 73 20 70 72 6f 63 65 73 73 2e 0d 0a 0d 0a 09 73 75 70 5f 70 74 72 09 09 3a 20 ┆_access process. sup_ptr : ┆ 0x1fb60…1fb80 84 64 74 65 20 6d 61 69 6e 20 73 65 6d 61 70 68 6f 72 65 20 70 6f 69 6e 74 65 72 0d 0a 0d 0a 09 ┆ dte main semaphore pointer ┆ 0x1fb80…1fba0 65 76 65 6e 74 5f 70 6f 6f 6c 09 3a 20 84 44 54 45 20 67 6c 6f 62 61 6c 20 65 76 65 6e 74 20 70 ┆event_pool : DTE global event p┆ 0x1fba0…1fbc0 6f 6f 6c 2e 20 49 6e 74 65 72 6e 61 6c 20 65 76 65 6e 74 20 62 75 66 80 0a 19 9f 80 80 66 65 72 ┆ool. Internal event buf fer┆ 0x1fbc0…1fbe0 73 20 61 72 65 20 68 61 6e 67 65 64 20 75 70 20 6f 6e 20 74 68 69 73 20 73 65 6d 61 70 68 6f 72 ┆s are hanged up on this semaphor┆ 0x1fbe0…1fc00 65 2e 0d 0a 0d 0a 09 73 74 72 65 61 6d 5f 76 65 63 74 6f 72 09 3a 20 84 53 65 6d 61 70 68 6f 72 ┆e. stream_vector : Semaphor┆ 0x1fc00…1fc20 (254,) 65 20 70 6f 69 6e 74 65 72 73 20 74 6f 20 74 68 65 20 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 ┆e pointers to the dte_chan proce┆ 0x1fc20…1fc40 73 73 20 0a 19 9f 80 80 69 6e 63 61 72 6e 61 74 69 6f 6e 73 2e 20 55 73 65 64 20 74 6f 20 72 6f ┆ss incarnations. Used to ro┆ 0x1fc40…1fc60 75 74 65 20 75 73 65 72 20 6d 65 73 73 61 67 65 73 20 74 6f 20 0a 19 9f 80 80 61 20 64 74 65 5f ┆ute user messages to a dte_┆ 0x1fc60…1fc80 63 68 61 6e 20 69 6e 63 61 72 6e 61 74 69 6f 6e 2e 0d 0a 0d 0a 09 6d 61 78 5f 73 74 72 65 61 6d ┆chan incarnation. max_stream┆ 0x1fc80…1fca0 09 3a 20 84 4d 61 78 69 6d 75 6d 20 6e 75 6d 62 65 72 20 6f 66 20 75 73 65 72 20 73 74 72 65 61 ┆ : Maximum number of user strea┆ 0x1fca0…1fcc0 6d 73 20 74 68 65 20 44 54 45 20 69 73 20 0a 19 9f 80 80 61 62 6c 65 20 74 6f 20 73 65 72 76 65 ┆ms the DTE is able to serve┆ 0x1fcc0…1fce0 2e 0d 0a 0d 0a 8c 80 a9 0a 09 75 73 65 72 5f 74 61 62 6c 65 09 3a 20 84 45 61 63 68 20 63 6f 6e ┆. user_table : Each con┆ 0x1fce0…1fd00 6e 65 63 74 65 64 20 75 73 65 72 20 69 73 20 64 65 73 63 72 69 62 65 64 20 62 79 20 61 6e 20 65 ┆nected user is described by an e┆ 0x1fd00…1fd20 6e 74 72 79 20 0a 19 9f 80 80 69 6e 20 75 73 65 72 5f 74 61 62 6c 65 2e 20 46 6f 72 20 61 20 64 ┆ntry in user_table. For a d┆ 0x1fd20…1fd40 65 74 61 69 6c 65 64 20 64 65 73 63 72 69 70 74 69 6f 6e 20 0a 19 9f 80 80 70 6c 65 61 73 65 20 ┆etailed description please ┆ 0x1fd40…1fd60 73 65 65 20 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 31 2e 31 2e 31 2e 0d 0a 0d 0a 09 75 73 65 72 ┆see subsection 4.1.1.1. user┆ 0x1fd60…1fd80 5f 6b 65 79 09 09 3a 20 41 63 63 65 73 73 20 73 65 6d 61 70 68 6f 72 65 20 74 6f 20 75 73 65 72 ┆_key : Access semaphore to user┆ 0x1fd80…1fda0 5f 74 61 62 6c 65 2e 0d 0a 0d 0a 09 61 63 74 5f 75 73 65 72 5f 69 64 5f 6c 67 74 68 09 3a 20 84 ┆_table. act_user_id_lgth : ┆ 0x1fda0…1fdc0 41 63 74 75 61 6c 20 75 73 65 72 20 69 64 65 6e 74 69 66 69 63 61 74 69 6f 6e 20 6c 65 6e 67 74 ┆Actual user identification lengt┆ 0x1fdc0…1fde0 68 2e 20 50 6c 65 61 73 65 20 0a 19 9f 80 80 72 65 66 65 72 20 74 6f 20 73 75 62 73 65 63 74 69 ┆h. Please refer to subsecti┆ 0x1fde0…1fe00 6f 6e 20 34 2e 31 2e 36 2e 0d 0a 0d 0a 0d 0a a1 34 2e 33 2e 32 09 53 74 61 74 65 73 2e 0d 0a 0d ┆on 4.1.6. 4.3.2 States. ┆ 0x1fe00…1fe20 (255,) 0a 09 84 54 68 65 20 64 74 65 5f 61 63 63 65 73 73 20 6d 61 69 6e 74 61 69 6e 73 20 66 6f 75 72 ┆ The dte_access maintains four┆ 0x1fe20…1fe40 20 73 74 61 74 65 20 76 61 72 69 61 62 6c 65 73 3a 0d 0a 0d 0a 09 2d 20 64 74 65 5f 72 65 63 2e ┆ state variables: - dte_rec.┆ 0x1fe40…1fe60 64 74 65 5f 73 74 61 74 65 09 09 3a 20 73 74 61 74 65 20 6f 66 20 74 68 65 20 44 54 45 20 6d 6f ┆dte_state : state of the DTE mo┆ 0x1fe60…1fe80 64 75 6c 65 0d 0a 0d 0a 09 2d 20 75 73 65 72 5f 74 61 62 6c 65 2e 75 73 65 72 5f 73 74 61 74 65 ┆dule - user_table.user_state┆ 0x1fe80…1fea0 09 3a 20 84 73 74 61 74 65 20 6f 66 20 61 20 63 6f 6e 6e 65 63 74 65 64 20 75 73 65 72 2f 65 6e ┆ : state of a connected user/en┆ 0x1fea0…1fec0 74 72 79 20 69 6e 20 0a 19 a9 80 80 74 68 65 20 75 73 65 72 20 74 61 62 6c 65 0d 0a 0d 0a 09 2d ┆try in the user table -┆ 0x1fec0…1fee0 20 73 74 72 65 61 6d 5f 74 61 62 6c 65 2e 73 74 72 65 61 6d 5f 73 74 61 74 65 09 3a 20 84 73 74 ┆ stream_table.stream_state : st┆ 0x1fee0…1ff00 61 74 65 20 6f 66 20 61 20 75 73 65 72 20 73 74 72 65 61 6d 20 69 6e 20 74 68 65 20 75 73 65 72 ┆ate of a user stream in the user┆ 0x1ff00…1ff20 20 0a 19 a9 80 80 69 6e 74 65 72 66 61 63 65 0d 0a 0d 0a 09 2d 20 73 74 72 65 61 6d 5f 74 61 62 ┆ interface - stream_tab┆ 0x1ff20…1ff40 6c 65 2e 69 6e 74 65 72 6e 5f 73 74 61 74 65 09 3a 20 84 73 74 61 74 65 20 6f 66 20 61 20 73 74 ┆le.intern_state : state of a st┆ 0x1ff40…1ff60 72 65 61 6d 20 69 6e 74 65 72 6e 61 6c 20 69 6e 20 74 68 65 20 0a 19 a9 80 80 70 72 6f 63 65 73 ┆ream internal in the proces┆ 0x1ff60…1ff80 73 2e 0d 0a 0d 0a 0d 0a b0 09 64 74 65 5f 72 65 63 2e 64 74 65 5f 73 74 61 74 65 3a 0d 0a 0d 0a ┆s. dte_rec.dte_state: ┆ 0x1ff80…1ffa0 09 20 20 20 84 44 65 73 63 72 69 70 74 69 6f 6e 20 6f 66 20 74 68 65 20 69 6e 64 69 76 69 64 75 ┆ Description of the individu┆ 0x1ffa0…1ffc0 61 6c 20 73 74 61 74 65 73 20 70 6c 65 61 73 65 20 72 65 66 65 72 20 74 6f 20 73 75 62 73 65 63 ┆al states please refer to subsec┆ 0x1ffc0…1ffd4 74 69 6f 6e 20 0a 19 8c 80 80 34 2e 32 2e 32 2e 0d 0a 0d 0a ┆tion 4.2.2. ┆ 0x1ffd4…1ffd7 FormFeed { 0x1ffd4…1ffd7 0c 80 9f ┆ ┆ 0x1ffd4…1ffd7 } 0x1ffd7…1ffe0 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ 0x1ffe0…20000 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 46 69 67 75 72 ┆ Figur┆ 0x20000…20020 (256,) 65 20 32 36 3a 20 84 53 74 61 74 65 20 74 72 61 6e 73 69 74 69 6f 6e 20 67 72 61 70 68 20 66 6f ┆e 26: State transition graph fo┆ 0x20020…20040 72 20 64 74 65 5f 73 74 61 74 65 20 69 6e 20 70 72 6f 63 65 73 73 20 0a 19 94 80 80 64 74 65 5f ┆r dte_state in process dte_┆ 0x20040…20060 61 63 63 65 73 73 2e 0d 0a 0d 0a b0 09 75 73 65 72 5f 74 61 62 6c 65 2e 75 73 65 72 5f 73 74 61 ┆access. user_table.user_sta┆ 0x20060…20080 74 65 3a 0d 0a 0d 0a b0 09 20 20 20 66 72 65 65 09 09 f0 65 6e 74 72 79 20 69 6e 20 75 73 65 72 ┆te: free entry in user┆ 0x20080…200a0 20 74 61 62 6c 65 20 66 72 65 65 0d 0a 0d 0a b0 09 20 20 20 77 5f 72 65 73 63 09 09 84 f0 74 68 ┆ table free w_resc th┆ 0x200a0…200c0 65 20 64 74 65 5f 61 63 63 65 73 73 20 70 72 6f 63 65 73 73 20 69 73 20 61 77 61 69 74 69 6e 67 ┆e dte_access process is awaiting┆ 0x200c0…200e0 20 72 65 73 6f 75 72 63 65 73 20 0a 19 9d 81 80 28 72 65 63 65 69 76 65 20 67 65 6e 65 72 61 6c ┆ resources (receive general┆ 0x200e0…20100 29 20 66 72 6f 6d 20 74 68 65 20 75 73 65 72 0d 0a 0d 0a b0 09 20 20 20 69 64 6c 65 09 09 f0 74 ┆) from the user idle t┆ 0x20100…20120 68 65 20 75 73 65 72 20 68 61 73 20 6e 6f 20 61 63 74 69 76 65 20 73 74 72 65 61 6d 73 0d 0a 0d ┆he user has no active streams ┆ 0x20120…20140 0a b0 09 20 20 20 61 63 74 69 76 65 09 09 f0 74 68 65 20 75 73 65 72 20 68 61 73 20 61 74 20 6c ┆ active the user has at l┆ 0x20140…2015b 65 61 73 74 20 6f 6e 65 20 61 63 74 69 76 65 20 73 74 72 65 61 6d 2e 0d 0a 0d 0a ┆east one active stream. ┆ 0x2015b…2015e FormFeed { 0x2015b…2015e 0c 80 9f ┆ ┆ 0x2015b…2015e } 0x2015e…20160 0a 09 ┆ ┆ 0x20160…20180 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f ┆________________________________┆ […0x1…] 0x201a0…201c0 0d 0a 09 20 20 20 20 20 73 74 61 74 65 20 20 20 20 82 66 72 65 65 20 20 20 20 20 20 20 20 20 20 ┆ state free ┆ 0x201c0…201e0 77 5f 72 65 73 63 20 20 20 20 20 20 20 20 20 69 64 6c 65 20 20 20 20 20 20 20 20 61 63 74 69 76 ┆w_resc idle activ┆ 0x201e0…20200 65 0d 0a 09 a1 20 65 76 65 6e 74 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆e event ┆ 0x20200…20220 (257,) 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x20220…20240 20 20 20 20 20 0d 0a 09 20 64 74 65 5f 20 20 09 20 20 20 20 82 66 72 65 65 20 20 20 20 20 20 20 ┆ dte_ free ┆ 0x20240…20260 20 20 20 77 5f 72 65 73 63 20 20 20 20 20 20 20 20 61 63 74 69 76 65 20 20 20 20 20 20 20 61 63 ┆ w_resc active ac┆ 0x20260…20280 74 69 76 65 0d 0a 20 20 20 20 20 20 20 20 20 a1 20 63 61 6c 6c 5f 72 65 71 20 20 20 20 20 20 20 ┆tive call_req ┆ 0x20280…202a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x202a0…202c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 09 20 64 74 65 5f 20 20 20 20 20 20 20 20 ┆ dte_ ┆ 0x202c0…202e0 20 82 66 72 65 65 20 20 20 20 20 20 20 20 20 20 77 5f 72 65 73 63 20 20 20 20 20 20 20 20 20 69 ┆ free w_resc i┆ 0x202e0…20300 64 6c 65 20 20 20 20 20 20 20 20 61 63 74 69 76 65 0d 0a 20 20 20 20 20 20 20 20 20 a1 20 77 61 ┆dle active wa┆ 0x20300…20320 69 74 5f 65 76 65 6e 74 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆it_event ┆ 0x20320…20340 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 20 ┆ ┆ 0x20340…20360 20 20 20 20 20 20 20 20 20 64 74 65 5f 20 20 20 20 20 20 20 20 20 82 66 72 65 65 20 20 20 20 20 ┆ dte_ free ┆ 0x20360…20380 20 20 20 20 20 20 69 64 6c 65 20 20 20 20 20 20 20 20 20 20 69 64 6c 65 20 20 20 20 20 20 20 20 ┆ idle idle ┆ 0x20380…203a0 61 63 74 69 76 65 20 0d 0a 20 20 20 20 20 20 20 20 20 a1 20 72 65 63 5f 67 65 6e 20 20 20 20 20 ┆active rec_gen ┆ 0x203a0…203c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x203c0…203e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 20 20 64 ┆ d┆ 0x203e0…20400 74 65 5f 20 20 20 20 20 20 20 20 20 82 77 5f 72 65 73 63 20 20 20 20 20 20 20 20 77 5f 72 65 73 ┆te_ w_resc w_res┆ 0x20400…20420 (258,) 63 20 20 20 20 20 20 20 20 20 69 64 6c 65 20 20 20 20 20 20 20 20 61 63 74 69 76 65 0d 0a 20 20 ┆c idle active ┆ 0x20420…20440 20 20 20 20 20 20 20 a1 20 63 6f 6e 6e 5f 75 73 65 72 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ conn_user ┆ 0x20440…20460 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x20460…20480 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 20 20 64 74 65 5f 20 20 20 20 20 20 20 20 ┆ dte_ ┆ 0x20480…204a0 20 82 66 72 65 65 20 20 20 20 20 20 20 20 20 20 20 66 72 65 65 20 20 20 20 20 20 20 20 20 20 66 ┆ free free f┆ 0x204a0…204c0 72 65 65 20 20 20 20 20 20 20 20 61 63 74 69 76 65 0d 0a 20 20 20 20 20 20 20 20 20 a1 20 64 69 ┆ree active di┆ 0x204c0…204e0 73 63 5f 75 73 65 72 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆sc_user ┆ 0x204e0…20500 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 20 ┆ ┆ 0x20500…20520 20 20 20 20 20 20 20 20 20 61 6c 6c 20 73 74 72 65 61 6d 73 20 20 20 20 20 20 20 20 20 20 20 20 ┆ all streams ┆ 0x20520…20540 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x20540…20560 82 69 64 6c 65 0d 0a 20 20 20 20 20 20 20 20 20 a1 20 63 6c 65 61 72 65 64 20 20 20 20 20 20 20 ┆ idle cleared ┆ 0x20560…20580 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x20580…205a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 09 20 58 2e 32 35 20 69 6e 63 6f 6d 2e ┆ X.25 incom.┆ 0x205a0…205c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 82 61 ┆ a┆ 0x205c0…205e0 63 74 69 76 65 20 20 20 20 20 20 20 61 63 74 69 76 65 0d 0a 20 20 20 20 20 20 20 20 20 a1 20 63 ┆ctive active c┆ 0x205e0…20600 61 6c 6c 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆all ┆ 0x20600…20620 (259,) 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a ┆ ┆ 0x20620…20640 0d 0a 09 54 61 62 6c 65 20 37 3a 20 84 50 72 6f 63 65 73 73 20 64 74 65 5f 61 63 63 65 73 73 2c ┆ Table 7: Process dte_access,┆ 0x20640…20660 20 73 74 61 74 65 20 74 72 61 6e 73 69 74 69 6f 6e 20 74 61 62 6c 65 20 66 6f 72 20 0a 19 92 80 ┆ state transition table for ┆ 0x20660…20680 80 75 73 65 72 5f 73 74 61 74 65 2e 0d 0a 0d 0a 09 84 49 6e 20 61 70 70 65 6e 64 69 78 20 43 2e ┆ user_state. In appendix C.┆ 0x20680…206a0 31 2e 31 20 74 68 65 20 73 74 61 74 65 2f 61 63 74 69 6f 6e 20 74 61 62 6c 65 20 63 6f 72 72 65 ┆1.1 the state/action table corre┆ 0x206a0…206c0 6c 61 74 65 64 20 77 69 74 68 20 0a 19 89 80 80 75 73 65 72 5f 73 74 61 74 65 20 69 73 20 6f 75 ┆lated with user_state is ou┆ 0x206c0…206e0 74 6c 69 6e 65 64 2e 0d 0a 0d 0a b0 09 73 74 72 65 61 6d 5f 74 61 62 6c 65 2e 73 74 72 65 61 6d ┆tlined. stream_table.stream┆ 0x206e0…20700 5f 73 74 61 74 65 3a 0d 0a 0d 0a b0 09 20 20 20 63 6c 65 61 72 09 09 f0 74 68 65 20 65 6e 74 72 ┆_state: clear the entr┆ 0x20700…20720 79 20 69 6e 20 73 74 72 65 61 6d 5f 74 61 62 6c 65 20 69 73 20 66 72 65 65 0d 0a 0d 0a b0 09 20 ┆y in stream_table is free ┆ 0x20720…20740 20 20 77 5f 75 72 65 73 70 09 84 84 f0 74 68 65 20 73 74 72 65 61 6d 20 68 61 73 20 62 65 65 6e ┆ w_uresp the stream has been┆ 0x20740…20760 20 63 6c 65 61 72 65 64 20 77 68 69 6c 65 20 77 61 69 74 69 6e 67 20 75 73 65 72 20 0a 19 9d 81 ┆ cleared while waiting user ┆ 0x20760…20780 80 72 65 73 70 6f 6e 73 65 20 6f 6e 20 61 6e 20 69 6e 74 65 72 6e 61 6c 20 69 6e 63 6f 6d 69 6e ┆ response on an internal incomin┆ 0x20780…207a0 67 20 63 61 6c 6c 0d 0a 0d 0a 09 20 20 20 b0 77 5f 61 63 63 70 09 09 84 84 f0 74 68 65 20 64 74 ┆g call w_accp the dt┆ 0x207a0…207c0 65 5f 61 63 63 65 73 73 20 70 72 6f 63 65 73 73 20 69 73 20 61 77 61 69 74 69 6e 67 20 75 73 65 ┆e_access process is awaiting use┆ 0x207c0…207e0 72 20 72 65 80 0a 19 9d 81 80 73 70 6f 6e 73 65 20 6f 6e 20 61 6e 20 69 6e 74 65 72 6e 61 6c 20 ┆r re sponse on an internal ┆ 0x207e0…20800 69 6e 63 6f 6d 69 6e 67 20 63 61 6c 6c 0d 0a 0d 0a b0 09 20 20 20 64 61 74 61 09 09 f0 74 68 65 ┆incoming call data the┆ 0x20800…20820 (260,) 20 73 74 72 65 61 6d 20 69 73 20 72 65 61 64 79 20 66 6f 72 20 64 61 74 61 20 74 72 61 6e 73 66 ┆ stream is ready for data transf┆ 0x20820…20840 65 72 0d 0a 0d 0a b0 09 20 20 20 75 5f 63 6c 65 61 72 09 f0 74 68 65 20 75 73 65 72 20 68 61 73 ┆er u_clear the user has┆ 0x20840…20860 20 69 6e 69 74 69 61 74 65 64 20 74 68 65 20 63 6c 65 61 72 69 6e 67 20 70 68 61 73 65 0d 0a 0d ┆ initiated the clearing phase ┆ 0x20860…20880 0a 0d 0a 8c 80 a7 0a b0 09 73 74 72 65 61 6d 5f 74 61 62 6c 65 2e 69 6e 74 65 72 6e 5f 73 74 61 ┆ stream_table.intern_sta┆ 0x20880…208a0 74 65 3a 0d 0a 0d 0a b0 09 20 20 20 63 6c 65 61 72 65 64 09 f0 6e 6f 20 61 63 74 69 76 65 20 73 ┆te: cleared no active s┆ 0x208a0…208c0 74 72 65 61 6d 0d 0a 0d 0a b0 09 20 20 20 77 61 69 74 69 6e 67 09 84 f0 74 68 65 20 64 74 65 5f ┆tream waiting the dte_┆ 0x208c0…208e0 61 63 63 65 73 73 20 70 72 6f 63 65 73 73 20 69 73 20 61 77 61 69 74 69 6e 67 20 72 65 73 70 6f ┆access process is awaiting respo┆ 0x208e0…20900 6e 73 65 20 0a 19 9d 81 80 66 72 6f 6d 20 74 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 20 6f 6e ┆nse from the dte process on┆ 0x20900…20920 20 61 20 63 68 61 6e 5f 73 74 61 72 74 20 6d 65 73 73 61 67 65 0d 0a 0d 0a 09 20 20 20 b0 78 66 ┆ a chan_start message xf┆ 0x20920…20940 65 72 5f 64 61 74 61 09 f0 74 68 65 20 73 74 72 65 61 6d 20 69 73 20 72 65 61 64 79 20 66 6f 72 ┆er_data the stream is ready for┆ 0x20940…20960 20 64 61 74 61 20 74 72 61 6e 73 66 65 72 0d 0a 0d 0a b0 09 20 20 20 63 6c 65 61 72 69 6e 67 09 ┆ data transfer clearing ┆ 0x20960…20980 84 f0 74 68 65 20 73 74 72 65 61 6d 20 68 61 73 20 62 65 65 6e 20 63 6c 65 61 72 65 64 20 62 79 ┆ the stream has been cleared by┆ 0x20980…209a0 20 74 68 65 20 64 74 65 5f 63 68 61 6e 20 0a 19 9d 81 80 69 6e 63 61 72 6e 61 74 69 6f 6e 2c 20 ┆ the dte_chan incarnation, ┆ 0x209a0…209c0 62 75 74 20 61 6e 20 61 6e 73 77 65 72 20 6f 6e 20 27 63 68 61 6e 5f 73 74 61 72 74 27 20 68 61 ┆but an answer on 'chan_start' ha┆ 0x209c0…209e0 73 20 0a 19 9d 81 80 6e 6f 74 20 79 65 74 20 62 65 65 6e 20 72 65 63 65 69 76 65 64 2e 0d 0a 0d ┆s not yet been received. ┆ 0x209e0…20a00 0a 0d 0a a1 34 2e 33 2e 33 09 53 65 6d 61 70 68 6f 72 65 20 61 6e 64 20 52 65 66 65 72 65 6e 63 ┆ 4.3.3 Semaphore and Referenc┆ 0x20a00…20a20 (261,) 65 20 56 61 72 69 61 62 6c 65 73 2e 0d 0a 0d 0a 09 84 56 61 72 69 61 62 6c 65 73 20 6f 66 20 74 ┆e Variables. Variables of t┆ 0x20a20…20a40 79 70 65 20 27 73 65 6d 70 6f 69 6e 74 65 72 27 20 61 6e 64 20 27 74 61 70 5f 70 6f 69 6e 74 65 ┆ype 'sempointer' and 'tap_pointe┆ 0x20a40…20a60 72 27 20 61 72 65 20 6d 65 6e 74 69 6f 6e 65 64 20 69 6e 20 0a 19 89 80 80 74 68 65 20 73 65 6d ┆r' are mentioned in the sem┆ 0x20a60…20a80 61 70 68 6f 72 65 20 73 75 62 73 65 63 74 69 6f 6e 20 6a 75 73 74 20 61 73 20 74 68 65 79 20 77 ┆aphore subsection just as they w┆ 0x20a80…20aa0 65 72 65 20 73 65 6d 61 70 68 6f 72 65 73 2e 0d 0a 0d 0a 0d 0a b0 09 a1 53 45 4d 41 50 48 4f 52 ┆ere semaphores. SEMAPHOR┆ 0x20aa0…20ac0 45 53 0d 0a 0d 0a 09 74 65 73 74 73 65 6d 09 09 20 20 20 20 20 20 20 20 20 20 3a 20 84 53 65 6d ┆ES testsem : Sem┆ 0x20ac0…20ae0 61 70 68 6f 72 65 20 75 73 65 64 20 66 6f 72 20 71 75 65 75 69 6e 67 20 6f 66 20 0a 19 a9 80 80 ┆aphore used for queuing of ┆ 0x20ae0…20b00 6d 65 73 73 61 67 65 73 20 64 75 72 69 6e 67 20 69 6e 74 65 72 6e 61 6c 20 74 65 73 74 20 0a 19 ┆messages during internal test ┆ 0x20b00…20b20 a9 80 80 6f 66 20 74 68 65 20 64 74 65 5f 61 63 63 65 73 73 20 70 72 6f 63 65 73 73 2e 20 50 6c ┆ of the dte_access process. Pl┆ 0x20b20…20b40 65 61 73 65 20 0a 19 a9 80 80 73 65 65 20 73 65 63 74 69 6f 6e 20 36 2e 32 2e 0d 0a 0d 0a 09 73 ┆ease see section 6.2. s┆ 0x20b40…20b60 74 72 65 61 6d 5f 74 61 62 6c 65 2e 73 75 73 70 65 6e 64 5f 73 65 6d 09 3a 20 84 53 65 6d 61 70 ┆tream_table.suspend_sem : Semap┆ 0x20b60…20b80 68 6f 72 65 20 75 73 65 64 20 74 6f 20 71 75 65 75 65 20 75 70 20 75 73 65 72 20 0a 19 a9 80 80 ┆hore used to queue up user ┆ 0x20b80…20ba0 6d 65 73 73 61 67 65 73 20 75 6e 74 69 6c 20 61 20 64 74 65 5f 63 68 61 6e 20 69 6e 63 61 72 6e ┆messages until a dte_chan incarn┆ 0x20ba0…20bc0 61 80 0a 19 a9 80 80 74 69 6f 6e 20 69 73 20 61 63 74 69 76 65 2e 0d 0a 0d 0a 09 73 74 72 65 61 ┆a tion is active. strea┆ 0x20bc0…20be0 6d 5f 74 61 62 6c 65 2e 63 68 61 6e 70 72 6f 63 5f 73 65 6d 09 3a 20 84 53 65 6d 61 70 68 6f 72 ┆m_table.chanproc_sem : Semaphor┆ 0x20be0…20c00 65 20 70 6f 69 6e 74 65 72 20 74 6f 20 74 68 65 20 61 73 73 6f 63 69 61 74 80 0a 19 a9 80 80 65 ┆e pointer to the associat e┆ 0x20c00…20c1b (262,) 64 20 64 74 65 5f 63 68 61 6e 20 69 6e 63 61 72 6e 61 74 69 6f 6e 2e 0d 0a 0d 0a ┆d dte_chan incarnation. ┆ 0x20c1b…20c1e FormFeed { 0x20c1b…20c1e 0c 80 a2 ┆ ┆ 0x20c1b…20c1e } 0x20c1e…20c20 0a b0 ┆ ┆ 0x20c20…20c40 09 a1 52 45 46 45 52 45 4e 43 45 53 0d 0a 0d 0a 09 65 76 65 6e 74 5f 72 65 66 09 09 09 3a 20 84 ┆ REFERENCES event_ref : ┆ 0x20c40…20c60 57 6f 72 6b 69 6e 67 20 72 65 66 65 72 65 6e 63 65 20 64 75 72 69 6e 67 20 65 76 65 6e 74 20 67 ┆Working reference during event g┆ 0x20c60…20c80 65 80 0a 19 a9 80 80 6e 65 72 61 74 69 6f 6e 2e 0d 0a 0d 0a 09 72 65 71 5f 72 65 66 09 09 09 3a ┆e neration. req_ref :┆ 0x20c80…20ca0 20 84 48 6f 6c 64 73 20 74 68 65 20 6d 65 73 73 61 67 65 20 75 6e 64 65 72 20 70 72 6f 63 65 73 ┆ Holds the message under proces┆ 0x20ca0…20cc0 73 80 0a 19 a9 80 80 69 6e 67 2e 0d 0a 0d 0a 09 6b 65 79 5f 72 65 66 09 09 09 3a 20 84 55 73 65 ┆s ing. key_ref : Use┆ 0x20cc0…20ce0 64 20 74 6f 20 68 6f 6c 64 20 74 68 65 20 6b 65 79 20 6d 65 73 73 61 67 65 20 64 75 80 0a 19 a9 ┆d to hold the key message du ┆ 0x20ce0…20d00 80 80 72 69 6e 67 20 61 63 63 65 73 73 20 74 6f 20 74 68 65 20 75 73 65 72 5f 74 61 62 6c 65 2e ┆ ring access to the user_table.┆ 0x20d00…20d20 0d 0a 0d 0a 09 61 72 65 66 09 09 09 3a 20 57 6f 72 6b 69 6e 67 20 72 65 66 65 72 65 6e 63 65 2e ┆ aref : Working reference.┆ 0x20d20…20d40 0d 0a 0d 0a 09 6d 72 65 66 09 09 09 3a 20 57 6f 72 6b 69 6e 67 20 72 65 66 65 72 65 6e 63 65 2e ┆ mref : Working reference.┆ 0x20d40…20d60 0d 0a 0d 0a 09 73 74 72 65 61 6d 5f 74 61 62 6c 65 2e 69 6e 74 65 72 6e 61 6c 5f 72 65 66 09 3a ┆ stream_table.internal_ref :┆ 0x20d60…20d80 20 84 48 6f 6c 64 20 65 69 74 68 65 72 20 61 6e 20 69 6e 74 65 72 6e 61 6c 20 69 6e 63 6f 6d 69 ┆ Hold either an internal incomi┆ 0x20d80…20da0 6e 67 20 0a 19 a9 80 80 63 61 6c 6c 20 6f 72 20 69 6e 74 65 72 6e 61 6c 20 63 6c 65 61 72 20 6d ┆ng call or internal clear m┆ 0x20da0…20dc0 65 73 73 61 67 65 20 0a 19 a9 80 80 77 68 69 6c 65 20 77 61 69 74 80 69 6e 67 20 75 73 65 72 20 ┆essage while wait ing user ┆ 0x20dc0…20dcd 72 65 73 70 6f 6e 73 65 2e 0d 0a 0d 0a ┆response. ┆ 0x20dcd…20dd0 FormFeed { 0x20dcd…20dd0 0c 80 93 ┆ ┆ 0x20dcd…20dd0 } 0x20dd0…20de0 0a a1 34 2e 33 2e 34 09 44 61 74 61 20 53 74 72 ┆ 4.3.4 Data Str┆ 0x20de0…20e00 75 63 74 75 72 65 73 2e 0d 0a 0d 0a 09 84 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 64 61 74 61 ┆uctures. The following data┆ 0x20e00…20e20 (263,) 20 73 74 72 75 63 74 75 72 65 73 20 75 73 65 64 20 69 6e 20 74 68 65 20 64 74 65 5f 61 63 63 65 ┆ structures used in the dte_acce┆ 0x20e20…20e40 73 73 20 70 72 6f 63 65 73 73 20 61 72 65 20 0a 19 89 80 80 64 65 73 63 72 69 62 65 64 20 65 6c ┆ss process are described el┆ 0x20e40…20e60 73 65 77 68 65 72 65 2e 0d 0a 0d 0a 09 20 20 20 75 73 65 72 5f 74 61 62 6c 65 09 73 65 63 74 69 ┆sewhere. user_table secti┆ 0x20e60…20e80 6f 6e 20 34 2e 31 2e 31 2e 31 0d 0a 09 20 20 20 73 74 72 65 61 6d 5f 76 65 63 74 6f 72 09 73 65 ┆on 4.1.1.1 stream_vector se┆ 0x20e80…20ea0 63 74 69 6f 6e 20 34 2e 31 2e 31 2e 32 0d 0a 0d 0a 09 84 42 65 73 69 64 65 73 20 74 68 65 73 65 ┆ction 4.1.1.2 Besides these┆ 0x20ea0…20ec0 20 74 68 65 20 62 65 6c 6f 77 20 64 65 73 63 72 69 62 65 64 20 64 61 74 61 20 73 74 72 75 63 74 ┆ the below described data struct┆ 0x20ec0…20ee0 75 72 65 73 20 61 72 65 20 69 6d 70 6f 72 74 61 6e 74 20 0a 19 89 80 80 66 6f 72 20 75 6e 64 65 ┆ures are important for unde┆ 0x20ee0…20f00 72 73 74 61 6e 64 69 6e 67 20 74 68 65 20 69 6e 74 65 72 6e 61 6c 20 73 74 72 75 63 74 75 72 65 ┆rstanding the internal structure┆ 0x20f00…20f20 20 61 6e 64 20 77 6f 72 6b 20 6f 66 20 74 68 65 20 64 74 65 5f 61 63 80 0a 19 89 80 80 63 65 73 ┆ and work of the dte_ac ces┆ 0x20f20…20f40 73 20 70 72 6f 63 65 73 73 0d 0a 0d 0a 09 73 74 72 65 61 6d 5f 74 61 62 6c 65 09 09 3a 20 84 45 ┆s process stream_table : E┆ 0x20f40…20f60 61 63 68 20 65 6e 74 72 79 20 69 6e 20 74 68 69 73 20 74 61 62 6c 65 20 64 65 73 63 72 69 62 65 ┆ach entry in this table describe┆ 0x20f60…20f80 73 20 0a 19 a9 80 80 61 20 75 73 65 72 20 73 74 72 65 61 6d 20 69 6e 63 6c 75 64 69 6e 67 20 72 ┆s a user stream including r┆ 0x20f80…20fa0 6f 75 74 69 6e 67 20 0a 19 a9 80 80 70 6f 69 6e 74 65 72 73 20 74 6f 20 74 68 65 20 61 73 73 6f ┆outing pointers to the asso┆ 0x20fa0…20fc0 63 69 61 74 65 64 20 0a 19 a9 80 80 64 74 65 5f 63 68 61 6e 20 69 6e 63 61 72 6e 61 74 69 6f 6e ┆ciated dte_chan incarnation┆ 0x20fc0…20fe0 2e 20 54 79 70 65 20 69 73 20 0a 19 a9 80 80 73 74 72 65 61 6d 5f 74 79 70 65 20 64 65 73 63 72 ┆. Type is stream_type descr┆ 0x20fe0…21000 69 62 65 64 20 62 65 6c 6f 77 0d 0a 0d 0a 09 63 68 61 6e 6e 65 6c 5f 74 61 62 6c 65 09 09 3a 20 ┆ibed below channel_table : ┆ 0x21000…21020 (264,) 84 41 72 72 61 79 73 20 6f 66 20 69 6e 74 65 67 65 72 73 2c 20 77 68 69 63 68 20 61 63 74 73 20 ┆ Arrays of integers, which acts ┆ 0x21020…21040 61 73 20 0a 19 a9 80 80 70 6f 69 6e 74 65 72 73 20 74 6f 20 73 74 72 65 61 6d 5f 74 61 62 6c 65 ┆as pointers to stream_table┆ 0x21040…21060 20 66 6f 72 20 61 20 0a 19 a9 80 80 63 6f 6e 76 65 72 73 69 6f 6e 20 66 72 6f 6d 20 64 74 65 5f ┆ for a conversion from dte_┆ 0x21060…21080 63 68 61 6e 20 69 6e 63 61 72 6e 61 80 0a 19 a9 80 80 74 69 6f 6e 20 6e 75 6d 62 65 72 73 20 74 ┆chan incarna tion numbers t┆ 0x21080…210a0 6f 20 65 6e 74 72 79 20 6e 75 6d 62 65 72 73 20 69 6e 20 0a 19 a9 80 80 73 74 72 65 61 6d 5f 74 ┆o entry numbers in stream_t┆ 0x210a0…210c0 61 62 6c 65 2e 0d 0a 0d 0a 0d 0a 09 73 74 72 65 61 6d 5f 74 79 70 65 20 3d 20 72 65 63 6f 72 64 ┆able. stream_type = record┆ 0x210c0…210e0 0d 0a 09 20 20 20 73 74 72 65 61 6d 5f 73 74 61 74 65 09 3a 20 73 74 61 74 65 20 6f 66 20 74 68 ┆ stream_state : state of th┆ 0x210e0…21100 65 20 73 74 72 65 61 6d 20 28 73 65 65 20 73 65 63 74 69 6f 6e 20 34 2e 33 2e 32 29 0d 0a 09 20 ┆e stream (see section 4.3.2) ┆ 0x21100…21120 20 20 75 73 65 72 5f 69 6e 64 65 78 09 3a 20 69 6e 64 65 78 20 74 6f 20 75 73 65 72 5f 74 61 62 ┆ user_index : index to user_tab┆ 0x21120…21140 6c 65 20 28 62 79 74 65 29 0d 0a 09 20 20 20 63 68 61 6e 6e 65 6c 5f 6e 6f 09 3a 20 69 6e 64 65 ┆le (byte) channel_no : inde┆ 0x21140…21160 78 20 74 6f 20 63 68 61 6e 6e 65 6c 5f 74 61 62 6c 65 20 28 62 79 74 65 29 0d 0a 09 20 20 20 73 ┆x to channel_table (byte) s┆ 0x21160…21180 74 72 65 61 6d 5f 65 76 65 6e 74 09 3a 20 6c 61 73 74 20 73 74 72 65 61 6d 20 65 76 65 6e 74 2c ┆tream_event : last stream event,┆ 0x21180…211a0 20 74 79 70 65 20 28 62 79 74 65 29 0d 0a 09 20 20 20 63 61 75 73 65 09 09 3a 20 6c 61 73 74 20 ┆ type (byte) cause : last ┆ 0x211a0…211c0 73 74 72 65 61 6d 20 65 76 65 6e 74 2c 20 63 61 75 73 65 20 28 62 79 74 65 29 0d 0a 09 20 20 20 ┆stream event, cause (byte) ┆ 0x211c0…211e0 64 69 61 67 6e 6f 73 74 69 63 09 3a 20 6c 61 73 74 20 73 74 72 65 61 6d 20 65 76 65 6e 74 2c 20 ┆diagnostic : last stream event, ┆ 0x211e0…21200 64 69 61 67 6e 6f 73 74 69 63 20 63 6f 64 65 20 28 62 79 74 65 29 0d 0a 09 20 20 20 6e 6f 5f 6f ┆diagnostic code (byte) no_o┆ 0x21200…21220 (265,) 66 5f 6c 6f 73 74 5f 65 76 09 3a 20 6e 75 6d 62 65 72 20 6f 66 20 6c 6f 73 74 20 65 76 65 6e 74 ┆f_lost_ev : number of lost event┆ 0x21220…21240 73 20 28 62 79 74 65 29 0d 0a 09 20 20 20 63 68 61 6e 70 72 6f 63 5f 73 65 6d 09 3a 20 70 6c 65 ┆s (byte) chanproc_sem : ple┆ 0x21240…21260 61 73 65 20 72 65 66 65 72 20 74 6f 20 73 65 63 74 69 6f 6e 20 34 2e 33 2e 33 20 28 73 65 6d 70 ┆ase refer to section 4.3.3 (semp┆ 0x21260…21280 6f 69 6e 74 65 72 29 0d 0a 09 20 20 20 73 75 73 70 65 6e 64 5f 62 73 65 6d 09 3a 20 70 6c 65 61 ┆ointer) suspend_bsem : plea┆ 0x21280…212a0 73 65 20 72 65 66 65 72 20 74 6f 20 73 65 63 74 69 6f 6e 20 34 2e 33 2e 33 20 28 73 65 6d 70 6f ┆se refer to section 4.3.3 (sempo┆ 0x212a0…212c0 69 6e 74 65 72 29 0d 0a 09 20 20 20 69 6e 74 65 72 6e 61 6c 5f 72 65 66 09 3a 20 70 6c 65 61 73 ┆inter) internal_ref : pleas┆ 0x212c0…212e0 65 20 72 65 66 65 72 20 74 6f 20 73 65 63 74 69 6f 6e 20 34 2e 33 2e 33 20 28 73 65 6d 70 6f 69 ┆e refer to section 4.3.3 (sempoi┆ 0x212e0…21300 6e 74 65 72 29 0d 0a 09 20 20 20 69 6e 74 65 72 6e 5f 73 74 61 74 65 09 3a 20 69 6e 74 65 72 6e ┆nter) intern_state : intern┆ 0x21300…21320 61 6c 20 73 74 72 65 61 6d 20 73 74 61 74 65 20 28 73 65 65 20 73 65 63 74 69 6f 6e 20 34 2e 33 ┆al stream state (see section 4.3┆ 0x21320…21340 2e 32 29 0d 0a 09 65 6e 64 3b 0d 0a 0d 0a 0d 0a 8c 80 a8 0a a1 34 2e 33 2e 35 09 53 65 6d 61 70 ┆.2) end; 4.3.5 Semap┆ 0x21340…21360 68 6f 72 65 73 20 61 6e 64 20 4d 65 73 73 61 67 65 20 46 6c 6f 77 2e 0d 0a 0d 0a 0d 0a 0d 0a 0d ┆hores and Message Flow. ┆ 0x21360…21380 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d ┆ ┆ […0x1…] 0x213a0…213c0 0a 0d 0a 09 46 69 67 75 72 65 20 32 37 3a 20 46 6c 6f 77 20 6f 66 20 6d 65 73 73 61 67 65 73 20 ┆ Figure 27: Flow of messages ┆ 0x213c0…213db 74 6f 20 61 6e 64 20 66 72 6f 6d 20 64 74 65 5f 61 63 63 65 73 73 2e 0d 0a 0d 0a ┆to and from dte_access. ┆ 0x213db…213de FormFeed { 0x213db…213de 0c 80 a8 ┆ ┆ 0x213db…213de } 0x213de…213e0 0a a1 ┆ ┆ 0x213e0…21400 34 2e 33 2e 36 09 4f 76 65 72 76 69 65 77 20 6f 66 20 50 72 6f 63 65 73 73 20 4f 70 65 72 61 74 ┆4.3.6 Overview of Process Operat┆ 0x21400…21420 (266,) 69 6f 6e 2e 0d 0a 0d 0a 09 84 49 6e 20 74 68 69 73 20 73 75 62 73 65 63 74 69 6f 6e 20 61 6e 20 ┆ion. In this subsection an ┆ 0x21420…21440 6f 76 65 72 76 69 65 77 20 6f 66 20 74 68 65 20 64 74 65 5f 61 63 63 65 73 73 20 70 72 6f 63 65 ┆overview of the dte_access proce┆ 0x21440…21460 73 73 20 6f 70 65 72 61 74 69 6f 6e 20 0a 19 89 80 80 69 73 20 6f 75 74 6c 69 6e 65 64 20 65 69 ┆ss operation is outlined ei┆ 0x21460…21480 74 68 65 72 20 61 73 20 66 6c 6f 77 63 68 61 72 74 73 20 6f 72 20 69 6e 20 70 73 65 75 64 6f 20 ┆ther as flowcharts or in pseudo ┆ 0x21480…214a0 52 65 61 6c 2d 54 69 6d 65 20 50 61 73 63 61 6c 20 63 6f 80 0a 19 89 80 80 64 65 20 6f 72 20 69 ┆Real-Time Pascal co de or i┆ 0x214a0…214c0 6e 20 6e 61 74 75 72 61 6c 20 74 65 78 74 2e 0d 0a 0d 0a 09 84 41 6c 6c 20 72 65 63 65 69 76 65 ┆n natural text. All receive┆ 0x214c0…214e0 64 20 6d 65 73 73 61 67 65 73 20 61 72 65 20 64 69 76 69 64 65 64 20 69 6e 74 6f 20 66 6f 75 72 ┆d messages are divided into four┆ 0x214e0…21500 20 67 72 6f 75 70 73 3a 0d 0a 0d 0a b0 09 67 72 6f 75 70 20 31 3a 0d 0a 09 09 2d 20 64 74 65 5f ┆ groups: group 1: - dte_┆ 0x21500…21520 63 61 6c 6c 5f 72 65 71 09 09 28 75 73 65 72 29 0d 0a 09 09 2d 20 64 74 65 5f 77 61 69 74 5f 65 ┆call_req (user) - dte_wait_e┆ 0x21520…21540 76 65 6e 74 09 09 28 75 73 65 72 29 0d 0a 09 09 2d 20 64 74 65 5f 72 65 63 5f 67 65 6e 09 09 28 ┆vent (user) - dte_rec_gen (┆ 0x21540…21560 75 73 65 72 29 0d 0a 0d 0a b0 09 67 72 6f 75 70 20 32 3a 0d 0a b0 09 20 20 20 67 72 6f 75 70 20 ┆user) group 2: group ┆ 0x21560…21580 32 75 3a 0d 0a 09 09 2d 20 64 74 65 5f 72 65 63 5f 64 65 64 69 63 09 09 28 75 73 65 72 29 0d 0a ┆2u: - dte_rec_dedic (user) ┆ 0x21580…215a0 09 09 2d 20 64 74 65 5f 73 65 6e 64 5f 64 61 74 61 09 09 28 75 73 65 72 29 0d 0a 09 09 2d 20 64 ┆ - dte_send_data (user) - d┆ 0x215a0…215c0 74 65 5f 73 65 6e 64 5f 69 6e 74 72 75 70 74 09 09 28 75 73 65 72 29 0d 0a 09 09 2d 20 64 74 65 ┆te_send_intrupt (user) - dte┆ 0x215c0…215e0 5f 63 68 61 6e 67 65 5f 69 6e 70 75 74 09 09 28 75 73 65 72 29 0d 0a 09 20 09 2d 20 64 74 65 5f ┆_change_input (user) - dte_┆ 0x215e0…21600 72 65 73 65 74 5f 72 65 71 09 09 28 75 73 65 72 29 0d 0a 09 09 2d 20 64 74 65 5f 73 79 6e 63 5f ┆reset_req (user) - dte_sync_┆ 0x21600…21620 (267,) 73 74 72 65 61 6d 09 09 28 75 73 65 72 29 0d 0a 09 09 2d 20 64 74 65 5f 61 63 63 5f 69 6e 63 5f ┆stream (user) - dte_acc_inc_┆ 0x21620…21640 63 61 6c 6c 09 09 28 75 73 65 72 29 0d 0a 09 09 2d 20 64 74 65 5f 63 6c 65 61 72 5f 72 65 71 09 ┆call (user) - dte_clear_req ┆ 0x21640…21660 09 28 75 73 65 72 29 0d 0a 09 09 2d 20 69 6e 63 5f 73 5f 65 76 65 6e 74 09 09 28 64 74 65 5f 63 ┆ (user) - inc_s_event (dte_c┆ 0x21660…21680 68 61 6e 29 0d 0a 09 09 2d 20 73 74 72 65 61 6d 5f 63 6c 65 61 72 65 64 09 09 28 64 74 65 5f 63 ┆han) - stream_cleared (dte_c┆ 0x21680…216a0 68 61 6e 29 0d 0a 0d 0a b0 09 20 20 20 67 72 6f 75 70 20 32 78 3a 0d 0a 09 09 2d 20 63 68 61 6e ┆han) group 2x: - chan┆ 0x216a0…216c0 5f 73 74 61 72 74 09 09 28 64 74 65 5f 61 63 63 65 73 73 29 0d 0a 09 09 2d 20 63 6c 65 61 72 5f ┆_start (dte_access) - clear_┆ 0x216c0…216e0 65 76 65 6e 74 09 09 28 64 74 65 5f 63 68 61 6e 29 0d 0a 0d 0a b0 09 67 72 6f 75 70 20 33 3a 0d ┆event (dte_chan) group 3: ┆ 0x216e0…21700 0a 09 09 2d 20 64 74 65 5f 63 6f 6e 6e 5f 75 73 65 72 09 09 28 75 73 65 72 29 0d 0a 09 09 2d 20 ┆ - dte_conn_user (user) - ┆ 0x21700…21720 64 74 65 5f 64 69 73 63 5f 75 73 65 72 09 09 28 75 73 65 72 29 0d 0a 09 09 2d 20 69 6e 63 5f 63 ┆dte_disc_user (user) - inc_c┆ 0x21720…21740 61 6c 6c 09 09 28 64 74 65 5f 63 68 61 6e 29 0d 0a 09 09 2d 20 72 65 73 74 61 72 74 5f 73 74 61 ┆all (dte_chan) - restart_sta┆ 0x21740…21760 72 74 09 09 28 64 74 65 29 0d 0a 09 09 2d 20 72 65 73 74 61 72 74 5f 65 6e 64 09 09 28 64 74 65 ┆rt (dte) - restart_end (dte┆ 0x21760…21780 29 0d 0a 09 09 2d 20 69 6e 63 5f 75 5f 65 76 65 6e 74 09 09 28 64 74 65 5f 63 68 61 6e 29 0d 0a ┆) - inc_u_event (dte_chan) ┆ 0x21780…21782 0d 0a ┆ ┆ 0x21782…21785 FormFeed { 0x21782…21785 0c 80 a6 ┆ ┆ 0x21782…21785 } 0x21785…217a0 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ 0x217a0…217c0 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ 0x217c0…217e0 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 46 69 67 75 72 65 20 32 38 3a 20 50 72 ┆ Figure 28: Pr┆ 0x217e0…21800 6f 63 65 73 73 20 64 74 65 5f 61 63 63 65 73 73 2c 20 6d 61 69 6e 20 66 6c 6f 77 63 68 61 72 74 ┆ocess dte_access, main flowchart┆ 0x21800…21802 (268,) 0d 0a ┆ ┆ 0x21802…21805 FormFeed { 0x21802…21805 0c 80 a7 ┆ ┆ 0x21802…21805 } 0x21805…21820 0a b0 50 41 52 54 20 28 41 29 3a 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 84 49 6e ┆ PART (A): In┆ 0x21820…21840 20 74 68 65 20 69 6e 69 74 69 61 6c 69 7a 61 74 69 6f 6e 20 70 61 72 74 2c 20 74 68 65 20 6f 6e ┆ the initialization part, the on┆ 0x21840…21860 6c 79 20 61 63 74 69 6f 6e 73 20 70 65 72 66 6f 72 6d 65 64 20 69 73 20 69 6e 69 80 0a 19 89 80 ┆ly actions performed is ini ┆ 0x21860…21880 80 74 69 61 6c 69 7a 61 74 69 6f 6e 20 6f 66 20 73 74 72 65 61 6d 5f 74 61 62 6c 65 20 61 6e 64 ┆ tialization of stream_table and┆ 0x21880…218a0 20 63 68 61 6e 6e 65 6c 5f 74 61 62 6c 65 20 61 6e 64 20 73 65 74 74 69 6e 67 20 0a 19 89 80 80 ┆ channel_table and setting ┆ 0x218a0…218c0 64 74 65 5f 72 65 63 2e 64 74 65 5f 73 74 61 74 65 20 74 6f 20 27 6e 65 74 5f 64 6f 77 6e 27 2e ┆dte_rec.dte_state to 'net_down'.┆ 0x218c0…218e0 0d 0a 0d 0a 0d 0a b0 50 41 52 54 20 28 42 29 3a 0d 0a 0d 0a 09 49 6e 20 61 70 70 65 6e 64 69 78 ┆ PART (B): In appendix┆ 0x218e0…21900 20 43 2e 31 2e 31 20 74 68 65 20 73 74 61 74 65 2f 61 63 74 69 6f 6e 20 74 61 62 6c 65 20 69 73 ┆ C.1.1 the state/action table is┆ 0x21900…21920 20 73 68 6f 77 6e 2e 0d 0a 0d 0a 0d 0a b0 50 41 52 54 20 28 43 29 3a 0d 0a 20 61 6e 64 0d 0a b0 ┆ shown. PART (C): and ┆ 0x21920…21940 50 41 52 54 20 28 44 29 0d 0a 0d 0a 09 49 6e 20 61 70 70 65 6e 64 69 78 20 43 2e 31 2e 32 20 61 ┆PART (D) In appendix C.1.2 a┆ 0x21940…21960 20 63 6f 6d 62 69 6e 65 64 20 73 74 61 74 65 2f 61 63 74 69 6f 6e 20 74 61 62 6c 65 20 69 73 20 ┆ combined state/action table is ┆ 0x21960…21980 73 68 6f 77 6e 0d 0a 0d 0a 0d 0a b0 50 41 52 54 20 28 45 29 3a 0d 0a 0d 0a 09 49 6e 20 61 70 70 ┆shown PART (E): In app┆ 0x21980…219a0 65 6e 64 69 78 20 43 2e 31 2e 33 20 74 68 65 20 73 74 61 74 65 2f 61 63 74 69 6f 6e 20 74 61 62 ┆endix C.1.3 the state/action tab┆ 0x219a0…219b2 6c 65 20 69 73 20 73 68 6f 77 6e 2e 0d 0a 0d 0a 0d 0a ┆le is shown. ┆ 0x219b2…219b5 FormFeed { 0x219b2…219b5 0c 80 98 ┆ ┆ 0x219b2…219b5 } 0x219b5…219c0 0a a1 34 2e 34 09 44 65 73 63 72 ┆ 4.4 Descr┆ 0x219c0…219e0 69 70 74 69 6f 6e 20 6f 66 20 64 74 65 5f 68 72 65 63 0d 0a 0d 0a 09 84 54 68 65 20 64 74 65 5f ┆iption of dte_hrec The dte_┆ 0x219e0…21a00 68 72 65 63 20 70 72 6f 63 65 73 73 20 69 73 20 74 68 65 20 70 72 6f 63 65 73 73 20 69 6e 20 74 ┆hrec process is the process in t┆ 0x21a00…21a20 (269,) 68 65 20 44 54 45 20 6d 6f 64 75 6c 65 20 68 61 6e 64 6c 69 6e 67 20 74 68 65 20 0a 19 89 80 80 ┆he DTE module handling the ┆ 0x21a20…21a40 69 6e 70 75 74 20 62 75 66 66 65 72 73 20 74 6f 2f 66 72 6f 6d 20 74 68 65 20 48 44 4c 43 20 63 ┆input buffers to/from the HDLC c┆ 0x21a40…21a60 6f 6d 70 6c 65 78 2e 0d 0a 09 54 68 65 20 6d 61 69 6e 20 70 75 72 70 6f 73 65 20 69 73 3a 0d 0a ┆omplex. The main purpose is: ┆ 0x21a60…21a80 0d 0a 09 20 20 20 31 29 20 84 74 72 79 20 74 6f 20 6b 65 65 70 20 61 20 73 70 65 63 69 66 69 65 ┆ 1) try to keep a specifie┆ 0x21a80…21aa0 64 20 6e 75 6d 62 65 72 20 6f 66 20 69 6e 70 75 74 20 62 75 66 66 65 72 73 20 61 74 20 74 68 65 ┆d number of input buffers at the┆ 0x21aa0…21ac0 20 48 44 4c 43 20 0a 19 8f 80 80 64 72 69 76 65 72 0d 0a 0d 0a 09 20 20 20 32 29 20 84 72 6f 75 ┆ HDLC driver 2) rou┆ 0x21ac0…21ae0 74 69 6e 67 20 69 6e 70 75 74 20 62 75 66 66 65 72 73 2c 20 72 65 63 65 69 76 65 64 20 66 72 6f ┆ting input buffers, received fro┆ 0x21ae0…21b00 6d 20 74 68 65 20 48 44 4c 43 20 64 72 69 76 65 72 20 65 69 74 68 65 72 20 0a 19 8f 80 80 74 6f ┆m the HDLC driver either to┆ 0x21b00…21b20 20 61 20 64 74 65 5f 63 68 61 6e 20 69 6e 63 61 72 6e 61 74 69 6f 6e 2c 20 77 68 69 63 68 20 69 ┆ a dte_chan incarnation, which i┆ 0x21b20…21b40 73 20 73 65 72 76 69 63 69 6e 67 20 74 68 65 20 73 70 65 63 69 66 69 80 0a 19 8f 80 80 65 64 20 ┆s servicing the specifi ed ┆ 0x21b40…21b60 28 69 6e 20 74 68 65 20 72 65 63 65 69 76 65 64 20 64 61 74 61 29 20 6c 6f 67 69 63 61 6c 20 63 ┆(in the received data) logical c┆ 0x21b60…21b80 68 61 6e 6e 65 6c 20 6f 72 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 0d 0a 0d 0a 09 20 20 20 33 29 20 ┆hannel or dte_lcnzero 3) ┆ 0x21b80…21ba0 74 72 61 63 69 6e 67 20 74 68 65 20 72 65 63 65 69 76 65 64 20 58 2e 32 35 20 70 61 63 6b 65 74 ┆tracing the received X.25 packet┆ 0x21ba0…21bc0 73 2e 0d 0a 0d 0a 0d 0a a1 34 2e 34 2e 31 09 50 72 6f 63 65 73 73 20 50 61 72 61 6d 65 74 65 72 ┆s. 4.4.1 Process Parameter┆ 0x21bc0…21be0 73 2e 0d 0a 0d 0a 09 50 52 4f 43 45 53 53 20 64 74 65 5f 68 72 65 63 20 28 0d 0a 09 20 20 20 56 ┆s. PROCESS dte_hrec ( V┆ 0x21be0…21c00 41 52 20 69 6e 5f 70 74 72 09 3a 20 21 20 74 61 70 5f 70 6f 69 6e 74 65 72 3b 0d 0a 09 20 20 20 ┆AR in_ptr : ! tap_pointer; ┆ 0x21c00…21c20 (270,) 56 41 52 20 73 75 70 5f 70 74 72 2c 0d 0a 09 20 20 20 20 20 20 20 68 64 6c 63 5f 70 74 72 09 3a ┆VAR sup_ptr, hdlc_ptr :┆ 0x21c20…21c40 20 21 20 73 65 6d 70 6f 69 6e 74 65 72 3b 0d 0a 09 20 20 20 56 41 52 20 62 69 67 62 75 66 2c 0d ┆ ! sempointer; VAR bigbuf, ┆ 0x21c40…21c60 0a 09 20 20 20 20 20 20 20 73 6d 61 6c 6c 62 75 66 2c 0d 0a 09 20 20 20 20 20 20 20 74 72 61 63 ┆ smallbuf, trac┆ 0x21c60…21c80 65 5f 62 75 66 09 3a 20 70 68 5f 74 79 70 65 3b 0d 0a 09 20 20 20 56 41 52 20 65 76 65 6e 74 5f ┆e_buf : ph_type; VAR event_┆ 0x21c80…21ca0 70 6f 6f 6c 09 3a 20 73 65 6d 61 70 68 6f 72 65 3b 0d 0a 09 20 20 20 56 41 52 20 63 68 61 6e 5f ┆pool : semaphore; VAR chan_┆ 0x21ca0…21cc0 73 65 6d 09 3a 20 21 20 63 68 5f 73 65 6d 5f 74 79 70 65 3b 0d 0a 09 20 20 20 6d 61 78 5f 63 68 ┆sem : ! ch_sem_type; max_ch┆ 0x21cc0…21ce0 61 6e 09 3a 20 62 79 74 65 3b 0d 0a 09 20 20 20 62 69 67 73 69 7a 65 09 3a 20 69 6e 74 65 67 65 ┆an : byte; bigsize : intege┆ 0x21ce0…21d00 72 3b 0d 0a 09 20 20 20 56 41 52 20 74 72 61 63 65 5f 6f 6e 09 3a 20 21 20 62 6f 6f 6c 65 61 6e ┆r; VAR trace_on : ! boolean┆ 0x21d00…21d20 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 29 3b 0d 0a 0d 0a 0d 0a 09 69 6e 5f 70 74 72 09 09 3a ┆ ); in_ptr :┆ 0x21d20…21d40 20 64 74 65 5f 68 72 65 63 20 6d 61 69 6e 20 73 65 6d 61 70 68 6f 72 65 20 70 6f 69 6e 74 65 72 ┆ dte_hrec main semaphore pointer┆ 0x21d40…21d60 0d 0a 0d 0a 09 73 75 70 5f 70 74 72 09 09 3a 20 64 74 65 20 6d 61 69 6e 20 73 65 6d 61 70 68 6f ┆ sup_ptr : dte main semapho┆ 0x21d60…21d80 72 65 20 70 6f 69 6e 74 65 72 0d 0a 0d 0a 09 68 64 6c 63 5f 70 74 72 09 09 3a 20 4d 61 69 6e 20 ┆re pointer hdlc_ptr : Main ┆ 0x21d80…21da0 73 65 6d 61 70 68 6f 72 65 20 70 6f 69 6e 74 65 72 20 6f 66 20 74 68 65 20 48 44 4c 43 4c 43 50 ┆semaphore pointer of the HDLCLCP┆ 0x21da0…21dc0 20 6d 6f 64 75 6c 65 0d 0a 0d 0a 8c 80 a7 0a 09 62 69 67 62 75 66 09 09 3a 20 42 69 67 20 62 75 ┆ module bigbuf : Big bu┆ 0x21dc0…21de0 66 66 65 72 20 70 6f 6f 6c 20 28 73 65 65 20 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 31 2e 33 29 ┆ffer pool (see subsection 4.1.3)┆ 0x21de0…21e00 0d 0a 0d 0a 09 73 6d 61 6c 6c 62 75 66 09 09 3a 20 53 6d 61 6c 6c 20 62 75 66 66 65 72 20 70 6f ┆ smallbuf : Small buffer po┆ 0x21e00…21e20 (271,) 6f 6c 20 28 73 65 65 20 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 31 2e 33 29 0d 0a 0d 0a 09 74 72 ┆ol (see subsection 4.1.3) tr┆ 0x21e20…21e40 61 63 65 5f 62 75 66 09 09 3a 20 84 54 72 61 63 65 20 62 75 66 66 65 72 20 70 6f 6f 6c 20 28 73 ┆ace_buf : Trace buffer pool (s┆ 0x21e40…21e60 65 65 20 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 31 2e 33 20 61 6e 64 20 0a 19 9f 80 80 73 65 63 ┆ee subsection 4.1.3 and sec┆ 0x21e60…21e80 74 69 6f 6e 20 36 2e 31 29 2e 0d 0a 0d 0a 09 65 76 65 6e 74 5f 70 6f 6f 6c 09 3a 20 84 44 54 45 ┆tion 6.1). event_pool : DTE┆ 0x21e80…21ea0 20 67 6c 6f 62 61 6c 20 65 76 65 6e 74 20 70 6f 6f 6c 2e 20 49 6e 74 65 72 6e 61 6c 20 65 76 65 ┆ global event pool. Internal eve┆ 0x21ea0…21ec0 6e 74 20 0a 19 9f 80 80 62 75 66 66 65 72 73 20 61 72 65 20 68 61 6e 67 65 64 20 75 70 20 6f 6e ┆nt buffers are hanged up on┆ 0x21ec0…21ee0 20 74 68 69 73 20 73 65 6d 61 70 68 6f 72 65 2e 0d 0a 0d 0a 09 63 68 61 6e 5f 73 65 6d 09 09 3a ┆ this semaphore. chan_sem :┆ 0x21ee0…21f00 20 84 53 65 6d 61 70 68 6f 72 65 20 70 6f 69 6e 74 65 72 73 20 74 6f 20 74 68 65 20 64 74 65 5f ┆ Semaphore pointers to the dte_┆ 0x21f00…21f20 63 68 61 6e 20 0a 19 9f 80 80 69 6e 63 61 72 6e 61 74 69 6f 6e 73 20 61 6e 64 20 64 74 65 5f 6c ┆chan incarnations and dte_l┆ 0x21f20…21f40 63 6e 7a 65 72 6f 20 70 72 6f 63 65 73 73 2e 0d 0a 09 09 09 20 20 84 55 73 65 64 20 74 6f 20 72 ┆cnzero process. Used to r┆ 0x21f40…21f60 6f 75 74 65 20 69 6e 70 75 74 20 62 75 66 66 65 72 73 20 72 65 63 65 69 76 65 64 20 66 72 6f 6d ┆oute input buffers received from┆ 0x21f60…21f80 20 0a 19 9f 80 80 74 68 65 20 48 44 4c 43 20 64 72 69 76 65 72 2e 20 54 68 65 20 70 6f 69 6e 74 ┆ the HDLC driver. The point┆ 0x21f80…21fa0 65 72 73 20 61 72 65 20 63 68 61 6e 67 65 64 20 0a 19 9f 80 80 64 79 6e 61 6d 69 63 61 6c 6c 79 ┆ers are changed dynamically┆ 0x21fa0…21fc0 20 62 79 20 74 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 2e 0d 0a 0d 0a 09 6d 61 78 5f 63 68 61 ┆ by the dte process. max_cha┆ 0x21fc0…21fe0 6e 09 09 3a 20 84 4d 61 78 69 6d 75 6d 20 6e 75 6d 62 65 72 20 6f 66 20 58 2e 32 35 20 6c 6f 67 ┆n : Maximum number of X.25 log┆ 0x21fe0…22000 69 63 61 6c 20 63 68 61 6e 6e 65 6c 73 2e 0d 0a 0d 0a 09 62 69 67 73 69 7a 65 09 09 3a 20 53 69 ┆ical channels. bigsize : Si┆ 0x22000…22020 (272,) 7a 65 20 69 6e 20 62 79 74 65 73 20 6f 66 20 62 69 67 20 62 75 66 66 65 72 73 2e 0d 0a 0d 0a 09 ┆ze in bytes of big buffers. ┆ 0x22020…22040 74 72 61 63 65 5f 6f 6e 09 09 3a 20 84 42 6f 6f 6c 65 61 6e 20 69 6e 64 69 63 61 74 69 6e 67 20 ┆trace_on : Boolean indicating ┆ 0x22040…22060 77 68 65 74 68 65 72 20 74 68 65 20 58 2e 32 35 20 70 61 63 6b 65 74 20 0a 19 9f 80 80 66 6c 6f ┆whether the X.25 packet flo┆ 0x22060…22080 77 20 73 68 61 6c 6c 20 62 65 20 74 72 61 63 65 64 20 28 74 72 75 65 29 20 6f 72 20 6e 6f 74 20 ┆w shall be traced (true) or not ┆ 0x22080…220a0 28 66 61 6c 73 65 29 2e 20 0a 19 9f 80 80 43 68 61 6e 67 65 64 20 64 79 6e 61 6d 69 63 61 6c 6c ┆(false). Changed dynamicall┆ 0x220a0…220c0 79 20 62 79 20 74 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 2e 0d 0a 0d 0a 0d 0a a1 34 2e 34 2e ┆y by the dte process. 4.4.┆ 0x220c0…220e0 32 09 53 74 61 74 65 73 2e 0d 0a 0d 0a 09 84 54 68 69 73 20 70 72 6f 63 65 73 73 20 64 6f 65 73 ┆2 States. This process does┆ 0x220e0…22100 20 6e 6f 74 20 75 73 65 20 61 6e 79 20 73 74 61 74 65 20 76 61 72 69 61 62 6c 65 73 2e 0d 0a 0d ┆ not use any state variables. ┆ 0x22100…22120 0a 0d 0a a1 34 2e 34 2e 33 09 53 65 6d 61 70 68 6f 72 65 20 61 6e 64 20 52 65 66 65 72 65 6e 63 ┆ 4.4.3 Semaphore and Referenc┆ 0x22120…22140 65 20 56 61 72 69 61 62 6c 65 73 2e 0d 0a 0d 0a b0 09 a1 53 45 4d 41 50 48 4f 52 45 53 0d 0a 0d ┆e Variables. SEMAPHORES ┆ 0x22140…22160 0a 09 74 72 61 63 65 5f 72 65 63 2e 77 73 65 6d 09 3a 20 84 41 6e 73 77 65 72 20 73 65 6d 61 70 ┆ trace_rec.wsem : Answer semap┆ 0x22160…22180 68 6f 72 65 20 75 73 65 64 20 69 6e 20 74 68 65 20 74 72 61 63 69 6e 67 20 0a 19 9f 80 80 70 72 ┆hore used in the tracing pr┆ 0x22180…221a0 6f 63 65 64 75 72 65 20 28 73 65 65 20 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 31 2e 32 2e 35 29 ┆ocedure (see subsection 4.1.2.5)┆ 0x221a0…221a7 2e 0d 0a 0d 0a 0d 0a ┆. ┆ 0x221a7…221aa FormFeed { 0x221a7…221aa 0c 80 a6 ┆ ┆ 0x221a7…221aa } 0x221aa…221c0 0a b0 09 a1 52 45 46 45 52 45 4e 43 45 53 0d 0a 0d 0a 09 6b 65 79 ┆ REFERENCES key┆ 0x221c0…221e0 5f 72 65 66 09 09 3a 20 84 55 73 65 64 20 74 6f 20 68 6f 6c 64 20 74 68 65 20 6b 65 79 20 62 75 ┆_ref : Used to hold the key bu┆ 0x221e0…22200 66 66 65 72 20 64 75 72 69 6e 67 20 61 63 63 65 73 73 20 74 6f 20 0a 19 9f 80 80 70 6f 6f 6c 73 ┆ffer during access to pools┆ 0x22200…22220 (273,) 2e 0d 0a 0d 0a 09 6d 65 73 73 5f 72 65 66 09 09 3a 20 48 6f 6c 64 73 20 74 68 65 20 6d 65 73 73 ┆. mess_ref : Holds the mess┆ 0x22220…22240 61 67 65 20 75 6e 64 65 72 20 70 72 6f 63 65 73 73 69 6e 67 2e 0d 0a 0d 0a 09 6d 73 67 5f 72 65 ┆age under processing. msg_re┆ 0x22240…22260 66 09 09 3a 20 57 6f 72 6b 69 6e 67 20 72 65 66 65 72 65 6e 63 65 2e 0d 0a 0d 0a 09 68 65 6c 70 ┆f : Working reference. help┆ 0x22260…22280 5f 72 65 66 09 09 3a 20 57 6f 72 6b 69 6e 67 20 72 65 66 65 72 65 6e 63 65 20 69 6e 20 62 75 66 ┆_ref : Working reference in buf┆ 0x22280…222a0 66 65 72 20 70 6f 6f 6c 20 72 65 71 75 65 73 74 73 2e 0d 0a 0d 0a 09 72 65 71 5f 62 75 66 09 09 ┆fer pool requests. req_buf ┆ 0x222a0…222c0 3a 20 48 6f 6c 64 73 20 61 20 62 75 66 66 65 72 20 72 65 71 75 65 73 74 20 6d 65 73 73 61 67 65 ┆: Holds a buffer request message┆ 0x222c0…222e0 2e 0d 0a 0d 0a 09 74 72 61 63 65 5f 72 65 63 2e 74 5f 72 65 66 09 3a 20 84 57 6f 72 6b 69 6e 67 ┆. trace_rec.t_ref : Working┆ 0x222e0…22300 20 72 65 66 65 72 65 6e 63 65 20 75 73 65 64 20 69 6e 20 74 68 65 20 74 72 61 63 69 6e 67 20 0a ┆ reference used in the tracing ┆ 0x22300…22320 19 9f 80 80 70 72 6f 63 65 64 75 72 65 20 28 73 65 65 20 73 75 62 73 65 63 74 69 6f 6e 20 34 2e ┆ procedure (see subsection 4.┆ 0x22320…22340 31 2e 32 2e 35 29 2e 0d 0a 0d 0a 0d 0a a1 34 2e 34 2e 34 09 44 61 74 61 20 53 74 72 75 63 74 75 ┆1.2.5). 4.4.4 Data Structu┆ 0x22340…22360 72 65 73 2e 0d 0a 0d 0a 09 84 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 64 61 74 61 20 73 74 72 ┆res. The following data str┆ 0x22360…22380 75 63 74 75 72 65 20 75 73 65 64 20 69 6e 20 74 68 65 20 64 74 65 5f 68 72 65 63 20 70 72 6f 63 ┆ucture used in the dte_hrec proc┆ 0x22380…223a0 65 73 73 20 69 73 20 64 65 73 63 80 0a 19 89 80 80 72 69 62 65 64 20 65 6c 73 65 77 68 65 72 65 ┆ess is desc ribed elsewhere┆ 0x223a0…223c0 2e 0d 0a 0d 0a 09 20 20 20 63 68 61 6e 5f 73 65 6d 09 73 65 63 74 69 6f 6e 20 34 2e 31 2e 31 2e ┆. chan_sem section 4.1.1.┆ 0x223c0…223e0 32 0d 0a 0d 0a 09 84 42 65 73 69 64 65 73 20 74 68 69 73 20 74 68 65 20 62 65 6c 6f 77 20 64 65 ┆2 Besides this the below de┆ 0x223e0…22400 73 63 72 69 62 65 64 20 64 61 74 61 20 73 74 72 75 63 74 75 72 65 20 69 73 20 69 6d 70 6f 72 74 ┆scribed data structure is import┆ 0x22400…22420 (274,) 61 6e 74 20 66 6f 72 20 0a 19 89 80 80 75 6e 64 65 72 73 74 61 6e 64 69 6e 67 20 74 68 65 20 69 ┆ant for understanding the i┆ 0x22420…22440 6e 74 65 72 6e 61 6c 20 73 74 72 75 63 74 75 72 65 20 61 6e 64 20 77 6f 72 6b 20 6f 66 20 74 68 ┆nternal structure and work of th┆ 0x22440…22460 65 20 64 74 65 5f 68 72 65 63 20 70 72 6f 80 0a 19 89 80 80 63 65 73 73 2e 0d 0a 0d 0a 09 20 20 ┆e dte_hrec pro cess. ┆ 0x22460…22480 20 78 32 35 5f 72 65 63 09 3a 20 84 43 6f 6e 74 61 69 6e 73 20 74 68 65 20 6c 6f 77 65 73 74 20 ┆ x25_rec : Contains the lowest ┆ 0x22480…224a0 28 6c 74 63 29 20 61 6e 64 20 68 69 67 68 65 73 74 20 28 68 74 63 29 20 0a 19 9f 80 80 6c 6f 67 ┆(ltc) and highest (htc) log┆ 0x224a0…224c0 69 63 61 6c 20 63 68 61 6e 6e 65 6c 20 6e 75 6d 62 65 72 20 66 6f 72 20 74 77 6f 20 77 61 79 20 ┆ical channel number for two way ┆ 0x224c0…224e0 63 6f 6d 6d 75 6e 69 80 0a 19 9f 80 80 63 61 74 69 6f 6e 2c 20 61 6e 64 20 74 68 65 20 61 73 73 ┆communi cation, and the ass┆ 0x224e0…22500 6f 63 69 61 74 65 64 20 69 6e 64 65 78 20 28 6c 74 63 69 2c 20 0a 19 9f 80 80 68 74 63 69 29 20 ┆ociated index (ltci, htci) ┆ 0x22500…22520 74 6f 20 63 68 61 6e 5f 73 65 6d 2e 0d 0a 09 09 09 20 20 84 54 68 65 73 65 20 76 61 72 69 61 62 ┆to chan_sem. These variab┆ 0x22520…22540 6c 65 73 20 61 72 65 20 75 73 65 64 20 74 6f 20 63 61 6c 63 75 6c 61 74 65 20 74 68 65 20 0a 19 ┆les are used to calculate the ┆ 0x22540…22560 9f 80 80 69 6e 64 65 78 20 74 6f 20 63 68 61 6e 5f 73 65 6d 20 66 6f 72 20 61 20 72 65 63 65 69 ┆ index to chan_sem for a recei┆ 0x22560…22580 76 65 64 20 6c 6f 67 69 63 61 6c 20 0a 19 9f 80 80 63 68 61 6e 6e 65 6c 20 6e 75 6d 62 65 72 20 ┆ved logical channel number ┆ 0x22580…225a0 28 69 6e 64 65 78 20 3d 20 6c 63 6e 2d 6c 74 63 2b 6c 74 63 69 29 20 61 6e 64 20 74 6f 20 0a 19 ┆(index = lcn-ltc+ltci) and to ┆ 0x225a0…225c0 9f 80 80 63 68 65 63 6b 20 77 68 65 74 68 65 72 20 74 68 65 20 63 68 61 6e 6e 65 6c 20 6e 75 6d ┆ check whether the channel num┆ 0x225c0…225e0 62 65 72 20 69 73 20 69 6e 73 69 64 65 20 0a 19 9f 80 80 74 68 65 20 61 73 73 69 67 6e 65 64 20 ┆ber is inside the assigned ┆ 0x225e0…225ef 69 6e 74 65 72 76 61 6c 2e 0d 0a 0d 0a 0d 0a ┆interval. ┆ 0x225ef…225f2 FormFeed { 0x225ef…225f2 0c 80 a7 ┆ ┆ 0x225ef…225f2 } 0x225f2…22600 0a a1 34 2e 34 2e 35 09 53 65 6d 61 70 68 ┆ 4.4.5 Semaph┆ 0x22600…22620 (275,) 6f 72 65 73 20 61 6e 64 20 4d 65 73 73 61 67 65 20 46 6c 6f 77 2e 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ores and Message Flow. ┆ 0x22620…22640 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ 0x22640…22660 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 46 69 67 ┆ Fig┆ 0x22660…22680 75 72 65 20 32 39 3a 20 46 6c 6f 77 20 6f 66 20 6d 65 73 73 61 67 65 73 20 74 6f 20 61 6e 64 20 ┆ure 29: Flow of messages to and ┆ 0x22680…22692 66 72 6f 6d 20 64 74 65 5f 68 72 65 63 2e 0d 0a 0d 0a ┆from dte_hrec. ┆ 0x22692…22695 FormFeed { 0x22692…22695 0c 80 a5 ┆ ┆ 0x22692…22695 } 0x22695…226a0 0a a1 34 2e 34 2e 36 09 4f 76 65 ┆ 4.4.6 Ove┆ 0x226a0…226c0 72 76 69 65 77 20 6f 66 20 50 72 6f 63 65 73 73 20 4f 70 65 72 61 74 69 6f 6e 2e 0d 0a 0d 0a 09 ┆rview of Process Operation. ┆ 0x226c0…226e0 84 49 6e 20 74 68 69 73 20 73 65 63 74 69 6f 6e 20 61 6e 20 6f 76 65 72 76 69 65 77 20 6f 66 20 ┆ In this section an overview of ┆ 0x226e0…22700 74 68 65 20 64 74 65 5f 68 72 65 63 20 70 72 6f 63 65 73 73 20 6f 70 65 72 61 74 69 6f 6e 20 69 ┆the dte_hrec process operation i┆ 0x22700…22720 73 20 0a 19 89 80 80 6f 75 74 6c 69 6e 65 64 20 65 69 74 68 65 72 20 61 73 20 66 6c 6f 77 63 68 ┆s outlined either as flowch┆ 0x22720…22740 61 72 74 73 20 6f 72 20 69 6e 20 70 73 65 75 64 6f 20 52 65 61 6c 20 54 69 6d 65 20 50 61 73 63 ┆arts or in pseudo Real Time Pasc┆ 0x22740…22760 61 6c 20 63 6f 64 65 20 0a 19 89 80 80 6f 72 20 69 6e 20 6e 61 74 75 72 61 6c 20 74 65 78 74 2e ┆al code or in natural text.┆ 0x22760…22780 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ 0x22780…227a0 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 2a 20 70 ┆ * p┆ 0x227a0…227c0 61 63 6b 65 74 5f 69 64 20 69 6e 20 28 64 61 74 61 2c 20 69 6e 63 6f 6d 69 6e 67 5f 63 61 6c 6c ┆acket_id in (data, incoming_call┆ 0x227c0…227e0 2c 20 63 61 6c 6c 5f 63 6f 6e 6e 65 63 74 65 64 2c 20 64 69 61 67 6e 6f 73 74 69 63 29 0d 0a 0d ┆, call_connected, diagnostic) ┆ 0x227e0…22800 0a 09 46 69 67 75 72 65 20 33 30 3a 20 50 72 6f 63 65 73 73 20 64 74 65 5f 68 72 65 63 2c 20 6d ┆ Figure 30: Process dte_hrec, m┆ 0x22800…22810 (276,) 61 69 6e 20 66 6c 6f 77 63 68 61 72 74 2e 0d 0a ┆ain flowchart. ┆ 0x22810…22813 FormFeed { 0x22810…22813 0c 80 a5 ┆ ┆ 0x22810…22813 } 0x22813…22820 0a b0 50 41 52 54 20 28 41 29 3a 0d 0a ┆ PART (A): ┆ 0x22820…22840 0d 0a 20 20 20 20 20 20 20 20 20 84 49 6e 20 74 68 65 20 69 6e 69 74 69 61 6c 69 7a 61 74 69 6f ┆ In the initializatio┆ 0x22840…22860 6e 20 70 61 72 74 2c 20 74 68 65 20 6f 6e 6c 79 20 61 63 74 69 6f 6e 20 70 65 72 66 6f 72 6d 65 ┆n part, the only action performe┆ 0x22860…22880 64 20 69 73 20 61 6c 6c 6f 80 0a 19 89 80 80 63 61 74 69 6f 6e 20 61 6e 64 20 69 6e 69 74 69 61 ┆d is allo cation and initia┆ 0x22880…228a0 6c 69 7a 61 74 69 6f 6e 20 6f 66 20 61 20 62 75 66 66 65 72 20 72 65 71 75 65 73 74 20 6d 65 73 ┆lization of a buffer request mes┆ 0x228a0…228a9 73 61 67 65 2e 0d 0a 0d 0a ┆sage. ┆ 0x228a9…228ac FormFeed { 0x228a9…228ac 0c 80 85 ┆ ┆ 0x228a9…228ac } 0x228ac…228c0 0a a1 34 2e 35 09 44 65 73 63 72 69 70 74 69 6f 6e 20 6f 66 ┆ 4.5 Description of┆ 0x228c0…228e0 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 2e 0d 0a 0d 0a 09 84 54 68 65 20 64 74 65 5f 6c 63 6e 7a 65 ┆ dte_lcnzero. The dte_lcnze┆ 0x228e0…22900 72 6f 20 70 72 6f 63 65 73 73 20 69 73 20 74 68 65 20 70 72 6f 63 65 73 73 20 69 6e 20 74 68 65 ┆ro process is the process in the┆ 0x22900…22920 20 44 54 45 20 6d 6f 64 75 6c 65 20 73 65 72 76 69 63 69 6e 67 20 0a 19 89 80 80 74 68 65 20 58 ┆ DTE module servicing the X┆ 0x22920…22940 2e 32 35 20 6c 6f 67 69 63 61 6c 20 63 68 61 6e 6e 65 6c 20 7a 65 72 6f 2e 0d 0a 09 54 68 65 20 ┆.25 logical channel zero. The ┆ 0x22940…22960 6d 61 69 6e 20 70 75 72 70 6f 73 65 20 69 73 3a 0d 0a 0d 0a 09 20 20 20 31 29 20 68 61 6e 64 6c ┆main purpose is: 1) handl┆ 0x22960…22980 69 6e 67 20 74 68 65 20 63 68 61 6e 6e 65 6c 20 7a 65 72 6f 20 66 75 6e 63 74 69 6f 6e 73 3a 0d ┆ing the channel zero functions: ┆ 0x22980…229a0 0a 09 20 20 20 20 20 20 2d 20 72 65 73 74 61 72 74 20 72 65 71 75 65 73 74 0d 0a 09 20 20 20 20 ┆ - restart request ┆ 0x229a0…229c0 20 20 2d 20 72 65 73 74 61 72 74 20 69 6e 64 69 63 61 74 69 6f 6e 0d 0a 09 20 20 20 20 20 20 2d ┆ - restart indication -┆ 0x229c0…229e0 20 72 65 73 74 61 72 74 20 63 6f 6e 66 69 72 6d 61 74 69 6f 6e 0d 0a 09 20 20 20 20 20 20 2d 20 ┆ restart confirmation - ┆ 0x229e0…22a00 64 69 61 67 6e 6f 73 74 69 63 0d 0a 0d 0a 09 84 49 66 20 74 68 65 20 52 45 53 54 41 52 54 20 49 ┆diagnostic If the RESTART I┆ 0x22a00…22a20 (277,) 4e 44 49 43 41 54 49 4f 4e 2c 20 52 45 53 54 41 52 54 20 43 4f 4e 46 49 52 4d 41 54 49 4f 4e 20 ┆NDICATION, RESTART CONFIRMATION ┆ 0x22a20…22a40 6f 72 20 44 49 41 47 4e 4f 53 54 49 43 20 70 61 63 80 0a 19 89 80 80 6b 65 74 73 20 68 61 76 65 ┆or DIAGNOSTIC pac kets have┆ 0x22a40…22a60 20 61 20 6c 6f 67 69 63 61 6c 20 63 68 61 6e 6e 65 6c 20 6e 75 6d 62 65 72 20 64 69 66 66 65 72 ┆ a logical channel number differ┆ 0x22a60…22a80 65 6e 74 20 66 72 6f 6d 20 7a 65 72 6f 20 74 68 65 20 70 61 63 6b 65 74 20 0a 19 89 80 80 69 73 ┆ent from zero the packet is┆ 0x22a80…22aa0 20 28 62 79 20 64 74 65 5f 68 72 65 63 29 20 72 6f 75 74 65 64 20 74 6f 20 74 68 65 20 64 74 65 ┆ (by dte_hrec) routed to the dte┆ 0x22aa0…22ac0 5f 63 68 61 6e 20 69 6e 63 61 72 6e 61 74 69 6f 6e 20 68 61 6e 64 6c 69 6e 67 20 74 68 65 20 0a ┆_chan incarnation handling the ┆ 0x22ac0…22ae0 19 89 80 80 61 63 74 75 61 6c 20 6c 6f 67 69 63 61 6c 20 63 68 61 6e 6e 65 6c 2e 0d 0a 0d 0a 0d ┆ actual logical channel. ┆ 0x22ae0…22b00 0a a1 34 2e 35 2e 31 09 50 72 6f 63 65 73 73 20 50 61 72 61 6d 65 74 65 72 73 2e 0d 0a 0d 0a 09 ┆ 4.5.1 Process Parameters. ┆ 0x22b00…22b20 50 52 4f 43 45 53 53 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 20 28 0d 0a 09 20 20 20 56 41 52 20 69 ┆PROCESS dte_lcnzero ( VAR i┆ 0x22b20…22b40 6e 5f 70 74 72 09 3a 20 21 20 74 61 70 5f 70 6f 69 6e 74 65 72 3b 0d 0a 09 20 20 20 56 41 52 20 ┆n_ptr : ! tap_pointer; VAR ┆ 0x22b40…22b60 68 64 6c 63 5f 70 74 72 2c 0d 0a 09 20 20 20 20 20 20 20 6f 70 65 72 61 74 6f 72 2c 0d 0a 09 20 ┆hdlc_ptr, operator, ┆ 0x22b60…22b80 20 20 20 20 20 20 73 75 70 5f 70 74 72 09 3a 20 21 20 73 65 6d 70 6f 69 6e 74 65 72 3b 0d 0a 09 ┆ sup_ptr : ! sempointer; ┆ 0x22b80…22ba0 20 20 20 56 41 52 20 65 76 65 6e 74 5f 70 6f 6f 6c 0d 0a 09 20 20 20 20 20 20 20 74 65 73 74 73 ┆ VAR event_pool tests┆ 0x22ba0…22bc0 65 6d 09 3a 20 73 65 6d 61 70 68 6f 72 65 3b 0d 0a 09 20 20 20 56 41 52 20 62 69 67 62 75 66 0d ┆em : semaphore; VAR bigbuf ┆ 0x22bc0…22be0 0a 09 20 20 20 20 20 20 20 73 6d 61 6c 6c 62 75 66 0d 0a 09 20 20 20 20 20 20 20 78 32 35 5f 62 ┆ smallbuf x25_b┆ 0x22be0…22c00 75 66 09 3a 20 70 68 5f 74 79 70 65 3b 0d 0a 09 20 20 20 62 69 67 73 69 7a 65 09 3a 20 69 6e 74 ┆uf : ph_type; bigsize : int┆ 0x22c00…22c20 (278,) 65 67 65 72 3b 0d 0a 09 20 20 20 56 41 52 20 74 65 73 74 09 3a 20 21 20 74 65 73 74 72 65 63 74 ┆eger; VAR test : ! testrect┆ 0x22c20…22c40 79 70 65 3b 0d 0a 09 20 20 20 56 41 52 20 67 6c 6f 62 61 6c 5f 74 69 6d 65 20 20 3a 20 21 20 69 ┆ype; VAR global_time : ! i┆ 0x22c40…22c52 6e 74 65 67 65 72 0d 0a 09 20 20 20 29 3b 0d 0a 0d 0a ┆nteger ); ┆ 0x22c52…22c55 FormFeed { 0x22c52…22c55 0c 80 a3 ┆ ┆ 0x22c52…22c55 } 0x22c55…22c60 0a 09 69 6e 5f 70 74 72 09 09 3a ┆ in_ptr :┆ 0x22c60…22c80 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 20 6d 61 69 6e 20 73 65 6d 61 70 68 6f 72 65 20 70 6f 69 6e ┆ dte_lcnzero main semaphore poin┆ 0x22c80…22ca0 74 65 72 2e 0d 0a 0d 0a 09 68 64 6c 63 5f 70 74 72 09 09 3a 20 84 4d 61 69 6e 20 73 65 6d 61 70 ┆ter. hdlc_ptr : Main semap┆ 0x22ca0…22cc0 68 6f 72 65 20 70 6f 69 6e 74 65 72 20 6f 66 20 74 68 65 20 48 44 4c 43 4c 43 50 20 0a 19 9f 80 ┆hore pointer of the HDLCLCP ┆ 0x22cc0…22ce0 80 6d 6f 64 75 6c 65 2e 0d 0a 0d 0a 09 6f 70 65 72 61 74 6f 72 09 09 3a 20 84 4d 61 69 6e 20 73 ┆ module. operator : Main s┆ 0x22ce0…22d00 65 6d 61 70 68 6f 72 65 20 70 6f 69 6e 74 65 72 20 6f 66 20 74 68 65 20 6f 70 65 72 61 74 6f 72 ┆emaphore pointer of the operator┆ 0x22d00…22d20 20 0a 19 9f 80 80 70 72 6f 63 65 73 73 2e 0d 0a 0d 0a 09 73 75 70 5f 70 74 72 09 09 3a 20 84 4d ┆ process. sup_ptr : M┆ 0x22d20…22d40 61 69 6e 20 73 65 6d 61 70 68 6f 72 65 20 70 6f 69 6e 74 65 72 20 6f 66 20 74 68 65 20 64 74 65 ┆ain semaphore pointer of the dte┆ 0x22d40…22d60 20 70 72 6f 63 65 73 73 2e 0d 0a 0d 0a 09 65 76 65 6e 74 5f 70 6f 6f 6c 09 3a 20 84 44 54 45 20 ┆ process. event_pool : DTE ┆ 0x22d60…22d80 67 6c 6f 62 61 6c 20 65 76 65 6e 74 20 70 6f 6f 6c 2e 20 49 6e 74 65 72 6e 61 6c 20 65 76 65 6e ┆global event pool. Internal even┆ 0x22d80…22da0 74 20 0a 19 9f 80 80 62 75 66 66 65 72 73 20 61 72 65 20 68 61 6e 67 65 64 20 75 70 20 6f 6e 20 ┆t buffers are hanged up on ┆ 0x22da0…22dc0 74 68 69 73 20 73 65 6d 61 70 68 6f 72 65 2e 0d 0a 0d 0a 09 74 65 73 74 73 65 6d 09 09 3a 20 84 ┆this semaphore. testsem : ┆ 0x22dc0…22de0 53 65 6d 61 70 68 6f 72 65 20 75 73 65 64 20 61 73 20 61 20 44 54 45 20 67 6c 6f 62 61 6c 20 74 ┆Semaphore used as a DTE global t┆ 0x22de0…22e00 65 73 74 20 62 75 66 66 65 72 20 0a 19 9f 80 80 70 6f 6f 6c 2e 0d 0a 0d 0a 09 62 69 67 62 75 66 ┆est buffer pool. bigbuf┆ 0x22e00…22e20 (279,) 09 09 3a 20 42 69 67 20 62 75 66 66 65 72 20 70 6f 6f 6c 20 28 73 65 65 20 73 75 62 73 65 63 74 ┆ : Big buffer pool (see subsect┆ 0x22e20…22e40 69 6f 6e 20 34 2e 31 2e 33 29 2e 0d 0a 0d 0a 09 73 6d 61 6c 6c 62 75 66 09 09 3a 20 53 6d 61 6c ┆ion 4.1.3). smallbuf : Smal┆ 0x22e40…22e60 6c 20 62 75 66 66 65 72 20 70 6f 6f 6c 20 28 73 65 65 20 73 75 62 73 65 63 74 69 6f 6e 20 34 2e ┆l buffer pool (see subsection 4.┆ 0x22e60…22e80 31 2e 33 29 2e 0d 0a 0d 0a 09 78 32 35 5f 62 75 66 09 09 3a 20 84 58 2e 32 35 20 63 6f 6e 74 72 ┆1.3). x25_buf : X.25 contr┆ 0x22e80…22ea0 6f 6c 20 6f 75 74 70 75 74 20 70 61 63 6b 65 74 20 62 75 66 66 65 72 20 70 6f 6f 6c 20 28 73 65 ┆ol output packet buffer pool (se┆ 0x22ea0…22ec0 65 20 0a 19 9f 80 80 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 31 2e 33 29 2e 0d 0a 0d 0a 09 62 69 ┆e subsection 4.1.3). bi┆ 0x22ec0…22ee0 67 73 69 7a 65 09 09 3a 20 53 69 7a 65 20 69 6e 20 62 79 74 65 73 20 6f 66 20 62 69 67 20 62 75 ┆gsize : Size in bytes of big bu┆ 0x22ee0…22f00 66 66 65 72 73 2e 0d 0a 0d 0a 09 74 65 73 74 09 09 3a 20 54 65 73 74 62 69 74 73 20 61 72 72 61 ┆ffers. test : Testbits arra┆ 0x22f00…22f20 79 20 28 73 65 65 20 73 65 63 74 69 6f 6e 20 36 2e 32 29 2e 0d 0a 0d 0a 09 67 6c 6f 62 61 6c 5f ┆y (see section 6.2). global_┆ 0x22f20…22f40 74 69 6d 65 09 3a 20 84 44 54 45 20 67 6c 6f 62 61 6c 20 74 69 6d 65 20 75 73 65 64 20 74 6f 20 ┆time : DTE global time used to ┆ 0x22f40…22f60 74 69 6d 65 20 73 74 61 6d 70 20 74 65 73 74 20 0a 19 9f 80 80 72 65 63 6f 72 64 73 2e 0d 0a 0d ┆time stamp test records. ┆ 0x22f60…22f61 0a ┆ ┆ 0x22f61…22f64 FormFeed { 0x22f61…22f64 0c 80 9e ┆ ┆ 0x22f61…22f64 } 0x22f64…22f80 0a a1 34 2e 35 2e 32 09 53 74 61 74 65 73 2e 0d 0a 0d 0a 09 84 54 68 65 20 64 74 65 ┆ 4.5.2 States. The dte┆ 0x22f80…22fa0 5f 6c 63 6e 7a 65 72 6f 20 70 72 6f 63 65 73 73 20 6d 61 69 6e 74 61 69 6e 73 20 61 20 73 74 61 ┆_lcnzero process maintains a sta┆ 0x22fa0…22fc0 74 65 20 76 61 72 69 61 62 6c 65 20 27 70 5f 6c 65 76 65 6c 5f 73 74 61 74 65 27 20 0a 19 89 80 ┆te variable 'p_level_state' ┆ 0x22fc0…22fe0 80 77 68 69 63 68 20 72 65 66 6c 65 63 74 73 20 74 68 65 20 73 74 61 74 65 20 6f 66 20 74 68 65 ┆ which reflects the state of the┆ 0x22fe0…23000 20 58 2e 32 35 20 70 61 63 6b 65 74 20 6c 65 76 65 6c 20 28 44 54 45 20 6d 6f 64 75 6c 65 20 0a ┆ X.25 packet level (DTE module ┆ 0x23000…23020 (280,) 19 89 80 80 73 74 61 74 65 29 2e 20 46 75 72 74 68 65 72 6d 6f 72 65 20 74 68 65 20 70 72 6f 63 ┆ state). Furthermore the proc┆ 0x23020…23040 65 73 73 20 6d 61 69 6e 74 61 69 6e 73 20 61 20 73 74 61 74 65 20 76 61 72 69 61 62 6c 65 20 69 ┆ess maintains a state variable i┆ 0x23040…23060 6e 20 63 6f 6e 80 0a 19 89 80 80 6e 65 63 74 69 6f 6e 20 77 69 74 68 20 74 69 6d 65 72 20 74 32 ┆n con nection with timer t2┆ 0x23060…23080 30 20 28 72 65 73 74 61 72 74 20 74 69 6d 65 72 29 2e 0d 0a 0d 0a b0 09 70 5f 6c 65 76 65 6c 5f ┆0 (restart timer). p_level_┆ 0x23080…230a0 73 74 61 74 65 3a 0d 0a 0d 0a 09 20 20 20 84 64 65 73 63 72 69 70 74 69 6f 6e 20 6f 66 20 74 68 ┆state: description of th┆ 0x230a0…230c0 65 20 69 6e 64 69 76 69 64 75 61 6c 20 73 74 61 74 65 73 20 70 6c 65 61 73 65 20 72 65 66 65 72 ┆e individual states please refer┆ 0x230c0…230e0 20 74 6f 20 73 75 62 73 65 63 74 69 6f 6e 20 0a 19 8c 80 80 34 2e 32 2e 32 2e 0d 0a 0d 0a 0d 0a ┆ to subsection 4.2.2. ┆ 0x230e0…23100 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ 0x23100…23120 09 46 69 67 75 72 65 20 33 31 3a 20 84 53 74 61 74 65 20 74 72 61 6e 73 69 74 69 6f 6e 20 67 72 ┆ Figure 31: State transition gr┆ 0x23120…23140 61 70 68 20 66 6f 72 20 70 5f 6c 65 76 65 6c 5f 73 74 61 74 65 20 69 6e 20 70 72 6f 63 65 73 73 ┆aph for p_level_state in process┆ 0x23140…23160 20 0a 19 94 80 80 64 74 65 5f 6c 63 6e 7a 65 72 6f 2e 0d 0a 0d 0a 0d 0a b0 09 74 74 32 30 2e 73 ┆ dte_lcnzero. tt20.s┆ 0x23160…23180 74 61 74 65 3a 0d 0a 0d 0a 09 20 20 20 70 6c 65 61 73 65 20 72 65 66 65 72 20 74 6f 20 73 75 62 ┆tate: please refer to sub┆ 0x23180…23192 73 65 63 74 69 6f 6e 20 34 2e 31 2e 34 2e 0d 0a 0d 0a ┆section 4.1.4. ┆ 0x23192…23195 FormFeed { 0x23192…23195 0c 80 a5 ┆ ┆ 0x23192…23195 } 0x23195…231a0 0a a1 34 2e 35 2e 33 09 53 65 6d ┆ 4.5.3 Sem┆ 0x231a0…231c0 61 70 68 6f 72 65 20 61 6e 64 20 52 65 66 65 72 65 6e 63 65 20 56 61 72 69 61 62 6c 65 73 2e 0d ┆aphore and Reference Variables. ┆ 0x231c0…231e0 0a 0d 0a b0 09 a1 53 45 4d 41 50 48 4f 52 45 53 0d 0a 0d 0a 09 20 20 20 74 69 6d 65 72 5f 73 65 ┆ SEMAPHORES timer_se┆ 0x231e0…23200 6d 09 3a 20 41 6e 73 77 65 72 20 73 65 6d 61 70 68 6f 72 65 20 66 6f 72 20 74 69 6d 65 72 20 72 ┆m : Answer semaphore for timer r┆ 0x23200…23220 (281,) 65 67 72 65 74 20 6d 65 73 73 61 67 65 73 2e 0d 0a 0d 0a 09 20 20 20 77 61 69 74 5f 62 75 66 5f ┆egret messages. wait_buf_┆ 0x23220…23240 73 65 6d 09 3a 20 84 41 6e 73 77 65 72 20 73 65 6d 61 70 68 6f 72 65 20 66 6f 72 20 62 75 66 66 ┆sem : Answer semaphore for buff┆ 0x23240…23260 65 72 20 72 65 71 75 65 73 74 20 6d 65 73 80 0a 19 9f 80 80 73 61 67 65 73 2e 0d 0a 0d 0a 0d 0a ┆er request mes sages. ┆ 0x23260…23280 b0 09 a1 52 45 46 45 52 45 4e 43 45 53 0d 0a 0d 0a 09 20 20 20 62 6f 6f 6b 5f 72 65 66 09 3a 20 ┆ REFERENCES book_ref : ┆ 0x23280…232a0 48 6f 6c 64 73 20 61 20 74 69 6d 65 72 20 72 65 67 72 65 74 20 6d 65 73 73 61 67 65 2e 0d 0a 0d ┆Holds a timer regret message. ┆ 0x232a0…232c0 0a 09 20 20 20 68 65 6c 70 5f 72 65 66 09 3a 20 57 6f 72 6b 69 6e 67 20 72 65 66 65 72 65 6e 63 ┆ help_ref : Working referenc┆ 0x232c0…232e0 65 2e 0d 0a 0d 0a 09 20 20 20 6b 65 79 5f 72 65 66 09 3a 20 84 55 73 65 64 20 74 6f 20 68 6f 6c ┆e. key_ref : Used to hol┆ 0x232e0…23300 64 20 74 68 65 20 6b 65 79 20 6d 65 73 73 61 67 65 20 64 75 72 69 6e 67 20 61 63 63 65 73 73 20 ┆d the key message during access ┆ 0x23300…23320 0a 19 9f 80 80 74 6f 20 70 6f 6f 6c 73 2e 0d 0a 0d 0a 09 20 20 20 6d 65 73 73 5f 72 65 66 09 3a ┆ to pools. mess_ref :┆ 0x23320…23340 20 48 6f 6c 64 73 20 74 68 65 20 6d 65 73 73 61 67 65 20 75 6e 64 65 72 20 70 72 6f 63 65 73 73 ┆ Holds the message under process┆ 0x23340…23360 69 6e 67 2e 0d 0a 0d 0a 09 20 20 20 73 75 70 6d 65 73 73 5f 72 65 66 09 3a 20 84 48 6f 6c 64 73 ┆ing. supmess_ref : Holds┆ 0x23360…23380 20 61 6e 20 69 6e 74 65 72 6e 61 6c 20 6d 65 73 73 61 67 65 20 66 6f 72 20 63 6f 6d 6d 75 6e 69 ┆ an internal message for communi┆ 0x23380…233a0 63 61 74 69 6f 6e 20 0a 19 9f 80 80 77 69 74 68 20 74 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 ┆cation with the dte process┆ 0x233a0…233c0 2e 0d 0a 0d 0a 09 20 20 20 77 61 69 74 5f 62 75 66 09 3a 20 48 6f 6c 64 73 20 61 20 62 75 66 66 ┆. wait_buf : Holds a buff┆ 0x233c0…233e0 65 72 20 72 65 71 75 65 73 74 20 6d 65 73 73 61 67 65 2e 0d 0a 0d 0a 0d 0a a1 34 2e 35 2e 34 09 ┆er request message. 4.5.4 ┆ 0x233e0…23400 44 61 74 61 20 53 74 72 75 63 74 75 72 65 73 2e 0d 0a 0d 0a 09 84 54 68 65 20 66 6f 6c 6c 6f 77 ┆Data Structures. The follow┆ 0x23400…23420 (282,) 69 6e 67 20 64 61 74 61 20 73 74 72 75 63 74 75 72 65 73 20 75 73 65 64 20 69 6e 20 74 68 65 20 ┆ing data structures used in the ┆ 0x23420…23440 64 74 65 5f 6c 63 6e 7a 65 72 6f 20 70 72 6f 63 65 73 73 20 61 72 65 20 0a 19 89 80 80 64 65 80 ┆dte_lcnzero process are de ┆ 0x23440…23460 73 63 72 69 62 65 64 20 65 6c 73 65 77 68 65 72 65 3a 0d 0a 0d 0a 09 20 20 20 78 32 35 5f 70 61 ┆scribed elsewhere: x25_pa┆ 0x23460…23480 72 61 6d 09 73 65 63 74 69 6f 6e 20 34 2e 31 2e 31 2e 33 0d 0a 09 20 20 20 74 74 32 30 09 09 73 ┆ram section 4.1.1.3 tt20 s┆ 0x23480…234a0 65 63 74 69 6f 6e 20 34 2e 31 2e 34 0d 0a 09 20 20 20 74 65 73 74 62 75 66 09 73 65 63 74 69 6f ┆ection 4.1.4 testbuf sectio┆ 0x234a0…234c0 6e 20 36 2e 32 2e 34 2e 32 0d 0a 0d 0a 09 84 42 65 73 69 64 65 73 20 74 68 65 73 65 20 74 68 65 ┆n 6.2.4.2 Besides these the┆ 0x234c0…234e0 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 20 70 72 6f 63 65 73 73 20 75 73 65 73 20 61 20 7a 6f 6e 65 ┆ dte_lcnzero process uses a zone┆ 0x234e0…23500 20 28 6f 75 74 7a 6f 6e 65 29 20 66 6f 72 20 0a 19 89 80 80 70 72 69 6e 74 69 6e 67 20 6f 66 20 ┆ (outzone) for printing of ┆ 0x23500…23520 65 72 72 6f 72 20 6d 65 73 73 61 67 65 73 20 6f 6e 20 74 68 65 20 63 6f 6e 73 6f 6c 65 2e 0d 0a ┆error messages on the console. ┆ 0x23520…23524 0d 0a 0d 0a ┆ ┆ 0x23524…23527 FormFeed { 0x23524…23527 0c 80 a8 ┆ ┆ 0x23524…23527 } 0x23527…23540 0a a1 34 2e 35 2e 35 09 53 65 6d 61 70 68 6f 72 65 73 20 61 6e 64 20 4d 65 ┆ 4.5.5 Semaphores and Me┆ 0x23540…23560 73 73 61 67 65 20 46 6c 6f 77 2e 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d ┆ssage Flow. ┆ 0x23560…23580 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d ┆ ┆ 0x23580…235a0 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 46 69 67 75 72 65 20 33 ┆ Figure 3┆ 0x235a0…235c0 32 3a 20 46 6c 6f 77 20 6f 66 20 6d 65 73 73 61 67 65 73 20 74 6f 20 61 6e 64 20 66 72 6f 6d 20 ┆2: Flow of messages to and from ┆ 0x235c0…235e0 64 74 65 5f 6c 63 6e 7a 65 72 6f 2e 0d 0a 8c 80 a7 0a a1 34 2e 35 2e 36 09 4f 76 65 72 76 69 65 ┆dte_lcnzero. 4.5.6 Overvie┆ 0x235e0…23600 77 20 6f 66 20 50 72 6f 63 65 73 73 20 4f 70 65 72 61 74 69 6f 6e 2e 0d 0a 0d 0a 09 84 49 6e 20 ┆w of Process Operation. In ┆ 0x23600…23620 (283,) 74 68 69 73 20 73 65 63 74 69 6f 6e 20 61 6e 20 6f 76 65 72 76 69 65 77 20 6f 66 20 74 68 65 20 ┆this section an overview of the ┆ 0x23620…23640 64 74 65 5f 6c 63 6e 7a 65 72 6f 20 70 72 6f 63 65 73 73 20 6f 70 65 72 61 74 69 6f 6e 20 0a 19 ┆dte_lcnzero process operation ┆ 0x23640…23660 89 80 80 69 73 20 6f 75 74 6c 69 6e 65 64 20 65 69 74 68 65 72 20 61 73 20 66 6c 6f 77 63 68 61 ┆ is outlined either as flowcha┆ 0x23660…23680 72 74 73 20 6f 72 20 69 6e 20 70 73 65 75 64 6f 20 52 65 61 6c 2d 54 69 6d 65 20 50 61 73 63 61 ┆rts or in pseudo Real-Time Pasca┆ 0x23680…236a0 6c 20 0a 19 89 80 80 63 6f 64 65 20 6f 72 20 69 6e 20 6e 61 74 75 72 61 6c 20 74 65 78 74 2e 0d ┆l code or in natural text. ┆ 0x236a0…236a3 0a 0d 0a ┆ ┆ 0x236a3…236a6 FormFeed { 0x236a3…236a6 0c 80 86 ┆ ┆ 0x236a3…236a6 } 0x236a6…236c0 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d ┆ ┆ 0x236c0…236e0 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d ┆ ┆ 0x236e0…23700 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 46 69 67 75 72 65 20 33 33 3a 20 50 ┆ Figure 33: P┆ 0x23700…23720 72 6f 63 65 73 73 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 2c 20 6d 61 69 6e 20 66 6c 6f 77 63 68 61 ┆rocess dte_lcnzero, main flowcha┆ 0x23720…23725 72 74 2e 0d 0a ┆rt. ┆ 0x23725…23728 FormFeed { 0x23725…23728 0c 80 a7 ┆ ┆ 0x23725…23728 } 0x23728…23740 0a b0 50 41 52 54 20 28 41 29 3a 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 ┆ PART (A): ┆ 0x23740…23760 84 49 6e 20 74 68 65 20 69 6e 69 74 69 61 6c 69 7a 61 74 69 6f 6e 20 70 61 72 74 20 74 68 65 20 ┆ In the initialization part the ┆ 0x23760…23780 66 6f 6c 6c 6f 77 69 6e 67 20 61 63 74 69 6f 6e 73 20 61 72 65 20 70 65 72 66 6f 72 6d 65 64 2e ┆following actions are performed.┆ 0x23780…237a0 0d 0a 0d 0a 09 20 20 20 2d 20 84 69 6e 69 74 69 61 6c 69 7a 61 74 69 6f 6e 20 6f 66 20 72 65 67 ┆ - initialization of reg┆ 0x237a0…237c0 72 65 74 2c 20 62 75 66 66 65 72 20 72 65 71 75 65 73 74 2c 20 61 6e 64 20 73 75 70 65 72 76 69 ┆ret, buffer request, and supervi┆ 0x237c0…237e0 73 6f 72 20 6d 65 73 80 0a 19 8e 80 80 73 61 67 65 73 0d 0a 09 20 20 20 2d 20 69 6e 69 74 69 61 ┆sor mes sages - initia┆ 0x237e0…23800 6c 69 7a 61 74 69 6f 6e 20 6f 66 20 73 74 61 74 65 20 76 61 72 69 61 62 6c 65 73 0d 0a 09 20 20 ┆lization of state variables ┆ 0x23800…23820 (284,) 20 2d 20 69 6e 69 74 69 61 6c 69 7a 61 74 69 6f 6e 20 6f 66 20 76 61 72 69 61 62 6c 65 20 27 78 ┆ - initialization of variable 'x┆ 0x23820…23840 32 35 5f 70 61 72 61 6d 27 0d 0a 0d 0a 0d 0a b0 50 41 52 54 20 28 42 29 3a 0d 0a 0d 0a 20 20 20 ┆25_param' PART (B): ┆ 0x23840…23860 20 20 20 20 20 20 84 54 68 65 20 73 74 61 74 65 5f 6d 61 63 68 69 6e 65 20 69 73 20 69 6d 70 6c ┆ The state_machine is impl┆ 0x23860…23880 65 6d 65 6e 74 65 64 20 61 73 20 61 6e 20 73 74 61 74 65 2f 61 63 74 69 6f 6e 20 74 61 62 6c 65 ┆emented as an state/action table┆ 0x23880…238a0 2c 20 77 68 69 63 68 20 0a 19 89 80 80 69 73 20 73 68 6f 77 6e 20 69 6e 20 61 70 70 65 6e 64 69 ┆, which is shown in appendi┆ 0x238a0…238c0 78 20 43 2e 32 2c 20 61 6e 64 20 61 20 73 68 6f 72 74 20 64 65 73 63 72 69 70 74 69 6f 6e 20 6f ┆x C.2, and a short description o┆ 0x238c0…238e0 66 20 74 68 65 20 61 63 74 69 6f 6e 73 20 0a 19 89 80 80 61 72 65 20 67 69 76 65 6e 20 68 65 72 ┆f the actions are given her┆ 0x238e0…238ee 65 20 74 6f 6f 2e 0d 0a 0d 0a 0d 0a 0d 0a ┆e too. ┆ 0x238ee…238f1 FormFeed { 0x238ee…238f1 0c 80 92 ┆ ┆ 0x238ee…238f1 } 0x238f1…23900 0a 16 20 66 6f 72 6d 61 74 6c 69 6e 69 65 20 ┆ formatlinie ┆ 0x23900…23920 74 69 6c 20 52 43 20 6d 61 6e 75 61 6c 65 72 0d 0a 14 b3 0d 0a 14 b3 06 2d 20 0b 20 2d 0d 0a a1 ┆til RC manualer - - ┆ 0x23920…23940 34 2e 36 20 20 20 20 20 20 44 65 73 63 72 69 70 74 69 6f 6e 20 6f 66 20 64 74 65 5f 63 68 61 6e ┆4.6 Description of dte_chan┆ 0x23940…23960 2e 0d 0a 0d 0a 09 84 54 68 65 20 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 20 69 73 20 74 ┆. The dte_chan process is t┆ 0x23960…23980 68 65 20 70 72 6f 63 65 73 73 20 69 6e 20 74 68 65 20 44 54 45 20 6d 6f 64 75 6c 65 20 73 65 72 ┆he process in the DTE module ser┆ 0x23980…239a0 76 69 63 69 6e 67 20 61 6e 20 0a 19 89 80 80 58 2e 32 35 20 56 69 72 74 75 61 6c 20 43 61 6c 6c ┆vicing an X.25 Virtual Call┆ 0x239a0…239c0 2f 55 73 65 72 20 73 74 72 65 61 6d 2e 0d 0a 09 54 68 65 20 6d 61 69 6e 20 70 75 72 70 6f 73 65 ┆/User stream. The main purpose┆ 0x239c0…239e0 20 69 73 3a 0d 0a 0d 0a 09 20 20 20 31 29 20 84 84 50 72 6f 76 69 64 69 6e 67 20 74 68 65 20 73 ┆ is: 1) Providing the s┆ 0x239e0…23a00 65 72 76 69 63 65 73 20 6f 66 20 61 6e 20 58 2e 32 35 20 56 69 72 74 75 61 6c 20 43 61 6c 6c 20 ┆ervices of an X.25 Virtual Call ┆ 0x23a00…23a20 (285,) 74 6f 20 61 20 75 73 65 72 2c 20 0a 19 8f 80 80 69 2e 65 2e 20 69 6d 70 6c 65 6d 65 6e 74 69 6e ┆to a user, i.e. implementin┆ 0x23a20…23a40 67 20 74 68 65 20 6d 61 69 6e 20 70 61 72 74 20 6f 66 20 74 68 65 20 58 2e 32 35 20 72 65 63 6f ┆g the main part of the X.25 reco┆ 0x23a40…23a60 6d 6d 65 6e 64 61 74 69 6f 6e 2e 0d 0a 0d 0a 0d 0a a1 34 2e 36 2e 31 09 50 72 6f 63 65 73 73 20 ┆mmendation. 4.6.1 Process ┆ 0x23a60…23a80 50 61 72 61 6d 65 74 65 72 73 2e 0d 0a 0d 0a 09 50 52 4f 43 45 53 53 20 64 74 65 5f 63 68 61 6e ┆Parameters. PROCESS dte_chan┆ 0x23a80…23aa0 28 0d 0a 09 20 20 20 56 41 52 20 69 6e 5f 70 74 72 2c 0d 0a 09 20 20 20 20 20 20 20 73 79 6e 63 ┆( VAR in_ptr, sync┆ 0x23aa0…23ac0 5f 70 74 72 09 20 3a 20 21 20 74 61 70 5f 70 6f 69 6e 74 65 72 3b 0d 0a 09 20 20 20 56 41 52 20 ┆_ptr : ! tap_pointer; VAR ┆ 0x23ac0…23ae0 64 74 65 5f 69 6e 74 5f 70 74 72 2c 0d 0a 09 20 20 20 20 20 20 20 73 75 70 5f 70 74 72 2c 0d 0a ┆dte_int_ptr, sup_ptr, ┆ 0x23ae0…23b00 09 20 20 20 20 20 20 20 68 64 6c 63 5f 70 74 72 2c 0d 0a 09 20 20 20 20 20 20 20 74 69 6d 65 6f ┆ hdlc_ptr, timeo┆ 0x23b00…23b20 75 74 5f 70 74 72 2c 0d 0a 09 20 20 20 20 20 20 20 67 65 6e 5f 62 73 65 6d 09 20 3a 20 21 20 73 ┆ut_ptr, gen_bsem : ! s┆ 0x23b20…23b40 65 6d 70 6f 69 6e 74 65 72 3b 0d 0a 09 20 20 20 56 41 52 20 62 69 67 62 75 66 2c 0d 0a 09 20 20 ┆empointer; VAR bigbuf, ┆ 0x23b40…23b60 20 20 20 20 20 73 6d 61 6c 6c 62 75 66 2c 0d 0a 09 20 20 20 20 20 20 20 78 32 35 5f 62 75 66 09 ┆ smallbuf, x25_buf ┆ 0x23b60…23b80 20 3a 20 70 68 5f 74 79 70 65 3b 0d 0a 09 20 20 20 56 41 52 20 62 72 65 61 6b 73 65 6d 0d 0a 09 ┆ : ph_type; VAR breaksem ┆ 0x23b80…23ba0 20 20 20 20 20 20 20 65 76 65 6e 74 5f 70 6f 6f 6c 2c 0d 0a 09 20 20 20 20 20 20 20 74 65 73 74 ┆ event_pool, test┆ 0x23ba0…23bc0 73 65 6d 09 20 3a 20 73 65 6d 61 70 68 6f 72 65 3b 0d 0a 09 20 20 20 56 41 52 20 62 5f 75 70 64 ┆sem : semaphore; VAR b_upd┆ 0x23bc0…23be0 5f 73 74 61 74 3a 20 20 20 3a 20 21 20 62 6f 6f 6c 65 61 6e 3b 0d 0a 09 20 20 20 6f 77 6e 5f 61 ┆_stat: : ! boolean; own_a┆ 0x23be0…23c00 64 72 5f 72 65 63 09 20 3a 20 61 64 72 5f 72 65 63 5f 74 79 70 65 3b 0d 0a 09 20 20 20 78 32 35 ┆dr_rec : adr_rec_type; x25┆ 0x23c00…23c20 (286,) 5f 64 61 74 61 73 69 7a 65 20 09 20 3a 20 69 6e 74 65 67 65 72 3b 0d 0a 09 20 20 20 56 41 52 20 ┆_datasize : integer; VAR ┆ 0x23c20…23c40 74 65 73 74 09 20 3a 20 21 20 74 65 73 74 72 65 63 74 79 70 65 3b 0d 0a 09 20 20 20 56 41 52 20 ┆test : ! testrectype; VAR ┆ 0x23c40…23c60 67 6c 6f 62 61 6c 5f 74 69 6d 65 09 20 3a 20 21 20 69 6e 74 65 67 65 72 0d 0a 09 20 20 20 29 3b ┆global_time : ! integer );┆ 0x23c60…23c80 0d 0a 0d 0a 09 69 6e 5f 70 74 72 09 09 3a 20 64 74 65 5f 63 68 61 6e 20 6d 61 69 6e 20 73 65 6d ┆ in_ptr : dte_chan main sem┆ 0x23c80…23ca0 61 70 68 6f 72 65 20 70 6f 69 6e 74 65 72 2e 0d 0a 0d 0a 09 73 79 6e 63 5f 70 74 72 09 09 3a 20 ┆aphore pointer. sync_ptr : ┆ 0x23ca0…23cc0 84 64 74 65 5f 63 68 61 6e 20 73 79 6e 63 68 72 6f 6e 69 7a 61 74 69 6f 6e 20 73 65 6d 61 70 68 ┆ dte_chan synchronization semaph┆ 0x23cc0…23ce0 6f 72 65 20 70 6f 69 6e 74 65 72 20 0a 19 9f 80 80 28 73 65 65 20 73 75 62 73 65 63 74 69 6f 6e ┆ore pointer (see subsection┆ 0x23ce0…23d00 20 34 2e 32 2e 37 29 2e 0d 0a 0d 0a 09 64 74 65 5f 69 6e 74 5f 70 74 72 09 3a 20 84 4d 61 69 6e ┆ 4.2.7). dte_int_ptr : Main┆ 0x23d00…23d20 20 73 65 6d 61 70 68 6f 72 65 20 70 6f 69 6e 74 65 72 20 6f 66 20 74 68 65 20 64 74 65 5f 61 63 ┆ semaphore pointer of the dte_ac┆ 0x23d20…23d40 63 65 73 73 20 0a 19 9f 80 80 70 72 6f 63 65 73 73 2e 0d 0a 0d 0a 8c 80 a9 0a 09 73 75 70 5f 70 ┆cess process. sup_p┆ 0x23d40…23d60 74 72 09 09 3a 20 4d 61 69 6e 20 73 65 6d 61 70 68 6f 72 65 20 70 6f 69 6e 74 65 72 20 6f 66 20 ┆tr : Main semaphore pointer of ┆ 0x23d60…23d80 74 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 2e 0d 0a 0d 0a 09 68 64 6c 63 5f 70 74 72 09 09 3a ┆the dte process. hdlc_ptr :┆ 0x23d80…23da0 20 84 4d 61 69 6e 20 73 65 6d 61 70 68 6f 72 65 20 70 6f 69 6e 74 65 72 20 6f 66 20 74 68 65 20 ┆ Main semaphore pointer of the ┆ 0x23da0…23dc0 48 44 4c 43 4c 43 50 20 6d 6f 80 0a 19 9f 80 80 64 75 6c 65 2e 0d 0a 0d 0a 09 74 69 6d 65 6f 75 ┆HDLCLCP mo dule. timeou┆ 0x23dc0…23de0 74 5f 70 74 72 09 3a 20 84 4d 61 69 6e 20 73 65 6d 61 70 68 6f 72 65 20 70 6f 69 6e 74 65 72 20 ┆t_ptr : Main semaphore pointer ┆ 0x23de0…23e00 6f 66 20 74 68 65 20 54 49 4d 45 4f 55 54 20 6d 6f 80 0a 19 9f 80 80 64 75 6c 65 2e 0d 0a 0d 0a ┆of the TIMEOUT mo dule. ┆ 0x23e00…23e20 (287,) 09 67 65 6e 5f 62 73 65 6d 09 09 3a 20 84 47 65 6e 65 72 61 6c 20 69 6e 70 75 74 20 73 65 6d 61 ┆ gen_bsem : General input sema┆ 0x23e20…23e40 70 68 6f 72 65 20 70 6f 69 6e 74 65 72 20 66 6f 72 20 74 68 65 20 61 73 80 0a 19 9f 80 80 73 6f ┆phore pointer for the as so┆ 0x23e40…23e60 63 69 61 74 65 64 20 75 73 65 72 2e 0d 0a 0d 0a 09 62 69 67 62 75 66 09 09 3a 20 42 69 67 20 62 ┆ciated user. bigbuf : Big b┆ 0x23e60…23e80 75 66 66 65 72 20 70 6f 6f 6c 20 28 73 65 65 20 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 31 2e 33 ┆uffer pool (see subsection 4.1.3┆ 0x23e80…23ea0 29 2e 0d 0a 0d 0a 09 73 6d 61 6c 6c 62 75 66 09 09 3a 20 53 6d 61 6c 6c 20 62 75 66 66 65 72 20 ┆). smallbuf : Small buffer ┆ 0x23ea0…23ec0 70 6f 6f 6c 20 28 73 65 65 20 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 31 2e 33 29 2e 0d 0a 0d 0a ┆pool (see subsection 4.1.3). ┆ 0x23ec0…23ee0 09 78 32 35 5f 62 75 66 09 09 3a 20 84 58 2e 32 35 20 63 6f 6e 74 72 6f 6c 20 6f 75 74 70 75 74 ┆ x25_buf : X.25 control output┆ 0x23ee0…23f00 20 70 61 63 6b 65 74 73 20 62 75 66 66 65 72 20 70 6f 6f 6c 20 28 73 65 65 20 0a 19 9f 80 80 73 ┆ packets buffer pool (see s┆ 0x23f00…23f20 75 62 73 65 63 74 69 6f 6e 20 34 2e 31 2e 33 29 2e 0d 0a 0d 0a 09 62 72 65 61 6b 73 65 6d 09 09 ┆ubsection 4.1.3). breaksem ┆ 0x23f20…23f40 3a 20 84 53 65 6d 61 70 68 6f 72 65 20 68 6f 6c 64 69 6e 67 20 74 68 65 20 62 72 65 61 6b 20 6d ┆: Semaphore holding the break m┆ 0x23f40…23f60 65 73 73 61 67 65 20 75 73 65 64 20 69 6e 20 0a 19 9f 80 80 74 68 65 20 65 78 63 65 70 74 69 6f ┆essage used in the exceptio┆ 0x23f60…23f80 6e 20 70 72 6f 63 65 64 75 72 65 2e 0d 0a 0d 0a 09 65 76 65 6e 74 5f 70 6f 6f 6c 09 3a 20 84 44 ┆n procedure. event_pool : D┆ 0x23f80…23fa0 54 45 20 67 6c 6f 62 61 6c 20 65 76 65 6e 74 20 70 6f 6f 6c 2e 20 49 6e 74 65 72 6e 61 6c 20 65 ┆TE global event pool. Internal e┆ 0x23fa0…23fc0 76 65 6e 74 20 62 75 66 80 0a 19 9f 80 80 66 65 72 73 20 61 72 65 20 71 75 65 75 65 64 20 61 74 ┆vent buf fers are queued at┆ 0x23fc0…23fe0 20 74 68 69 73 20 73 65 6d 61 70 68 6f 72 65 2e 0d 0a 0d 0a 09 74 65 73 74 73 65 6d 09 09 3a 20 ┆ this semaphore. testsem : ┆ 0x23fe0…24000 84 53 65 6d 61 70 68 6f 72 65 20 75 73 65 64 20 61 73 20 61 20 44 54 45 20 67 6c 6f 62 61 6c 20 ┆ Semaphore used as a DTE global ┆ 0x24000…24020 (288,) 74 65 73 74 20 62 75 66 66 65 72 20 0a 19 9f 80 80 70 6f 6f 6c 2e 0d 0a 0d 0a 09 62 5f 75 70 64 ┆test buffer pool. b_upd┆ 0x24020…24040 5f 73 74 61 74 09 3a 20 84 49 66 20 74 72 75 65 20 75 70 64 61 74 65 20 6f 66 20 73 74 61 74 69 ┆_stat : If true update of stati┆ 0x24040…24060 73 74 69 63 61 6c 20 63 6f 75 6e 74 65 72 73 20 73 68 61 6c 6c 20 0a 19 9f 80 80 62 65 20 70 65 ┆stical counters shall be pe┆ 0x24060…24080 72 66 6f 72 6d 65 64 2e 0d 0a 0d 0a 09 6f 77 6e 5f 61 64 72 5f 72 65 63 09 3a 20 4f 77 6e 20 6e ┆rformed. own_adr_rec : Own n┆ 0x24080…240a0 65 74 77 6f 72 6b 20 61 64 64 72 65 73 73 20 28 73 65 65 20 73 75 62 73 65 63 74 69 6f 6e 20 34 ┆etwork address (see subsection 4┆ 0x240a0…240c0 2e 31 2e 36 29 2e 0d 0a 0d 0a 09 78 32 35 5f 64 61 74 61 73 69 7a 65 09 3a 20 84 54 68 65 20 6d ┆.1.6). x25_datasize : The m┆ 0x240c0…240e0 61 78 69 6d 75 6d 20 6c 65 6e 67 74 68 20 6f 66 20 74 68 65 20 64 61 74 61 20 66 69 65 6c 64 20 ┆aximum length of the data field ┆ 0x240e0…24100 69 6e 20 61 6e 20 0a 19 9f 80 80 58 2e 32 35 20 64 61 74 61 20 70 61 63 6b 65 74 2e 0d 0a 0d 0a ┆in an X.25 data packet. ┆ 0x24100…24120 09 74 65 73 74 09 09 3a 20 54 65 73 74 62 69 74 73 20 61 72 72 72 61 79 20 28 73 65 65 20 73 65 ┆ test : Testbits arrray (see se┆ 0x24120…24140 63 74 69 6f 6e 20 36 2e 32 29 2e 0d 0a 0d 0a 09 67 6c 6f 62 61 6c 5f 74 69 6d 65 09 3a 20 84 44 ┆ction 6.2). global_time : D┆ 0x24140…24160 54 45 20 67 6c 6f 62 61 6c 20 74 69 6d 65 20 75 73 65 64 20 74 6f 20 74 69 6d 65 20 73 74 61 6d ┆TE global time used to time stam┆ 0x24160…24180 70 20 74 65 73 74 20 72 65 80 0a 19 9f 80 80 63 6f 72 64 73 2e 0d 0a 0d 0a 0d 0a 8c 80 a9 0a a1 ┆p test re cords. ┆ 0x24180…241a0 34 2e 36 2e 32 09 53 74 61 74 65 73 2e 0d 0a 0d 0a 09 84 54 68 65 20 64 74 65 5f 63 68 61 6e 20 ┆4.6.2 States. The dte_chan ┆ 0x241a0…241c0 70 72 6f 63 65 73 73 20 6f 70 65 72 61 74 65 73 20 6d 61 69 6e 6c 79 20 6f 6e 20 6f 6e 65 20 73 ┆process operates mainly on one s┆ 0x241c0…241e0 74 61 74 65 20 76 61 72 69 61 62 6c 65 2c 20 0a 19 89 80 80 63 68 61 6e 5f 72 65 63 2e 63 68 61 ┆tate variable, chan_rec.cha┆ 0x241e0…24200 6e 5f 73 74 61 74 65 2e 20 46 75 72 74 68 65 72 6d 6f 72 65 20 69 74 20 75 73 65 73 20 61 20 73 ┆n_state. Furthermore it uses a s┆ 0x24200…24220 (289,) 74 61 74 65 20 76 61 72 69 61 62 6c 65 20 66 6f 72 20 65 61 63 68 20 0a 19 89 80 80 74 69 6d 65 ┆tate variable for each time┆ 0x24220…24240 72 20 28 74 31 31 6d 2c 20 74 31 32 6d 2c 20 74 32 31 2c 20 74 32 32 2c 20 74 32 33 2c 20 74 33 ┆r (t11m, t12m, t21, t22, t23, t3┆ 0x24240…24260 30 20 61 6e 64 20 74 33 31 29 20 6e 65 65 64 65 64 2e 20 46 6f 72 20 61 20 64 65 80 0a 19 89 80 ┆0 and t31) needed. For a de ┆ 0x24260…24280 80 74 61 69 6c 65 64 20 64 65 73 63 72 69 70 74 69 6f 6e 20 6f 66 20 74 68 65 20 74 69 6d 65 72 ┆ tailed description of the timer┆ 0x24280…242a0 20 73 74 61 74 65 73 20 70 6c 65 61 73 65 20 72 65 66 65 72 20 74 6f 20 73 75 62 73 65 63 74 69 ┆ states please refer to subsecti┆ 0x242a0…242c0 6f 6e 20 0a 19 89 80 80 34 2e 31 2e 34 2e 0d 0a 0d 0a b0 09 63 68 61 6e 5f 72 65 63 2e 63 68 61 ┆on 4.1.4. chan_rec.cha┆ 0x242c0…242e0 6e 5f 73 74 61 74 65 0d 0a 0d 0a b0 09 20 20 20 78 69 64 6c 65 09 09 f0 3a 20 74 68 65 20 63 68 ┆n_state xidle : the ch┆ 0x242e0…24300 61 6e 6e 65 6c 20 69 73 20 69 6e 20 72 65 61 64 79 20 73 74 61 74 65 0d 0a b0 09 20 20 20 78 64 ┆annel is in ready state xd┆ 0x24300…24320 74 65 63 61 6c 6c 09 f0 3a 20 84 74 68 65 20 44 54 45 20 69 73 20 61 77 61 69 74 69 6e 67 20 44 ┆tecall : the DTE is awaiting D┆ 0x24320…24340 43 45 20 72 65 73 70 6f 6e 73 65 20 6f 6e 20 61 20 43 41 4c 4c 20 0a 19 9f 81 80 52 45 51 55 45 ┆CE response on a CALL REQUE┆ 0x24340…24360 53 54 0d 0a b0 09 20 20 20 78 64 63 65 63 61 6c 6c 09 f0 3a 20 84 74 68 65 20 44 54 45 20 69 73 ┆ST xdcecall : the DTE is┆ 0x24360…24380 20 61 77 61 69 74 69 6e 67 20 75 73 65 72 20 72 65 73 70 6f 6e 73 65 20 6f 6e 20 61 6e 20 49 4e ┆ awaiting user response on an IN┆ 0x24380…243a0 80 0a 19 9f 81 80 43 4f 4d 49 4e 47 20 43 41 4c 4c 0d 0a b0 09 20 20 20 78 64 74 65 63 6c 65 61 ┆ COMING CALL xdteclea┆ 0x243a0…243c0 72 09 f0 3a 20 84 74 68 65 20 44 54 45 20 69 73 20 61 77 61 69 74 69 6e 67 20 44 43 45 20 72 65 ┆r : the DTE is awaiting DCE re┆ 0x243c0…243e0 73 70 6f 6e 73 65 20 6f 6e 20 61 20 43 4c 45 41 52 20 0a 19 9f 81 80 52 45 51 55 45 53 54 0d 0a ┆sponse on a CLEAR REQUEST ┆ 0x243e0…24400 b0 09 20 20 20 78 72 65 74 63 6c 65 61 72 09 f0 3a 20 84 61 20 43 4c 45 41 52 20 52 45 51 55 45 ┆ xretclear : a CLEAR REQUE┆ 0x24400…24420 (290,) 53 54 20 68 61 73 20 62 65 65 6e 20 72 65 74 72 61 6e 73 6d 69 74 74 65 64 20 61 74 20 0a 19 9f ┆ST has been retransmitted at ┆ 0x24420…24440 81 80 6c 65 61 73 74 20 6f 6e 63 65 0d 0a b0 09 20 20 20 78 64 61 74 61 09 09 f0 3a 20 84 74 68 ┆ least once xdata : th┆ 0x24440…24460 65 20 44 54 45 20 61 6e 64 20 44 43 45 20 69 73 20 69 6e 20 74 68 65 20 64 61 74 61 20 70 68 61 ┆e DTE and DCE is in the data pha┆ 0x24460…24480 73 65 20 61 6e 64 20 0a 19 9f 81 80 62 6f 74 68 20 72 65 61 64 79 0d 0a b0 09 20 20 20 78 64 61 ┆se and both ready xda┆ 0x24480…244a0 74 61 5f 77 69 63 09 f0 3a 20 84 61 73 20 78 64 61 74 61 20 61 6e 64 20 74 68 65 20 44 54 45 20 ┆ta_wic : as xdata and the DTE ┆ 0x244a0…244c0 69 73 20 61 77 61 69 74 69 6e 67 20 49 4e 54 45 52 52 55 50 54 20 0a 19 9f 81 80 43 4f 4e 46 49 ┆is awaiting INTERRUPT CONFI┆ 0x244c0…244e0 52 4d 41 54 49 4f 4e 0d 0a b0 09 20 20 20 77 73 79 6e 63 09 09 f0 3a 20 84 61 73 20 78 64 61 74 ┆RMATION wsync : as xdat┆ 0x244e0…24500 61 20 61 6e 64 20 74 68 65 20 44 54 45 20 69 73 20 61 77 61 69 74 69 6e 67 20 75 73 65 72 20 73 ┆a and the DTE is awaiting user s┆ 0x24500…24520 79 6e 80 0a 19 9f 81 80 63 68 72 6f 6e 69 7a 61 74 69 6f 6e 20 6f 6e 20 61 20 72 65 73 65 74 20 ┆yn chronization on a reset ┆ 0x24520…24540 65 76 65 6e 74 0d 0a b0 09 20 20 20 6e 64 74 65 09 09 f0 3a 20 61 73 20 78 64 61 74 61 2c 20 62 ┆event ndte : as xdata, b┆ 0x24540…24560 75 74 20 74 68 65 20 44 54 45 20 69 73 20 6e 6f 74 20 72 65 61 64 79 0d 0a b0 09 20 20 20 6e 64 ┆ut the DTE is not ready nd┆ 0x24560…24580 74 65 5f 77 69 63 09 f0 3a 20 61 73 20 78 64 61 74 61 5f 77 69 63 2c 20 62 75 74 20 74 68 65 20 ┆te_wic : as xdata_wic, but the ┆ 0x24580…245a0 44 54 45 20 69 73 20 6e 6f 74 20 72 65 61 64 79 0d 0a b0 09 20 20 20 6e 64 74 65 5f 77 73 79 6e ┆DTE is not ready ndte_wsyn┆ 0x245a0…245c0 63 09 f0 3a 20 61 73 20 77 73 79 6e 63 2c 20 62 75 74 20 74 68 65 20 44 54 45 20 69 73 20 6e 6f ┆c : as wsync, but the DTE is no┆ 0x245c0…245e0 74 20 72 65 61 64 79 0d 0a b0 09 20 20 20 6e 64 63 65 09 09 f0 3a 20 61 73 20 78 64 61 74 61 2c ┆t ready ndce : as xdata,┆ 0x245e0…24600 20 62 75 74 20 74 68 65 20 44 43 45 20 69 73 20 6e 6f 74 20 72 65 61 64 79 0d 0a b0 09 20 20 20 ┆ but the DCE is not ready ┆ 0x24600…24620 (291,) 6e 64 63 65 5f 77 69 63 09 f0 3a 20 61 73 20 78 64 61 74 61 5f 77 69 63 2c 20 62 75 74 20 74 68 ┆ndce_wic : as xdata_wic, but th┆ 0x24620…24640 65 20 44 43 45 20 69 73 20 6e 6f 74 20 72 65 61 64 79 0d 0a b0 09 20 20 20 6e 64 63 65 5f 77 73 ┆e DCE is not ready ndce_ws┆ 0x24640…24660 79 6e 63 09 f0 3a 20 61 73 20 77 73 79 6e 63 2c 20 62 75 74 20 74 68 65 20 44 43 45 20 69 73 20 ┆ync : as wsync, but the DCE is ┆ 0x24660…24680 6e 6f 74 20 72 65 61 64 79 0d 0a b0 09 20 20 20 6e 64 63 74 65 09 09 f0 3a 20 61 73 20 78 64 61 ┆not ready ndcte : as xda┆ 0x24680…246a0 74 61 2c 20 62 75 74 20 74 68 65 20 44 54 45 20 61 6e 64 20 44 43 45 20 61 72 65 20 6e 6f 74 20 ┆ta, but the DTE and DCE are not ┆ 0x246a0…246c0 72 65 61 64 79 0d 0a b0 09 20 20 20 6e 64 63 74 65 5f 77 69 63 09 f0 3a 20 84 61 73 20 78 64 61 ┆ready ndcte_wic : as xda┆ 0x246c0…246e0 74 61 5f 77 69 63 2c 20 62 75 74 20 74 68 65 20 44 54 45 20 61 6e 64 20 44 43 45 20 61 72 65 20 ┆ta_wic, but the DTE and DCE are ┆ 0x246e0…24700 6e 6f 74 20 0a 19 9f 81 80 72 65 61 64 79 0d 0a b0 09 20 20 20 6e 64 63 74 65 77 73 79 6e 63 09 ┆not ready ndctewsync ┆ 0x24700…24720 f0 3a 20 84 61 73 20 77 73 79 6e 63 2c 20 62 75 74 20 74 68 65 20 44 54 45 20 61 6e 64 20 44 43 ┆ : as wsync, but the DTE and DC┆ 0x24720…24740 45 20 61 72 65 20 6e 6f 74 20 72 65 61 64 79 0d 0a b0 09 20 20 20 78 72 65 73 65 74 09 09 f0 3a ┆E are not ready xreset :┆ 0x24740…24760 20 84 52 45 53 45 54 20 49 4e 44 49 43 41 54 49 4f 4e 20 72 65 63 65 69 76 65 64 20 66 72 6f 6d ┆ RESET INDICATION received from┆ 0x24760…24780 20 74 68 65 20 44 43 45 2c 20 74 68 65 20 0a 19 9f 81 80 44 54 45 20 69 73 20 61 77 61 69 74 69 ┆ the DCE, the DTE is awaiti┆ 0x24780…247a0 6e 67 20 75 73 65 72 20 72 65 73 70 6f 6e 73 65 2c 20 61 6e 64 20 6e 6f 20 52 45 53 45 54 20 0a ┆ng user response, and no RESET ┆ 0x247a0…247c0 19 9f 81 80 43 4f 4e 46 49 52 4d 41 54 49 4f 4e 20 69 73 20 74 72 61 6e 73 6d 69 74 74 65 64 20 ┆ CONFIRMATION is transmitted ┆ 0x247c0…247d0 74 6f 20 74 68 65 20 44 43 45 20 79 65 74 0d 0a ┆to the DCE yet ┆ 0x247d0…247d3 FormFeed { 0x247d0…247d3 0c 80 a6 ┆ ┆ 0x247d0…247d3 } 0x247d3…247e0 0a b0 09 20 20 20 75 72 65 73 65 74 09 ┆ ureset ┆ 0x247e0…24800 09 f0 3a 20 84 64 74 65 5f 72 65 73 65 74 5f 72 65 71 20 72 65 63 65 69 76 65 64 20 66 72 6f 6d ┆ : dte_reset_req received from┆ 0x24800…24820 (292,) 20 74 68 65 20 75 73 65 72 2c 20 74 68 65 20 0a 19 9f 81 80 44 54 45 20 69 73 20 61 77 61 69 74 ┆ the user, the DTE is await┆ 0x24820…24840 69 6e 67 20 44 43 45 20 63 6f 6e 66 69 72 6d 61 74 69 6f 6e 0d 0a b0 09 20 20 20 65 72 65 73 65 ┆ing DCE confirmation erese┆ 0x24840…24860 74 09 09 f0 3a 20 84 74 68 65 20 44 54 45 20 68 61 73 20 72 65 73 65 74 20 74 68 65 20 56 69 72 ┆t : the DTE has reset the Vir┆ 0x24860…24880 74 75 61 6c 20 43 61 6c 6c 2c 20 61 6e 64 20 69 73 20 0a 19 9f 81 80 61 77 61 69 74 69 6e 67 20 ┆tual Call, and is awaiting ┆ 0x24880…248a0 62 6f 74 68 20 75 73 65 72 20 72 65 73 70 6f 6e 73 65 20 61 6e 64 20 44 43 45 20 63 6f 6e 66 69 ┆both user response and DCE confi┆ 0x248a0…248c0 72 80 0a 19 9f 81 80 6d 61 74 69 6f 6e 2e 0d 0a 0d 0a 09 84 49 6e 20 61 70 70 65 6e 64 69 78 20 ┆r mation. In appendix ┆ 0x248c0…248e0 43 2e 33 20 73 74 61 74 65 20 74 72 61 6e 73 69 74 69 6f 6e 73 20 74 61 62 6c 65 73 20 66 6f 72 ┆C.3 state transitions tables for┆ 0x248e0…24900 20 74 68 65 20 73 74 61 74 65 20 76 61 72 69 61 62 6c 65 20 69 73 20 0a 19 89 80 80 6f 75 74 6c ┆ the state variable is outl┆ 0x24900…24920 69 6e 65 64 2e 0d 0a 0d 0a 0d 0a a1 34 2e 36 2e 33 09 53 65 6d 61 70 68 6f 72 65 73 20 61 6e 64 ┆ined. 4.6.3 Semaphores and┆ 0x24920…24940 20 52 65 66 65 72 65 6e 63 65 20 56 61 72 69 61 62 6c 65 73 2e 0d 0a 0d 0a 09 84 56 61 72 69 61 ┆ Reference Variables. Varia┆ 0x24940…24960 62 6c 65 73 20 6f 66 20 74 79 70 65 20 27 73 65 6d 70 6f 69 6e 74 65 72 27 20 61 6e 64 20 27 74 ┆bles of type 'sempointer' and 't┆ 0x24960…24980 61 70 5f 70 6f 69 6e 74 65 72 27 20 61 72 65 20 6d 65 6e 74 69 6f 6e 65 64 20 69 6e 20 0a 19 89 ┆ap_pointer' are mentioned in ┆ 0x24980…249a0 80 80 74 68 65 20 73 65 6d 61 70 68 6f 72 65 20 73 75 62 73 65 63 74 69 6f 6e 20 6a 75 73 74 20 ┆ the semaphore subsection just ┆ 0x249a0…249c0 61 73 20 74 68 65 79 20 77 65 72 65 20 73 65 6d 61 70 68 6f 72 65 73 2e 0d 0a 0d 0a b0 09 a1 53 ┆as they were semaphores. S┆ 0x249c0…249e0 45 4d 41 50 48 4f 52 45 53 0d 0a 0d 0a 09 20 20 20 68 61 72 64 77 61 69 74 09 3a 20 84 53 65 6d ┆EMAPHORES hardwait : Sem┆ 0x249e0…24a00 61 70 68 6f 72 65 20 75 73 65 64 20 69 6e 20 63 61 73 65 73 20 77 68 65 72 65 20 68 61 72 64 77 ┆aphore used in cases where hardw┆ 0x24a00…24a20 (293,) 61 69 74 20 69 73 20 0a 19 9f 80 80 72 65 71 75 69 72 65 64 20 61 6e 64 20 61 73 20 61 6e 73 77 ┆ait is required and as answ┆ 0x24a20…24a40 65 72 20 73 65 6d 61 70 68 6f 72 65 20 66 6f 72 20 62 75 66 66 65 72 20 0a 19 9f 80 80 72 65 71 ┆er semaphore for buffer req┆ 0x24a40…24a60 75 65 73 74 73 2e 0d 0a 09 20 20 20 65 78 73 65 6d 09 09 3a 20 53 65 6d 61 70 68 6f 72 65 20 75 ┆uests. exsem : Semaphore u┆ 0x24a60…24a80 73 65 64 20 69 6e 20 74 68 65 20 65 78 63 65 70 74 69 6f 6e 20 70 72 6f 63 65 64 75 72 65 2e 0d ┆sed in the exception procedure. ┆ 0x24a80…24aa0 0a 09 20 20 20 6c 6f 63 61 6c 5f 69 6e 73 65 6d 31 09 3a 20 4c 6f 63 61 6c 20 69 6e 70 75 74 20 ┆ local_insem1 : Local input ┆ 0x24aa0…24ac0 73 65 6d 61 70 68 6f 72 65 20 6e 75 6d 62 65 72 20 31 2e 0d 0a 09 20 20 20 6c 6f 63 61 6c 5f 69 ┆semaphore number 1. local_i┆ 0x24ac0…24ae0 6e 73 65 6d 32 09 3a 20 4c 6f 63 61 6c 20 69 6e 70 75 74 20 73 65 6d 61 70 68 6f 72 65 20 6e 75 ┆nsem2 : Local input semaphore nu┆ 0x24ae0…24b00 6d 62 65 72 20 32 2e 0d 0a 09 20 20 20 6f 77 6e 5f 62 75 66 5f 73 65 6d 09 3a 20 55 73 65 64 20 ┆mber 2. own_buf_sem : Used ┆ 0x24b00…24b20 74 6f 20 71 75 65 75 65 20 58 2e 32 35 20 6f 75 74 70 75 74 20 68 65 61 64 65 72 73 2e 0d 0a 09 ┆to queue X.25 output headers. ┆ 0x24b20…24b40 20 20 20 72 64 61 74 61 5f 73 65 6d 09 3a 20 84 55 73 65 64 20 74 6f 20 71 75 65 75 65 20 64 65 ┆ rdata_sem : Used to queue de┆ 0x24b40…24b60 64 69 63 61 74 65 64 20 69 6e 70 75 74 20 62 75 66 66 65 72 73 20 66 72 6f 6d 20 0a 19 9f 80 80 ┆dicated input buffers from ┆ 0x24b60…24b80 74 68 65 20 75 73 65 72 2e 0d 0a 09 20 20 20 73 5f 73 64 61 74 61 5f 73 65 6d 09 3a 20 84 55 73 ┆the user. s_sdata_sem : Us┆ 0x24b80…24ba0 65 64 20 74 6f 20 71 75 65 75 65 20 6e 6f 74 20 79 65 74 20 70 72 6f 63 65 73 73 65 64 20 75 73 ┆ed to queue not yet processed us┆ 0x24ba0…24bc0 65 72 20 0a 19 9f 80 80 64 74 65 5f 73 65 6e 64 5f 64 61 74 61 20 6d 65 73 73 61 67 65 73 2e 0d ┆er dte_send_data messages. ┆ 0x24bc0…24be0 0a 09 20 20 20 73 5f 73 69 6e 74 5f 73 65 6d 09 3a 20 84 55 73 65 64 20 74 6f 20 71 75 65 75 65 ┆ s_sint_sem : Used to queue┆ 0x24be0…24c00 20 6e 6f 74 20 79 65 74 20 70 72 6f 63 65 73 73 65 64 20 75 73 65 72 20 0a 19 9f 80 80 64 74 65 ┆ not yet processed user dte┆ 0x24c00…24c20 (294,) 5f 73 65 6e 64 5f 69 6e 74 72 75 70 74 20 6d 65 73 73 61 67 65 73 2e 0d 0a 09 20 20 20 74 69 6d ┆_send_intrupt messages. tim┆ 0x24c20…24c40 65 72 5f 73 65 6d 09 3a 20 41 6e 73 77 65 72 20 73 65 6d 61 70 68 6f 72 65 20 66 6f 72 20 74 69 ┆er_sem : Answer semaphore for ti┆ 0x24c40…24c60 6d 65 72 20 72 65 71 75 65 73 74 73 2e 0d 0a 09 20 20 20 75 73 65 72 5f 69 6e 74 5f 73 65 6d 09 ┆mer requests. user_int_sem ┆ 0x24c60…24c80 3a 20 84 4c 6f 63 61 6c 20 69 6e 70 75 74 20 73 65 6d 61 70 68 6f 72 65 20 66 6f 72 20 75 73 65 ┆: Local input semaphore for use┆ 0x24c80…24ca0 72 20 0a 19 9f 80 80 64 74 65 5f 73 65 6e 64 5f 69 6e 74 72 75 70 74 20 6d 65 73 73 61 67 65 73 ┆r dte_send_intrupt messages┆ 0x24ca0…24cc0 2e 0d 0a 09 20 20 20 77 5f 73 69 6e 74 5f 73 65 6d 09 3a 20 84 48 6f 6c 64 73 20 6f 6e 65 20 75 ┆. w_sint_sem : Holds one u┆ 0x24cc0…24ce0 6e 61 63 6b 6e 6f 77 6c 65 64 67 65 20 75 73 65 72 20 0a 19 9f 80 80 64 74 65 5f 73 65 6e 64 5f ┆nacknowledge user dte_send_┆ 0x24ce0…24d00 69 6e 74 72 75 70 74 20 6d 65 73 73 61 67 65 2e 0d 0a 09 20 20 20 77 5f 78 32 35 64 61 74 61 5f ┆intrupt message. w_x25data_┆ 0x24d00…24d20 73 65 6d 09 3a 20 84 55 73 65 64 20 74 6f 20 74 65 6d 70 6f 72 61 72 79 20 71 75 65 75 65 20 58 ┆sem : Used to temporary queue X┆ 0x24d20…24d40 2e 32 35 20 44 41 54 41 20 70 61 63 6b 65 74 73 20 0a 19 9f 80 80 28 72 65 63 65 69 76 65 64 29 ┆.25 DATA packets (received)┆ 0x24d40…24d60 20 69 6e 20 73 74 61 74 65 20 6e 64 74 65 2e 0d 0a 09 20 20 20 6c 6f 63 61 6c 5f 69 6e 2e 70 74 ┆ in state ndte. local_in.pt┆ 0x24d60…24d80 72 09 3a 20 84 53 65 6d 61 70 68 6f 72 65 20 70 6f 69 6e 74 65 72 20 74 6f 20 74 68 65 20 61 63 ┆r : Semaphore pointer to the ac┆ 0x24d80…24da0 74 75 61 6c 20 6c 6f 63 61 6c 20 69 6e 70 75 74 20 0a 19 9f 80 80 73 65 6d 61 70 68 6f 72 65 2e ┆tual local input semaphore.┆ 0x24da0…24dc0 0d 0a 0d 0a 0d 0a 8c 80 a9 0a b0 09 a1 52 45 46 45 52 45 4e 43 45 53 0d 0a 0d 0a 09 20 20 20 62 ┆ REFERENCES b┆ 0x24dc0…24de0 6f 6f 6b 5f 75 70 64 5f 72 65 66 09 3a 20 48 6f 6c 64 73 20 61 6e 20 74 69 6d 65 72 20 62 6f 6f ┆ook_upd_ref : Holds an timer boo┆ 0x24de0…24e00 6b 69 6e 67 2f 75 70 64 61 74 69 6e 67 20 6d 65 73 73 61 67 65 2e 0d 0a 09 20 20 20 65 76 65 6e ┆king/updating message. even┆ 0x24e00…24e20 (295,) 74 5f 72 65 66 09 3a 20 57 6f 72 6b 69 6e 67 20 72 65 66 65 72 65 6e 63 65 20 64 75 72 69 6e 67 ┆t_ref : Working reference during┆ 0x24e20…24e40 20 65 76 65 6e 74 20 67 65 6e 65 72 61 74 69 6f 6e 2e 0d 0a 09 20 20 20 6b 65 79 5f 72 65 66 09 ┆ event generation. key_ref ┆ 0x24e40…24e60 3a 20 84 48 6f 6c 64 73 20 74 68 65 20 6b 65 79 20 6d 65 73 73 61 67 65 20 64 75 72 69 6e 67 20 ┆: Holds the key message during ┆ 0x24e60…24e80 62 75 66 66 65 72 20 70 6f 6f 6c 20 61 63 80 0a 19 9f 80 80 63 65 73 73 2e 0d 0a 09 20 20 20 6d ┆buffer pool ac cess. m┆ 0x24e80…24ea0 65 73 73 5f 72 65 66 09 3a 20 48 6f 6c 64 73 20 74 68 65 20 6d 65 73 73 61 67 65 20 75 6e 64 65 ┆ess_ref : Holds the message unde┆ 0x24ea0…24ec0 72 20 70 72 6f 63 65 73 73 69 6e 67 2e 0d 0a 09 20 20 20 72 65 71 5f 72 65 66 09 3a 20 57 6f 72 ┆r processing. req_ref : Wor┆ 0x24ec0…24ee0 6b 69 6e 67 20 72 65 66 65 72 65 6e 63 65 2e 0d 0a 09 20 20 20 72 65 73 65 74 5f 72 65 66 09 3a ┆king reference. reset_ref :┆ 0x24ee0…24f00 20 84 55 73 65 64 20 74 6f 20 74 65 6d 70 6f 72 61 72 79 20 71 75 65 75 65 20 61 20 75 73 65 72 ┆ Used to temporary queue a user┆ 0x24f00…24f20 20 64 74 65 5f 72 65 73 65 74 5f 72 65 71 20 0a 19 9f 80 80 6f 72 20 64 74 65 5f 73 79 6e 63 5f ┆ dte_reset_req or dte_sync_┆ 0x24f20…24f40 73 74 72 65 61 6d 20 6d 65 73 73 61 67 65 2e 0d 0a 09 20 20 20 73 79 6e 63 5f 72 65 66 09 3a 20 ┆stream message. sync_ref : ┆ 0x24f40…24f60 48 6f 6c 64 73 20 74 68 65 20 73 79 6e 63 68 72 6f 6e 69 7a 61 74 69 6f 6e 20 6d 65 73 73 61 67 ┆Holds the synchronization messag┆ 0x24f60…24f80 65 2e 0d 0a 09 20 20 20 74 69 6d 65 72 5f 72 65 66 09 3a 20 57 6f 72 6b 69 6e 67 20 72 65 66 65 ┆e. timer_ref : Working refe┆ 0x24f80…24fa0 72 65 6e 63 65 20 64 75 72 69 6e 67 20 73 74 61 72 74 20 6f 66 20 61 20 74 69 6d 65 72 2e 0d 0a ┆rence during start of a timer. ┆ 0x24fa0…24fc0 09 20 20 20 75 73 65 72 5f 72 65 66 09 3a 20 84 55 73 65 64 20 74 6f 20 74 65 6d 70 6f 72 61 72 ┆ user_ref : Used to temporar┆ 0x24fc0…24fe0 79 20 71 75 65 75 65 20 61 20 75 73 65 72 20 64 74 65 5f 63 61 6c 6c 5f 72 65 71 20 0a 19 9f 80 ┆y queue a user dte_call_req ┆ 0x24fe0…25000 80 6f 72 20 64 74 65 5f 63 6c 65 61 72 5f 72 65 71 20 6d 65 73 73 61 67 65 2e 0d 0a 09 20 20 20 ┆ or dte_clear_req message. ┆ 0x25000…25020 (296,) 77 61 69 74 5f 62 75 66 09 3a 20 57 6f 72 6b 69 6e 67 20 72 65 66 65 72 65 6e 63 65 20 64 75 72 ┆wait_buf : Working reference dur┆ 0x25020…25040 69 6e 67 20 62 75 66 66 65 72 20 72 65 71 75 65 73 74 73 2e 0d 0a 09 20 20 20 77 6f 72 6b 72 65 ┆ing buffer requests. workre┆ 0x25040…25060 66 09 3a 20 57 6f 72 6b 69 6e 67 20 72 65 66 65 72 65 6e 63 65 2e 0d 0a 09 20 20 20 78 32 35 5f ┆f : Working reference. x25_┆ 0x25060…25080 72 65 66 09 3a 20 48 6f 6c 64 73 20 74 65 6d 70 6f 72 61 72 79 20 74 68 65 20 58 2e 32 35 20 6f ┆ref : Holds temporary the X.25 o┆ 0x25080…250a0 75 74 70 75 74 20 62 75 66 66 65 72 2e 0d 0a 09 20 20 20 6e 6f 74 5f 61 63 6b 5f 64 61 74 61 28 ┆utput buffer. not_ack_data(┆ 0x250a0…250c0 6e 29 2e 0d 0a 09 20 20 20 62 75 66 5f 72 65 66 20 20 20 20 20 20 20 20 20 20 3a 20 84 48 6f 6c ┆n). buf_ref : Hol┆ 0x250c0…250e0 64 73 20 61 20 72 65 74 75 72 6e 65 64 20 62 75 74 20 79 65 74 20 6e 6f 74 20 61 63 6b 6e 6f 77 ┆ds a returned but yet not acknow┆ 0x250e0…25100 6c 65 64 67 65 20 0a 19 9f 80 80 75 73 65 72 20 64 74 65 5f 73 65 6e 64 5f 64 61 74 61 20 62 75 ┆ledge user dte_send_data bu┆ 0x25100…25120 66 66 65 72 2e 20 54 68 65 20 62 75 66 66 65 72 20 69 73 20 72 65 80 0a 19 9f 80 80 74 75 72 6e ┆ffer. The buffer is re turn┆ 0x25120…25140 65 64 20 77 68 65 6e 20 61 6c 6c 20 70 72 65 63 69 64 69 6e 67 20 27 70 61 63 6b 65 74 73 27 20 ┆ed when all preciding 'packets' ┆ 0x25140…25160 61 6e 64 20 69 74 20 0a 19 9f 80 80 73 65 6c 66 20 61 72 65 20 61 63 6b 6e 6f 77 6c 65 64 67 65 ┆and it self are acknowledge┆ 0x25160…25180 2e 0d 0a 0d 0a a1 34 2e 36 2e 34 09 44 61 74 61 20 53 74 72 75 63 74 75 72 65 73 2e 0d 0a 0d 0a ┆. 4.6.4 Data Structures. ┆ 0x25180…251a0 09 84 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 64 61 74 61 20 73 74 72 75 63 74 75 72 65 73 20 ┆ The following data structures ┆ 0x251a0…251c0 75 73 65 64 20 69 6e 20 74 68 65 20 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 20 61 72 65 ┆used in the dte_chan process are┆ 0x251c0…251e0 20 64 65 80 0a 19 89 80 80 73 63 72 69 62 65 64 20 65 6c 73 65 77 68 65 72 65 2e 0d 0a 0d 0a 09 ┆ de scribed elsewhere. ┆ 0x251e0…25200 20 20 20 64 74 65 5f 74 69 6d 65 72 73 09 73 65 63 74 69 6f 6e 20 34 2e 31 2e 34 0d 0a 09 20 20 ┆ dte_timers section 4.1.4 ┆ 0x25200…25220 (297,) 20 78 32 35 5f 70 61 72 61 6d 09 73 65 63 74 69 6f 6e 20 34 2e 31 2e 31 2e 33 0d 0a 09 20 20 20 ┆ x25_param section 4.1.1.3 ┆ 0x25220…25240 73 61 76 5f 78 32 35 5f 70 61 72 61 6d 09 73 65 63 74 69 6f 6e 20 34 2e 31 2e 31 2e 33 0d 0a 09 ┆sav_x25_param section 4.1.1.3 ┆ 0x25240…25260 20 20 20 74 65 73 74 62 75 66 09 73 65 63 74 69 6f 6e 20 36 2e 32 2e 34 2e 33 0d 0a 0d 0a 09 84 ┆ testbuf section 6.2.4.3 ┆ 0x25260…25280 54 68 65 20 76 61 72 69 61 62 6c 65 20 64 74 65 5f 74 69 6d 65 72 73 20 69 73 20 61 6e 20 61 72 ┆The variable dte_timers is an ar┆ 0x25280…252a0 72 61 79 20 6f 66 20 37 20 65 6c 65 6d 65 6e 74 73 2c 20 77 68 65 72 65 20 65 61 63 68 20 65 6c ┆ray of 7 elements, where each el┆ 0x252a0…252c0 65 80 0a 19 89 80 80 6d 65 6e 74 20 69 73 20 64 65 73 63 72 69 62 65 64 20 69 6e 20 73 65 63 74 ┆e ment is described in sect┆ 0x252c0…252e0 69 6f 6e 20 34 2e 31 2e 34 2e 0d 0a 0d 0a 09 84 42 65 73 69 64 65 73 20 74 68 65 73 65 20 74 68 ┆ion 4.1.4. Besides these th┆ 0x252e0…25300 65 20 62 65 6c 6f 77 20 64 65 73 63 72 69 62 65 64 20 64 61 74 61 20 73 74 72 75 63 74 75 72 65 ┆e below described data structure┆ 0x25300…25320 73 20 61 72 65 20 69 6d 70 6f 72 74 61 6e 74 20 0a 19 89 80 80 66 6f 72 20 75 6e 64 65 72 73 74 ┆s are important for underst┆ 0x25320…25340 61 6e 64 69 6e 67 20 74 68 65 20 69 6e 74 65 72 6e 61 6c 20 73 74 72 75 63 74 75 72 65 20 61 6e ┆anding the internal structure an┆ 0x25340…25360 64 20 77 6f 72 6b 20 6f 66 20 74 68 65 20 64 74 65 5f 63 68 61 6e 20 0a 19 89 80 80 70 72 6f 63 ┆d work of the dte_chan proc┆ 0x25360…25380 65 73 73 2e 0d 0a 0d 0a 8c 80 a8 0a 09 63 68 61 6e 5f 72 65 63 09 09 3a 20 84 52 65 63 6f 72 64 ┆ess. chan_rec : Record┆ 0x25380…253a0 20 63 6f 6e 74 61 69 6e 69 6e 67 20 61 6c 6c 20 72 65 6c 65 76 61 6e 74 20 69 6e 66 6f 72 6d 61 ┆ containing all relevant informa┆ 0x253a0…253c0 74 69 6f 6e 20 0a 19 9f 80 80 63 6f 6e 63 65 72 6e 69 6e 67 20 74 68 65 20 61 63 74 75 61 6c 20 ┆tion concerning the actual ┆ 0x253c0…253e0 73 65 72 76 69 63 65 64 20 6c 6f 67 69 63 61 6c 20 63 68 61 6e 80 0a 19 9f 80 80 6e 65 6c 2e 20 ┆serviced logical chan nel. ┆ 0x253e0…25400 54 68 65 20 74 79 70 65 20 69 73 20 63 68 5f 72 65 63 5f 74 79 70 65 2e 0d 0a 0d 0a 09 63 68 5f ┆The type is ch_rec_type. ch_┆ 0x25400…25420 (298,) 72 65 63 5f 74 79 70 65 20 3d 20 72 65 63 6f 72 64 0d 0a 09 20 20 20 09 20 20 20 20 20 20 63 68 ┆rec_type = record ch┆ 0x25420…25440 61 6e 5f 73 74 61 74 65 09 3a 20 63 5f 73 74 61 74 65 5f 74 79 70 65 3b 0d 0a 09 20 20 20 09 20 ┆an_state : c_state_type; ┆ 0x25440…25460 20 20 20 20 20 73 65 6d 5f 69 6e 64 65 78 09 3a 20 69 6e 74 65 67 65 72 3b 0d 0a 09 20 20 20 09 ┆ sem_index : integer; ┆ 0x25460…25480 20 20 20 20 20 20 73 74 72 65 61 6d 5f 6e 6f 09 3a 20 62 79 74 65 3b 0d 0a 09 20 20 20 09 20 20 ┆ stream_no : byte; ┆ 0x25480…254a0 20 20 20 20 6c 6f 63 61 6c 5f 75 73 65 72 09 3a 20 6c 6f 63 61 6c 5f 61 64 72 5f 74 79 70 65 3b ┆ local_user : local_adr_type;┆ 0x254a0…254c0 0d 0a 09 20 20 20 09 20 20 20 20 20 20 75 73 65 72 5f 6e 6f 2c 0d 0a 09 20 20 20 09 20 20 20 20 ┆ user_no, ┆ 0x254c0…254e0 20 20 6d 75 6c 74 69 5f 62 75 66 66 65 72 2c 0d 0a 09 20 20 20 09 20 20 20 20 20 20 72 63 76 5f ┆ multi_buffer, rcv_┆ 0x254e0…25500 62 75 66 5f 74 79 70 65 09 3a 20 62 79 74 65 3b 0d 0a 09 20 20 20 09 20 20 20 20 20 20 73 5f 70 ┆buf_type : byte; s_p┆ 0x25500…25520 72 69 6f 09 3a 20 30 2e 2e 37 3b 0d 0a 09 20 20 20 09 20 20 20 20 20 20 72 65 6d 6f 74 65 5f 64 ┆rio : 0..7; remote_d┆ 0x25520…25540 74 65 09 3a 20 61 64 72 5f 72 65 63 5f 74 79 70 65 3b 0d 0a 09 20 20 20 09 20 20 20 20 20 20 77 ┆te : adr_rec_type; w┆ 0x25540…25560 5f 72 65 63 09 3a 20 77 69 6e 64 6f 77 5f 72 65 63 5f 64 65 73 63 3b 0d 0a 09 20 20 20 09 20 20 ┆_rec : window_rec_desc; ┆ 0x25560…25580 20 20 20 20 74 33 30 5f 6e 6f 72 6d 2c 0d 0a 09 20 20 20 09 20 20 20 20 20 20 61 63 6b 5f 74 69 ┆ t30_norm, ack_ti┆ 0x25580…255a0 6d 65 72 09 3a 20 69 6e 74 65 67 65 72 3b 0d 0a 09 20 20 20 09 20 20 20 20 20 20 73 74 72 65 61 ┆mer : integer; strea┆ 0x255a0…255c0 6d 5f 73 74 61 74 75 73 09 3a 20 73 74 61 74 5f 72 65 63 5f 74 79 70 65 3b 0d 0a 09 20 20 20 09 ┆m_status : stat_rec_type; ┆ 0x255c0…255e0 20 20 20 20 20 20 66 5f 66 69 65 6c 64 5f 6c 67 74 68 09 3a 20 62 79 74 65 3b 0d 0a 09 20 20 20 ┆ f_field_lgth : byte; ┆ 0x255e0…25600 09 20 20 20 20 20 20 66 5f 66 69 65 6c 64 09 3a 20 66 61 63 69 5f 74 79 70 65 3b 0d 0a 09 09 20 ┆ f_field : faci_type; ┆ 0x25600…25620 (299,) 20 20 20 65 6e 64 3b 0d 0a 0d 0a 09 20 20 20 63 68 61 6e 5f 73 74 61 74 65 09 3a 20 84 53 74 61 ┆ end; chan_state : Sta┆ 0x25620…25640 74 65 20 6f 66 20 74 68 65 20 6c 6f 67 69 63 61 6c 20 63 68 61 6e 6e 65 6c 20 76 69 65 77 65 64 ┆te of the logical channel viewed┆ 0x25640…25660 20 62 79 20 74 68 65 20 0a 19 9f 80 80 44 54 45 20 28 73 65 65 20 73 75 62 73 65 63 74 69 6f 6e ┆ by the DTE (see subsection┆ 0x25660…25680 20 34 2e 36 2e 32 29 2e 0d 0a 09 20 20 20 73 65 6d 5f 69 6e 64 65 78 09 3a 20 84 49 6e 64 65 78 ┆ 4.6.2). sem_index : Index┆ 0x25680…256a0 20 74 6f 20 74 68 65 20 64 74 65 5f 63 68 61 6e 78 78 78 20 6d 61 69 6e 20 73 65 6d 61 70 68 6f ┆ to the dte_chanxxx main semapho┆ 0x256a0…256c0 72 65 20 0a 19 9f 80 80 61 72 65 61 20 28 73 65 65 20 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 31 ┆re area (see subsection 4.1┆ 0x256c0…256e0 2e 31 2e 32 29 2e 0d 0a 09 20 20 20 73 74 72 65 61 6d 5f 6e 6f 09 3a 20 84 54 68 65 20 61 73 73 ┆.1.2). stream_no : The ass┆ 0x256e0…25700 6f 63 69 61 74 65 64 20 73 74 72 65 61 6d 20 6e 75 6d 62 65 72 20 28 73 65 65 20 73 75 62 73 65 ┆ociated stream number (see subse┆ 0x25700…25720 63 74 69 6f 6e 20 0a 19 9f 80 80 34 2e 31 2e 35 29 2e 0d 0a 09 20 20 20 6c 6f 63 61 6c 5f 75 73 ┆ction 4.1.5). local_us┆ 0x25720…25740 65 72 09 3a 20 84 54 68 65 20 69 64 65 6e 74 69 66 69 63 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 ┆er : The identification of the ┆ 0x25740…25760 75 73 65 72 20 69 6e 20 73 65 6d 69 20 6f 63 80 0a 19 9f 80 80 74 65 74 73 20 61 6e 64 20 74 68 ┆user in semi oc tets and th┆ 0x25760…25780 65 20 6c 65 6e 67 74 68 20 6f 66 20 74 68 69 73 20 69 64 65 6e 74 69 66 69 63 61 74 69 6f 6e 20 ┆e length of this identification ┆ 0x25780…257a0 0a 19 9f 80 80 28 73 65 65 20 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 31 2e 36 29 2e 0d 0a 09 20 ┆ (see subsection 4.1.6). ┆ 0x257a0…257c0 20 20 75 73 65 72 5f 6e 6f 09 3a 20 55 73 65 72 20 6e 75 6d 62 65 72 20 69 6e 20 74 68 65 20 44 ┆ user_no : User number in the D┆ 0x257c0…257e0 54 45 2e 0d 0a 09 20 20 20 6d 75 6c 74 69 5f 62 75 66 66 65 72 09 3a 20 84 54 68 65 20 69 6e 64 ┆TE. multi_buffer : The ind┆ 0x257e0…25800 69 63 61 74 65 64 20 28 62 79 20 75 73 65 72 29 20 6d 61 78 69 6d 75 6d 20 64 65 67 72 65 65 20 ┆icated (by user) maximum degree ┆ 0x25800…25820 (300,) 6f 66 20 0a 19 9f 80 80 6d 75 6c 74 69 62 75 66 66 65 72 69 6e 67 20 6f 6e 20 6f 75 74 70 75 74 ┆of multibuffering on output┆ 0x25820…25840 2e 0d 0a 09 20 20 20 72 65 76 5f 62 75 66 5f 74 79 70 65 09 3a 20 84 44 65 66 69 6e 65 73 20 74 ┆. rev_buf_type : Defines t┆ 0x25840…25860 68 65 20 74 79 70 65 20 6f 66 20 69 6e 70 75 74 20 62 75 66 66 65 72 73 2c 20 31 20 3d 20 64 65 ┆he type of input buffers, 1 = de┆ 0x25860…25880 64 69 80 0a 19 9f 80 80 63 61 74 65 64 20 69 6e 70 75 74 2c 20 30 20 3d 20 67 65 6e 65 72 61 6c ┆di cated input, 0 = general┆ 0x25880…258a0 20 69 6e 70 75 74 20 28 73 65 65 20 72 65 66 2e 20 0a 19 9f 80 80 28 33 29 29 2e 0d 0a 09 20 20 ┆ input (see ref. (3)). ┆ 0x258a0…258c0 20 73 5f 70 72 69 6f 09 09 3a 20 84 54 68 65 20 69 6e 64 69 63 61 74 65 64 20 70 72 69 6f 72 69 ┆ s_prio : The indicated priori┆ 0x258c0…258e0 74 79 20 64 69 76 69 64 65 64 20 62 79 20 33 32 20 74 6f 20 67 65 74 20 0a 19 9f 80 80 61 20 6e ┆ty divided by 32 to get a n┆ 0x258e0…25900 75 6d 62 65 72 20 69 6e 20 28 30 2e 2e 37 29 2c 20 77 68 69 63 68 20 69 73 20 61 63 63 65 70 74 ┆umber in (0..7), which is accept┆ 0x25900…25920 65 64 20 62 79 20 74 68 65 20 0a 19 9f 80 80 48 44 4c 43 20 64 72 69 76 65 72 2e 0d 0a 8c 80 a8 ┆ed by the HDLC driver. ┆ 0x25920…25940 0a 09 20 20 20 72 65 6d 6f 74 65 5f 64 74 65 09 3a 20 84 54 68 65 20 61 64 64 72 65 73 73 20 6f ┆ remote_dte : The address o┆ 0x25940…25960 66 20 74 68 65 20 72 65 6d 6f 74 65 20 44 54 45 20 28 73 65 65 20 73 75 62 73 65 63 80 0a 19 9f ┆f the remote DTE (see subsec ┆ 0x25960…25980 80 80 74 69 6f 6e 20 34 2e 31 2e 36 29 2e 0d 0a 09 20 20 20 77 5f 72 65 63 09 09 3a 20 84 52 65 ┆ tion 4.1.6). w_rec : Re┆ 0x25980…259a0 63 6f 72 64 20 63 6f 6e 74 61 69 6e 69 6e 67 20 61 6c 6c 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 ┆cord containing all information ┆ 0x259a0…259c0 66 6f 72 20 74 68 65 20 0a 19 9f 80 80 77 69 6e 64 6f 77 20 6d 65 63 68 61 6e 69 73 6d 20 28 73 ┆for the window mechanism (s┆ 0x259c0…259e0 65 65 20 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 36 2e 38 29 2e 0d 0a 09 20 20 20 74 33 30 5f 6e ┆ee subsection 4.6.8). t30_n┆ 0x259e0…25a00 6f 72 6d 09 3a 20 54 68 65 20 76 61 6c 75 65 20 6f 66 20 74 33 30 20 28 69 64 6c 65 20 74 69 6d ┆orm : The value of t30 (idle tim┆ 0x25a00…25a20 (301,) 65 72 29 2e 0d 0a 09 20 20 20 61 63 6b 5f 74 69 6d 65 72 09 3a 20 84 54 68 65 20 76 61 6c 75 65 ┆er). ack_timer : The value┆ 0x25a20…25a40 20 6f 66 20 61 63 6b 6e 6f 77 6c 65 64 67 65 20 74 69 6d 65 72 2e 20 54 68 69 73 20 69 73 20 75 ┆ of acknowledge timer. This is u┆ 0x25a40…25a60 73 65 64 20 0a 19 9f 80 80 74 6f 20 73 70 65 63 69 66 79 20 74 68 65 20 6d 61 78 69 6d 75 6d 20 ┆sed to specify the maximum ┆ 0x25a60…25a80 74 69 6d 65 72 20 70 65 72 69 6f 64 20 66 72 6f 6d 20 72 65 80 0a 19 9f 80 80 63 65 69 76 61 6c ┆timer period from re ceival┆ 0x25a80…25aa0 20 6f 66 20 61 20 70 61 63 6b 65 74 20 74 6f 20 69 74 20 69 73 20 61 63 6b 6e 6f 77 6c 65 64 67 ┆ of a packet to it is acknowledg┆ 0x25aa0…25ac0 65 64 2e 0d 0a 09 20 20 20 73 74 72 65 61 6d 5f 73 74 61 74 75 73 09 3a 20 84 52 65 63 6f 72 64 ┆ed. stream_status : Record┆ 0x25ac0…25ae0 20 63 6f 6e 74 61 69 6e 69 6e 67 20 73 74 72 65 61 6d 2f 63 68 61 6e 6e 65 6c 20 73 74 61 74 75 ┆ containing stream/channel statu┆ 0x25ae0…25b00 73 20 69 6e 80 0a 19 9f 80 80 66 6f 72 6d 61 74 69 6f 6e 20 66 6f 72 20 69 6e 74 65 72 6e 61 6c ┆s in formation for internal┆ 0x25b00…25b20 20 75 73 65 2e 20 54 68 65 20 74 79 70 65 20 69 73 20 64 65 80 0a 19 9f 80 80 66 69 6e 65 64 20 ┆ use. The type is de fined ┆ 0x25b20…25b40 69 6e 20 74 68 65 20 65 78 74 65 72 6e 61 6c 20 44 54 45 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 ┆in the external DTE environment ┆ 0x25b40…25b60 0a 19 9f 80 80 58 44 54 45 45 4e 56 20 28 61 70 70 65 6e 64 69 78 20 42 2e 32 29 2e 0d 0a 09 20 ┆ XDTEENV (appendix B.2). ┆ 0x25b60…25b80 20 20 66 5f 66 69 65 6c 64 5f 6c 67 74 68 09 3a 20 58 2e 32 35 20 66 61 63 69 6c 69 74 79 20 66 ┆ f_field_lgth : X.25 facility f┆ 0x25b80…25ba0 69 65 6c 64 20 6c 65 6e 67 74 68 2e 0d 0a 09 20 20 20 66 5f 66 69 65 6c 64 09 3a 20 58 2e 32 35 ┆ield length. f_field : X.25┆ 0x25ba0…25bc0 20 66 61 63 69 6c 69 74 69 65 73 2e 0d 0a 0d 0a 0d 0a 09 6e 6f 74 5f 61 63 6b 5f 64 61 74 61 09 ┆ facilities. not_ack_data ┆ 0x25bc0…25be0 3a 20 84 54 68 69 73 20 72 65 63 6f 72 64 20 73 74 72 75 63 74 75 72 65 20 69 73 20 75 73 65 64 ┆: This record structure is used┆ 0x25be0…25c00 20 74 6f 20 73 65 63 75 72 65 20 74 68 61 74 20 0a 19 9f 80 80 74 68 65 20 75 73 65 72 20 6f 75 ┆ to secure that the user ou┆ 0x25c00…25c20 (302,) 74 70 75 74 20 62 75 66 66 65 72 73 20 61 72 65 20 72 65 74 75 72 6e 65 64 20 69 6e 20 74 68 65 ┆tput buffers are returned in the┆ 0x25c20…25c40 20 0a 19 9f 80 80 73 61 6d 65 20 73 65 71 75 65 6e 63 65 20 61 73 20 72 65 63 65 69 76 65 64 20 ┆ same sequence as received ┆ 0x25c40…25c60 61 6e 64 20 6f 6e 6c 79 20 77 68 65 6e 20 74 68 65 79 20 0a 19 9f 80 80 61 72 65 20 61 63 6b 6e ┆and only when they are ackn┆ 0x25c60…25c80 6f 77 6c 65 64 67 65 64 20 62 79 20 74 68 65 20 44 43 45 2e 20 54 68 65 20 74 79 70 65 20 61 6e ┆owledged by the DCE. The type an┆ 0x25c80…25ca0 64 20 0a 19 9f 80 80 66 75 6e 63 74 69 6f 6e 20 61 72 65 20 64 65 73 63 72 69 62 65 64 20 69 6e ┆d function are described in┆ 0x25ca0…25cb6 20 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 36 2e 39 2e 0d 0a 0d 0a ┆ subsection 4.6.9. ┆ 0x25cb6…25cb9 FormFeed { 0x25cb6…25cb9 0c 80 96 ┆ ┆ 0x25cb6…25cb9 } 0x25cb9…25cc0 0a a1 34 2e 36 2e 35 ┆ 4.6.5┆ 0x25cc0…25ce0 09 53 65 6d 61 70 68 6f 72 65 73 20 61 6e 64 20 4d 65 73 73 61 67 65 20 46 6c 6f 77 2e 0d 0a 0d ┆ Semaphores and Message Flow. ┆ 0x25ce0…25d00 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d ┆ ┆ […0x1…] 0x25d20…25d40 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 46 69 67 75 72 65 20 33 34 3a 20 46 6c 6f 77 20 6f 66 20 6d 65 73 ┆ Figure 34: Flow of mes┆ 0x25d40…25d5d 73 61 67 65 73 20 74 6f 20 61 6e 64 20 66 72 6f 6d 20 64 74 65 5f 63 68 61 6e 2e 0d 0a ┆sages to and from dte_chan. ┆ 0x25d5d…25d60 FormFeed { 0x25d5d…25d60 0c 80 a7 ┆ ┆ 0x25d5d…25d60 } 0x25d60…25d80 0a a1 34 2e 36 2e 36 09 4f 76 65 72 76 69 65 77 20 6f 66 20 50 72 6f 63 65 73 73 20 4f 70 65 72 ┆ 4.6.6 Overview of Process Oper┆ 0x25d80…25da0 61 74 69 6f 6e 2e 0d 0a 0d 0a 09 84 49 6e 20 74 68 69 73 20 73 65 63 74 69 6f 6e 20 61 6e 20 6f ┆ation. In this section an o┆ 0x25da0…25dc0 76 65 72 76 69 65 77 20 6f 66 20 74 68 65 20 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 20 ┆verview of the dte_chan process ┆ 0x25dc0…25de0 6f 70 65 72 61 74 69 6f 6e 20 69 73 20 0a 19 89 80 80 6f 75 74 6c 69 6e 65 64 20 65 69 74 68 65 ┆operation is outlined eithe┆ 0x25de0…25e00 72 20 61 73 20 66 6c 6f 77 63 68 61 72 74 73 20 6f 72 20 69 6e 20 70 73 65 75 64 6f 20 52 65 61 ┆r as flowcharts or in pseudo Rea┆ 0x25e00…25e20 (303,) 6c 2d 54 69 6d 65 20 50 61 73 63 61 6c 20 63 6f 64 65 20 0a 19 89 80 80 6f 72 20 69 6e 20 6e 61 ┆l-Time Pascal code or in na┆ 0x25e20…25e2f 74 75 72 61 6c 20 74 65 78 74 2e 0d 0a 0d 0a ┆tural text. ┆ 0x25e2f…25e32 FormFeed { 0x25e2f…25e32 0c 80 86 ┆ ┆ 0x25e2f…25e32 } 0x25e32…25e40 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d ┆ ┆ 0x25e40…25e60 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d ┆ ┆ 0x25e60…25e80 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 ┆ ┆ 0x25e80…25ea0 46 69 67 75 72 65 20 33 35 3a 20 50 72 6f 63 65 73 73 20 64 74 65 5f 63 68 61 6e 2c 20 6d 61 69 ┆Figure 35: Process dte_chan, mai┆ 0x25ea0…25eae 6e 20 66 6c 6f 77 63 68 61 72 74 2e 0d 0a ┆n flowchart. ┆ 0x25eae…25eb1 FormFeed { 0x25eae…25eb1 0c 80 a7 ┆ ┆ 0x25eae…25eb1 } 0x25eb1…25ec0 0a 09 84 41 73 20 73 68 6f 77 6e 20 69 6e 20 ┆ As shown in ┆ 0x25ec0…25ee0 74 68 65 20 66 6c 6f 77 63 68 61 72 74 20 28 66 69 67 75 72 65 20 33 35 29 20 74 68 65 20 69 6e ┆the flowchart (figure 35) the in┆ 0x25ee0…25f00 69 74 69 61 6c 69 7a 61 74 69 6f 6e 20 69 73 20 73 65 70 65 80 0a 19 89 80 80 72 61 74 65 64 20 ┆itialization is sepe rated ┆ 0x25f00…25f20 69 6e 20 74 77 6f 20 70 61 72 74 2c 20 6f 6e 65 20 63 6f 6e 63 65 72 6e 69 6e 67 20 67 65 6e 65 ┆in two part, one concerning gene┆ 0x25f20…25f40 72 61 6c 20 70 72 6f 63 65 73 73 20 76 61 72 69 61 62 6c 65 73 20 28 50 41 52 54 20 0a 19 89 80 ┆ral process variables (PART ┆ 0x25f40…25f60 80 28 41 29 29 20 61 6e 64 20 6f 6e 65 20 63 6f 6e 63 65 72 6e 69 6e 67 20 6c 6f 67 69 63 61 6c ┆ (A)) and one concerning logical┆ 0x25f60…25f80 20 63 68 61 6e 6e 65 6c 20 76 61 72 69 61 62 6c 65 73 20 28 50 41 52 54 20 28 42 29 29 2e 0d 0a ┆ channel variables (PART (B)). ┆ 0x25f80…25fa0 0d 0a 0d 0a b0 50 41 52 54 20 28 41 29 3a 0d 0a 0d 0a 09 67 65 6e 65 72 61 6c 20 70 72 6f 63 65 ┆ PART (A): general proce┆ 0x25fa0…25fc0 73 73 20 76 61 72 69 61 62 6c 65 73 3a 0d 0a 09 20 20 20 2d 20 63 68 61 6e 5f 72 65 63 2e 63 68 ┆ss variables: - chan_rec.ch┆ 0x25fc0…25fe0 61 6e 5f 73 74 61 74 65 20 20 28 66 6f 72 20 74 65 73 74 20 70 75 72 70 6f 73 65 29 0d 0a 09 20 ┆an_state (for test purpose) ┆ 0x25fe0…26000 20 20 2d 20 74 69 6d 65 72 2d 20 61 6e 64 20 62 75 66 66 65 72 20 61 6c 6c 6f 63 61 74 69 6f 6e ┆ - timer- and buffer allocation┆ 0x26000…26020 (304,) 20 6d 65 73 73 61 67 65 73 0d 0a 09 20 20 20 2d 20 6c 6f 63 61 6c 20 69 6e 70 75 74 20 73 65 6d ┆ messages - local input sem┆ 0x26020…26040 70 6f 69 6e 74 65 72 0d 0a 09 20 20 20 2d 20 74 65 73 74 20 62 75 66 66 65 72 20 70 6f 69 6e 74 ┆pointer - test buffer point┆ 0x26040…26060 65 72 73 0d 0a 09 20 20 20 2d 20 76 61 72 69 61 62 6c 65 20 63 68 61 6e 5f 61 63 74 69 76 65 20 ┆ers - variable chan_active ┆ 0x26060…26080 28 3a 3d 20 66 61 6c 73 65 29 2e 0d 0a 0d 0a 0d 0a b0 50 41 52 54 20 28 42 29 3a 0d 0a 0d 0a 20 ┆(:= false). PART (B): ┆ 0x26080…260a0 20 20 20 20 20 20 20 20 6c 6f 67 69 63 61 6c 20 63 68 61 6e 6e 65 6c 20 76 61 72 69 61 62 6c 65 ┆ logical channel variable┆ 0x260a0…260c0 73 3a 0d 0a 09 20 20 20 2d 20 73 70 65 63 69 61 6c 20 76 61 72 69 61 62 6c 65 73 0d 0a 09 20 20 ┆s: - special variables ┆ 0x260c0…260e0 20 2d 20 6e 6f 74 5f 61 63 6b 5f 64 61 74 61 0d 0a 09 20 20 20 2d 20 74 69 6d 65 72 20 61 72 72 ┆ - not_ack_data - timer arr┆ 0x260e0…26100 61 79 0d 0a 09 20 20 20 2d 20 63 68 61 6e 5f 72 65 63 0d 0a 09 20 20 20 2d 20 6c 6f 67 69 63 61 ┆ay - chan_rec - logica┆ 0x26100…26120 6c 20 67 72 6f 75 70 20 61 6e 64 20 6e 75 6d 62 65 72 20 69 6e 20 78 32 35 5f 70 61 72 61 6d 0d ┆l group and number in x25_param ┆ 0x26120…26140 0a 09 20 20 20 2d 20 77 69 6e 64 6f 77 20 76 61 72 69 61 62 6c 65 73 0d 0a 09 20 20 20 28 74 68 ┆ - window variables (th┆ 0x26140…26160 65 20 6c 61 73 74 20 74 68 72 65 65 20 66 72 6f 6d 20 74 68 65 20 73 79 6e 63 20 62 75 66 66 65 ┆e last three from the sync buffe┆ 0x26160…26167 72 29 2e 0d 0a 0d 0a ┆r). ┆ 0x26167…2616a FormFeed { 0x26167…2616a 0c 80 9a ┆ ┆ 0x26167…2616a } 0x2616a…26180 0a b0 50 41 52 54 20 28 43 29 3a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d ┆ PART (C): ┆ 0x26180…261a0 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d ┆ ┆ […0x1…] 0x261c0…261e0 0a 09 46 69 67 75 72 65 20 33 36 3a 20 50 72 6f 63 65 73 73 20 64 74 65 5f 63 68 61 6e 2c 20 70 ┆ Figure 36: Process dte_chan, p┆ 0x261e0…261f4 61 72 74 20 28 43 29 20 66 6c 6f 77 63 68 61 72 74 2e 0d 0a ┆art (C) flowchart. ┆ 0x261f4…261f7 FormFeed { 0x261f4…261f7 0c 80 a7 ┆ ┆ 0x261f4…261f7 } 0x261f7…26200 0a b0 50 41 52 54 20 28 44 ┆ PART (D┆ 0x26200…26220 (305,) 29 3a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆): ┆ 0x26220…26240 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ 0x26240…26260 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 46 69 67 75 72 65 20 33 37 3a 20 50 72 6f 63 65 73 ┆ Figure 37: Proces┆ 0x26260…26280 73 20 64 74 65 5f 63 68 61 6e 2c 20 70 61 72 74 20 28 44 29 20 66 6c 6f 77 63 68 61 72 74 2e 0d ┆s dte_chan, part (D) flowchart. ┆ 0x26280…26281 0a ┆ ┆ 0x26281…26284 FormFeed { 0x26281…26284 0c 80 a7 ┆ ┆ 0x26281…26284 } 0x26284…262a0 0a b0 81 50 41 52 54 20 28 45 29 3a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ PART (E): ┆ 0x262a0…262c0 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 46 69 67 75 72 65 20 33 38 3a 20 50 72 6f 63 65 73 73 20 ┆ Figure 38: Process ┆ 0x262c0…262e0 64 74 65 5f 63 68 61 6e 2c 20 70 61 72 74 20 28 45 29 20 66 6c 6f 77 63 68 61 72 74 2e 0d 0a 0d ┆dte_chan, part (E) flowchart. ┆ 0x262e0…26300 0a b0 50 41 52 54 20 28 46 29 3a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d ┆ PART (F): ┆ 0x26300…26320 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 46 69 67 75 72 65 ┆ Figure┆ 0x26320…26340 20 33 39 3a 20 50 72 6f 63 65 73 73 20 64 74 65 5f 63 68 61 6e 2c 20 70 61 72 74 20 28 46 29 20 ┆ 39: Process dte_chan, part (F) ┆ 0x26340…26350 66 6c 6f 77 63 68 61 72 74 2e 0d 0a 0d 0a 0d 0a ┆flowchart. ┆ 0x26350…26353 FormFeed { 0x26350…26353 0c 80 aa ┆ ┆ 0x26350…26353 } 0x26353…26360 0a b0 50 41 52 54 20 28 47 29 3a 0d 0a ┆ PART (G): ┆ 0x26360…26380 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ […0x1…] 0x263a0…263c0 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 46 69 67 75 72 65 20 34 30 3a 20 50 72 6f 63 65 73 73 20 64 74 ┆ Figure 40: Process dt┆ 0x263c0…263dd 65 5f 63 68 61 6e 2c 20 70 61 72 74 20 28 47 29 20 66 6c 6f 77 63 68 61 72 74 2e 0d 0a ┆e_chan, part (G) flowchart. ┆ 0x263dd…263e0 FormFeed { 0x263dd…263e0 0c 80 a7 ┆ ┆ 0x263dd…263e0 } 0x263e0…26400 0a b0 50 41 52 54 20 28 48 29 3a 0d 0a 0d 0a 09 84 49 66 20 67 65 6e 65 72 61 6c 20 69 6e 70 75 ┆ PART (H): If general inpu┆ 0x26400…26420 (306,) 74 20 69 73 20 75 73 65 64 20 74 68 65 20 6d 65 73 73 61 67 65 20 69 73 20 72 65 74 75 72 6e 65 ┆t is used the message is returne┆ 0x26420…26440 64 20 77 69 74 68 20 72 65 73 75 6c 74 20 0a 19 89 80 80 27 66 63 74 5f 6e 6f 74 5f 61 6c 6c 77 ┆d with result 'fct_not_allw┆ 0x26440…26460 27 2c 0d 0a 09 6f 74 68 65 72 77 69 73 65 0d 0a 09 2d 20 84 69 66 20 73 74 61 74 65 20 69 73 20 ┆', otherwise - if state is ┆ 0x26460…26480 77 61 69 74 69 6e 67 20 75 73 65 72 20 63 6f 6e 66 69 72 6d 61 74 69 6f 6e 20 28 78 72 65 73 65 ┆waiting user confirmation (xrese┆ 0x26480…264a0 74 2c 20 77 73 79 6e 63 2c 20 0a 19 8b 80 80 6e 64 63 65 5f 77 73 79 6e 63 2c 20 6e 64 74 65 5f ┆t, wsync, ndce_wsync, ndte_┆ 0x264a0…264c0 77 73 79 6e 63 2c 20 6e 64 63 74 65 77 73 79 6e 63 2c 20 65 72 65 73 65 74 29 20 74 68 65 20 6d ┆wsync, ndctewsync, ereset) the m┆ 0x264c0…264e0 65 73 73 61 67 65 20 69 73 20 72 65 80 0a 19 8b 80 80 74 75 72 6e 65 64 20 77 69 74 68 20 27 6e ┆essage is re turned with 'n┆ 0x264e0…26500 6f 74 5f 70 72 6f 63 65 73 73 65 64 27 2c 0d 0a 09 2d 20 84 69 66 20 73 74 61 74 65 20 69 73 20 ┆ot_processed', - if state is ┆ 0x26500…26520 64 74 65 20 6e 6f 74 20 72 65 61 64 79 20 61 6e 64 2f 6f 72 20 77 69 6e 64 6f 77 20 63 6c 6f 73 ┆dte not ready and/or window clos┆ 0x26520…26540 65 64 20 69 6e 20 64 61 74 61 20 73 74 61 74 65 20 0a 19 8b 80 80 28 78 64 61 74 61 2c 20 78 64 ┆ed in data state (xdata, xd┆ 0x26540…26560 61 74 61 5f 77 69 63 2c 20 6e 64 63 65 2c 20 6e 64 63 65 5f 77 69 63 2c 20 6e 64 74 65 2c 20 6e ┆ata_wic, ndce, ndce_wic, ndte, n┆ 0x26560…26580 64 74 65 5f 77 69 63 2c 20 6e 64 63 74 65 2c 20 0a 19 8b 80 80 6e 64 63 74 65 5f 77 69 63 29 20 ┆dte_wic, ndcte, ndcte_wic) ┆ 0x26580…265a0 61 6e 64 20 65 6e 6f 75 67 68 20 72 65 73 6f 75 72 63 65 73 20 61 72 65 20 72 65 63 65 69 76 65 ┆and enough resources are receive┆ 0x265a0…265c0 64 20 74 68 65 20 73 74 61 74 65 20 6d 61 63 68 69 6e 65 20 0a 19 8b 80 80 69 73 20 63 61 6c 6c ┆d the state machine is call┆ 0x265c0…265e0 65 64 20 28 50 41 52 54 20 28 49 29 29 20 74 6f 20 6f 70 65 6e 20 74 68 65 20 77 69 6e 64 6f 77 ┆ed (PART (I)) to open the window┆ 0x265e0…26600 2c 0d 0a 09 2d 20 84 69 66 20 73 74 61 74 65 20 69 73 20 64 74 65 20 72 65 61 64 79 20 61 6e 64 ┆, - if state is dte ready and┆ 0x26600…26620 (307,) 20 77 61 69 74 69 6e 67 20 72 65 73 6f 75 72 63 65 73 20 28 73 65 6e 64 5f 72 6e 72 20 3d 20 74 ┆ waiting resources (send_rnr = t┆ 0x26620…26640 72 75 65 29 20 0a 19 8b 80 80 61 6e 64 20 65 6e 6f 75 67 68 20 72 65 73 6f 75 72 63 65 73 20 61 ┆rue) and enough resources a┆ 0x26640…26660 72 65 20 72 65 63 65 69 76 65 64 20 74 68 65 20 73 74 61 74 65 20 6d 61 63 68 69 6e 65 20 69 73 ┆re received the state machine is┆ 0x26660…26680 20 63 61 6c 6c 65 64 20 0a 19 8b 80 80 28 50 41 52 54 20 28 49 29 29 20 74 6f 20 6f 70 65 6e 20 ┆ called (PART (I)) to open ┆ 0x26680…266a0 74 68 65 20 77 69 6e 64 6f 77 2c 0d 0a 09 2d 20 84 69 66 20 73 74 61 74 65 20 69 73 20 64 74 65 ┆the window, - if state is dte┆ 0x266a0…266c0 20 72 65 61 64 79 20 28 78 64 61 74 61 2c 20 78 64 61 74 61 5f 77 69 63 2c 20 6e 64 63 65 2c 20 ┆ ready (xdata, xdata_wic, ndce, ┆ 0x266c0…266e0 6e 64 63 65 5f 77 69 63 29 20 61 6e 64 20 74 68 65 20 0a 19 8b 80 80 77 69 6e 64 6f 77 20 68 61 ┆ndce_wic) and the window ha┆ 0x266e0…26700 73 20 62 65 65 6e 20 63 6c 6f 73 65 64 20 74 68 65 20 73 74 61 74 65 20 6d 61 63 68 69 6e 65 20 ┆s been closed the state machine ┆ 0x26700…26720 69 73 20 63 61 6c 6c 65 64 20 28 50 41 52 54 20 28 49 29 29 20 74 6f 20 0a 19 8b 80 80 6f 70 65 ┆is called (PART (I)) to ope┆ 0x26720…26740 6e 20 74 68 65 20 77 69 6e 64 6f 77 2e 0d 0a 0d 0a b0 0d 0a b0 50 41 52 54 20 28 49 29 3a 0d 0a ┆n the window. PART (I): ┆ 0x26740…26760 0d 0a 09 84 54 68 65 20 70 72 6f 63 65 64 75 72 65 20 b0 73 74 61 74 65 5f 6d 61 63 68 69 6e 65 ┆ The procedure state_machine┆ 0x26760…26780 28 65 76 65 6e 74 2c 20 63 75 72 72 65 6e 74 5f 73 74 61 74 65 29 f0 20 69 73 20 63 61 6c 6c 65 ┆(event, current_state) is calle┆ 0x26780…267a0 64 20 69 6e 20 0a 19 89 81 80 6f 72 64 65 72 20 74 6f 20 70 65 72 66 6f 72 6d 20 74 68 65 20 6e ┆d in order to perform the n┆ 0x267a0…267c0 65 65 64 65 64 20 61 63 74 69 6f 6e 20 61 6e 64 20 67 65 74 20 74 68 65 20 6e 65 78 74 20 73 74 ┆eeded action and get the next st┆ 0x267c0…267e0 61 74 65 2e 0d 0a 84 0d 0a 0d 0a b0 50 41 52 54 20 28 4b 29 3a 0d 0a 0d 0a 20 20 20 20 20 20 20 ┆ate. PART (K): ┆ 0x267e0…26800 20 20 84 41 6e 20 4e 43 20 72 65 71 75 65 73 74 20 69 73 20 72 65 63 65 69 76 65 64 2e 20 54 68 ┆ An NC request is received. Th┆ 0x26800…26820 (308,) 65 20 73 70 65 63 69 66 69 65 64 20 6f 70 65 72 61 74 69 6f 6e 20 69 73 20 70 65 72 66 6f 72 6d ┆e specified operation is perform┆ 0x26820…26840 65 64 20 0a 19 89 80 80 61 6e 64 20 74 68 65 20 62 75 66 66 65 72 20 72 65 74 75 72 6e 65 64 20 ┆ed and the buffer returned ┆ 0x26840…26860 74 6f 20 74 68 65 20 4e 43 50 2e 20 27 53 65 6e 73 65 20 63 68 61 6e 6e 65 6c 27 20 61 6e 64 20 ┆to the NCP. 'Sense channel' and ┆ 0x26860…26880 27 67 65 74 20 63 68 61 6e 80 0a 19 89 80 80 6e 65 6c 20 73 74 61 74 69 73 74 69 63 73 27 20 61 ┆'get chan nel statistics' a┆ 0x26880…268a0 72 65 20 74 68 65 20 6f 6e 6c 79 20 4c 43 50 20 6f 70 65 72 61 74 69 6f 6e 73 20 70 65 72 66 6f ┆re the only LCP operations perfo┆ 0x268a0…268c0 72 6d 65 64 20 62 79 20 74 68 65 20 0a 19 89 80 80 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 ┆rmed by the dte_chan proces┆ 0x268c0…268e0 73 2e 0d 0a 0d 0a 09 84 49 66 20 6e 6f 74 20 61 6e 79 20 6f 66 20 74 68 65 73 65 20 61 6e 20 65 ┆s. If not any of these an e┆ 0x268e0…26900 72 72 6f 72 20 69 6e 20 74 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 20 68 61 73 20 6f 63 63 75 ┆rror in the dte process has occu┆ 0x26900…2690a 72 65 64 2e 0d 0a 0d 0a 0d 0a ┆red. ┆ 0x2690a…2690d FormFeed { 0x2690a…2690d 0c 80 a4 ┆ ┆ 0x2690a…2690d } 0x2690d…26920 0a b0 50 41 52 54 20 28 4c 29 3a 0d 0a 0d 0a 09 84 54 68 ┆ PART (L): Th┆ 0x26920…26940 65 20 73 74 6f 70 20 61 6c 6f 67 72 69 74 68 6d 20 63 6f 6e 74 61 69 6e 73 20 74 68 65 20 66 6f ┆e stop alogrithm contains the fo┆ 0x26940…26960 6c 6c 6f 77 69 6e 67 20 73 74 65 70 73 3a 0d 0a 0d 0a 09 20 20 20 31 2e 20 20 84 54 68 65 20 73 ┆llowing steps: 1. The s┆ 0x26960…26980 79 6e 63 5f 6d 65 73 73 20 69 73 20 72 65 74 75 72 6e 65 64 20 74 6f 20 64 74 65 20 77 69 74 68 ┆ync_mess is returned to dte with┆ 0x26980…269a0 20 75 32 20 3d 20 6f 6b 20 61 6e 64 20 75 33 20 3d 20 0a 19 90 80 80 75 73 65 72 5f 74 65 72 6d ┆ u2 = ok and u3 = user_term┆ 0x269a0…269c0 2e 0d 0a 09 20 20 20 32 2e 20 20 84 54 68 65 20 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 ┆. 2. The dte_chan process┆ 0x269c0…269e0 20 61 77 61 69 74 73 20 74 68 65 20 72 65 74 75 72 6e 61 6c 20 6f 66 20 74 68 65 20 73 79 6e 63 ┆ awaits the returnal of the sync┆ 0x269e0…26a00 5f 6d 65 73 73 20 0a 19 90 80 80 61 74 20 74 68 65 20 73 79 6e 63 20 73 65 6d 61 70 68 6f 72 65 ┆_mess at the sync semaphore┆ 0x26a00…26a20 (309,) 2e 0d 0a 09 20 20 20 33 2e 20 20 84 54 68 65 20 64 74 65 20 63 68 61 6e 67 65 73 20 74 68 65 20 ┆. 3. The dte changes the ┆ 0x26a20…26a40 73 65 6d 70 6f 69 6e 74 65 72 20 69 6e 20 74 68 65 20 68 72 65 63 5f 74 61 62 6c 65 2e 0d 0a 09 ┆sempointer in the hrec_table. ┆ 0x26a40…26a60 20 20 20 34 2e 20 20 84 54 68 65 20 64 74 65 20 73 69 67 6e 61 6c 73 20 74 68 65 20 73 79 6e 63 ┆ 4. The dte signals the sync┆ 0x26a60…26a80 5f 6d 65 73 73 20 74 6f 20 74 68 65 20 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 2e 0d 0a ┆_mess to the dte_chan process. ┆ 0x26a80…26aa0 09 20 20 20 35 2e 20 20 84 54 68 65 20 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 63 65 73 73 20 65 ┆ 5. The dte_chan proccess e┆ 0x26aa0…26ac0 6d 70 74 69 65 73 20 69 74 73 20 6c 6f 63 61 6c 20 73 65 6d 61 70 68 6f 72 65 73 2c 20 69 74 73 ┆mpties its local semaphores, its┆ 0x26ac0…26ae0 20 69 6e 80 0a 19 90 80 80 70 75 74 20 28 6d 61 69 6e 29 20 73 65 6d 61 70 68 6f 72 65 2c 20 72 ┆ in put (main) semaphore, r┆ 0x26ae0…26b00 65 6c 65 61 73 65 73 20 74 68 65 20 58 2e 32 35 20 6f 75 74 70 75 74 20 68 65 61 64 65 72 73 2c ┆eleases the X.25 output headers,┆ 0x26b00…26b20 20 0a 19 90 80 80 73 65 74 73 20 74 68 65 20 6c 6f 63 61 6c 20 69 6e 70 75 74 20 73 65 6d 61 70 ┆ sets the local input semap┆ 0x26b20…26b40 68 6f 72 65 20 74 6f 20 6e 75 6d 62 65 72 20 31 2c 20 61 6e 64 20 72 65 74 75 72 6e 73 20 0a 19 ┆hore to number 1, and returns ┆ 0x26b40…26b60 90 80 80 74 68 65 20 73 79 6e 63 5f 6d 65 73 73 20 77 69 74 68 20 75 32 20 3d 20 6f 6b 20 61 6e ┆ the sync_mess with u2 = ok an┆ 0x26b60…26b80 64 20 75 33 20 3d 20 6f 6b 2c 20 62 65 66 6f 72 65 20 77 61 69 74 69 6e 67 20 61 74 20 0a 19 90 ┆d u3 = ok, before waiting at ┆ 0x26b80…26ba0 80 80 74 68 65 20 73 79 6e 63 20 73 65 6d 61 70 68 6f 72 65 20 66 6f 72 20 61 74 20 6e 65 77 20 ┆ the sync semaphore for at new ┆ 0x26ba0…26bc0 73 74 61 72 74 20 69 6e 64 69 63 61 74 69 6f 6e 2e 0d 0a 0d 0a 0d 0a a1 34 2e 36 2e 37 09 44 65 ┆start indication. 4.6.7 De┆ 0x26bc0…26be0 73 63 72 69 70 74 69 6f 6e 20 6f 66 20 64 74 65 5f 63 68 61 6e 20 6c 6f 63 61 6c 20 69 6e 70 75 ┆scription of dte_chan local inpu┆ 0x26be0…26c00 74 20 73 65 6d 61 70 68 6f 72 65 73 2e 0d 0a 0d 0a 09 84 41 73 20 61 6c 72 65 61 64 79 20 6d 65 ┆t semaphores. As already me┆ 0x26c00…26c20 (310,) 6e 74 69 6f 6e 65 64 20 74 68 65 20 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 20 68 61 73 ┆ntioned the dte_chan process has┆ 0x26c20…26c40 20 74 77 6f 20 6c 6f 63 61 6c 20 69 6e 70 75 74 20 73 65 80 0a 19 89 80 80 6d 61 70 68 6f 72 65 ┆ two local input se maphore┆ 0x26c40…26c60 73 2e 20 54 68 65 73 65 20 61 72 65 20 75 73 65 64 20 69 6e 20 6f 72 64 65 72 20 74 6f 20 62 65 ┆s. These are used in order to be┆ 0x26c60…26c80 20 61 62 6c 65 20 74 6f 20 73 65 70 65 72 61 74 65 20 74 68 65 20 64 69 66 80 0a 19 89 80 80 66 ┆ able to seperate the dif f┆ 0x26c80…26ca0 65 72 65 6e 74 20 69 6e 70 75 74 20 6d 65 73 73 61 67 65 73 20 72 65 63 65 69 76 65 64 20 61 74 ┆erent input messages received at┆ 0x26ca0…26cc0 20 74 68 65 20 6d 61 69 6e 20 69 6e 70 75 74 20 73 65 6d 61 70 68 6f 72 65 2e 20 49 6e 20 6f 72 ┆ the main input semaphore. In or┆ 0x26cc0…26ce0 80 0a 19 89 80 80 64 65 72 20 74 6f 20 6e 6f 74 20 61 6c 77 61 79 73 20 63 68 65 63 6b 20 6f 6e ┆ der to not always check on┆ 0x26ce0…26d00 20 61 20 6e 75 6d 62 65 72 20 74 6f 20 66 69 6e 64 20 74 68 65 20 61 63 74 75 61 6c 20 73 65 6d ┆ a number to find the actual sem┆ 0x26d00…26d20 61 70 68 6f 72 65 20 61 20 0a 19 89 80 80 72 65 63 6f 72 64 20 74 79 70 65 20 69 73 20 64 65 66 ┆aphore a record type is def┆ 0x26d20…26d40 69 6e 65 64 20 28 69 6e 73 65 6d 5f 74 79 70 65 29 2e 20 54 68 65 20 76 61 72 69 61 62 6c 65 20 ┆ined (insem_type). The variable ┆ 0x26d40…26d60 28 6c 6f 63 61 6c 5f 69 6e 29 20 6f 66 20 0a 19 89 80 80 74 68 69 73 20 74 79 70 65 20 63 6f 6e ┆(local_in) of this type con┆ 0x26d60…26d80 74 61 69 6e 73 20 61 20 73 65 6d 70 6f 69 6e 74 65 72 20 28 74 6f 20 74 68 65 20 61 63 74 75 61 ┆tains a sempointer (to the actua┆ 0x26d80…26da0 6c 20 73 65 6d 61 70 68 6f 72 65 29 20 61 6e 64 20 74 68 65 20 0a 19 89 80 80 6e 75 6d 62 65 72 ┆l semaphore) and the number┆ 0x26da0…26dc0 20 6f 66 20 74 68 65 20 73 65 6d 61 70 68 6f 72 65 20 28 31 20 6f 72 20 32 29 2e 0d 0a 0d 0a 09 ┆ of the semaphore (1 or 2). ┆ 0x26dc0…26de0 84 49 6e 20 74 68 65 20 6c 6f 63 61 6c 20 70 72 6f 63 65 64 75 72 65 73 20 b0 72 65 74 5f 69 6e ┆ In the local procedures ret_in┆ 0x26de0…26e00 75 73 65 72 62 2c 20 72 65 74 5f 77 73 64 61 74 61 f0 20 74 68 65 20 6e 6f 74 20 61 63 74 75 61 ┆userb, ret_wsdata the not actua┆ 0x26e00…26e20 (311,) 6c 20 73 65 80 0a 19 89 81 80 6d 61 70 68 6f 72 65 20 69 73 20 75 73 65 64 20 61 73 20 61 20 71 ┆l se maphore is used as a q┆ 0x26e20…26e40 75 65 75 65 20 73 65 6d 61 70 68 6f 72 65 20 61 6e 64 20 61 74 20 72 65 74 75 72 6e 61 6c 20 66 ┆ueue semaphore and at returnal f┆ 0x26e40…26e60 72 6f 6d 20 74 68 65 20 70 72 6f 80 0a 19 89 81 80 63 65 64 75 72 65 73 20 74 68 69 73 20 73 65 ┆rom the pro cedures this se┆ 0x26e60…26e80 6d 61 70 68 6f 72 65 20 62 65 63 6f 6d 65 73 20 74 68 65 20 61 63 74 75 61 6c 20 69 6e 70 75 74 ┆maphore becomes the actual input┆ 0x26e80…26ea0 20 73 65 6d 61 70 68 6f 72 65 3a 0d 0a 0d 0a 09 20 20 20 b0 62 65 66 6f 72 65 20 63 61 6c 6c 3a ┆ semaphore: before call:┆ 0x26ea0…26ec0 20 20 20 20 20 f0 6c 6f 63 61 6c 5f 69 6e 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ local_in ┆ 0x26ec0…26ee0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x26ee0…26f00 20 6c 6f 63 61 6c 5f 69 6e 73 65 6d 31 0d 0a 0d 0a 0d 0a 09 09 09 20 20 20 31 09 09 6c 6f 63 61 ┆ local_insem1 1 loca┆ 0x26f00…26f0e 6c 5f 69 6e 73 65 6d 32 0d 0a 0d 0a 0d 0a ┆l_insem2 ┆ 0x26f0e…26f11 FormFeed { 0x26f0e…26f11 0c 80 a6 ┆ ┆ 0x26f0e…26f11 } 0x26f11…26f20 0a b0 09 20 20 20 69 6e 20 74 68 65 20 70 72 ┆ in the pr┆ 0x26f20…26f40 6f 63 65 64 75 72 65 3a 0d 0a 09 09 09 61 63 74 75 61 6c 5f 73 65 6d 20 3d 20 6c 6f 63 61 6c 5f ┆ocedure: actual_sem = local_┆ 0x26f40…26f60 69 6e 73 65 6d 31 0d 0a 09 09 09 6e 65 78 74 5f 73 65 6d 20 20 20 3d 20 6c 6f 63 61 6c 5f 69 6e ┆insem1 next_sem = local_in┆ 0x26f60…26f80 73 65 6d 32 0d 0a 0d 0a b0 09 20 20 20 61 66 74 65 72 20 72 65 74 75 72 6e 3a f0 20 20 20 20 6c ┆sem2 after return: l┆ 0x26f80…26fa0 6f 63 61 6c 5f 69 6e 0d 0a 09 09 09 09 09 6c 6f 63 61 6c 5f 69 6e 73 65 6d 31 0d 0a 0d 0a 09 09 ┆ocal_in local_insem1 ┆ 0x26fa0…26fc0 09 20 20 20 20 32 09 09 6c 6f 63 61 6c 5f 69 6e 73 65 6d 32 0d 0a 0d 0a 0d 0a a1 34 2e 36 2e 38 ┆ 2 local_insem2 4.6.8┆ 0x26fc0…26fe0 09 54 68 65 20 53 74 72 61 74 65 67 79 20 66 6f 72 20 41 63 6b 6e 6f 77 6c 65 64 67 65 6d 65 6e ┆ The Strategy for Acknowledgemen┆ 0x26fe0…27000 74 20 6f 66 20 44 61 74 61 20 50 61 63 6b 65 74 73 2e 0d 0a 0d 0a 09 84 42 65 63 61 75 73 65 20 ┆t of Data Packets. Because ┆ 0x27000…27020 (312,) 6f 66 20 74 68 65 20 63 6f 72 72 65 6c 61 74 69 6f 6e 20 6f 66 20 63 72 65 64 69 74 20 61 6e 64 ┆of the correlation of credit and┆ 0x27020…27040 20 61 63 6b 6e 6f 77 6c 65 64 67 65 6d 65 6e 74 20 69 6e 20 74 68 65 20 0a 19 89 80 80 58 2e 32 ┆ acknowledgement in the X.2┆ 0x27040…27060 35 20 72 65 63 6f 6d 6d 65 6e 64 61 74 69 6f 6e 2c 20 61 6e 20 61 63 6b 6e 6f 77 6c 65 64 67 65 ┆5 recommendation, an acknowledge┆ 0x27060…27080 6d 65 6e 74 20 63 61 6e 6e 6f 74 20 62 65 20 73 65 6e 74 20 77 69 74 68 6f 75 74 20 61 74 20 0a ┆ment cannot be sent without at ┆ 0x27080…270a0 19 89 80 80 74 68 65 20 73 61 6d 65 20 74 69 6d 65 20 67 69 76 69 6e 67 20 63 72 65 64 69 74 20 ┆ the same time giving credit ┆ 0x270a0…270c0 74 6f 20 6d 6f 72 65 20 64 61 74 61 2e 20 54 68 69 73 20 6d 65 63 68 61 6e 69 73 6d 20 69 73 20 ┆to more data. This mechanism is ┆ 0x270c0…270e0 69 6e 20 74 68 65 20 0a 19 89 80 80 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 20 61 64 6d ┆in the dte_chan process adm┆ 0x270e0…27100 69 6e 69 73 74 72 61 74 65 64 20 62 79 20 64 65 66 69 6e 69 6e 67 20 61 20 77 69 6e 64 6f 77 20 ┆inistrated by defining a window ┆ 0x27100…27120 64 65 73 63 72 69 70 74 6f 72 20 72 65 80 0a 19 89 80 80 63 6f 72 64 20 28 73 65 65 20 62 65 6c ┆descriptor re cord (see bel┆ 0x27120…27140 6f 77 29 2e 20 54 68 65 20 77 69 6e 64 6f 77 20 73 69 7a 65 20 69 73 20 74 68 65 20 6d 61 78 69 ┆ow). The window size is the maxi┆ 0x27140…27160 6d 75 6d 20 6e 75 6d 62 65 72 20 6f 66 20 6f 75 74 80 0a 19 89 80 80 73 74 61 6e 64 69 6e 67 20 ┆mum number of out standing ┆ 0x27160…27180 70 61 63 6b 65 74 73 2c 20 61 6e 64 20 74 68 65 20 6c 6f 77 65 72 20 77 69 6e 64 6f 77 20 65 64 ┆packets, and the lower window ed┆ 0x27180…271a0 67 65 20 69 73 20 74 68 65 20 6c 61 73 74 20 61 63 6b 6e 6f 77 6c 65 64 80 0a 19 89 80 80 67 65 ┆ge is the last acknowled ge┆ 0x271a0…271c0 64 20 70 61 63 6b 65 74 20 70 6c 75 73 20 31 2c 20 69 2e 65 2e 20 74 68 65 20 66 69 72 73 74 20 ┆d packet plus 1, i.e. the first ┆ 0x271c0…271e0 75 6e 61 63 6b 6e 6f 77 6c 65 64 67 65 20 70 61 63 6b 65 74 2e 0d 0a 0d 0a 09 84 54 68 65 20 77 ┆unacknowledge packet. The w┆ 0x271e0…27200 69 6e 64 6f 77 20 64 65 73 63 72 69 70 74 69 6f 6e 20 72 65 63 6f 72 64 20 28 63 68 61 6e 5f 72 ┆indow description record (chan_r┆ 0x27200…27220 (313,) 65 63 2e 77 5f 72 65 63 29 20 63 6f 6e 74 61 69 6e 73 20 74 68 65 20 66 6f 6c 6c 6f 80 0a 19 89 ┆ec.w_rec) contains the follo ┆ 0x27220…27240 80 80 77 69 6e 67 20 66 69 65 6c 64 73 3a 0d 0a 0d 0a 09 77 5f 72 65 63 76 20 20 20 20 20 28 62 ┆ wing fields: w_recv (b┆ 0x27240…27260 69 74 20 33 29 20 20 3a 20 77 69 6e 64 6f 77 20 73 69 7a 65 20 66 6f 72 20 72 65 63 65 69 76 69 ┆it 3) : window size for receivi┆ 0x27260…27280 6e 67 0d 0a 09 77 5f 78 6d 69 74 20 20 20 20 20 28 20 20 2d 20 20 29 09 3a 20 77 69 6e 64 6f 77 ┆ng w_xmit ( - ) : window┆ 0x27280…272a0 20 73 69 7a 65 20 66 6f 72 20 74 72 61 6e 73 6d 69 74 74 69 6e 67 0d 0a 09 73 6c 77 20 20 20 20 ┆ size for transmitting slw ┆ 0x272a0…272c0 20 20 20 20 28 20 20 2d 20 20 29 20 20 3a 20 6c 6f 77 65 72 20 77 69 6e 64 6f 77 20 65 64 67 65 ┆ ( - ) : lower window edge┆ 0x272c0…272e0 20 66 6f 72 20 73 65 6e 64 69 6e 67 0d 0a 09 72 6c 77 20 20 20 20 20 20 20 20 28 20 20 2d 20 20 ┆ for sending rlw ( - ┆ 0x272e0…27300 29 20 20 3a 20 6c 6f 77 65 72 20 77 69 6e 64 6f 77 20 65 64 67 65 20 66 6f 72 20 72 65 63 65 69 ┆) : lower window edge for recei┆ 0x27300…27320 76 69 6e 67 0d 0a 09 6e 73 70 73 20 20 20 20 20 20 20 28 20 20 2d 20 20 29 20 20 3a 20 6e 65 78 ┆ving nsps ( - ) : nex┆ 0x27320…27340 74 20 50 28 53 29 20 74 6f 20 62 65 20 73 65 6e 74 0d 0a 09 6c 72 70 73 20 20 20 20 20 20 20 28 ┆t P(S) to be sent lrps (┆ 0x27340…27360 20 20 2d 20 20 29 20 20 3a 20 6c 61 73 74 20 72 65 63 65 69 76 65 64 20 50 28 53 29 0d 0a 09 72 ┆ - ) : last received P(S) r┆ 0x27360…27380 64 61 74 61 71 75 65 75 65 20 28 69 6e 74 65 67 65 72 29 3a 20 84 6e 75 6d 62 65 72 20 6f 66 20 ┆dataqueue (integer): number of ┆ 0x27380…273a0 71 75 65 75 65 64 20 64 65 64 69 63 61 74 65 64 20 75 73 65 72 20 69 6e 70 75 74 20 62 75 66 80 ┆queued dedicated user input buf ┆ 0x273a0…273c0 0a 19 9f 80 80 66 65 72 73 2e 20 49 66 20 6d 6f 64 65 20 69 73 20 67 65 6e 65 72 61 6c 2d 69 6e ┆ fers. If mode is general-in┆ 0x273c0…273e0 70 75 74 20 72 64 61 74 61 71 75 65 75 65 20 0a 19 9f 80 80 65 71 75 61 6c 73 20 77 5f 72 65 63 ┆put rdataqueue equals w_rec┆ 0x273e0…27400 76 2b 31 20 61 6c 6c 77 61 79 73 2e 0d 0a 09 69 6e 69 74 5f 70 68 61 73 65 20 28 62 6f 6f 6c 65 ┆v+1 allways. init_phase (boole┆ 0x27400…27420 (314,) 61 6e 29 3a 20 84 69 6e 64 69 63 61 74 65 73 20 74 68 65 20 69 6e 69 74 69 61 6c 20 70 68 61 73 ┆an): indicates the initial phas┆ 0x27420…27440 65 20 77 68 65 72 65 20 74 68 65 20 6e 6f 72 6d 61 6c 20 0a 19 9f 80 80 61 6c 67 6f 72 69 74 68 ┆e where the normal algorith┆ 0x27440…27460 6d 20 64 6f 65 73 20 6e 6f 74 20 77 6f 72 6b 2c 20 69 2e 65 2e 20 73 70 65 63 69 65 6c 20 63 61 ┆m does not work, i.e. speciel ca┆ 0x27460…27480 6c 63 75 80 0a 19 9f 80 80 6c 61 74 69 6f 6e 73 20 69 6e 20 74 68 65 20 70 72 6f 63 65 64 75 72 ┆lcu lations in the procedur┆ 0x27480…274a0 65 20 77 5f 61 6c 67 6f 72 69 74 68 6d 20 61 72 65 20 0a 19 9f 80 80 70 65 72 66 6f 72 6d 65 64 ┆e w_algorithm are performed┆ 0x274a0…274c0 2e 0d 0a 0d 0a 09 84 54 68 65 20 61 63 6b 6e 6f 77 6c 65 64 67 65 6d 65 6e 74 20 73 74 72 61 74 ┆. The acknowledgement strat┆ 0x274c0…274e0 65 67 79 20 64 65 70 65 6e 64 73 20 6f 6e 20 74 68 65 20 69 6e 70 75 74 20 6d 6f 64 65 20 28 64 ┆egy depends on the input mode (d┆ 0x274e0…27500 65 64 69 63 61 74 65 64 2c 20 0a 19 89 80 80 67 65 6e 65 72 61 6c 29 2c 20 77 68 69 63 68 20 69 ┆edicated, general), which i┆ 0x27500…27520 73 20 69 6e 64 69 63 61 74 65 64 20 62 79 20 74 68 65 20 75 73 65 72 20 61 74 20 63 61 6c 6c 20 ┆s indicated by the user at call ┆ 0x27520…27540 65 73 74 61 62 6c 69 73 68 6d 65 6e 74 20 0a 19 89 80 80 28 73 65 65 20 72 65 66 2e 20 28 33 29 ┆establishment (see ref. (3)┆ 0x27540…27546 29 2e 0d 0a 0d 0a ┆). ┆ 0x27546…27549 FormFeed { 0x27546…27549 0c 80 a9 ┆ ┆ 0x27546…27549 } 0x27549…27560 0a b0 09 a1 64 65 64 69 63 61 74 65 64 3a 0d 0a 0d 0a 09 41 6e 20 52 ┆ dedicated: An R┆ 0x27560…27580 52 20 70 61 63 6b 65 74 20 69 73 20 73 65 6e 74 20 69 66 0d 0a 09 20 20 20 31 29 20 84 74 68 65 ┆R packet is sent if 1) the┆ 0x27580…275a0 20 77 69 6e 64 6f 77 20 69 73 20 63 6c 6f 73 65 64 20 61 6e 64 20 6f 6e 65 20 6f 72 20 6d 6f 72 ┆ window is closed and one or mor┆ 0x275a0…275c0 65 20 69 6e 70 75 74 20 62 75 66 66 65 72 73 20 61 72 65 20 0a 19 8f 80 80 61 77 61 69 6c 61 62 ┆e input buffers are awailab┆ 0x275c0…275e0 6c 65 2c 20 61 6e 64 20 6e 6f 20 6f 75 74 70 75 74 20 64 61 74 61 20 69 73 20 71 75 65 75 65 64 ┆le, and no output data is queued┆ 0x275e0…27600 20 69 6e 20 74 68 65 20 64 74 65 5f 63 68 61 6e 20 70 72 6f 80 0a 19 8f 80 80 63 65 73 73 2e 0d ┆ in the dte_chan pro cess. ┆ 0x27600…27620 (315,) 0a 09 20 20 20 32 29 20 84 65 78 70 69 72 61 74 69 6f 6e 20 6f 66 20 65 69 74 68 65 72 20 74 68 ┆ 2) expiration of either th┆ 0x27620…27640 65 20 69 64 6c 65 20 74 69 6d 65 72 20 6f 72 20 74 68 65 20 61 63 6b 20 74 69 6d 65 72 20 28 65 ┆e idle timer or the ack timer (e┆ 0x27640…27660 78 70 6c 61 80 0a 19 8f 80 80 6e 61 74 69 6f 6e 20 6f 66 20 74 68 65 73 65 20 74 69 6d 65 72 73 ┆xpla nation of these timers┆ 0x27660…27680 20 73 65 65 20 62 65 6c 6f 77 29 2e 0d 0a 0d 0a 09 a1 b0 67 65 6e 65 72 61 6c 3a 0d 0a 0d 0a 09 ┆ see below). general: ┆ 0x27680…276a0 84 41 6e 20 52 52 20 70 61 63 6b 65 74 20 69 73 20 73 65 6e 74 20 61 73 20 71 75 69 63 6b 6c 79 ┆ An RR packet is sent as quickly┆ 0x276a0…276c0 20 61 73 20 70 6f 73 73 69 62 6c 65 2e 20 49 74 20 69 73 20 74 68 65 20 73 61 6d 65 20 73 74 72 ┆ as possible. It is the same str┆ 0x276c0…276e0 61 80 0a 19 89 80 80 74 65 67 79 20 61 73 20 66 6f 72 20 64 65 64 69 63 61 74 65 64 20 77 69 74 ┆a tegy as for dedicated wit┆ 0x276e0…27700 68 20 74 68 65 20 65 78 63 65 70 74 69 6f 6e 20 74 68 61 74 20 74 68 65 20 69 6e 70 75 74 20 62 ┆h the exception that the input b┆ 0x27700…27720 75 66 66 65 72 20 6c 69 80 0a 19 89 80 80 6d 69 74 61 74 69 6f 6e 20 69 73 20 6e 6f 74 20 75 73 ┆uffer li mitation is not us┆ 0x27720…27740 65 64 2e 0d 0a 0d 0a 09 84 57 69 74 68 20 74 68 65 20 66 61 63 74 20 69 6e 20 6d 69 6e 64 20 74 ┆ed. With the fact in mind t┆ 0x27740…27760 68 61 74 20 72 64 61 74 61 71 75 65 75 65 20 3d 20 77 5f 72 65 63 76 2b 31 20 69 6e 20 63 61 73 ┆hat rdataqueue = w_recv+1 in cas┆ 0x27760…27780 65 20 6f 66 20 67 65 6e 65 72 61 6c 20 69 6e 70 75 74 20 0a 19 89 80 80 61 6e 64 20 74 68 61 74 ┆e of general input and that┆ 0x27780…277a0 20 70 69 67 67 79 20 62 61 63 6b 69 6e 67 20 6f 66 20 61 63 6b 6e 6f 77 6c 65 64 67 65 6d 65 6e ┆ piggy backing of acknowledgemen┆ 0x277a0…277c0 74 20 69 73 20 70 6f 73 73 69 62 6c 65 20 74 68 65 20 66 6f 6c 6c 6f 77 80 0a 19 89 80 80 69 6e ┆t is possible the follow in┆ 0x277c0…277e0 67 20 66 6c 6f 77 63 68 61 72 74 20 64 65 63 72 69 62 65 73 20 74 68 65 20 61 63 6b 6e 6f 77 6c ┆g flowchart decribes the acknowl┆ 0x277e0…277f8 65 64 67 65 6d 65 6e 74 20 73 74 72 61 74 65 67 79 2e 0d 0a 0d 0a 0d 0a ┆edgement strategy. ┆ 0x277f8…277fb FormFeed { 0x277f8…277fb 0c 80 94 ┆ ┆ 0x277f8…277fb } 0x277fb…27800 0a 0d 0a 0d 0a ┆ ┆ 0x27800…27820 (316,) 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ […0x1…] 0x27840…27860 09 61 3a 20 73 65 6e 64 20 77 69 6e 64 6f 77 20 6f 70 65 6e 20 28 28 6e 73 70 73 2d 73 6c 77 29 ┆ a: send window open ((nsps-slw)┆ 0x27860…27880 20 6d 6f 64 20 38 20 3c 20 77 5f 78 6d 69 74 29 0d 0a 09 62 3a 20 70 6f 73 73 69 62 6c 65 20 74 ┆ mod 8 < w_xmit) b: possible t┆ 0x27880…278a0 6f 20 6d 6f 76 65 20 72 65 63 65 69 76 65 20 77 69 6e 64 6f 77 20 28 72 64 61 74 61 71 75 65 75 ┆o move receive window (rdataqueu┆ 0x278a0…278c0 65 20 3e 20 30 29 0d 0a 09 63 3a 20 72 65 63 65 69 76 65 20 77 69 6e 64 6f 77 20 63 6c 6f 73 65 ┆e > 0) c: receive window close┆ 0x278c0…278e0 64 20 28 6c 72 70 73 20 3d 20 28 72 6c 77 20 2b 20 77 5f 72 65 63 76 29 20 6d 6f 64 20 38 29 0d ┆d (lrps = (rlw + w_recv) mod 8) ┆ 0x278e0…27900 0a 0d 0a 09 46 69 67 75 72 65 20 34 31 3a 20 41 63 6b 6e 6f 77 6c 65 64 67 65 6d 65 6e 74 20 73 ┆ Figure 41: Acknowledgement s┆ 0x27900…27914 74 72 61 74 65 67 79 20 66 6c 6f 77 63 68 61 72 74 2e 0d 0a ┆trategy flowchart. ┆ 0x27914…27917 FormFeed { 0x27914…27917 0c 80 a7 ┆ ┆ 0x27914…27917 } 0x27917…27920 0a 09 84 54 68 65 20 74 77 ┆ The tw┆ 0x27920…27940 6f 20 74 69 6d 65 72 73 20 6d 65 6e 74 69 6f 6e 65 64 20 69 6e 20 74 68 69 73 20 73 75 62 73 65 ┆o timers mentioned in this subse┆ 0x27940…27960 63 74 69 6f 6e 20 61 72 65 3a 0d 0a 0d 0a 09 20 20 20 b0 69 64 6c 65 20 74 69 6d 65 72 20 f0 b0 ┆ction are: idle timer ┆ 0x27960…27980 3a 20 20 84 f0 74 68 69 73 20 74 69 6d 65 72 20 69 73 20 64 65 66 69 6e 65 64 20 69 6e 20 6f 72 ┆: this timer is defined in or┆ 0x27980…279a0 64 65 72 20 74 6f 20 61 76 6f 69 64 20 6c 6f 6e 67 20 70 65 80 0a 19 9a 82 80 72 69 6f 64 73 20 ┆der to avoid long pe riods ┆ 0x279a0…279c0 77 69 74 68 20 6e 6f 20 74 72 61 66 66 69 63 20 61 6e 64 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e ┆with no traffic and the followin┆ 0x279c0…279e0 67 20 64 65 61 64 20 0a 19 9a 82 80 6c 6f 63 6b 20 73 69 74 75 61 74 69 6f 6e 2e 0d 0a 0d 0a 09 ┆g dead lock situation. ┆ 0x279e0…27a00 09 09 b0 44 43 45 09 09 44 54 45 0d 0a 09 09 09 20 20 20 20 20 20 20 20 20 20 64 61 74 61 28 34 ┆ DCE DTE data(4┆ 0x27a00…27a20 (317,) 29 0d 0a 0d 0a 09 09 09 09 64 61 74 61 28 35 29 0d 0a 09 09 20 20 20 20 20 20 20 73 65 6e 64 20 ┆) data(5) send ┆ 0x27a20…27a40 77 69 6e 64 6f 77 0d 0a 09 09 20 20 20 20 20 20 20 81 63 6c 6f 73 65 64 0d 0a 09 09 09 09 20 20 ┆window closed ┆ 0x27a40…27a60 20 52 52 28 36 29 0d 0a 0d 0a 0d 0a 09 20 20 20 b0 61 63 6b 20 74 69 6d 65 72 20 3a f0 20 20 20 ┆ RR(6) ack timer : ┆ 0x27a60…27a80 84 74 68 69 73 20 74 69 6d 65 72 20 69 73 20 64 65 66 69 6e 65 64 20 69 6e 20 6f 72 64 65 72 20 ┆ this timer is defined in order ┆ 0x27a80…27aa0 74 6f 20 6f 70 74 69 6d 69 7a 65 20 74 68 65 20 0a 19 9a 81 80 75 73 65 20 6f 66 20 70 69 67 67 ┆to optimize the use of pigg┆ 0x27aa0…27ac0 79 20 62 61 63 6b 69 6e 67 3a 0d 0a 09 09 20 20 20 20 20 20 20 84 49 66 20 6e 6f 20 64 61 74 61 ┆y backing: If no data┆ 0x27ac0…27ae0 20 74 6f 20 73 65 6e 64 2c 20 74 68 65 6e 20 77 61 69 74 20 61 20 76 65 72 79 20 73 68 6f 72 74 ┆ to send, then wait a very short┆ 0x27ae0…27b00 20 74 69 6d 65 20 0a 19 9a 80 80 28 70 6f 73 73 69 62 6c 65 20 7a 65 72 6f 29 20 62 65 66 6f 72 ┆ time (possible zero) befor┆ 0x27b00…27b20 65 20 73 65 6e 64 69 6e 67 20 52 52 20 74 6f 20 73 65 65 2c 20 69 66 20 74 68 65 20 0a 19 9a 80 ┆e sending RR to see, if the ┆ 0x27b20…27b40 80 75 73 65 72 20 61 6c 6c 72 65 61 64 79 20 68 61 73 20 64 65 6c 69 76 65 72 65 64 20 6f 75 74 ┆ user allready has delivered out┆ 0x27b40…27b60 70 75 74 20 64 61 74 61 20 74 6f 20 74 68 65 20 0a 19 9a 80 80 44 54 45 2e 0d 0a 0d 0a 09 54 68 ┆put data to the DTE. Th┆ 0x27b60…27b80 65 20 64 65 66 61 75 6c 74 20 76 61 6c 75 65 73 20 6f 66 20 74 68 65 20 74 69 6d 65 72 73 20 61 ┆e default values of the timers a┆ 0x27b80…27ba0 72 65 0d 0a 0d 0a 09 20 20 20 69 64 6c 65 20 74 69 6d 65 72 20 3a 20 33 30 20 73 65 63 73 2e 0d ┆re idle timer : 30 secs. ┆ 0x27ba0…27bc0 0a 09 20 20 20 61 63 6b 20 74 69 6d 65 72 20 20 3a 20 20 31 20 73 65 63 2e 0d 0a 0d 0a 09 84 54 ┆ ack timer : 1 sec. T┆ 0x27bc0…27be0 68 65 73 65 20 6d 61 79 20 62 65 20 63 68 61 6e 67 65 64 20 69 6e 20 74 68 65 20 64 74 65 20 70 ┆hese may be changed in the dte p┆ 0x27be0…27c00 72 6f 63 65 73 73 20 75 73 69 6e 67 20 61 6e 20 4c 43 50 20 6f 70 65 72 61 74 69 6f 6e 20 0a 19 ┆rocess using an LCP operation ┆ 0x27c00…27c20 (318,) 89 80 80 28 44 54 45 20 35 34 2c 30 29 20 28 73 65 65 20 72 65 66 2e 20 28 34 29 29 20 61 6e 64 ┆ (DTE 54,0) (see ref. (4)) and┆ 0x27c20…27c40 20 61 72 65 20 64 65 6c 69 76 65 72 65 64 20 74 6f 20 74 68 65 20 64 74 65 5f 63 68 61 6e 20 70 ┆ are delivered to the dte_chan p┆ 0x27c40…27c60 72 6f 80 0a 19 89 80 80 63 65 73 73 20 61 74 20 63 61 6c 6c 20 65 73 74 61 62 6c 69 73 68 6d 65 ┆ro cess at call establishme┆ 0x27c60…27c80 6e 74 20 69 6e 20 74 68 65 20 b0 73 79 6e 63 5f 6d 65 73 73 f0 20 28 73 75 62 73 65 63 74 69 6f ┆nt in the sync_mess (subsectio┆ 0x27c80…27ca0 6e 20 33 2e 32 2e 35 2e 31 29 2e 0d 0a 0d 0a 0d 0a a1 34 2e 36 2e 39 09 4d 61 69 6e 74 65 6e 61 ┆n 3.2.5.1). 4.6.9 Maintena┆ 0x27ca0…27cc0 6e 63 65 20 6f 66 20 4f 75 74 70 75 74 20 44 61 74 61 20 53 65 71 75 65 6e 63 65 2e 0d 0a 0d 0a ┆nce of Output Data Sequence. ┆ 0x27cc0…27ce0 09 84 54 68 65 20 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 20 72 65 74 75 72 6e 73 20 6f ┆ The dte_chan process returns o┆ 0x27ce0…27d00 75 74 70 75 74 20 64 61 74 61 20 66 72 6f 6d 20 61 20 75 73 65 72 20 69 6e 20 74 68 65 20 73 61 ┆utput data from a user in the sa┆ 0x27d00…27d20 6d 65 20 0a 19 89 80 80 73 65 71 75 65 6e 63 65 20 61 73 20 72 65 63 65 69 76 65 64 2e 20 54 6f ┆me sequence as received. To┆ 0x27d20…27d40 20 73 75 70 70 6f 72 74 20 74 68 69 73 20 66 65 61 74 75 72 65 20 61 20 76 61 72 69 61 62 6c 65 ┆ support this feature a variable┆ 0x27d40…27d60 20 0a 19 89 80 80 28 6e 6f 74 5f 61 63 6b 5f 64 61 74 61 29 20 6f 66 20 74 79 70 65 20 6e 6f 74 ┆ (not_ack_data) of type not┆ 0x27d60…27d80 5f 61 63 6b 5f 74 79 70 65 20 69 73 20 64 65 66 69 6e 65 64 2e 20 46 75 72 74 68 65 72 6d 6f 72 ┆_ack_type is defined. Furthermor┆ 0x27d80…27da0 65 20 6f 75 74 70 75 74 20 0a 19 89 80 80 64 61 74 61 20 61 72 65 20 66 69 72 73 74 20 72 65 74 ┆e output data are first ret┆ 0x27da0…27dc0 75 72 6e 65 64 20 61 74 20 74 68 65 20 74 69 6d 65 2c 20 77 68 65 6e 20 74 68 65 79 20 61 72 65 ┆urned at the time, when they are┆ 0x27dc0…27de0 20 61 63 6b 6e 6f 77 6c 65 64 67 65 64 20 62 79 20 0a 19 89 80 80 74 68 65 20 44 43 45 2e 0d 0a ┆ acknowledged by the DCE. ┆ 0x27de0…27de2 0d 0a ┆ ┆ 0x27de2…27de5 FormFeed { 0x27de2…27de5 0c 80 a8 ┆ ┆ 0x27de2…27de5 } 0x27de5…27e00 0a 09 20 20 20 6e 6f 74 5f 61 63 6b 5f 74 79 70 65 20 3d 20 72 65 63 6f 72 64 0d ┆ not_ack_type = record ┆ 0x27e00…27e20 (319,) 0a 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 75 66 5f 72 65 66 09 20 20 ┆ buf_ref ┆ 0x27e20…27e40 20 3a 20 72 65 66 65 72 65 6e 63 65 3b 0d 0a 09 09 20 20 20 20 20 20 20 20 20 20 6e 6f 74 5f 72 ┆ : reference; not_r┆ 0x27e40…27e60 65 74 75 72 6e 65 64 2c 0d 0a 09 09 20 20 20 20 20 20 20 20 20 20 6c 65 76 65 6c 33 5f 61 63 6b ┆eturned, level3_ack┆ 0x27e60…27e80 20 20 20 3a 20 62 6f 6f 6c 65 61 6e 3b 0d 0a 09 09 20 20 20 20 20 20 20 20 65 6e 64 3b 0d 0a 0d ┆ : boolean; end; ┆ 0x27e80…27ea0 0a 09 20 20 20 6e 6f 74 5f 61 63 6b 5f 64 61 74 61 20 3d 20 61 72 72 61 79 20 28 30 2e 2e 37 29 ┆ not_ack_data = array (0..7)┆ 0x27ea0…27ec0 20 6f 66 20 6e 6f 74 5f 61 63 6b 5f 74 79 70 65 3b 0d 0a 0d 0a 09 20 20 20 6e 65 78 74 5f 61 63 ┆ of not_ack_type; next_ac┆ 0x27ec0…27ee0 6b 5f 62 75 66 20 3a 20 62 79 74 65 3b 0d 0a 0d 0a 09 84 6e 65 78 74 5f 61 63 6b 5f 62 75 66 20 ┆k_buf : byte; next_ack_buf ┆ 0x27ee0…27f00 70 6f 69 6e 74 73 20 74 6f 20 74 68 65 20 6e 65 78 74 20 62 75 66 66 65 72 20 74 6f 20 62 65 20 ┆points to the next buffer to be ┆ 0x27f00…27f20 72 65 74 75 72 6e 65 64 20 74 6f 20 74 68 65 20 75 73 65 72 2e 0d 0a 0d 0a 09 84 57 68 65 6e 20 ┆returned to the user. When ┆ 0x27f20…27f40 61 6e 20 75 73 65 72 20 6f 75 74 70 75 74 20 64 61 74 61 20 69 73 20 73 65 6e 74 20 74 6f 20 74 ┆an user output data is sent to t┆ 0x27f40…27f60 68 65 20 48 44 4c 43 20 66 6f 72 20 74 72 61 6e 73 6d 69 73 73 69 6f 6e 20 74 68 65 20 0a 19 89 ┆he HDLC for transmission the ┆ 0x27f60…27f80 80 80 75 33 20 66 69 65 6c 64 20 69 6e 20 74 68 65 20 75 73 65 72 20 62 75 66 66 65 72 20 69 73 ┆ u3 field in the user buffer is┆ 0x27f80…27fa0 20 73 65 74 20 74 6f 20 74 68 65 20 50 28 53 29 20 76 61 6c 75 65 20 6f 66 20 74 68 65 20 70 61 ┆ set to the P(S) value of the pa┆ 0x27fa0…27fc0 63 6b 65 74 20 0a 19 89 80 80 61 6e 64 20 74 68 69 73 20 6e 75 6d 62 65 72 20 69 73 20 66 75 72 ┆cket and this number is fur┆ 0x27fc0…27fe0 74 68 65 72 6d 6f 72 65 20 75 73 65 64 20 61 73 20 69 6e 64 65 78 20 69 6e 20 6e 6f 74 5f 61 63 ┆thermore used as index in not_ac┆ 0x27fe0…28000 6b 5f 64 61 74 61 2e 20 41 74 20 0a 19 89 80 80 74 68 65 20 73 61 6d 65 20 74 69 6d 65 20 6e 6f ┆k_data. At the same time no┆ 0x28000…28020 (320,) 74 5f 72 65 74 75 72 6e 65 64 20 69 73 20 73 65 74 20 74 6f 20 74 72 75 65 20 61 6e 64 20 6c 65 ┆t_returned is set to true and le┆ 0x28020…28040 76 65 6c 33 5f 61 63 6b 20 74 6f 20 66 61 6c 73 65 2e 0d 0a 0d 0a 09 84 57 68 65 6e 20 61 6e 20 ┆vel3_ack to false. When an ┆ 0x28040…28060 6f 75 74 70 75 74 20 6d 65 73 73 61 67 65 20 69 73 20 72 65 74 75 72 6e 65 64 20 66 72 6f 6d 20 ┆output message is returned from ┆ 0x28060…28080 74 68 65 20 48 44 4c 43 20 6e 6f 74 5f 72 65 74 75 72 6e 65 64 20 69 73 20 0a 19 89 80 80 73 65 ┆the HDLC not_returned is se┆ 0x28080…280a0 74 20 74 6f 20 66 61 6c 73 65 20 61 6e 64 20 74 68 65 20 62 75 66 66 65 72 20 69 73 20 27 68 61 ┆t to false and the buffer is 'ha┆ 0x280a0…280c0 6e 67 65 64 27 20 6f 6e 20 74 68 65 20 72 65 66 65 72 65 6e 63 65 20 62 75 66 5f 72 65 66 2e 20 ┆nged' on the reference buf_ref. ┆ 0x280c0…280e0 0a 19 89 80 80 54 68 65 6e 20 61 6c 6c 20 70 72 65 63 69 64 69 6e 67 20 62 75 66 66 65 72 73 20 ┆ Then all preciding buffers ┆ 0x280e0…28100 66 72 6f 6d 20 6e 65 78 74 5f 61 63 6b 5f 62 75 66 20 75 70 20 74 6f 20 74 68 65 20 66 69 72 73 ┆from next_ack_buf up to the firs┆ 0x28100…28120 74 20 77 68 65 72 65 20 0a 19 89 80 80 6e 6f 74 5f 72 65 74 75 72 6e 65 64 20 3d 20 74 72 75 65 ┆t where not_returned = true┆ 0x28120…28140 20 6f 72 20 6c 65 76 65 6c 33 5f 61 63 6b 20 3d 20 66 61 6c 73 65 20 61 72 65 20 72 65 74 75 72 ┆ or level3_ack = false are retur┆ 0x28140…28160 6e 65 64 20 74 6f 20 74 68 65 20 0a 19 89 80 80 75 73 65 72 2c 20 61 6e 64 20 61 74 20 6c 61 73 ┆ned to the user, and at las┆ 0x28160…28180 74 20 6e 65 78 74 5f 61 63 6b 5f 62 75 66 20 69 73 20 6d 6f 76 65 64 2e 0d 0a 0d 0a 09 84 57 68 ┆t next_ack_buf is moved. Wh┆ 0x28180…281a0 65 6e 20 61 20 70 61 63 6b 65 74 20 69 73 20 61 63 6b 6e 6f 77 6c 65 64 67 65 64 20 62 79 20 74 ┆en a packet is acknowledged by t┆ 0x281a0…281c0 68 65 20 44 43 45 2c 20 6c 65 76 65 6c 33 5f 61 63 6b 20 69 73 20 73 65 74 20 74 6f 20 0a 19 89 ┆he DCE, level3_ack is set to ┆ 0x281c0…281e0 80 80 74 72 75 65 2c 20 61 6e 64 20 61 6c 6c 20 70 72 65 63 69 64 69 6e 67 20 62 75 66 66 65 72 ┆ true, and all preciding buffer┆ 0x281e0…28200 73 20 66 72 6f 6d 20 6e 65 78 74 5f 61 63 6b 5f 62 75 66 20 75 70 20 74 6f 20 74 68 65 20 66 69 ┆s from next_ack_buf up to the fi┆ 0x28200…28220 (321,) 72 73 74 20 0a 19 89 80 80 77 68 65 72 65 20 6e 6f 74 5f 72 65 74 75 72 6e 65 64 20 3d 20 74 72 ┆rst where not_returned = tr┆ 0x28220…28240 75 65 20 6f 72 20 6c 65 76 65 6c 33 5f 61 63 6b 20 3d 20 66 61 6c 73 65 20 61 72 65 20 72 65 74 ┆ue or level3_ack = false are ret┆ 0x28240…28260 75 72 6e 65 64 20 74 6f 20 0a 19 89 80 80 74 68 65 20 75 73 65 72 2c 20 61 6e 64 20 61 74 20 6c ┆urned to the user, and at l┆ 0x28260…2827c 61 73 74 20 6e 65 78 74 5f 61 63 6b 5f 62 75 66 20 69 73 20 6d 6f 76 65 64 2e 0d 0a ┆ast next_ack_buf is moved. ┆ 0x2827c…2827f FormFeed { 0x2827c…2827f 0c 80 9b ┆ ┆ 0x2827c…2827f } 0x2827f…28280 0a ┆ ┆ 0x28280…282a0 16 20 66 6f 72 6d 61 74 6c 69 6e 69 65 20 74 69 6c 20 52 43 20 6d 61 6e 75 61 6c 65 72 0d 0a 14 ┆ formatlinie til RC manualer ┆ 0x282a0…282c0 b3 0d 0a 14 b3 06 2d 20 0b 20 2d 0d 0a a1 35 2e 09 45 52 52 4f 52 20 4d 45 53 53 41 47 45 53 2e ┆ - - 5. ERROR MESSAGES.┆ 0x282c0…282e0 0d 0a 0d 0a 09 84 54 68 65 20 44 54 45 20 53 79 73 74 65 6d 20 70 72 6f 63 65 64 75 72 65 73 20 ┆ The DTE System procedures ┆ 0x282e0…28300 65 72 72 6f 72 20 6d 65 73 73 61 67 65 73 20 69 6e 20 73 65 76 65 72 61 6c 20 63 61 73 65 73 2e ┆error messages in several cases.┆ 0x28300…28320 0d 0a 0d 0a 09 84 4d 6f 73 74 20 6f 66 20 74 68 65 20 65 72 72 6f 72 20 6d 65 73 73 61 67 65 73 ┆ Most of the error messages┆ 0x28320…28340 20 6d 65 61 6e 20 74 68 61 74 20 6f 6e 65 20 6f 66 20 74 68 65 20 73 75 72 72 6f 75 6e 64 69 6e ┆ mean that one of the surroundin┆ 0x28340…28360 67 20 6d 6f 80 0a 19 89 80 80 64 75 6c 65 73 20 68 61 73 20 72 65 61 63 74 65 64 20 69 6e 20 61 ┆g mo dules has reacted in a┆ 0x28360…28380 6e 20 75 6e 65 78 70 65 63 74 65 64 20 77 61 79 20 6f 72 20 74 68 65 20 70 72 6f 67 72 61 6d 6d ┆n unexpected way or the programm┆ 0x28380…283a0 65 72 20 68 61 73 20 73 75 70 80 0a 19 89 80 80 70 6c 69 65 64 20 74 68 65 20 6d 6f 64 75 6c 65 ┆er has sup plied the module┆ 0x283a0…283c0 20 77 69 74 68 20 77 72 6f 6e 67 20 64 65 66 61 75 6c 74 20 70 61 72 61 6d 65 74 65 72 20 76 61 ┆ with wrong default parameter va┆ 0x283c0…283e0 6c 75 65 73 2e 0d 0a 0d 0a 09 84 49 6e 20 6f 74 68 65 72 20 73 69 74 75 61 74 69 6f 6e 73 20 74 ┆lues. In other situations t┆ 0x283e0…28400 68 65 20 6d 6f 64 75 6c 65 20 77 69 6c 6c 20 65 78 69 74 20 74 68 72 6f 75 67 68 20 74 68 65 20 ┆he module will exit through the ┆ 0x28400…28420 (322,) 50 41 4e 49 43 20 73 75 62 72 6f 75 80 0a 19 89 80 80 74 69 6e 65 2c 20 61 6e 64 20 74 68 65 20 ┆PANIC subrou tine, and the ┆ 0x28420…28440 70 72 6f 67 72 61 6d 6d 65 72 20 6d 75 73 74 20 74 68 65 6e 20 63 68 65 63 6b 20 75 70 20 74 68 ┆programmer must then check up th┆ 0x28440…28460 65 20 73 6f 75 72 63 65 20 70 72 6f 67 72 61 6d 73 20 0a 19 89 80 80 66 6f 72 20 69 6e 74 65 72 ┆e source programs for inter┆ 0x28460…28480 6e 61 6c 20 65 72 72 6f 72 73 2e 0d 0a 0d 0a 09 84 49 6e 20 62 6f 74 68 20 63 61 73 65 73 20 73 ┆nal errors. In both cases s┆ 0x28480…284a0 6f 6d 65 20 6f 66 20 74 68 65 20 65 72 72 6f 72 73 20 61 72 65 20 66 61 74 61 6c 20 28 65 78 69 ┆ome of the errors are fatal (exi┆ 0x284a0…284c0 74 20 6f 66 20 70 72 6f 63 65 73 73 20 69 6e 63 61 72 80 0a 19 89 80 80 6e 61 74 69 6f 6e 29 20 ┆t of process incar nation) ┆ 0x284c0…284e0 61 6e 64 20 6f 74 68 65 72 73 20 61 72 65 20 6f 6e 6c 79 20 77 61 72 6e 69 6e 67 73 2e 0d 0a 0d ┆and others are only warnings. ┆ 0x284e0…28500 0a 09 84 41 73 20 61 6c 72 65 61 64 79 20 6d 65 6e 74 69 6f 6e 65 64 20 69 6e 20 73 75 62 73 65 ┆ As already mentioned in subse┆ 0x28500…28520 63 74 69 6f 6e 20 34 2e 31 2e 32 2e 34 20 74 68 65 20 44 54 45 20 53 79 73 74 65 6d 20 75 73 65 ┆ction 4.1.2.4 the DTE System use┆ 0x28520…28540 73 20 74 77 6f 20 0a 19 89 80 80 70 72 6f 63 65 64 75 72 65 73 20 66 6f 72 20 65 72 72 6f 72 20 ┆s two procedures for error ┆ 0x28540…28560 69 6e 66 6f 72 6d 61 74 69 6f 6e 2c 20 b0 65 72 72 6f 72 5f 74 65 78 74 f0 20 66 6f 72 20 77 72 ┆information, error_text for wr┆ 0x28560…28580 69 74 69 6e 67 20 69 6e 20 6e 61 74 75 80 0a 19 89 81 80 72 61 6c 20 74 65 78 74 20 61 6e 64 20 ┆iting in natu ral text and ┆ 0x28580…285a0 b0 65 72 72 6f 72 5f 72 65 70 6f 72 74 f0 20 66 6f 72 20 6e 75 6d 65 72 69 63 20 69 6e 66 6f 72 ┆ error_report for numeric infor┆ 0x285a0…285c0 6d 61 74 69 6f 6e 20 6f 6e 6c 79 2e 0d 0a 0d 0a 09 84 49 6e 20 74 68 65 20 66 6f 6c 6c 6f 77 69 ┆mation only. In the followi┆ 0x285c0…285e0 6e 67 20 74 77 6f 20 73 65 63 74 69 6f 6e 73 20 74 68 65 20 65 72 72 6f 72 20 6d 65 73 73 61 67 ┆ng two sections the error messag┆ 0x285e0…28600 65 73 20 66 72 6f 6d 20 74 68 65 20 69 6e 64 69 80 76 69 80 0a 19 89 80 80 64 75 61 6c 20 70 72 ┆es from the indi vi dual pr┆ 0x28600…28620 (323,) 6f 63 65 73 73 65 73 20 77 69 6c 6c 20 62 65 20 6f 75 74 6c 69 6e 65 64 2e 0d 0a 0d 0a 0d 0a a1 ┆ocesses will be outlined. ┆ 0x28620…28640 35 2e 31 09 45 72 72 6f 72 20 4d 65 73 73 61 67 65 73 20 66 72 6f 6d 20 65 72 72 6f 72 5f 74 65 ┆5.1 Error Messages from error_te┆ 0x28640…28660 78 74 2e 0d 0a 0d 0a 09 84 49 6e 20 74 68 69 73 20 73 65 63 74 69 6f 6e 20 65 72 72 6f 72 20 6d ┆xt. In this section error m┆ 0x28660…28680 65 73 73 61 67 65 73 20 70 72 6f 63 65 64 75 72 65 73 20 62 79 20 75 73 69 6e 67 20 b0 65 72 72 ┆essages procedures by using err┆ 0x28680…286a0 6f 72 5f 74 65 78 74 20 f0 69 73 20 0a 19 89 81 80 64 65 73 63 72 69 62 65 64 2e 0d 0a 09 54 68 ┆or_text is described. Th┆ 0x286a0…286c0 65 20 66 6f 72 6d 61 74 20 6f 66 20 74 68 65 20 64 65 73 63 72 69 70 74 69 6f 6e 20 69 73 3a 0d ┆e format of the description is: ┆ 0x286c0…286e0 0a 0d 0a 09 20 20 20 2d 20 65 72 72 6f 72 20 74 65 78 74 0d 0a 09 20 20 20 2d 20 65 78 70 6c 61 ┆ - error text - expla┆ 0x286e0…28700 6e 61 74 69 6f 6e 0d 0a 09 20 20 20 2d 20 66 61 74 61 6c 2f 77 61 72 6e 69 6e 67 2c 20 70 72 6f ┆nation - fatal/warning, pro┆ 0x28700…28720 63 65 73 73 20 6e 61 6d 65 2e 0d 0a 0d 0a 09 54 68 65 20 6d 65 73 73 61 67 65 73 20 61 72 65 20 ┆cess name. The messages are ┆ 0x28720…28740 61 72 72 61 6e 67 65 64 20 69 6e 20 61 6c 66 61 62 65 74 69 63 20 6f 72 64 65 72 2e 0d 0a 0d 0a ┆arranged in alfabetic order. ┆ 0x28740…28760 0d 0a b0 09 2a 2a 2a 2a 09 84 63 61 6c 6c 20 66 72 6f 6d 20 44 54 45 20 41 43 43 20 6e 6f 74 20 ┆ **** call from DTE ACC not ┆ 0x28760…28780 73 74 61 63 6b 65 64 0d 0a 09 09 84 41 20 b0 63 68 61 6e 5f 73 74 61 72 74 20 f0 6d 65 73 73 61 ┆stacked A chan_start messa┆ 0x28780…287a0 67 65 20 66 72 6f 6d 20 64 74 65 5f 61 63 63 65 73 73 20 69 73 20 6e 6f 74 20 73 74 61 63 6b 65 ┆ge from dte_access is not stacke┆ 0x287a0…287c0 64 20 77 69 74 68 20 0a 19 93 81 80 61 20 75 73 65 72 20 72 65 71 75 65 73 74 20 6d 65 73 73 61 ┆d with a user request messa┆ 0x287c0…287d6 67 65 2e 0d 0a 09 09 46 61 74 61 6c 2c 20 64 74 65 2e 0d 0a 0d 0a ┆ge. Fatal, dte. ┆ 0x287d6…287d9 FormFeed { 0x287d6…287d9 0c 80 a9 ┆ ┆ 0x287d6…287d9 } 0x287d9…287e0 0a b0 b0 09 2a 2a 2a ┆ ***┆ 0x287e0…28800 2a 09 43 48 41 4e 20 65 78 63 65 70 74 69 6f 6e 20 69 6e 20 3c 69 6e 63 61 72 6e 61 74 69 6f 6e ┆* CHAN exception in <incarnation┆ 0x28800…28820 (324,) 20 6e 61 6d 65 3e 0d 0a 20 20 09 20 20 20 20 20 20 20 20 20 20 66 6f 6c 6c 6f 77 65 64 20 62 79 ┆ name> followed by┆ 0x28820…28840 20 65 69 74 68 65 72 0d 0a 09 b0 2a 2a 2a 2a 09 84 43 48 41 4e 20 65 78 63 65 70 74 69 6f 6e 20 ┆ either **** CHAN exception ┆ 0x28840…28860 69 6e 20 63 68 61 6e 20 70 72 6f 63 65 73 73 20 73 74 61 74 65 20 3d 20 69 64 6c 65 2f 65 78 69 ┆in chan process state = idle/exi┆ 0x28860…28880 74 3a 20 0a 19 93 81 82 3c 73 74 61 74 65 3e 0d 0a 09 09 6f 72 0d 0a b0 09 2a 2a 2a 2a 09 43 48 ┆t: <state> or **** CH┆ 0x28880…288a0 41 4e 20 65 78 63 65 70 74 69 6f 6e 2c 20 56 43 20 63 6c 65 61 72 65 64 2c 20 6c 63 6e 20 3d 20 ┆AN exception, VC cleared, lcn = ┆ 0x288a0…288c0 3c 6e 6f 3e 0d 0a b0 09 2a 2a 2a 2a 09 43 48 41 4e 20 76 65 72 73 3a 20 3c 6e 6f 31 3e 0d 0a 09 ┆<no> **** CHAN vers: <no1> ┆ 0x288c0…288e0 09 84 41 6e 20 65 78 63 65 70 74 69 6f 6e 20 69 6e 20 61 20 64 74 65 5f 63 68 61 6e 20 70 72 6f ┆ An exception in a dte_chan pro┆ 0x288e0…28900 63 65 73 73 20 69 6e 63 61 72 6e 61 74 69 6f 6e 20 68 61 73 20 6f 63 80 0a 19 93 80 80 63 75 72 ┆cess incarnation has oc cur┆ 0x28900…28920 65 64 2e 20 49 66 20 74 68 65 20 66 69 72 73 74 20 63 61 73 65 20 69 73 20 70 72 69 6e 74 65 64 ┆ed. If the first case is printed┆ 0x28920…28940 2c 20 74 68 65 20 65 78 63 65 70 74 69 6f 6e 20 68 61 73 20 0a 19 93 80 80 6f 63 63 75 72 65 64 ┆, the exception has occured┆ 0x28940…28960 20 69 6e 20 74 68 65 20 73 74 61 74 65 20 69 64 6c 65 20 28 3c 73 74 61 74 65 3e 3d 31 29 20 6f ┆ in the state idle (<state>=1) o┆ 0x28960…28980 72 20 65 78 69 74 20 28 3c 73 74 61 74 65 3e 20 0a 19 93 80 80 3d 30 29 2e 20 49 6e 20 74 68 65 ┆r exit (<state> =0). In the┆ 0x28980…289a0 20 73 65 63 6f 6e 64 20 63 61 73 65 2c 20 74 68 65 20 56 69 72 74 75 61 6c 20 43 61 6c 6c 20 77 ┆ second case, the Virtual Call w┆ 0x289a0…289c0 69 74 68 20 6c 6f 67 69 63 61 6c 20 0a 19 93 80 80 63 68 61 6e 6e 65 6c 20 6e 75 6d 80 62 65 72 ┆ith logical channel num ber┆ 0x289c0…289e0 20 3c 6e 6f 3e 20 69 73 20 63 6c 65 61 72 65 64 2e 20 3c 6e 6f 31 3e 20 69 73 20 74 68 65 20 76 ┆ <no> is cleared. <no1> is the v┆ 0x289e0…28a00 65 72 73 69 6f 6e 20 0a 19 93 80 80 6e 75 6d 62 65 72 20 6f 66 20 74 68 65 20 64 74 65 5f 63 68 ┆ersion number of the dte_ch┆ 0x28a00…28a20 (325,) 61 6e 20 70 72 6f 63 65 73 73 2e 0d 0a 09 09 57 61 72 6e 69 6e 67 2c 20 64 74 65 2e 0d 0a 0d 0a ┆an process. Warning, dte. ┆ 0x28a20…28a40 b0 09 2a 2a 2a 2a 09 63 72 65 61 74 65 20 3c 6e 61 6d 65 3e 20 6e 6f 74 20 70 6f 73 73 69 62 6c ┆ **** create <name> not possibl┆ 0x28a40…28a60 65 3a 20 3c 6e 6f 3e 0d 0a 09 09 84 49 74 20 77 61 73 20 6e 6f 74 20 70 6f 73 73 69 62 6c 65 20 ┆e: <no> It was not possible ┆ 0x28a60…28a80 74 6f 20 63 72 65 61 74 65 20 61 6e 20 69 6e 63 61 72 6e 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 ┆to create an incarnation of the ┆ 0x28a80…28aa0 0a 19 93 80 80 3c 6e 61 6d 65 3e 20 70 72 6f 63 65 73 73 2e 0d 0a 09 09 84 3c 6e 6f 3e 20 69 73 ┆ <name> process. <no> is┆ 0x28aa0…28ac0 20 74 68 65 20 72 65 73 75 6c 74 20 66 72 6f 6d 20 74 68 65 20 63 61 6c 6c 20 6f 66 20 63 72 65 ┆ the result from the call of cre┆ 0x28ac0…28ae0 61 74 65 20 28 73 65 65 20 72 65 66 2e 20 0a 19 93 80 80 28 31 33 29 29 2e 0d 0a 0d 0a 09 09 3c ┆ate (see ref. (13)). <┆ 0x28ae0…28b00 6e 61 6d 65 3e 20 61 72 65 3a 0d 0a 09 09 20 20 20 44 54 45 20 41 43 43 09 66 61 74 61 6c 2c 20 ┆name> are: DTE ACC fatal, ┆ 0x28b00…28b20 64 74 65 0d 0a 09 09 20 20 20 44 54 45 20 43 48 41 4e 09 66 61 74 61 6c 2c 20 64 74 65 0d 0a 09 ┆dte DTE CHAN fatal, dte ┆ 0x28b20…28b40 09 20 20 20 44 54 45 20 43 4c 4f 43 4b 09 66 61 74 61 6c 2c 20 64 74 65 74 65 73 74 0d 0a 09 09 ┆ DTE CLOCK fatal, dtetest ┆ 0x28b40…28b60 20 20 20 44 54 45 20 48 52 45 43 09 66 61 74 61 6c 2c 20 64 74 65 0d 0a 09 09 20 20 20 44 54 45 ┆ DTE HREC fatal, dte DTE┆ 0x28b60…28b80 20 4c 43 4e 30 09 66 61 74 61 6c 2c 20 64 74 65 0d 0a 09 09 20 20 20 44 54 45 20 50 4f 4f 4c 48 ┆ LCN0 fatal, dte DTE POOLH┆ 0x28b80…28ba0 09 66 61 74 61 6c 2c 20 64 74 65 0d 0a 09 09 20 20 20 44 54 45 20 54 45 53 54 09 77 61 72 6e 69 ┆ fatal, dte DTE TEST warni┆ 0x28ba0…28bc0 6e 67 2c 20 64 74 65 0d 0a 09 09 20 20 20 44 54 45 20 53 4e 4f 4f 50 09 77 61 72 6e 69 6e 67 2c ┆ng, dte DTE SNOOP warning,┆ 0x28bc0…28be0 20 64 74 65 0d 0a 09 09 20 20 20 4f 55 54 54 52 41 43 45 09 77 61 72 6e 69 6e 67 2c 20 64 74 65 ┆ dte OUTTRACE warning, dte┆ 0x28be0…28c00 0d 0a 09 09 20 20 20 54 52 41 43 45 09 09 77 61 72 6e 69 6e 67 2c 20 64 74 65 0d 0a 09 09 46 61 ┆ TRACE warning, dte Fa┆ 0x28c00…28c20 (326,) 74 61 6c 2f 77 61 72 6e 69 6e 67 2c 20 64 74 65 2f 64 74 65 74 65 73 74 0d 0a 0d 0a 09 b0 2a 2a ┆tal/warning, dte/dtetest **┆ 0x28c20…28c40 2a 2a 09 64 65 66 61 75 6c 74 20 4c 54 43 4e 20 67 72 65 61 74 65 72 20 74 68 61 6e 20 64 65 66 ┆** default LTCN greater than def┆ 0x28c40…28c60 61 75 6c 74 20 48 54 43 4e 0d 0a 09 09 84 54 68 65 20 64 65 66 61 75 6c 74 20 61 73 73 69 67 6e ┆ault HTCN The default assign┆ 0x28c60…28c80 65 64 20 69 6e 74 65 72 76 61 6c 20 6c 69 6d 69 74 73 20 61 72 65 20 6e 6f 74 20 70 6f 73 80 73 ┆ed interval limits are not pos s┆ 0x28c80…28ca0 69 62 6c 65 2e 20 0a 19 93 80 80 4c 6f 77 65 72 20 6e 75 6d 62 65 72 20 67 72 65 61 74 65 72 20 ┆ible. Lower number greater ┆ 0x28ca0…28cc0 74 68 61 6e 20 68 69 67 68 65 72 2e 0d 0a 09 09 46 61 74 61 6c 2c 20 64 74 65 2e 0d 0a 0d 0a 8c ┆than higher. Fatal, dte. ┆ 0x28cc0…28ce0 80 a7 0a 20 20 20 20 20 20 20 20 20 b0 2a 2a 2a 2a 09 64 65 66 61 75 6c 74 20 77 69 6e 64 6f 77 ┆ **** default window┆ 0x28ce0…28d00 20 73 69 7a 65 20 6f 75 74 20 6f 66 20 72 61 6e 67 65 20 3a 20 3c 6e 6f 3e 09 0d 0a 09 09 84 54 ┆ size out of range : <no> T┆ 0x28d00…28d20 68 65 20 64 65 66 61 75 6c 74 20 77 69 6e 64 6f 77 20 73 69 7a 65 20 69 73 20 67 72 65 61 74 65 ┆he default window size is greate┆ 0x28d20…28d40 72 20 74 68 61 6e 20 37 2e 20 3c 6e 6f 3e 20 69 73 20 74 68 65 20 0a 19 93 80 80 76 61 6c 75 65 ┆r than 7. <no> is the value┆ 0x28d40…28d60 20 6f 66 20 64 74 65 5f 63 6f 6e 66 5f 72 65 63 2e 64 77 5f 73 69 7a 65 2e 0d 0a 09 09 46 61 74 ┆ of dte_conf_rec.dw_size. Fat┆ 0x28d60…28d80 61 6c 2c 20 64 74 65 2e 0d 0a 0d 0a b0 09 2a 2a 2a 2a 09 64 69 61 67 6e 6f 73 74 69 63 20 70 61 ┆al, dte. **** diagnostic pa┆ 0x28d80…28da0 63 6b 65 74 20 6e 6f 74 20 61 6c 6c 6f 77 65 64 0d 0a 09 09 84 54 68 65 20 70 72 6f 63 65 64 75 ┆cket not allowed The procedu┆ 0x28da0…28dc0 72 65 20 b0 64 65 63 5f 78 32 35 20 b0 f0 28 73 65 65 20 73 75 62 73 65 63 74 69 6f 6e 20 34 2e ┆re dec_x25 (see subsection 4.┆ 0x28dc0…28de0 31 2e 32 2e 31 29 20 67 69 76 65 73 20 74 68 65 20 0a 19 93 82 80 72 65 73 75 6c 74 20 27 64 69 ┆1.2.1) gives the result 'di┆ 0x28de0…28e00 61 67 5f 6e 6f 74 5f 61 6c 6c 77 27 2e 20 45 72 72 6f 72 20 69 6e 20 70 72 6f 63 65 64 75 72 65 ┆ag_not_allw'. Error in procedure┆ 0x28e00…28e20 (327,) 2c 20 69 66 20 6d 6f 64 75 6c 65 20 69 73 20 0a 19 93 82 80 75 73 65 64 20 61 73 20 44 54 45 2e ┆, if module is used as DTE.┆ 0x28e20…28e40 0d 0a 09 09 57 61 72 6e 69 6e 67 2c 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 2e 0d 0a 0d 0a b0 09 2a ┆ Warning, dte_lcnzero. *┆ 0x28e40…28e60 2a 2a 2a 09 44 54 45 20 64 69 73 63 6f 6e 6e 65 63 74 65 64 20 66 72 6f 6d 20 4e 43 50 0d 0a 09 ┆*** DTE disconnected from NCP ┆ 0x28e60…28e80 09 57 61 72 6e 69 6e 67 2c 20 64 74 65 2e 0d 0a 0d 0a b0 09 2a 2a 2a 2a 09 44 54 45 20 72 65 63 ┆ Warning, dte. **** DTE rec┆ 0x28e80…28ea0 65 69 76 65 64 20 48 44 4c 43 20 65 78 63 65 70 74 69 6f 6e 2f 70 61 72 69 74 79 20 65 72 72 6f ┆eived HDLC exception/parity erro┆ 0x28ea0…28ec0 72 0d 0a b0 09 2a 2a 2a 2a 09 44 54 45 20 67 69 76 65 73 20 75 70 20 74 6f 20 63 6f 6e 6e 65 63 ┆r **** DTE gives up to connec┆ 0x28ec0…28ee0 74 20 44 52 49 56 45 52 0d 0a 09 09 84 54 68 65 20 44 54 45 20 68 61 73 20 72 65 63 65 69 76 65 ┆t DRIVER The DTE has receive┆ 0x28ee0…28f00 64 20 61 6e 20 65 76 65 6e 74 20 69 6e 64 69 63 61 74 69 6e 67 20 61 6e 20 48 44 4c 43 4c 43 50 ┆d an event indicating an HDLCLCP┆ 0x28f00…28f20 20 65 78 80 0a 19 93 80 80 63 65 70 74 69 6f 6e 20 6f 72 20 61 6e 20 70 61 72 69 74 79 20 65 72 ┆ ex ception or an parity er┆ 0x28f20…28f40 72 6f 72 20 69 6e 20 74 68 65 20 63 6f 6e 74 72 6f 6c 6c 65 72 2e 0d 0a 09 09 57 61 72 6e 69 6e ┆ror in the controller. Warnin┆ 0x28f40…28f60 67 2c 20 64 74 65 2e 0d 0a 0d 0a b0 09 2a 2a 2a 2a 09 65 72 72 6f 72 20 69 6e 20 64 65 66 61 75 ┆g, dte. **** error in defau┆ 0x28f60…28f80 6c 74 20 48 54 43 2c 20 4c 54 43 20 3a 20 3c 6e 6f 3e 0d 0a 09 09 84 54 68 65 20 64 65 66 61 75 ┆lt HTC, LTC : <no> The defau┆ 0x28f80…28fa0 6c 74 20 61 73 73 69 67 6e 65 64 20 69 6e 74 65 72 76 61 6c 20 28 6c 74 63 2c 20 68 74 63 29 20 ┆lt assigned interval (ltc, htc) ┆ 0x28fa0…28fc0 69 73 20 67 72 65 61 74 65 72 20 74 68 61 6e 20 0a 19 93 80 80 64 74 65 5f 63 6f 6e 66 5f 72 65 ┆is greater than dte_conf_re┆ 0x28fc0…28fe0 63 2e 6d 61 78 5f 63 68 61 6e 2e 20 3c 6e 6f 3e 20 3d 20 68 74 63 2d 6c 74 63 2b 31 2e 0d 0a 09 ┆c.max_chan. <no> = htc-ltc+1. ┆ 0x28fe0…29000 09 46 61 74 61 6c 2c 20 64 74 65 2e 0d 0a 0d 0a b0 09 2a 2a 2a 2a 09 65 72 72 6f 72 20 69 6e 20 ┆ Fatal, dte. **** error in ┆ 0x29000…29020 (328,) 6f 77 6e 20 44 54 45 20 41 44 44 52 45 53 53 20 61 74 20 69 6e 64 65 78 20 3d 20 3c 6e 6f 3e 0d ┆own DTE ADDRESS at index = <no> ┆ 0x29020…29040 0a 09 09 84 54 68 65 20 64 69 67 69 74 20 61 74 20 69 6e 64 65 78 20 3c 6e 6f 3e 20 69 73 20 6e ┆ The digit at index <no> is n┆ 0x29040…29060 6f 74 20 77 69 74 68 69 6e 20 74 68 65 20 72 61 6e 67 65 20 30 2e 2e 39 2e 0d 0a 09 09 46 61 74 ┆ot within the range 0..9. Fat┆ 0x29060…29080 61 6c 2c 20 64 74 65 2e 0d 0a 0d 0a b0 09 2a 2a 2a 2a 09 65 72 72 6f 72 20 69 6e 20 72 65 71 75 ┆al, dte. **** error in requ┆ 0x29080…290a0 65 73 74 5f 65 76 65 6e 74 5f 62 75 66 20 66 72 6f 6d 20 4e 43 50 20 3a 20 3c 6e 6f 3e 0d 0a 09 ┆est_event_buf from NCP : <no> ┆ 0x290a0…290c0 09 84 41 20 b0 72 65 71 75 65 73 74 5f 65 76 65 6e 74 5f 62 75 66 20 f0 6d 65 73 73 61 67 65 20 ┆ A request_event_buf message ┆ 0x290c0…290e0 69 73 20 72 65 74 75 72 6e 65 64 20 66 72 6f 6d 20 74 68 65 20 4e 43 50 20 0a 19 93 81 80 77 69 ┆is returned from the NCP wi┆ 0x290e0…29100 74 68 20 61 6e 20 75 6e 65 78 70 65 63 74 65 64 20 75 32 20 76 61 6c 75 65 20 28 3c 6e 6f 3e 29 ┆th an unexpected u2 value (<no>)┆ 0x29100…29120 2e 0d 0a 09 09 57 61 72 6e 69 6e 67 2c 20 64 74 65 2e 0d 0a 0d 0a b0 09 2a 2a 2a 2a 09 65 78 63 ┆. Warning, dte. **** exc┆ 0x29120…29140 65 70 74 69 6f 6e 20 72 65 63 65 69 76 65 64 20 66 72 6f 6d 20 75 6e 6b 6e 6f 77 6e 20 70 72 6f ┆eption received from unknown pro┆ 0x29140…29160 63 65 73 73 0d 0a 09 09 84 41 20 b0 62 72 65 61 6b 20 f0 6d 65 73 73 61 67 65 20 69 73 20 72 65 ┆cess A break message is re┆ 0x29160…29180 63 65 69 76 65 64 20 66 72 6f 6d 20 61 6e 20 75 6e 6b 6e 6f 77 6e 20 70 72 6f 63 65 73 73 2e 0d ┆ceived from an unknown process. ┆ 0x29180…29192 0a 09 09 57 61 72 6e 69 6e 67 2c 20 64 74 65 2e 0d 0a ┆ Warning, dte. ┆ 0x29192…29195 FormFeed { 0x29192…29195 0c 80 a5 ┆ ┆ 0x29192…29195 } 0x29195…291a0 0a b0 09 2a 2a 2a 2a 09 48 44 4c ┆ **** HDL┆ 0x291a0…291c0 43 20 63 6f 6e 74 72 6f 6c 20 6f 70 65 72 61 74 69 6f 6e 20 72 65 74 75 72 6e 65 64 20 77 69 74 ┆C control operation returned wit┆ 0x291c0…291e0 68 20 75 73 65 72 20 74 65 72 6d 0d 0a b0 09 2a 2a 2a 2a 09 44 54 45 20 67 69 76 65 73 20 75 70 ┆h user term **** DTE gives up┆ 0x291e0…29200 20 74 6f 20 63 6f 6e 6e 65 63 74 20 44 52 49 56 45 52 0d 0a 09 09 84 41 6e 20 48 44 4c 43 20 63 ┆ to connect DRIVER An HDLC c┆ 0x29200…29220 (329,) 6f 6e 74 72 6f 6c 20 6f 70 65 72 61 74 69 6f 6e 20 69 73 20 72 65 74 75 72 6e 65 64 20 77 69 74 ┆ontrol operation is returned wit┆ 0x29220…29240 68 20 61 6e 20 72 65 73 75 6c 74 20 69 6e 80 0a 19 93 80 80 64 69 63 61 74 69 6e 67 20 65 69 74 ┆h an result in dicating eit┆ 0x29240…29260 68 65 72 20 48 44 4c 43 4c 43 50 20 65 78 63 65 70 74 69 6f 6e 20 6f 72 20 63 6f 6e 74 72 6f 6c ┆her HDLCLCP exception or control┆ 0x29260…29280 6c 65 72 20 70 61 72 69 74 79 20 0a 19 93 80 80 65 72 72 6f 72 2e 0d 0a 09 09 57 61 72 6e 69 6e ┆ler parity error. Warnin┆ 0x29280…292a0 67 2c 20 64 74 65 2e 0d 0a 0d 0a b0 09 2a 2a 2a 2a 09 69 6c 6c 65 67 61 6c 20 63 68 61 6e 6e 65 ┆g, dte. **** illegal channe┆ 0x292a0…292c0 6c 0d 0a 09 09 84 54 68 65 20 70 72 6f 63 65 64 75 72 65 20 b0 64 65 63 5f 78 32 35 20 f0 28 73 ┆l The procedure dec_x25 (s┆ 0x292c0…292e0 65 65 20 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 31 2e 32 2e 31 29 20 67 69 76 65 73 20 74 68 65 ┆ee subsection 4.1.2.1) gives the┆ 0x292e0…29300 20 0a 19 93 81 80 72 65 73 75 6c 74 20 27 69 6c 6c 5f 63 68 61 6e 6e 65 6c 27 2e 20 49 2e 65 2e ┆ result 'ill_channel'. I.e.┆ 0x29300…29320 20 6c 6f 67 69 63 61 6c 20 63 68 61 6e 6e 65 6c 20 6e 75 6d 62 65 72 20 69 73 20 6e 6f 74 20 0a ┆ logical channel number is not ┆ 0x29320…29340 19 93 81 80 7a 65 72 6f 2e 0d 0a 09 09 57 61 72 6e 69 6e 67 2c 20 64 74 65 5f 6c 63 6e 7a 65 72 ┆ zero. Warning, dte_lcnzer┆ 0x29340…29360 6f 2e 0d 0a 0d 0a b0 09 2a 2a 2a 2a 09 69 6c 6c 65 67 61 6c 20 48 44 4c 43 20 63 6f 6e 6e 65 63 ┆o. **** illegal HDLC connec┆ 0x29360…29380 74 20 69 64 65 6e 74 20 3a 20 3c 6e 6f 3e 0d 0a 09 09 84 54 68 65 20 64 65 66 61 75 6c 74 20 70 ┆t ident : <no> The default p┆ 0x29380…293a0 61 72 61 6d 65 74 65 72 20 68 64 6c 63 5f 70 61 72 61 6d 2e 63 5f 69 64 20 68 61 73 20 61 20 6e ┆arameter hdlc_param.c_id has a n┆ 0x293a0…293c0 65 67 61 74 69 76 65 20 76 61 80 0a 19 93 80 80 6c 75 65 20 28 3c 6e 6f 3e 29 2e 0d 0a 09 09 46 ┆egative va lue (<no>). F┆ 0x293c0…293e0 61 74 61 6c 2c 20 64 74 65 2e 0d 0a 0d 0a b0 09 2a 2a 2a 2a 09 69 6c 6c 65 67 61 6c 20 48 44 4c ┆atal, dte. **** illegal HDL┆ 0x293e0…29400 43 20 72 65 74 72 61 6e 73 6d 69 73 73 69 6f 6e 20 63 6f 75 6e 74 65 72 20 3a 20 3c 6e 6f 3e 0d ┆C retransmission counter : <no> ┆ 0x29400…29420 (330,) 0a 09 09 84 54 68 65 20 64 65 66 61 75 6c 74 20 70 61 72 61 6d 65 74 65 72 20 68 64 6c 63 5f 70 ┆ The default parameter hdlc_p┆ 0x29420…29440 61 72 61 6d 2e 6e 32 20 69 73 20 6f 75 74 20 6f 66 20 72 61 6e 67 65 20 28 a1 3c e1 30 20 0a 19 ┆aram.n2 is out of range ( < 0 ┆ 0x29440…29460 93 80 80 6f 72 20 a1 3e e1 36 34 29 2e 20 3c 6e 6f 3e 20 69 73 20 74 68 65 20 61 63 74 75 61 6c ┆ or > 64). <no> is the actual┆ 0x29460…29480 20 76 61 6c 75 65 2e 0d 0a 09 09 46 61 74 61 6c 2c 20 64 74 65 2e 0d 0a 0d 0a b0 09 2a 2a 2a 2a ┆ value. Fatal, dte. ****┆ 0x29480…294a0 09 69 6c 6c 65 67 61 6c 20 48 44 4c 43 20 72 65 74 72 61 6e 73 6d 69 73 73 69 6f 6e 20 74 69 6d ┆ illegal HDLC retransmission tim┆ 0x294a0…294c0 65 72 20 3a 20 3c 6e 6f 3e 0d 0a 09 09 84 54 68 65 20 64 65 66 61 75 6c 74 20 70 61 72 61 6d 65 ┆er : <no> The default parame┆ 0x294c0…294e0 74 65 72 20 68 64 6c 63 5f 70 61 72 61 6d 2e 74 31 20 68 61 73 20 61 20 6e 65 67 61 74 69 76 65 ┆ter hdlc_param.t1 has a negative┆ 0x294e0…29500 20 76 61 6c 75 65 20 0a 19 93 80 80 28 3c 6e 6f 3e 29 2e 0d 0a 09 09 46 61 74 61 6c 2c 20 64 74 ┆ value (<no>). Fatal, dt┆ 0x29500…29520 65 2e 0d 0a 0d 0a b0 09 2a 2a 2a 2a 09 69 6c 6c 65 67 61 6c 20 6f 70 65 72 61 74 69 6f 6e 20 66 ┆e. **** illegal operation f┆ 0x29520…29540 72 6f 6d 20 73 75 70 20 3a 20 3c 6e 6f 3e 0d 0a 09 09 84 41 6e 20 75 6e 6b 6e 6f 77 6e 20 6f 70 ┆rom sup : <no> An unknown op┆ 0x29540…29560 65 72 61 74 69 6f 6e 2c 20 3c 6e 6f 3e 2c 20 69 73 20 72 65 63 65 69 76 65 64 20 66 72 6f 6d 20 ┆eration, <no>, is received from ┆ 0x29560…29580 74 68 65 20 64 74 65 20 0a 19 93 80 80 70 72 6f 63 65 73 73 2e 0d 0a 09 09 57 61 72 6e 69 6e 67 ┆the dte process. Warning┆ 0x29580…295a0 2c 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 2e 0d 0a 0d 0a b0 09 2a 2a 2a 2a 09 69 6c 6c 65 67 61 6c ┆, dte_lcnzero. **** illegal┆ 0x295a0…295c0 20 73 74 61 74 65 20 69 6e 20 63 68 61 6e 6e 65 6c 20 70 72 6f 63 20 64 65 73 63 0d 0a 09 09 84 ┆ state in channel proc desc ┆ 0x295c0…295e0 41 20 b0 73 79 6e 63 5f 6d 65 73 73 20 f0 69 73 20 72 65 63 65 69 76 65 64 20 69 6e 20 61 6e 20 ┆A sync_mess is received in an ┆ 0x295e0…29600 69 6c 6c 65 67 61 6c 20 73 74 61 74 65 20 28 70 5f 69 64 6c 65 2c 20 0a 19 93 81 80 70 5f 65 78 ┆illegal state (p_idle, p_ex┆ 0x29600…29615 (331,) 69 74 29 2e 0d 0a 09 09 46 61 74 61 6c 2c 20 64 74 65 2e 0d 0a ┆it). Fatal, dte. ┆ 0x29615…29618 FormFeed { 0x29615…29618 0c 80 a5 ┆ ┆ 0x29615…29618 } 0x29618…29620 0a b0 09 2a 2a 2a 2a 09 ┆ **** ┆ 0x29620…29640 69 6c 6c 65 67 61 6c 20 76 61 6c 75 65 20 6f 66 20 6f 75 74 73 74 61 6e 64 69 6e 67 20 48 44 4c ┆illegal value of outstanding HDL┆ 0x29640…29660 43 20 66 72 61 6d 65 73 20 3a 20 3c 6e 6f 3e 0d 0a 09 09 84 54 68 65 20 64 65 66 61 75 6c 74 20 ┆C frames : <no> The default ┆ 0x29660…29680 70 61 72 61 6d 65 74 65 72 20 68 64 6c 63 5f 70 61 72 61 6d 2e 6b 20 65 71 75 61 6c 73 20 7a 65 ┆parameter hdlc_param.k equals ze┆ 0x29680…296a0 72 6f 20 28 3c 6e 6f 3e 20 3d 20 0a 19 93 80 80 30 29 2e 0d 0a 09 09 46 61 74 61 6c 2c 20 64 74 ┆ro (<no> = 0). Fatal, dt┆ 0x296a0…296c0 65 2e 0d 0a 0d 0a b0 09 2a 2a 2a 2a 09 69 6e 63 2e 20 6f 66 20 48 65 61 64 2d 70 6f 6f 6c 20 6e ┆e. **** inc. of Head-pool n┆ 0x296c0…296e0 6f 74 20 70 6f 73 73 69 62 6c 65 20 3a 20 3c 6e 6f 3e 0d 0a 09 09 84 49 74 20 77 61 73 20 6e 6f ┆ot possible : <no> It was no┆ 0x296e0…29700 74 20 70 6f 73 73 69 62 6c 65 20 74 6f 20 69 6e 63 72 65 6d 65 6e 74 20 74 68 65 20 6e 75 6d 62 ┆t possible to increment the numb┆ 0x29700…29720 65 72 20 6f 66 20 62 75 66 66 65 72 73 20 0a 19 93 80 80 69 6e 20 68 65 61 64 5f 70 6f 6f 6c 2e ┆er of buffers in head_pool.┆ 0x29720…29740 20 3c 6e 6f 3e 20 69 6e 64 69 63 61 74 65 73 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 62 75 ┆ <no> indicates the number of bu┆ 0x29740…29760 66 66 65 72 73 2c 20 0a 19 93 80 80 77 68 69 63 68 20 74 68 65 20 70 6f 6f 6c 20 61 6c 72 65 61 ┆ffers, which the pool alrea┆ 0x29760…29780 64 79 20 69 73 20 69 6e 69 74 69 61 6c 69 7a 65 64 20 77 69 74 68 2e 0d 0a 09 09 46 61 74 61 6c ┆dy is initialized with. Fatal┆ 0x29780…297a0 2c 20 64 74 65 2e 0d 0a 0d 0a b0 09 2a 2a 2a 2a 09 69 6e 63 2e 20 6f 66 20 53 6d 65 73 73 2d 70 ┆, dte. **** inc. of Smess-p┆ 0x297a0…297c0 6f 6f 6c 20 6e 6f 74 20 70 6f 73 73 69 62 6c 65 20 3a 20 3c 6e 6f 3e 0d 0a 09 09 84 49 74 20 77 ┆ool not possible : <no> It w┆ 0x297c0…297e0 61 73 20 6e 6f 74 20 70 6f 73 73 69 62 6c 65 20 74 6f 20 69 6e 63 72 65 6d 65 6e 74 20 74 68 65 ┆as not possible to increment the┆ 0x297e0…29800 20 6e 75 6d 62 65 72 20 6f 66 20 62 75 66 66 65 72 73 20 0a 19 93 80 80 69 6e 20 73 75 70 6d 65 ┆ number of buffers in supme┆ 0x29800…29820 (332,) 73 73 70 6f 6f 6c 2e 20 3c 6e 6f 3e 20 69 73 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 62 75 ┆sspool. <no> is the number of bu┆ 0x29820…29840 66 66 65 72 73 2c 20 77 68 69 63 68 20 0a 19 93 80 80 74 68 65 20 70 6f 6f 6c 20 61 6c 72 65 61 ┆ffers, which the pool alrea┆ 0x29840…29860 64 79 20 69 73 20 69 6e 69 74 69 61 6c 69 7a 65 64 20 77 69 74 68 2e 0d 0a 09 09 46 61 74 61 6c ┆dy is initialized with. Fatal┆ 0x29860…29880 2c 20 64 74 65 2e 0d 0a 0d 0a b0 09 2a 2a 2a 2a 09 69 6e 69 74 20 6f 66 20 42 69 67 2d 70 6f 6f ┆, dte. **** init of Big-poo┆ 0x29880…298a0 6c 20 6e 6f 74 20 70 6f 73 73 69 62 6c 65 20 3a 20 3c 6e 6f 3e 0d 0a 09 09 84 49 6e 69 74 69 61 ┆l not possible : <no> Initia┆ 0x298a0…298c0 6c 69 7a 61 74 69 6f 6e 20 6f 66 20 62 69 67 70 6f 6f 6c 20 28 62 69 67 20 69 6e 70 75 74 20 62 ┆lization of bigpool (big input b┆ 0x298c0…298e0 75 66 66 65 72 73 20 73 65 65 20 73 75 62 73 65 63 80 0a 19 93 80 80 74 69 6f 6e 20 34 2e 31 2e ┆uffers see subsec tion 4.1.┆ 0x298e0…29900 33 29 20 77 69 74 68 20 74 68 65 20 72 65 71 75 69 72 65 64 20 6e 75 6d 62 65 72 20 6f 66 20 62 ┆3) with the required number of b┆ 0x29900…29920 75 66 66 65 72 73 20 69 73 20 6e 6f 74 20 0a 19 93 80 80 70 6f 73 80 73 69 62 6c 65 2e 20 3c 6e ┆uffers is not pos sible. <n┆ 0x29920…29940 6f 3e 20 69 73 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 62 75 66 66 65 72 73 20 66 72 6f 6d ┆o> is the number of buffers from┆ 0x29940…29960 20 69 6e 69 74 70 6f 6f 6c 2e 0d 0a 09 09 46 61 74 61 6c 2c 20 64 74 65 2e 0d 0a 0d 0a b0 09 2a ┆ initpool. Fatal, dte. *┆ 0x29960…29980 2a 2a 2a 09 69 6e 69 74 20 6f 66 20 43 68 72 65 73 2d 70 6f 6f 6c 20 6e 6f 74 20 70 6f 73 73 69 ┆*** init of Chres-pool not possi┆ 0x29980…299a0 62 6c 65 20 3a 20 3c 6e 6f 3e 0d 0a 09 09 84 49 6e 69 74 69 61 6c 69 7a 61 74 69 6f 6e 20 6f 66 ┆ble : <no> Initialization of┆ 0x299a0…299c0 20 63 68 5f 72 65 73 5f 70 6f 6f 6c 20 28 63 68 61 6e 6e 65 6c 20 72 65 73 74 61 72 74 20 6d 65 ┆ ch_res_pool (channel restart me┆ 0x299c0…299e0 73 73 61 67 65 73 29 20 0a 19 93 80 80 77 69 74 68 20 64 74 65 5f 63 6f 6e 66 5f 72 65 63 2e 6d ┆ssages) with dte_conf_rec.m┆ 0x299e0…29a00 61 78 5f 63 68 61 6e 20 62 75 66 66 65 72 73 20 6e 6f 74 20 70 6f 73 73 69 62 6c 65 2e 20 3c 6e ┆ax_chan buffers not possible. <n┆ 0x29a00…29a20 (333,) 6f 3e 20 69 73 20 0a 19 93 80 80 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 62 75 66 66 65 72 73 ┆o> is the number of buffers┆ 0x29a20…29a40 20 66 72 6f 6d 20 69 6e 69 74 70 6f 6f 6c 2e 0d 0a 09 09 46 61 74 61 6c 2c 20 64 74 65 2e 0d 0a ┆ from initpool. Fatal, dte. ┆ 0x29a40…29a60 0d 0a b0 09 2a 2a 2a 2a 09 69 6e 69 74 20 6f 66 20 45 76 65 6e 74 2d 70 6f 6f 6c 20 6e 6f 74 20 ┆ **** init of Event-pool not ┆ 0x29a60…29a80 70 6f 73 73 69 62 6c 65 20 3a 20 3c 6e 6f 3e 0d 0a 09 09 84 49 6e 69 74 69 61 6c 69 7a 61 74 69 ┆possible : <no> Initializati┆ 0x29a80…29aa0 6f 6e 20 6f 66 20 65 76 65 6e 74 5f 70 6f 6f 6c 20 28 6f 77 6e 20 69 6e 74 65 72 6e 61 6c 20 65 ┆on of event_pool (own internal e┆ 0x29aa0…29ac0 76 65 6e 74 20 62 75 66 80 0a 19 93 80 80 66 65 72 73 29 20 77 69 74 68 20 70 6f 6f 6c 5f 63 6f ┆vent buf fers) with pool_co┆ 0x29ac0…29ae0 6e 66 5f 72 65 63 2e 65 76 65 6e 74 62 75 66 5f 6e 6f 20 6e 75 6d 62 65 72 20 6f 66 20 62 75 66 ┆nf_rec.eventbuf_no number of buf┆ 0x29ae0…29b00 66 65 72 73 20 0a 19 93 80 80 69 73 20 6e 6f 74 20 70 6f 73 73 69 62 6c 65 2e 20 3c 6e 6f 3e 20 ┆fers is not possible. <no> ┆ 0x29b00…29b20 69 73 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 62 75 66 66 65 72 73 20 66 72 6f 6d 20 0a 19 ┆is the number of buffers from ┆ 0x29b20…29b3d 93 80 80 69 6e 69 74 70 6f 6f 6c 2e 0d 0a 09 09 46 61 74 61 6c 2c 20 64 74 65 2e 0d 0a ┆ initpool. Fatal, dte. ┆ 0x29b3d…29b40 FormFeed { 0x29b3d…29b40 0c 80 a3 ┆ ┆ 0x29b3d…29b40 } 0x29b40…29b60 0a b0 09 2a 2a 2a 2a 09 69 6e 69 74 20 6f 66 20 48 44 4c 43 20 65 76 65 6e 74 20 6e 6f 74 20 70 ┆ **** init of HDLC event not p┆ 0x29b60…29b80 6f 73 73 69 62 6c 65 20 3a 20 3c 6e 6f 3e 0d 0a 09 09 84 49 6e 69 74 69 61 6c 69 7a 61 74 69 6f ┆ossible : <no> Initializatio┆ 0x29b80…29ba0 6e 20 6f 66 20 68 64 6c 63 5f 65 76 5f 70 6f 6f 6c 20 28 68 64 6c 63 20 65 76 65 6e 74 20 70 6f ┆n of hdlc_ev_pool (hdlc event po┆ 0x29ba0…29bc0 6f 6c 29 20 77 69 74 68 20 0a 19 93 80 80 70 6f 6f 6c 5f 63 6f 6e 66 5f 72 65 63 2e 68 64 6c 63 ┆ol) with pool_conf_rec.hdlc┆ 0x29bc0…29be0 5f 65 76 65 6e 74 6e 6f 20 6e 75 6d 62 65 72 20 6f 66 20 62 75 66 66 65 72 73 20 69 73 20 6e 6f ┆_eventno number of buffers is no┆ 0x29be0…29c00 74 20 0a 19 93 80 80 70 6f 73 73 69 62 6c 65 2e 20 3c 6e 6f 3e 20 69 73 20 74 68 65 20 6e 75 6d ┆t possible. <no> is the num┆ 0x29c00…29c20 (334,) 62 65 72 20 6f 66 20 62 75 66 66 65 72 73 20 66 72 6f 6d 20 69 6e 69 74 70 6f 6f 6c 2e 0d 0a 09 ┆ber of buffers from initpool. ┆ 0x29c20…29c40 09 46 61 74 61 6c 2c 20 64 74 65 2e 0d 0a 0d 0a b0 09 2a 2a 2a 2a 09 69 6e 69 74 20 6f 66 20 a1 ┆ Fatal, dte. **** init of ┆ 0x29c40…29c60 e1 48 e1 65 61 64 65 72 2d 70 6f 6f 6c 20 6e 6f 74 20 70 6f 73 73 69 62 6c 65 20 3a 20 3c 6e 6f ┆ H eader-pool not possible : <no┆ 0x29c60…29c80 3e 0d 0a 09 09 84 49 6e 69 74 69 61 6c 69 7a 61 74 69 6f 6e 20 6f 66 20 68 65 61 64 5f 70 6f 6f ┆> Initialization of head_poo┆ 0x29c80…29ca0 6c 20 77 69 74 68 20 74 68 65 20 72 65 71 75 69 72 65 64 20 6e 75 6d 62 65 72 20 6f 66 20 0a 19 ┆l with the required number of ┆ 0x29ca0…29cc0 93 80 80 62 75 66 66 65 72 73 20 69 73 20 6e 6f 74 20 70 6f 73 73 69 62 6c 65 2e 20 3c 6e 6f 3e ┆ buffers is not possible. <no>┆ 0x29cc0…29ce0 20 69 73 20 74 68 65 20 72 65 71 75 69 72 65 64 20 6e 75 6d 62 65 72 2c 20 0a 19 93 80 80 70 6f ┆ is the required number, po┆ 0x29ce0…29d00 6f 6c 5f 63 6f 6e 66 5f 72 65 63 2e 73 75 70 68 65 61 64 5f 6e 6f 2e 0d 0a 09 09 46 61 74 61 6c ┆ol_conf_rec.suphead_no. Fatal┆ 0x29d00…29d0a 2c 20 64 74 65 2e 0d 0a 0d 0a ┆, dte. ┆ 0x29d0a…29d43 Params { 0x29d0a…29d43 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x29d0a…29d43 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x29d0a…29d43 } 0x29d43…29d7c Params { 0x29d43…29d7c 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x29d43…29d7c 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x29d43…29d7c } 0x29d7c…29d80 0a b0 09 2a ┆ *┆ 0x29d80…29da0 2a 2a 2a 09 69 6e 69 74 20 6f 66 20 53 6d 61 6c 6c 2d 70 6f 6f 6c 20 6e 6f 74 20 70 6f 73 73 69 ┆*** init of Small-pool not possi┆ 0x29da0…29dc0 62 6c 65 20 3a 20 3c 6e 6f 3e 0d 0a 09 09 84 49 6e 69 74 69 61 6c 69 7a 61 74 69 6f 6e 20 6f 66 ┆ble : <no> Initialization of┆ 0x29dc0…29de0 20 73 6d 61 6c 6c 70 6f 6f 6c 20 28 73 6d 61 6c 6c 20 69 6e 70 75 74 20 62 75 66 66 65 72 73 20 ┆ smallpool (small input buffers ┆ 0x29de0…29e00 73 65 65 20 0a 19 93 80 80 73 75 62 80 73 65 63 74 69 6f 6e 20 34 2e 31 2e 33 29 20 77 69 74 68 ┆see sub section 4.1.3) with┆ 0x29e00…29e20 (335,) 20 74 68 65 20 72 65 71 75 69 72 65 64 20 6e 75 6d 62 65 72 73 20 6f 66 20 62 75 66 66 65 72 73 ┆ the required numbers of buffers┆ 0x29e20…29e40 20 0a 19 93 80 80 69 73 20 6e 6f 74 20 70 6f 73 73 69 62 6c 65 2e 20 3c 6e 6f 3e 20 69 73 20 74 ┆ is not possible. <no> is t┆ 0x29e40…29e60 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 62 75 66 66 65 72 73 20 66 72 6f 6d 20 0a 19 93 80 80 69 ┆he number of buffers from i┆ 0x29e60…29e80 6e 69 74 80 70 6f 6f 6c 2e 0d 0a 09 09 46 61 74 61 6c 2c 20 64 74 65 2e 0d 0a 0d 0a b0 09 2a 2a ┆nit pool. Fatal, dte. **┆ 0x29e80…29ea0 2a 2a 09 69 6e 69 74 20 6f 66 20 53 6d 65 73 73 2d 70 6f 6f 6c 20 6e 6f 74 20 70 6f 73 73 69 62 ┆** init of Smess-pool not possib┆ 0x29ea0…29ec0 6c 65 20 3a 20 3c 6e 6f 3e 0d 0a 09 09 84 49 6e 69 74 69 61 6c 69 7a 61 74 69 6f 6e 20 6f 66 20 ┆le : <no> Initialization of ┆ 0x29ec0…29ee0 73 75 70 6d 65 73 73 70 6f 6f 6c 20 77 69 74 68 20 74 68 65 20 72 65 71 75 69 72 65 64 20 6e 75 ┆supmesspool with the required nu┆ 0x29ee0…29f00 6d 62 65 72 20 0a 19 93 80 80 6f 66 20 62 75 66 66 65 72 73 20 69 73 20 6e 6f 74 20 70 6f 73 73 ┆mber of buffers is not poss┆ 0x29f00…29f20 69 62 6c 65 2e 20 3c 6e 6f 3e 20 69 73 20 74 68 65 20 72 65 71 75 69 72 65 64 20 6e 75 6d 62 65 ┆ible. <no> is the required numbe┆ 0x29f20…29f40 72 2c 20 0a 19 93 80 80 70 6f 6f 6c 5f 63 6f 6e 66 5f 72 65 63 2e 73 75 70 6d 65 73 73 5f 6e 6f ┆r, pool_conf_rec.supmess_no┆ 0x29f40…29f60 2e 0d 0a 09 09 46 61 74 61 6c 2c 20 64 74 65 2e 0d 0a 0d 0a b0 09 2a 2a 2a 2a 09 69 6e 69 74 20 ┆. Fatal, dte. **** init ┆ 0x29f60…29f80 6f 66 20 53 79 6e 63 2d 70 6f 6f 6c 20 6e 6f 74 20 70 6f 73 73 69 62 6c 65 20 3a 20 3c 6e 6f 3e ┆of Sync-pool not possible : <no>┆ 0x29f80…29fa0 0d 0a 09 09 84 49 6e 69 74 69 61 6c 69 7a 61 74 69 6f 6e 20 6f 66 20 73 79 6e 63 5f 70 6f 6f 6c ┆ Initialization of sync_pool┆ 0x29fa0…29fc0 20 77 69 74 68 20 64 74 65 5f 63 6f 6e 66 5f 72 65 63 2e 6d 61 78 5f 63 68 61 6e 20 0a 19 93 80 ┆ with dte_conf_rec.max_chan ┆ 0x29fc0…29fe0 80 62 75 66 66 65 72 73 20 6e 6f 74 20 70 6f 73 73 69 62 6c 65 2e 20 3c 6e 6f 3e 20 69 73 20 74 ┆ buffers not possible. <no> is t┆ 0x29fe0…2a000 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 62 75 66 66 65 72 73 20 66 72 6f 6d 20 0a 19 93 80 80 69 ┆he number of buffers from i┆ 0x2a000…2a020 (336,) 6e 69 74 70 6f 6f 6c 2e 0d 0a 09 09 46 61 74 61 6c 2c 20 64 74 65 2e 0d 0a 0d 0a b0 09 2a 2a 2a ┆nitpool. Fatal, dte. ***┆ 0x2a020…2a040 2a 09 69 6e 69 74 20 6f 66 20 58 2e 32 35 2d 70 6f 6f 6c 20 6e 6f 74 20 70 6f 73 73 69 62 6c 65 ┆* init of X.25-pool not possible┆ 0x2a040…2a060 20 3a 20 3c 6e 6f 3e 0d 0a 09 09 84 49 6e 69 74 69 61 6c 69 7a 61 74 69 6f 6e 20 6f 66 20 78 32 ┆ : <no> Initialization of x2┆ 0x2a060…2a080 35 70 6f 6f 6c 20 28 58 2e 32 35 20 63 6f 6e 74 72 6f 6c 20 6f 75 74 70 75 74 20 62 75 66 66 65 ┆5pool (X.25 control output buffe┆ 0x2a080…2a0a0 72 73 20 0a 19 93 80 80 73 65 65 20 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 31 2e 33 29 20 77 69 ┆rs see subsection 4.1.3) wi┆ 0x2a0a0…2a0c0 74 68 20 74 68 65 20 72 65 71 75 69 72 65 64 20 6e 75 6d 62 65 72 20 6f 66 20 62 75 66 80 0a 19 ┆th the required number of buf ┆ 0x2a0c0…2a0e0 93 80 80 66 65 72 73 20 69 73 20 6e 6f 74 20 70 6f 73 73 69 62 6c 65 2e 20 3c 6e 6f 3e 20 69 73 ┆ fers is not possible. <no> is┆ 0x2a0e0…2a100 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 62 75 66 66 65 72 73 20 66 72 6f 6d 20 0a 19 93 80 ┆ the number of buffers from ┆ 0x2a100…2a11c 80 69 6e 80 69 74 70 6f 6f 6c 2e 0d 0a 09 09 46 61 74 61 6c 2c 20 64 74 65 2e 0d 0a ┆ in itpool. Fatal, dte. ┆ 0x2a11c…2a11f FormFeed { 0x2a11c…2a11f 0c 80 a5 ┆ ┆ 0x2a11c…2a11f } 0x2a11f…2a120 0a ┆ ┆ 0x2a120…2a140 b0 09 2a 2a 2a 2a 09 6c 69 6e 6b 20 6f 66 20 3c 6e 61 6d 65 3e 20 6e 6f 74 20 70 6f 73 73 69 62 ┆ **** link of <name> not possib┆ 0x2a140…2a160 6c 65 20 3a 20 3c 6e 6f 3e 0d 0a 09 09 84 49 74 20 77 61 73 20 6e 6f 74 20 70 6f 73 73 69 62 6c ┆le : <no> It was not possibl┆ 0x2a160…2a180 65 20 74 6f 20 6c 69 6e 6b 20 74 68 65 20 3c 6e 61 6d 65 3e 20 70 72 6f 63 65 73 73 2e 20 3c 6e ┆e to link the <name> process. <n┆ 0x2a180…2a1a0 6f 3e 20 69 73 20 0a 19 93 80 80 74 68 65 20 72 65 73 75 6c 74 20 66 72 6f 6d 20 74 68 65 20 63 ┆o> is the result from the c┆ 0x2a1a0…2a1c0 61 6c 6c 20 6f 66 20 6c 69 6e 6b 2e 0d 0a 0d 0a 09 09 3c 6e 61 6d 65 3e 20 61 72 65 3a 0d 0a 09 ┆all of link. <name> are: ┆ 0x2a1c0…2a1e0 09 20 20 20 44 54 45 20 41 43 43 09 66 61 74 61 6c 0d 0a 09 09 20 20 20 44 54 45 20 43 48 41 4e ┆ DTE ACC fatal DTE CHAN┆ 0x2a1e0…2a200 09 66 61 74 61 6c 0d 0a 09 09 20 20 20 44 54 45 20 48 52 45 43 20 20 20 20 20 20 20 20 20 66 61 ┆ fatal DTE HREC fa┆ 0x2a200…2a220 (337,) 74 61 6c 0d 0a 09 09 20 20 20 44 54 45 20 4c 43 4e 30 09 66 61 74 61 6c 0d 0a 09 09 20 20 20 44 ┆tal DTE LCN0 fatal D┆ 0x2a220…2a240 54 45 20 50 4f 4f 4c 48 20 20 20 20 20 20 20 20 66 61 74 61 6c 0d 0a 09 09 20 20 20 44 54 45 20 ┆TE POOLH fatal DTE ┆ 0x2a240…2a260 53 4e 4f 4f 50 09 77 61 72 6e 69 6e 67 0d 0a 09 09 20 20 20 44 54 45 20 54 45 53 54 09 77 61 72 ┆SNOOP warning DTE TEST war┆ 0x2a260…2a280 6e 69 6e 67 0d 0a 09 09 20 20 20 4f 55 54 54 52 41 43 45 09 77 61 72 6e 69 6e 67 0d 0a 09 09 20 ┆ning OUTTRACE warning ┆ 0x2a280…2a2a0 20 20 54 52 41 43 45 09 20 20 20 20 20 20 20 20 20 20 77 61 72 6e 69 6e 67 0d 0a 09 09 46 61 74 ┆ TRACE warning Fat┆ 0x2a2a0…2a2c0 61 6c 2f 77 61 72 6e 69 6e 67 2c 20 64 74 65 2e 0d 0a 0d 0a b0 09 2a 2a 2a 2a 09 6c 6f 63 61 6c ┆al/warning, dte. **** local┆ 0x2a2c0…2a2e0 20 75 73 65 72 20 61 64 64 72 65 73 73 20 6c 65 6e 67 74 68 20 67 72 65 61 74 65 72 20 74 68 61 ┆ user address length greater tha┆ 0x2a2e0…2a300 6e 20 6d 61 78 5f 75 5f 61 64 72 3a 20 3c 6e 6f 3e 0d 0a 09 09 84 4d 61 78 5f 75 5f 61 64 72 20 ┆n max_u_adr: <no> Max_u_adr ┆ 0x2a300…2a320 3d 20 35 2e 20 3c 6e 6f 3e 20 69 73 20 74 68 65 20 76 61 6c 75 65 20 6f 66 20 64 74 65 5f 63 6f ┆= 5. <no> is the value of dte_co┆ 0x2a320…2a340 6e 66 5f 72 65 63 2e 75 80 0a 19 93 80 80 73 65 72 5f 6c 65 6e 67 74 68 2e 0d 0a 09 09 46 61 74 ┆nf_rec.u ser_length. Fat┆ 0x2a340…2a360 61 6c 2c 20 64 74 65 2e 0d 0a 0d 0a 09 b0 2a 2a 2a 2a 09 6c 6f 63 61 6c 20 75 73 65 72 20 61 64 ┆al, dte. **** local user ad┆ 0x2a360…2a380 64 72 65 73 73 20 6c 65 6e 67 74 68 20 6e 65 67 61 74 69 76 65 3a 20 3c 6e 6f 3e 0d 0a 09 09 84 ┆dress length negative: <no> ┆ 0x2a380…2a3a0 54 68 65 20 75 73 65 72 20 61 64 64 72 65 73 73 20 6d 61 79 20 6e 6f 74 20 62 65 20 6e 65 67 61 ┆The user address may not be nega┆ 0x2a3a0…2a3c0 74 69 76 65 2e 20 3c 6e 6f 3e 20 69 73 20 74 68 65 20 61 63 74 75 61 6c 20 0a 19 93 80 80 76 61 ┆tive. <no> is the actual va┆ 0x2a3c0…2a3e0 6c 75 65 2e 0d 0a 09 09 46 61 74 61 6c 2c 20 64 74 65 2e 0d 0a 0d 0a b0 09 2a 2a 2a 2a 09 84 6d ┆lue. Fatal, dte. **** m┆ 0x2a3e0…2a400 61 78 20 63 68 61 6e 20 74 6f 20 62 69 67 2e 20 52 65 63 6f 6d 70 69 6c 65 20 77 69 74 68 20 6e ┆ax chan to big. Recompile with n┆ 0x2a400…2a420 (338,) 65 77 20 76 61 6c 75 65 20 6f 66 20 6d 5f 6d 61 78 5f 63 68 61 6e 2e 20 0a 19 93 81 82 b0 43 75 ┆ew value of m_max_chan. Cu┆ 0x2a420…2a440 72 20 3d 20 3c 6e 6f 3e 0d 0a 09 09 84 54 68 65 20 64 65 66 61 75 6c 74 20 70 61 72 61 6d 65 74 ┆r = <no> The default paramet┆ 0x2a440…2a460 65 72 20 64 74 65 5f 63 6f 6e 66 5f 72 65 63 2e 6d 61 78 5f 63 68 61 6e 20 67 72 65 61 74 65 72 ┆er dte_conf_rec.max_chan greater┆ 0x2a460…2a480 20 74 68 61 6e 20 0a 19 93 80 80 74 68 65 20 6d 61 78 69 6d 75 6d 20 6e 75 6d 62 65 72 20 6f 66 ┆ than the maximum number of┆ 0x2a480…2a4a0 20 63 68 61 6e 6e 65 6c 73 20 28 6d 5f 6d 61 78 5f 63 68 61 6e 29 2e 20 3c 6e 6f 3e 20 69 73 20 ┆ channels (m_max_chan). <no> is ┆ 0x2a4a0…2a4c0 74 68 65 20 0a 19 93 80 80 63 75 72 72 65 6e 74 20 76 61 6c 75 65 20 6f 66 20 6d 5f 6d 61 78 5f ┆the current value of m_max_┆ 0x2a4c0…2a4e0 63 68 61 6e 2e 0d 0a 09 09 46 61 74 61 6c 2c 20 64 74 65 2e 0d 0a 0d 0a 09 b0 2a 2a 2a 2a 09 6d ┆chan. Fatal, dte. **** m┆ 0x2a4e0…2a500 61 78 20 77 69 6e 64 6f 77 20 73 69 7a 65 3a 20 3c 6d 77 3e 0d 0a 09 09 b0 73 6d 61 6c 6c 65 72 ┆ax window size: <mw> smaller┆ 0x2a500…2a520 20 74 68 61 6e 20 64 65 66 61 75 6c 74 20 77 69 6e 64 6f 77 20 73 69 7a 65 3a 20 3c 64 77 3e 0d ┆ than default window size: <dw> ┆ 0x2a520…2a540 0a 09 09 84 54 68 65 20 69 6e 64 69 63 61 74 65 64 20 6d 61 78 20 77 69 6e 64 6f 77 20 73 69 7a ┆ The indicated max window siz┆ 0x2a540…2a560 65 20 69 73 20 74 6f 20 73 6d 61 6c 6c 2c 20 3c 6d 77 3e 20 61 6e 64 20 3c 64 77 3e 20 0a 19 93 ┆e is to small, <mw> and <dw> ┆ 0x2a560…2a580 80 80 61 72 65 20 74 68 65 20 61 63 74 75 61 6c 20 76 61 6c 75 65 73 2e 0d 0a 09 09 46 61 74 61 ┆ are the actual values. Fata┆ 0x2a580…2a5a0 6c 2c 20 64 74 65 2e 0d 0a 0d 0a 8c 80 a7 0a 09 b0 2a 2a 2a 2a 09 6d 61 78 20 77 69 6e 64 6f 77 ┆l, dte. **** max window┆ 0x2a5a0…2a5c0 20 73 69 7a 65 20 74 6f 20 62 69 67 3a 20 3c 6d 77 3e 0d 0a 09 09 84 4d 61 78 20 77 69 6e 64 6f ┆ size to big: <mw> Max windo┆ 0x2a5c0…2a5e0 77 20 73 69 7a 65 20 67 72 65 61 74 65 72 20 74 68 61 6e 20 37 2c 20 3c 6d 77 3e 20 69 73 20 74 ┆w size greater than 7, <mw> is t┆ 0x2a5e0…2a600 68 65 20 61 63 74 75 61 6c 20 0a 19 93 80 80 76 61 6c 75 65 2e 0d 0a 09 09 46 61 74 61 6c 2c 20 ┆he actual value. Fatal, ┆ 0x2a600…2a620 (339,) 64 74 65 2e 0d 0a 0d 0a 09 b0 2a 2a 2a 2a 09 4e 43 50 20 62 75 73 79 2c 20 66 75 6e 63 74 69 6f ┆dte. **** NCP busy, functio┆ 0x2a620…2a640 6e 20 3a 20 3c 6e 6f 3e 0d 0a 09 09 84 54 68 65 20 4e 43 50 20 68 61 73 20 72 65 74 75 72 6e 65 ┆n : <no> The NCP has returne┆ 0x2a640…2a660 64 20 61 20 6d 65 73 73 61 67 65 20 77 69 74 68 20 75 32 20 3d 20 27 62 75 73 79 27 2e 20 3c 6e ┆d a message with u2 = 'busy'. <n┆ 0x2a660…2a680 6f 3e 20 69 73 20 0a 19 93 80 80 74 68 65 20 6f 70 65 72 61 74 69 6f 6e 20 63 6f 64 65 20 28 75 ┆o> is the operation code (u┆ 0x2a680…2a6a0 31 29 20 6f 66 20 74 68 65 20 6d 65 73 73 61 67 65 2e 0d 0a 09 09 57 61 72 6e 69 6e 67 2c 20 64 ┆1) of the message. Warning, d┆ 0x2a6a0…2a6c0 74 65 2e 0d 0a 0d 0a b0 09 2a 2a 2a 2a 09 6e 6f 20 48 44 4c 43 20 63 6f 6e 6e 65 63 74 20 62 75 ┆te. **** no HDLC connect bu┆ 0x2a6c0…2a6e0 66 66 65 72 2e 0d 0a 09 09 4e 6f 20 62 75 66 66 65 72 20 69 6e 20 68 64 6c 63 5f 70 6f 6f 6c 2e ┆ffer. No buffer in hdlc_pool.┆ 0x2a6e0…2a700 0d 0a 09 09 46 61 74 61 6c 2c 20 64 74 65 2e 0d 0a 0d 0a b0 09 2a 2a 2a 2a 09 6e 6f 74 20 61 6c ┆ Fatal, dte. **** not al┆ 0x2a700…2a720 6c 20 62 75 66 66 65 72 73 20 72 65 6c 65 61 73 65 64 2c 20 72 65 6d 61 69 6e 69 6e 67 20 3a 20 ┆l buffers released, remaining : ┆ 0x2a720…2a740 3c 6e 6f 3e 0d 0a 09 09 84 41 66 74 65 72 20 72 65 6d 6f 76 65 64 20 6f 66 20 74 68 65 20 54 52 ┆<no> After removed of the TR┆ 0x2a740…2a760 41 43 45 20 73 79 73 74 65 6d 2c 20 61 6c 6c 20 74 72 61 63 65 20 62 75 66 66 65 72 73 20 77 61 ┆ACE system, all trace buffers wa┆ 0x2a760…2a780 73 20 0a 19 93 80 80 6e 6f 74 20 72 65 6c 65 61 73 65 64 2e 20 3c 6e 6f 3e 20 69 73 20 74 68 65 ┆s not released. <no> is the┆ 0x2a780…2a7a0 20 6e 75 6d 62 65 72 20 6f 66 20 6d 69 73 73 69 6e 67 20 62 75 66 66 65 72 73 2e 0d 0a 09 09 57 ┆ number of missing buffers. W┆ 0x2a7a0…2a7c0 61 72 6e 69 6e 67 2c 20 64 74 65 2e 0d 0a 0d 0a b0 09 2a 2a 2a 2a 09 6e 6f 74 20 65 6e 6f 75 67 ┆arning, dte. **** not enoug┆ 0x2a7c0…2a7e0 68 20 70 69 63 6b 75 70 73 20 74 6f 20 69 6e 74 65 72 6e 61 6c 20 73 6e 6f 6f 70 0d 0a 09 09 84 ┆h pickups to internal snoop ┆ 0x2a7e0…2a800 54 68 65 20 64 65 66 61 75 6c 74 20 76 61 6c 75 65 20 6d 61 78 5f 70 69 63 6b 75 70 73 20 77 61 ┆The default value max_pickups wa┆ 0x2a800…2a820 (340,) 73 20 74 6f 20 73 6d 61 6c 6c 20 28 3c 6d 61 78 5f 63 68 61 6e 29 20 0a 19 93 80 80 74 6f 20 70 ┆s to small (<max_chan) to p┆ 0x2a820…2a840 65 72 66 6f 72 6d 20 61 6e 79 20 69 6e 74 65 72 6e 61 6c 20 73 6e 6f 6f 70 2e 0d 0a 09 09 57 61 ┆erform any internal snoop. Wa┆ 0x2a840…2a860 72 6e 69 6e 67 2c 20 64 74 65 2e 0d 0a 0d 0a b0 09 2a 2a 2a 2a 09 6e 6f 74 20 6d 65 73 73 61 67 ┆rning, dte. **** not messag┆ 0x2a860…2a880 65 20 69 6e 20 75 32 20 3a 20 3c 6e 6f 3e 0d 0a 09 09 84 41 20 6d 65 73 73 61 67 65 20 77 69 74 ┆e in u2 : <no> A message wit┆ 0x2a880…2a8a0 68 20 75 32 20 3c 3e 20 27 37 27 20 69 73 20 72 65 63 65 69 76 65 64 20 66 72 6f 6d 20 74 68 65 ┆h u2 <> '7' is received from the┆ 0x2a8a0…2a8c0 20 64 74 65 20 70 72 6f 80 0a 19 93 80 80 63 65 73 73 2e 20 41 63 74 75 61 6c 20 76 61 6c 75 65 ┆ dte pro cess. Actual value┆ 0x2a8c0…2a8e0 20 69 73 20 3c 6e 6f 3e 2e 0d 0a 09 09 57 61 72 6e 69 6e 67 2c 20 64 74 65 5f 6c 63 6e 7a 65 72 ┆ is <no>. Warning, dte_lcnzer┆ 0x2a8e0…2a900 6f 2e 0d 0a 0d 0a b0 09 2a 2a 2a 2a 09 6e 6f 74 20 70 6f 73 73 69 62 6c 65 20 74 6f 20 63 6f 6e ┆o. **** not possible to con┆ 0x2a900…2a920 6e 65 63 74 20 74 6f 20 74 68 65 20 4e 43 50 20 3a 20 3c 6e 6f 3e 0d 0a 09 09 84 41 20 b0 63 6f ┆nect to the NCP : <no> A co┆ 0x2a920…2a940 6e 6e 65 63 74 5f 6c 63 70 20 f0 6d 65 73 73 61 67 65 20 69 73 20 72 65 74 75 72 6e 65 64 20 66 ┆nnect_lcp message is returned f┆ 0x2a940…2a960 72 6f 6d 20 74 68 65 20 4e 43 50 20 77 69 74 68 20 75 32 20 0a 19 93 81 80 3c 3e 20 27 6f 6b 27 ┆rom the NCP with u2 <> 'ok'┆ 0x2a960…2a980 2e 20 3c 6e 6f 3e 20 69 73 20 74 68 65 20 72 65 74 75 72 6e 65 64 20 75 32 20 76 61 6c 75 65 2e ┆. <no> is the returned u2 value.┆ 0x2a980…2a9a0 0d 0a 09 09 57 61 72 6e 69 6e 67 2c 20 64 74 65 2e 0d 0a 0d 0a 09 b0 2a 2a 2a 2a 09 6f 77 6e 20 ┆ Warning, dte. **** own ┆ 0x2a9a0…2a9c0 61 64 64 72 65 73 73 20 6c 65 6e 67 74 68 20 6e 65 67 61 74 69 76 65 3a 20 3c 6e 6f 3e 0d 0a 09 ┆address length negative: <no> ┆ 0x2a9c0…2a9e0 09 84 4f 77 6e 20 61 64 64 72 65 73 73 20 6c 65 6e 67 74 68 20 6d 61 79 20 6e 6f 74 20 62 65 20 ┆ Own address length may not be ┆ 0x2a9e0…2aa00 6e 65 67 61 74 69 76 65 2c 20 3c 6e 6f 3e 20 69 73 20 74 68 65 20 0a 19 93 80 80 61 63 74 75 61 ┆negative, <no> is the actua┆ 0x2aa00…2aa20 (341,) 6c 20 76 61 6c 75 65 2e 0d 0a 09 09 46 61 74 61 6c 2c 20 64 74 65 2e 0d 0a 0d 0a 8c 80 a7 0a b0 ┆l value. Fatal, dte. ┆ 0x2aa20…2aa40 09 2a 2a 2a 2a 09 6f 6e 6c 79 20 73 6e 6f 6f 70 20 6f 66 20 6d 61 69 6e 20 73 65 6d 61 70 68 6f ┆ **** only snoop of main semapho┆ 0x2aa40…2aa60 72 65 73 0d 0a 09 09 84 54 68 65 20 64 65 66 61 75 6c 74 20 76 61 6c 75 65 20 6d 61 78 5f 70 69 ┆res The default value max_pi┆ 0x2aa60…2aa80 63 6b 75 70 73 20 28 6e 65 74 65 6e 76 20 61 70 70 65 6e 64 69 78 20 42 2e 31 29 2c 20 77 61 73 ┆ckups (netenv appendix B.1), was┆ 0x2aa80…2aaa0 20 0a 19 93 80 80 74 6f 6f 20 73 6d 61 6c 6c 20 66 6f 72 20 73 6e 6f 6f 70 20 6f 66 20 62 6f 74 ┆ too small for snoop of bot┆ 0x2aaa0…2aac0 68 20 6d 61 69 6e 2d 20 61 6e 64 20 73 79 6e 63 20 73 65 6d 61 80 70 68 6f 72 65 73 20 6f 66 20 ┆h main- and sync sema phores of ┆ 0x2aac0…2aae0 0a 19 93 80 80 74 68 65 20 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 20 69 6e 63 61 72 6e ┆ the dte_chan process incarn┆ 0x2aae0…2ab00 61 74 69 6f 6e 73 2e 0d 0a 09 09 57 61 72 6e 69 6e 67 2c 20 64 74 65 2e 0d 0a 0d 0a b0 09 2a 2a ┆ations. Warning, dte. **┆ 0x2ab00…2ab20 2a 2a 09 73 74 61 74 65 20 74 61 62 6c 65 20 65 72 72 6f 72 2e 20 52 65 63 65 69 76 65 64 20 6d ┆** state table error. Received m┆ 0x2ab20…2ab40 65 73 73 20 3a 20 3c 6e 6f 3e 0d 0a 09 09 84 54 68 65 20 6d 65 73 73 61 67 65 20 72 65 63 65 69 ┆ess : <no> The message recei┆ 0x2ab40…2ab60 76 65 64 20 28 6f 70 63 6f 64 65 20 3d 20 3c 6e 6f 3e 29 20 70 72 6f 76 6f 6b 65 73 20 61 20 73 ┆ved (opcode = <no>) provokes a s┆ 0x2ab60…2ab80 74 61 74 65 20 0a 19 93 80 80 74 61 62 6c 65 20 65 72 72 6f 72 2e 0d 0a 09 09 46 61 74 61 6c 2c ┆tate table error. Fatal,┆ 0x2ab80…2aba0 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 2e 0d 0a 0d 0a 09 b0 2a 2a 2a 2a 09 84 73 75 6d 20 6f 66 20 ┆ dte_lcnzero. **** sum of ┆ 0x2aba0…2abc0 6f 77 6e 20 61 64 64 72 65 73 73 20 6c 65 6e 67 74 68 20 61 6e 64 20 75 73 65 72 20 6c 65 6e 67 ┆own address length and user leng┆ 0x2abc0…2abe0 74 68 20 67 72 65 61 74 65 72 20 74 68 61 6e 20 0a 19 93 81 82 31 34 0d 0a 09 09 b0 6f 77 6e 20 ┆th greater than 14 own ┆ 0x2abe0…2ac00 61 64 64 72 65 73 73 20 6c 65 6e 67 74 68 3a 20 3c 6e 6f 3e 0d 0a 09 09 b0 75 73 65 72 20 6c 65 ┆address length: <no> user le┆ 0x2ac00…2ac20 (342,) 6e 67 74 68 20 20 20 20 20 20 20 3a 20 3c 6e 6f 31 3e 0d 0a 09 09 84 4f 77 6e 20 64 74 65 20 61 ┆ngth : <no1> Own dte a┆ 0x2ac20…2ac40 64 64 72 65 73 73 20 6c 65 6e 67 74 68 20 61 6e 64 20 73 75 62 61 64 64 72 65 73 73 20 6c 65 6e ┆ddress length and subaddress len┆ 0x2ac40…2ac60 67 74 68 20 61 72 65 20 74 6f 20 62 69 67 20 0a 19 93 80 80 74 6f 20 66 69 74 20 69 6e 74 6f 20 ┆gth are to big to fit into ┆ 0x2ac60…2ac80 74 68 65 20 64 65 66 69 6e 65 64 20 6c 65 6e 67 74 68 20 64 74 65 5f 61 64 64 72 5f 6c 65 6e 67 ┆the defined length dte_addr_leng┆ 0x2ac80…2aca0 74 68 20 28 3d 31 34 29 2e 20 0a 19 93 80 80 3c 6e 6f 3e 20 61 6e 64 20 3c 6e 6f 31 3e 20 61 72 ┆th (=14). <no> and <no1> ar┆ 0x2aca0…2acc0 65 20 74 68 65 20 61 63 74 75 61 6c 20 76 61 6c 75 65 73 2e 0d 0a 09 09 46 61 74 61 6c 2c 20 64 ┆e the actual values. Fatal, d┆ 0x2acc0…2ace0 74 65 2e 0d 0a 0d 0a b0 09 2a 2a 2a 2a 09 73 75 70 6d 65 73 73 20 70 6f 6f 6c 20 65 6d 70 74 79 ┆te. **** supmess pool empty┆ 0x2ace0…2ad00 0d 0a 09 09 84 54 68 65 20 73 75 70 65 72 76 69 73 6f 72 20 6d 65 73 73 61 67 65 20 70 6f 6f 6c ┆ The supervisor message pool┆ 0x2ad00…2ad20 20 28 72 65 73 74 61 72 74 2d 20 61 6e 64 20 64 69 61 67 6e 6f 73 74 69 63 20 69 6e 80 0a 19 93 ┆ (restart- and diagnostic in ┆ 0x2ad20…2ad40 80 80 64 69 63 61 74 69 6f 6e 73 29 20 69 73 20 65 6d 70 74 79 2e 0d 0a 09 09 46 61 74 61 6c 2c ┆ dications) is empty. Fatal,┆ 0x2ad40…2ad60 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 2e 0d 0a 0d 0a b0 09 2a 2a 2a 2a 09 73 75 70 6d 65 73 73 20 ┆ dte_lcnzero. **** supmess ┆ 0x2ad60…2ad80 70 6f 6f 6c 20 6f 6e 6c 79 20 69 6e 69 74 20 77 69 74 68 20 3a 20 3c 6e 6f 3e 0d 0a 09 09 84 49 ┆pool only init with : <no> I┆ 0x2ad80…2ada0 6e 69 74 69 61 6c 69 7a 61 74 69 6f 6e 20 65 72 72 6f 72 20 77 69 74 68 20 73 75 70 6d 65 73 73 ┆nitialization error with supmess┆ 0x2ada0…2adc0 5f 70 6f 6f 6c 2e 20 3c 6e 6f 3e 20 69 73 20 74 68 65 20 6e 75 6d 80 0a 19 93 80 80 62 65 72 20 ┆_pool. <no> is the num ber ┆ 0x2adc0…2ade0 6f 66 20 62 75 66 66 65 72 73 2c 20 74 68 65 20 70 6f 6f 6c 20 69 73 20 69 6e 69 74 69 61 6c 69 ┆of buffers, the pool is initiali┆ 0x2ade0…2ae00 7a 65 64 20 77 69 74 68 2e 0d 0a 09 09 57 61 72 6e 69 6e 67 2c 20 64 74 65 5f 6c 63 6e 7a 65 72 ┆zed with. Warning, dte_lcnzer┆ 0x2ae00…2ae20 (343,) 6f 2e 0d 0a 0d 0a b0 09 2a 2a 2a 2a 09 75 6e 65 78 70 65 63 74 65 64 20 44 54 45 20 4c 43 4e 30 ┆o. **** unexpected DTE LCN0┆ 0x2ae20…2ae40 20 72 65 73 75 6c 74 0d 0a 09 09 84 41 20 b0 72 65 73 74 61 72 74 5f 73 74 61 72 74 20 f0 6d 65 ┆ result A restart_start me┆ 0x2ae40…2ae60 73 73 61 67 65 20 69 73 20 72 65 74 75 72 6e 65 64 20 66 72 6f 6d 20 64 74 65 5f 6c 63 6e 7a 65 ┆ssage is returned from dte_lcnze┆ 0x2ae60…2ae80 72 6f 20 0a 19 93 81 80 77 69 74 68 20 75 6e 65 78 70 65 63 74 65 64 20 75 32 20 76 61 6c 75 65 ┆ro with unexpected u2 value┆ 0x2ae80…2aea0 2e 20 b0 54 68 69 73 20 65 72 72 6f 72 20 6d 65 73 73 61 67 65 20 69 73 20 70 72 65 63 65 64 65 ┆. This error message is precede┆ 0x2aea0…2aec0 64 20 0a 19 93 82 82 62 79 20 61 20 70 72 69 6e 74 20 6f 66 20 74 68 65 20 6d 65 73 73 61 67 65 ┆d by a print of the message┆ 0x2aec0…2aee0 20 66 69 65 6c 64 73 2e 0d 0a 09 09 46 61 74 61 6c 2c 20 64 74 65 2e 0d 0a 0d 0a b0 09 2a 2a 2a ┆ fields. Fatal, dte. ***┆ 0x2aee0…2af00 2a 09 75 6e 65 78 70 65 63 74 65 64 20 48 44 4c 43 20 65 76 65 6e 74 20 72 65 73 75 6c 74 20 3a ┆* unexpected HDLC event result :┆ 0x2af00…2af20 20 3c 6e 6f 3e 0d 0a 09 09 84 41 6e 20 48 44 4c 43 20 65 76 65 6e 74 20 62 75 66 66 65 72 20 69 ┆ <no> An HDLC event buffer i┆ 0x2af20…2af40 73 20 72 65 74 75 72 6e 65 64 20 77 69 74 68 20 61 6e 20 75 6e 65 78 70 65 63 74 65 64 20 75 32 ┆s returned with an unexpected u2┆ 0x2af40…2af60 20 0a 19 93 80 80 76 61 6c 75 65 20 28 3c 6e 6f 3e 29 2e 0d 0a 09 09 57 61 72 6e 69 6e 67 2c 20 ┆ value (<no>). Warning, ┆ 0x2af60…2af68 64 74 65 2e 0d 0a 0d 0a ┆dte. ┆ 0x2af68…2af6b FormFeed { 0x2af68…2af6b 0c 80 a9 ┆ ┆ 0x2af68…2af6b } 0x2af6b…2af80 0a b0 09 2a 2a 2a 2a 09 75 6e 65 78 70 65 63 74 65 64 20 48 44 ┆ **** unexpected HD┆ 0x2af80…2afa0 4c 43 20 72 65 73 75 6c 74 20 3a 20 3c 6e 6f 3e 0d 0a 09 09 84 41 6e 20 48 44 4c 43 20 64 72 69 ┆LC result : <no> An HDLC dri┆ 0x2afa0…2afc0 76 65 72 20 6f 70 65 72 61 74 69 6f 6e 20 69 73 20 72 65 74 75 72 6e 65 64 20 77 69 74 68 20 61 ┆ver operation is returned with a┆ 0x2afc0…2afe0 6e 20 75 6e 65 78 70 65 63 74 65 64 20 0a 19 93 80 80 75 32 20 76 61 6c 75 65 20 28 3c 6e 6f 3e ┆n unexpected u2 value (<no>┆ 0x2afe0…2b000 29 2e 0d 0a 09 09 46 61 74 61 6c 2c 20 64 74 65 2e 0d 0a 0d 0a b0 09 2a 2a 2a 2a 09 75 6e 65 78 ┆). Fatal, dte. **** unex┆ 0x2b000…2b020 (344,) 70 65 63 74 65 64 20 48 44 4c 43 20 72 65 73 75 6c 74 20 28 31 2c 31 32 29 20 6f 6e 20 6d 65 73 ┆pected HDLC result (1,12) on mes┆ 0x2b020…2b040 73 20 3a 20 3c 6e 6f 3e 0d 0a 09 09 84 54 68 65 20 48 44 4c 43 20 6f 70 65 72 61 74 69 6f 6e 20 ┆s : <no> The HDLC operation ┆ 0x2b040…2b060 3c 6e 6f 3e 20 69 73 20 72 65 74 75 72 6e 65 64 20 77 69 74 68 20 65 69 74 68 65 72 20 72 65 73 ┆<no> is returned with either res┆ 0x2b060…2b080 75 6c 74 20 31 20 0a 19 93 80 80 28 64 72 69 76 65 72 20 74 65 6d 70 6f 72 61 72 79 20 72 65 6d ┆ult 1 (driver temporary rem┆ 0x2b080…2b0a0 6f 76 65 64 29 20 6f 72 20 31 32 20 28 6c 69 6e 65 20 73 70 65 65 64 20 6d 65 61 73 75 72 65 80 ┆oved) or 12 (line speed measure ┆ 0x2b0a0…2b0c0 0a 19 93 80 80 6d 65 6e 74 29 2e 0d 0a 09 09 46 61 74 61 6c 2c 20 64 74 65 2e 0d 0a 0d 0a b0 09 ┆ ment). Fatal, dte. ┆ 0x2b0c0…2b0e0 2a 2a 2a 2a 09 75 6e 65 78 70 65 63 74 65 64 20 48 44 4c 43 20 72 65 73 75 6c 74 20 28 38 29 20 ┆**** unexpected HDLC result (8) ┆ 0x2b0e0…2b100 6f 6e 20 6d 65 73 73 20 3a 20 3c 6e 6f 3e 0d 0a 09 09 84 54 68 65 20 48 44 4c 43 20 6f 70 65 72 ┆on mess : <no> The HDLC oper┆ 0x2b100…2b120 61 74 69 6f 6e 20 3c 6e 6f 3e 20 69 73 20 72 65 74 75 72 6e 65 64 20 77 69 74 68 20 72 65 73 75 ┆ation <no> is returned with resu┆ 0x2b120…2b140 6c 74 20 38 20 28 6c 69 6e 65 20 0a 19 93 80 80 61 6c 6c 72 65 61 64 79 20 63 6f 6e 6e 65 63 74 ┆lt 8 (line allready connect┆ 0x2b140…2b160 65 64 29 2e 0d 0a 09 09 46 61 74 61 6c 2c 20 64 74 65 2e 0d 0a 0d 0a b0 09 2a 2a 2a 2a 09 75 6e ┆ed). Fatal, dte. **** un┆ 0x2b160…2b180 65 78 70 65 63 74 65 64 20 4e 43 50 20 72 65 73 75 6c 74 0d 0a 09 09 84 41 6e 20 4e 43 50 20 6f ┆expected NCP result An NCP o┆ 0x2b180…2b1a0 70 65 72 61 74 69 6f 6e 20 69 73 20 72 65 74 75 72 6e 65 64 20 77 69 74 68 20 61 6e 20 75 6e 65 ┆peration is returned with an une┆ 0x2b1a0…2b1c0 78 70 65 63 74 65 64 20 75 32 20 76 61 6c 80 0a 19 93 80 80 75 65 2e 20 b0 54 68 69 73 20 65 72 ┆xpected u2 val ue. This er┆ 0x2b1c0…2b1e0 72 6f 72 20 6d 65 73 73 61 67 65 20 69 73 20 70 72 65 63 65 64 65 64 20 62 79 20 61 20 70 72 69 ┆ror message is preceded by a pri┆ 0x2b1e0…2b200 6e 74 20 6f 66 20 74 68 65 20 0a 19 93 81 82 6d 65 73 73 61 67 65 20 66 69 65 6c 64 73 2e 0d 0a ┆nt of the message fields. ┆ 0x2b200…2b220 (345,) 09 09 46 61 74 61 6c 2c 20 64 74 65 2e 0d 0a 0d 0a b0 09 2a 2a 2a 2a 09 75 6e 65 78 70 65 63 74 ┆ Fatal, dte. **** unexpect┆ 0x2b220…2b240 65 64 20 72 65 73 75 6c 74 20 69 6e 20 73 75 70 20 6d 65 73 73 61 67 65 0d 0a 09 09 84 41 20 64 ┆ed result in sup message A d┆ 0x2b240…2b260 74 65 20 28 73 75 70 65 72 76 69 73 6f 72 29 20 6d 65 73 73 61 67 65 20 69 73 20 72 65 63 65 69 ┆te (supervisor) message is recei┆ 0x2b260…2b280 76 65 64 20 77 69 74 68 20 61 6e 20 75 6e 65 78 70 65 63 80 0a 19 93 80 80 74 65 64 20 72 65 73 ┆ved with an unexpec ted res┆ 0x2b280…2b2a0 75 6c 74 2e 20 b0 54 68 69 73 20 65 72 72 6f 72 20 6d 65 73 73 61 67 65 20 69 73 20 70 72 65 63 ┆ult. This error message is prec┆ 0x2b2a0…2b2c0 65 64 65 64 20 62 79 20 61 20 70 72 69 6e 74 20 6f 66 20 0a 19 93 81 82 74 68 65 20 6d 65 73 73 ┆eded by a print of the mess┆ 0x2b2c0…2b2e0 61 67 65 20 66 69 65 6c 64 73 2e 0d 0a 09 09 57 61 72 6e 69 6e 67 2c 20 64 74 65 2e 0d 0a 0d 0a ┆age fields. Warning, dte. ┆ 0x2b2e0…2b300 b0 09 2a 2a 2a 2a 09 75 6e 65 78 70 65 63 74 65 64 20 73 75 70 20 72 65 73 75 6c 74 20 3a 20 3c ┆ **** unexpected sup result : <┆ 0x2b300…2b320 6e 6f 3e 0d 0a 09 09 84 41 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 20 6d 65 73 73 61 67 65 20 69 73 ┆no> A dte_lcnzero message is┆ 0x2b320…2b340 20 72 65 74 75 72 6e 65 64 20 77 69 74 68 20 61 6e 20 75 6e 65 78 70 65 63 74 65 64 20 75 32 20 ┆ returned with an unexpected u2 ┆ 0x2b340…2b360 0a 19 93 80 80 76 61 6c 75 65 20 28 3c 6e 6f 3e 29 2e 0d 0a 09 09 46 61 74 61 6c 2c 20 64 74 65 ┆ value (<no>). Fatal, dte┆ 0x2b360…2b380 5f 6c 63 6e 7a 65 72 6f 2e 0d 0a 0d 0a b0 09 2a 2a 2a 2a 09 75 6e 65 78 70 65 63 74 65 64 20 54 ┆_lcnzero. **** unexpected T┆ 0x2b380…2b3a0 49 4d 45 52 20 72 65 73 75 6c 74 20 3a 20 3c 6e 6f 3e 0d 0a 09 09 84 41 20 74 69 6d 65 72 20 72 ┆IMER result : <no> A timer r┆ 0x2b3a0…2b3c0 65 71 75 65 73 74 20 69 73 20 72 65 74 75 72 6e 65 64 20 77 69 74 68 20 61 6e 20 75 6e 65 78 70 ┆equest is returned with an unexp┆ 0x2b3c0…2b3e0 65 63 74 65 64 20 75 32 20 76 61 6c 75 65 20 0a 19 93 80 80 28 3c 6e 6f 3e 29 2e 0d 0a 09 09 46 ┆ected u2 value (<no>). F┆ 0x2b3e0…2b3f6 61 74 61 6c 2c 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 2e 0d 0a 0d 0a ┆atal, dte_lcnzero. ┆ 0x2b3f6…2b3f9 FormFeed { 0x2b3f6…2b3f9 0c 80 a6 ┆ ┆ 0x2b3f6…2b3f9 } 0x2b3f9…2b400 0a b0 09 2a 2a 2a 2a ┆ ****┆ 0x2b400…2b420 (346,) 09 75 6e 65 78 70 65 63 74 65 64 20 75 33 20 76 61 6c 75 65 20 69 6e 20 70 5f 61 63 74 69 76 65 ┆ unexpected u3 value in p_active┆ 0x2b420…2b440 20 3a 20 3c 6e 6f 3e 0d 0a 09 09 84 41 20 b0 73 79 6e 63 5f 6d 65 73 73 20 f0 69 73 20 72 65 63 ┆ : <no> A sync_mess is rec┆ 0x2b440…2b460 65 69 76 65 64 20 77 69 74 68 20 61 6e 20 75 6e 65 78 70 65 63 74 65 64 20 75 33 20 76 61 6c 75 ┆eived with an unexpected u3 valu┆ 0x2b460…2b480 65 20 0a 19 93 81 80 28 3c 6e 6f 3e 29 20 69 6e 20 73 74 61 74 65 20 70 5f 61 63 74 69 76 65 2e ┆e (<no>) in state p_active.┆ 0x2b480…2b4a0 0d 0a 09 09 46 61 74 61 6c 2c 20 64 74 65 2e 0d 0a 0d 0a b0 09 2a 2a 2a 2a 09 75 6e 65 78 70 65 ┆ Fatal, dte. **** unexpe┆ 0x2b4a0…2b4c0 63 74 65 64 20 75 33 20 76 61 6c 75 65 20 69 6e 20 70 5f 72 65 73 74 61 72 74 20 3a 20 3c 6e 6f ┆cted u3 value in p_restart : <no┆ 0x2b4c0…2b4e0 3e 0d 0a 09 09 84 41 20 b0 73 79 6e 63 5f 6d 65 73 73 20 f0 69 73 20 72 65 63 65 69 76 65 64 20 ┆> A sync_mess is received ┆ 0x2b4e0…2b500 77 69 74 68 20 61 6e 20 75 6e 65 78 70 65 63 74 65 64 20 75 33 20 76 61 6c 75 65 20 0a 19 93 81 ┆with an unexpected u3 value ┆ 0x2b500…2b520 80 28 3c 6e 6f 3e 29 20 69 6e 20 73 74 61 74 65 20 70 5f 72 65 73 74 61 72 74 2e 0d 0a 09 09 46 ┆ (<no>) in state p_restart. F┆ 0x2b520…2b540 61 74 61 6c 2c 20 64 74 65 2e 0d 0a 0d 0a b0 09 2a 2a 2a 2a 09 75 6e 65 78 70 65 63 74 65 64 20 ┆atal, dte. **** unexpected ┆ 0x2b540…2b560 75 33 20 76 61 6c 75 65 20 69 6e 20 70 5f 73 74 6f 70 70 69 6e 67 20 3a 20 3c 6e 6f 3e 0d 0a 09 ┆u3 value in p_stopping : <no> ┆ 0x2b560…2b580 09 84 41 20 b0 73 79 6e 63 5f 6d 65 73 73 20 f0 69 73 20 72 65 63 65 69 76 65 64 20 77 69 74 68 ┆ A sync_mess is received with┆ 0x2b580…2b5a0 20 61 6e 20 75 6e 65 78 70 65 63 74 65 64 20 75 33 20 76 61 6c 75 65 20 0a 19 93 81 80 28 3c 6e ┆ an unexpected u3 value (<n┆ 0x2b5a0…2b5c0 6f 3e 29 20 69 6e 20 73 74 61 74 65 20 70 5f 73 74 6f 70 70 69 6e 67 2e 0d 0a 09 09 46 61 74 61 ┆o>) in state p_stopping. Fata┆ 0x2b5c0…2b5e0 6c 2c 20 64 74 65 2e 0d 0a 0d 0a b0 09 2a 2a 2a 2a 09 75 6e 6b 6e 6f 77 6e 20 6d 65 73 73 61 67 ┆l, dte. **** unknown messag┆ 0x2b5e0…2b600 65 20 66 72 6f 6d 20 44 54 45 a1 e1 5f 4c 43 4e 30 0d 0a 09 09 84 41 20 6d 65 73 73 61 67 65 20 ┆e from DTE _LCN0 A message ┆ 0x2b600…2b620 (347,) 77 69 74 68 20 61 6e 20 75 6e 6b 6e 6f 77 6e 20 6f 70 65 72 61 74 69 6f 6e 20 63 6f 64 65 20 28 ┆with an unknown operation code (┆ 0x2b620…2b640 75 31 20 76 61 6c 75 65 29 20 69 73 20 0a 19 93 80 80 72 65 63 65 69 76 65 64 20 66 72 6f 6d 20 ┆u1 value) is received from ┆ 0x2b640…2b660 74 68 65 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 20 70 72 6f 63 65 73 73 2e 20 b0 54 68 69 73 20 65 ┆the dte_lcnzero process. This e┆ 0x2b660…2b680 72 72 6f 72 20 6d 65 73 73 61 80 0a 19 93 81 82 67 65 20 69 73 20 70 72 65 63 65 64 65 64 20 62 ┆rror messa ge is preceded b┆ 0x2b680…2b6a0 79 20 61 20 70 72 69 6e 74 20 6f 66 20 74 68 65 20 6d 65 73 73 61 67 65 20 66 69 65 6c 64 73 2e ┆y a print of the message fields.┆ 0x2b6a0…2b6c0 0d 0a 09 09 57 61 72 6e 69 6e 67 2c 20 64 74 65 2e 0d 0a 0d 0a b0 09 2a 2a 2a 2a 09 75 6e 6b 6e ┆ Warning, dte. **** unkn┆ 0x2b6c0…2b6e0 6f 77 6e 20 70 72 6f 63 65 73 73 20 69 64 0d 0a 09 09 84 41 20 6d 65 73 73 61 67 65 20 69 73 20 ┆own process id A message is ┆ 0x2b6e0…2b700 72 65 63 65 69 76 65 64 20 77 69 74 68 20 61 6e 20 75 6e 6b 6e 6f 77 6e 20 75 34 20 76 61 6c 75 ┆received with an unknown u4 valu┆ 0x2b700…2b720 65 2e 20 b0 54 68 69 73 20 0a 19 93 81 82 65 72 72 6f 72 20 6d 65 73 73 61 67 65 20 69 73 20 70 ┆e. This error message is p┆ 0x2b720…2b740 72 65 63 65 64 65 64 20 62 79 20 61 20 70 72 69 6e 74 20 6f 66 20 74 68 65 20 6d 65 73 73 61 67 ┆receded by a print of the messag┆ 0x2b740…2b760 65 20 0a 19 93 81 82 66 69 65 6c 64 73 2e 0d 0a 09 09 57 61 72 6e 69 6e 67 2c 20 64 74 65 2f 64 ┆e fields. Warning, dte/d┆ 0x2b760…2b780 74 65 5f 6c 63 6e 7a 65 72 6f 2e 0d 0a 0d 0a b0 09 2a 2a 2a 2a 09 58 2e 32 35 20 64 61 74 61 20 ┆te_lcnzero. **** X.25 data ┆ 0x2b780…2b7a0 70 61 63 6b 65 74 20 6c 65 6e 67 74 68 20 6e 65 67 61 74 69 76 65 20 3a 20 3c 6e 6f 3e 0d 0a 09 ┆packet length negative : <no> ┆ 0x2b7a0…2b7c0 09 84 3c 6e 6f 3e 20 69 73 20 74 68 65 20 76 61 6c 75 65 20 6f 66 20 64 74 65 5f 63 6f 6e 66 5f ┆ <no> is the value of dte_conf_┆ 0x2b7c0…2b7e0 72 65 63 2e 78 32 35 5f 64 61 74 61 73 69 7a 65 2e 0d 0a 09 09 46 61 74 61 6c 2c 20 64 74 65 2e ┆rec.x25_datasize. Fatal, dte.┆ 0x2b7e0…2b800 0d 0a 0d 0a b0 09 2a 2a 2a 2a 09 84 58 2e 32 35 20 74 72 61 63 65 20 73 74 6f 70 70 65 64 20 63 ┆ **** X.25 trace stopped c┆ 0x2b800…2b820 (348,) 61 75 73 65 64 20 62 79 20 65 78 63 65 70 74 69 6f 6e 20 69 6e 63 61 72 6e 61 74 69 6f 6e 20 0a ┆aused by exception incarnation ┆ 0x2b820…2b840 19 93 81 82 3c 6e 61 6d 65 3e 0d 0a 09 09 b0 44 54 45 54 52 41 43 45 20 76 65 72 73 69 6f 6e 3a ┆ <name> DTETRACE version:┆ 0x2b840…2b860 20 3c 6e 6f 3e 0d 0a 09 09 84 84 41 6e 20 65 78 63 65 70 74 69 6f 6e 20 69 6e 20 61 20 64 74 65 ┆ <no> An exception in a dte┆ 0x2b860…2b880 74 72 61 63 65 20 70 72 6f 63 65 73 73 20 28 76 65 72 73 69 6f 6e 20 3c 6e 6f 3e 29 20 68 61 73 ┆trace process (version <no>) has┆ 0x2b880…2b8a0 20 0a 19 93 80 80 6f 63 63 75 72 65 64 2e 20 54 68 65 20 54 52 41 43 45 20 73 79 73 74 65 6d 20 ┆ occured. The TRACE system ┆ 0x2b8a0…2b8c0 69 73 20 72 65 6d 6f 76 65 64 2e 0d 0a 09 09 57 61 72 6e 69 6e 67 2c 20 64 74 65 2e 0d 0a 0d 0a ┆is removed. Warning, dte. ┆ 0x2b8c0…2b8c4 0d 0a 0d 0a ┆ ┆ 0x2b8c4…2b8c7 FormFeed { 0x2b8c4…2b8c7 0c 80 a8 ┆ ┆ 0x2b8c4…2b8c7 } 0x2b8c7…2b8e0 0a b0 09 2a 2a 2a 2a 09 57 41 52 4e 49 4e 47 3a 20 48 44 4c 43 20 64 72 69 ┆ **** WARNING: HDLC dri┆ 0x2b8e0…2b900 76 65 72 20 61 6e 64 20 69 6e 74 65 72 6e 61 6c 20 73 74 61 74 65 20 65 72 72 6f 72 20 3a 20 3c ┆ver and internal state error : <┆ 0x2b900…2b920 6e 6f 3e 0d 0a 09 09 84 54 68 65 20 6c 69 6e 65 20 73 74 61 74 65 20 69 6e 20 74 68 65 20 48 44 ┆no> The line state in the HD┆ 0x2b920…2b940 4c 43 20 64 72 69 76 65 72 20 61 6e 64 20 69 6e 74 65 72 6e 61 6c 20 69 6e 20 74 68 65 20 0a 19 ┆LC driver and internal in the ┆ 0x2b940…2b960 93 80 80 44 54 45 20 64 6f 65 73 20 6e 6f 74 20 63 6f 72 72 65 73 70 6f 6e 64 2e 20 3c 6e 6f 3e ┆ DTE does not correspond. <no>┆ 0x2b960…2b980 20 69 73 20 74 68 65 20 76 61 6c 75 65 20 6f 66 20 74 68 65 20 69 6e 74 65 72 80 0a 19 93 80 80 ┆ is the value of the inter ┆ 0x2b980…2b9a0 6e 61 6c 20 6c 69 6e 65 20 73 74 61 74 65 2e 0d 0a 09 09 57 61 72 6e 69 6e 67 2c 20 64 74 65 2e ┆nal line state. Warning, dte.┆ 0x2b9a0…2b9c0 0d 0a 0d 0a 0d 0a a1 35 2e 32 09 45 72 72 6f 72 20 4d 65 73 73 61 67 65 73 20 66 72 6f 6d 20 65 ┆ 5.2 Error Messages from e┆ 0x2b9c0…2b9e0 72 72 6f 72 5f 72 65 70 6f 72 74 20 61 6e 64 20 74 72 61 63 65 2e 0d 0a 0d 0a 09 84 49 6e 20 63 ┆rror_report and trace. In c┆ 0x2b9e0…2ba00 61 73 65 20 b0 65 72 72 6f 72 5f 72 65 70 6f 72 74 20 f0 69 73 20 75 73 65 64 20 74 6f 20 70 72 ┆ase error_report is used to pr┆ 0x2ba00…2ba20 (349,) 6f 64 75 63 65 20 65 72 72 6f 72 20 6d 65 73 73 61 67 65 73 20 74 68 65 20 73 74 72 75 63 80 0a ┆oduce error messages the struc ┆ 0x2ba20…2ba40 19 89 81 80 74 75 72 65 20 6f 66 20 61 20 6d 65 73 73 61 67 65 20 69 73 0d 0a 0d 0a b0 09 20 20 ┆ ture of a message is ┆ 0x2ba40…2ba60 20 74 72 61 63 65 09 09 65 78 63 6f 64 65 20 3d 20 41 41 42 42 09 63 61 6c 6c 65 64 20 66 72 6f ┆ trace excode = AABB called fro┆ 0x2ba60…2ba80 6d 20 65 72 72 6f 72 5f 72 65 70 6f 72 74 0d 0a 09 6d 61 79 62 65 20 66 6f 6c 6c 6f 77 65 64 20 ┆m error_report maybe followed ┆ 0x2ba80…2baa0 62 79 0d 0a b0 09 20 20 20 74 72 61 63 65 09 09 65 78 63 6f 64 65 20 3d 20 30 30 75 31 09 63 61 ┆by trace excode = 00u1 ca┆ 0x2baa0…2bac0 6c 6c 65 64 20 66 72 6f 6d 20 65 72 72 6f 72 5f 72 65 70 6f 72 74 0d 0a b0 09 20 20 20 74 72 61 ┆lled from error_report tra┆ 0x2bac0…2bae0 63 65 09 09 65 78 63 6f 64 65 20 3d 20 30 30 75 32 09 63 61 6c 6c 65 64 20 66 72 6f 6d 20 65 72 ┆ce excode = 00u2 called from er┆ 0x2bae0…2bb00 72 6f 72 5f 72 65 70 6f 72 74 0d 0a b0 09 20 20 20 74 72 61 63 65 09 09 65 78 63 6f 64 65 20 3d ┆ror_report trace excode =┆ 0x2bb00…2bb20 20 30 30 75 33 09 63 61 6c 6c 65 64 20 66 72 6f 6d 20 65 72 72 6f 72 5f 72 65 70 6f 72 74 0d 0a ┆ 00u3 called from error_report ┆ 0x2bb20…2bb40 b0 09 20 20 20 74 72 61 63 65 20 09 09 65 78 63 6f 64 65 20 3d 20 30 30 75 34 09 63 61 6c 6c 65 ┆ trace excode = 00u4 calle┆ 0x2bb40…2bb60 64 20 66 72 6f 6d 20 65 72 72 6f 72 5f 72 65 70 6f 72 74 0d 0a 09 61 6e 64 20 6d 61 79 62 65 20 ┆d from error_report and maybe ┆ 0x2bb60…2bb80 61 74 20 6c 61 73 74 0d 0a b0 09 20 20 20 74 72 61 63 65 20 09 09 65 78 63 6f 64 65 20 3d 20 30 ┆at last trace excode = 0┆ 0x2bb80…2bba0 30 30 31 09 63 61 6c 6c 65 64 20 66 72 6f 6d 20 70 61 6e 69 63 0d 0a 0d 0a 09 54 68 65 20 76 61 ┆001 called from panic The va┆ 0x2bba0…2bbc0 6c 75 65 73 20 6f 66 20 74 68 65 20 65 78 63 6f 64 65 27 73 20 61 72 65 0d 0a 09 20 20 20 41 41 ┆lues of the excode's are AA┆ 0x2bbc0…2bbe0 20 20 3d 20 20 20 70 72 6f 63 65 73 73 20 76 65 72 73 69 6f 6e 20 6e 75 6d 62 65 72 0d 0a 09 20 ┆ = process version number ┆ 0x2bbe0…2bc00 20 20 42 42 20 20 3d 20 20 20 64 69 66 66 65 72 65 6e 74 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 0d ┆ BB = different information ┆ 0x2bc00…2bc20 (350,) 0a 09 20 20 20 75 31 20 20 3d 20 20 20 75 31 20 76 61 6c 75 65 20 6f 66 20 61 20 70 6f 73 73 69 ┆ u1 = u1 value of a possi┆ 0x2bc20…2bc40 62 6c 65 20 6d 65 73 73 61 67 65 0d 0a 09 20 20 20 75 32 20 20 3d 20 20 20 75 32 20 76 61 6c 75 ┆ble message u2 = u2 valu┆ 0x2bc40…2bc60 65 20 6f 66 20 61 20 70 6f 73 73 69 62 6c 65 20 6d 65 73 73 61 67 65 0d 0a 09 20 20 20 75 33 20 ┆e of a possible message u3 ┆ 0x2bc60…2bc80 20 3d 20 20 20 75 33 20 76 61 6c 75 65 20 6f 66 20 61 20 70 6f 73 73 69 62 6c 65 20 6d 65 73 73 ┆ = u3 value of a possible mess┆ 0x2bc80…2bca0 61 67 65 0d 0a 09 20 20 20 75 34 20 20 3d 20 20 20 75 34 20 76 61 6c 75 65 20 6f 66 20 61 20 70 ┆age u4 = u4 value of a p┆ 0x2bca0…2bcc0 6f 73 73 69 62 6c 65 20 6d 65 73 73 61 67 65 0d 0a 0d 0a 09 84 54 68 65 20 73 65 63 6f 6e 64 20 ┆ossible message The second ┆ 0x2bcc0…2bce0 74 6f 20 66 69 66 74 68 20 74 72 61 63 65 20 64 6f 20 6f 6e 6c 79 20 61 70 70 65 61 72 2c 20 69 ┆to fifth trace do only appear, i┆ 0x2bce0…2bd00 66 20 61 20 6d 65 73 73 61 67 65 20 69 73 20 69 6e 76 6f 6c 80 0a 19 89 80 80 76 65 64 20 69 6e ┆f a message is invol ved in┆ 0x2bd00…2bd20 20 74 68 65 20 65 72 72 6f 72 20 61 6e 64 20 74 68 65 20 6c 61 73 74 20 74 72 61 63 65 20 69 73 ┆ the error and the last trace is┆ 0x2bd20…2bd40 20 6f 6e 6c 79 20 74 6f 20 70 72 6f 76 6f 6b 65 20 61 20 70 72 6f 63 65 73 73 20 0a 19 89 80 80 ┆ only to provoke a process ┆ 0x2bd40…2bd60 65 78 69 74 20 28 65 78 63 65 70 74 69 6f 6e 29 2e 0d 0a 0d 0a 09 84 54 68 65 20 69 6e 74 65 72 ┆exit (exception). The inter┆ 0x2bd60…2bd80 70 72 65 74 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 74 72 61 63 65 73 20 69 73 20 6e 6f 74 20 73 ┆pretation of the traces is not s┆ 0x2bd80…2bda0 69 6d 70 6c 65 2e 20 49 74 20 72 65 71 75 69 72 65 73 20 61 6e 20 0a 19 89 80 80 73 6f 75 72 63 ┆imple. It requires an sourc┆ 0x2bda0…2bdc0 65 20 6c 69 73 74 6e 69 6e 67 2c 20 62 65 63 61 75 73 65 20 6e 6f 20 6e 75 6d 62 65 72 20 69 73 ┆e listning, because no number is┆ 0x2bdc0…2bde0 20 67 69 76 65 6e 20 74 6f 20 74 68 65 20 69 6e 64 69 76 69 64 75 61 6c 20 65 72 80 0a 19 89 80 ┆ given to the individual er ┆ 0x2bde0…2bdea 80 72 6f 72 73 2e 0d 0a 0d 0a ┆ rors. ┆ 0x2bdea…2bded FormFeed { 0x2bdea…2bded 0c 80 a5 ┆ ┆ 0x2bdea…2bded } 0x2bded…2be00 0a 09 84 54 68 69 73 20 70 72 69 6e 74 20 70 72 6f 63 65 ┆ This print proce┆ 0x2be00…2be20 (351,) 64 75 72 65 20 69 73 20 66 6f 6c 6c 6f 77 65 64 20 69 6e 20 74 68 65 20 70 72 6f 63 65 73 73 65 ┆dure is followed in the processe┆ 0x2be20…2be40 73 3a 0d 0a 09 20 20 20 64 74 65 5f 61 63 63 65 73 73 2c 20 64 74 65 5f 63 68 61 6e 2c 20 64 74 ┆s: dte_access, dte_chan, dt┆ 0x2be40…2be60 65 5f 68 72 65 63 20 61 6e 64 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 2e 0d 0a 0d 0a 09 84 49 66 20 ┆e_hrec and dte_lcnzero. If ┆ 0x2be60…2be80 61 20 74 72 61 63 65 20 77 69 74 68 20 65 78 63 6f 64 65 20 3d 20 30 30 46 46 20 6f 63 63 75 72 ┆a trace with excode = 00FF occur┆ 0x2be80…2bea0 65 73 20 69 74 20 69 73 20 61 6e 20 69 6e 64 69 63 61 74 69 6f 6e 20 6f 66 2c 20 74 68 61 74 20 ┆es it is an indication of, that ┆ 0x2bea0…2bec0 0a 19 89 80 80 69 6e 20 74 68 65 20 65 78 63 65 70 74 69 6f 6e 20 70 72 6f 63 65 64 75 72 65 20 ┆ in the exception procedure ┆ 0x2bec0…2bee0 28 69 6e 20 64 74 65 2c 20 64 74 65 5f 63 68 61 6e 2c 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 29 20 ┆(in dte, dte_chan, dte_lcnzero) ┆ 0x2bee0…2bf00 6e 6f 20 69 6e 80 0a 19 89 80 80 74 65 72 6e 61 6c 20 74 65 73 74 62 75 66 66 65 72 20 77 61 73 ┆no in ternal testbuffer was┆ 0x2bf00…2bf20 20 65 6d 70 74 79 2c 20 73 6f 20 6e 6f 20 63 6f 70 79 20 6f 66 20 74 68 65 20 69 6e 74 65 72 6e ┆ empty, so no copy of the intern┆ 0x2bf20…2bf40 61 6c 20 74 65 73 74 61 72 65 61 20 0a 19 89 80 80 69 73 20 70 65 72 66 6f 72 6d 65 64 2e 0d 0a ┆al testarea is performed. ┆ 0x2bf40…2bf42 0d 0a ┆ ┆ 0x2bf42…2bf45 FormFeed { 0x2bf42…2bf45 0c 80 88 ┆ ┆ 0x2bf42…2bf45 } 0x2bf45…2bf60 0a 16 20 66 6f 72 6d 61 74 6c 69 6e 69 65 20 74 69 6c 20 52 43 20 6d 61 6e 75 61 ┆ formatlinie til RC manua┆ 0x2bf60…2bf80 6c 65 72 0d 0a 14 b3 0d 0a 14 b3 06 2d 20 0b 20 2d 0d 0a a1 36 2e 09 54 52 41 43 45 20 41 4e 44 ┆ler - - 6. TRACE AND┆ 0x2bf80…2bfa0 20 44 45 42 55 47 20 54 4f 4f 4c 53 2e 0d 0a 0d 0a 09 84 41 74 20 72 75 6e 74 69 6d 65 20 73 65 ┆ DEBUG TOOLS. At runtime se┆ 0x2bfa0…2bfc0 76 65 72 61 6c 20 70 6f 73 73 69 62 69 6c 69 74 69 65 73 20 65 78 69 73 74 73 20 74 6f 20 73 65 ┆veral possibilities exists to se┆ 0x2bfc0…2bfe0 65 20 77 68 61 74 20 69 73 20 68 61 70 70 65 6e 69 6e 67 20 0a 19 89 80 80 65 69 74 68 65 72 20 ┆e what is happening either ┆ 0x2bfe0…2c000 69 6e 73 69 64 65 20 74 68 65 20 44 54 45 20 53 79 73 74 65 6d 20 6f 72 20 6f 6e 20 74 68 65 20 ┆inside the DTE System or on the ┆ 0x2c000…2c020 (352,) 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 6c 69 6e 65 2e 0d 0a 0d 0a 09 84 64 74 65 74 72 61 63 ┆communication line. dtetrac┆ 0x2c020…2c040 65 20 28 73 65 63 74 69 6f 6e 20 36 2e 31 29 20 69 73 20 75 73 65 64 20 74 6f 20 74 72 61 63 65 ┆e (section 6.1) is used to trace┆ 0x2c040…2c060 20 74 68 65 20 58 2e 32 35 20 6c 65 76 65 6c 20 33 20 63 6f 6d 6d 75 6e 69 80 0a 19 89 80 80 63 ┆ the X.25 level 3 communi c┆ 0x2c060…2c080 61 74 69 6f 6e 20 6f 6e 20 74 68 65 20 63 6f 6e 73 6f 6c 65 2c 20 64 74 65 74 65 73 74 20 28 73 ┆ation on the console, dtetest (s┆ 0x2c080…2c0a0 65 63 74 69 6f 6e 20 36 2e 32 29 20 69 73 20 75 73 65 64 20 74 6f 20 63 6f 6e 74 72 6f 6c 20 0a ┆ection 6.2) is used to control ┆ 0x2c0a0…2c0c0 19 89 80 80 69 6e 74 65 72 6e 61 6c 20 74 65 73 74 20 6f 66 20 33 20 70 72 6f 63 65 73 73 65 73 ┆ internal test of 3 processes┆ 0x2c0c0…2c0e0 20 28 64 74 65 2c 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 2c 20 61 6e 64 20 64 74 65 5f 63 68 61 6e ┆ (dte, dte_lcnzero, and dte_chan┆ 0x2c0e0…2c100 78 78 78 29 2c 20 0a 19 89 80 80 61 6e 64 20 67 65 6e 65 72 61 74 69 6f 6e 20 6f 66 20 64 74 65 ┆xxx), and generation of dte┆ 0x2c100…2c120 5f 61 63 63 65 73 73 20 74 65 73 74 20 6d 65 73 73 61 67 65 73 2c 20 61 6e 64 20 73 6f 6d 65 20 ┆_access test messages, and some ┆ 0x2c120…2c140 6d 65 73 73 61 67 65 73 20 6f 6e 20 0a 19 89 80 80 74 68 65 20 63 6f 6e 73 6f 6c 65 2c 20 61 6e ┆messages on the console, an┆ 0x2c140…2c160 64 20 64 74 65 73 6e 6f 6f 70 20 28 73 65 63 74 69 6f 6e 20 36 2e 33 29 20 69 73 20 75 73 65 64 ┆d dtesnoop (section 6.3) is used┆ 0x2c160…2c180 20 74 6f 20 73 6e 6f 6f 70 20 6d 65 73 73 61 67 65 73 20 0a 19 89 80 80 72 65 63 65 69 76 65 64 ┆ to snoop messages received┆ 0x2c180…2c1a0 20 61 74 20 74 68 65 20 6d 61 69 6e 20 61 6e 64 20 73 79 6e 63 68 72 6f 6e 69 7a 61 74 69 6f 6e ┆ at the main and synchronization┆ 0x2c1a0…2c1c0 20 73 65 6d 61 70 68 6f 72 65 73 20 6f 66 20 74 68 65 20 0a 19 89 80 80 64 74 65 5f 63 68 61 6e ┆ semaphores of the dte_chan┆ 0x2c1c0…2c1e0 20 70 72 6f 63 65 73 73 2e 0d 0a 0d 0a 09 84 54 68 69 73 20 74 68 72 65 65 20 73 79 73 74 65 6d ┆ process. This three system┆ 0x2c1e0…2c200 73 20 61 72 65 20 b0 6e 6f 74 20 6d 61 6e 64 61 74 6f 72 79 f0 20 66 6f 72 20 6e 6f 72 6d 61 6c ┆s are not mandatory for normal┆ 0x2c200…2c220 (353,) 20 72 75 6e 20 6f 66 20 74 68 65 20 44 54 45 20 6d 6f 80 0a 19 89 81 80 64 75 6c 65 2e 20 54 68 ┆ run of the DTE mo dule. Th┆ 0x2c220…2c240 65 79 20 63 61 6e 20 62 65 20 6f 75 74 6d 69 74 74 65 64 20 61 74 20 6c 69 6e 6b 20 74 69 6d 65 ┆ey can be outmitted at link time┆ 0x2c240…2c260 20 28 73 65 65 20 73 75 62 73 65 63 74 69 6f 6e 20 37 2e 33 2e 32 29 2e 0d 0a 0d 0a 0d 0a a1 36 ┆ (see subsection 7.3.2). 6┆ 0x2c260…2c280 2e 31 09 54 72 61 63 65 20 53 79 73 74 65 6d 2e 0d 0a 0d 0a 09 84 41 73 20 6d 65 6e 74 69 6f 6e ┆.1 Trace System. As mention┆ 0x2c280…2c2a0 65 64 20 61 62 6f 76 65 20 74 68 65 20 74 72 61 63 65 20 73 79 73 74 65 6d 20 69 73 20 75 73 65 ┆ed above the trace system is use┆ 0x2c2a0…2c2c0 64 20 74 6f 20 70 72 69 6e 74 20 74 68 65 20 58 2e 32 35 20 0a 19 89 80 80 6c 65 76 65 6c 20 33 ┆d to print the X.25 level 3┆ 0x2c2c0…2c2e0 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 6f 6e 20 74 68 65 20 63 6f 6e 73 6f 6c 65 2e 20 54 ┆ communication on the console. T┆ 0x2c2e0…2c300 68 65 20 73 79 73 74 65 6d 20 63 6f 6e 73 69 73 74 73 20 6f 66 20 32 20 0a 19 89 80 80 70 72 6f ┆he system consists of 2 pro┆ 0x2c300…2c320 63 65 73 73 65 73 20 28 64 74 65 74 72 61 63 65 20 61 6e 64 20 6f 75 74 74 72 61 63 65 29 2c 20 ┆cesses (dtetrace and outtrace), ┆ 0x2c320…2c340 74 68 72 65 65 20 65 78 74 65 72 6e 61 6c 20 70 72 6f 63 65 64 75 72 65 73 20 0a 19 89 80 80 28 ┆three external procedures (┆ 0x2c340…2c360 69 6e 69 74 5f 74 72 61 63 65 2c 20 65 6e 64 5f 74 72 61 63 65 2c 20 61 6e 64 20 74 72 61 63 69 ┆init_trace, end_trace, and traci┆ 0x2c360…2c380 6e 67 29 20 61 6e 64 20 61 20 62 75 66 66 65 72 20 70 6f 6f 6c 20 28 74 72 61 63 65 5f 62 75 66 ┆ng) and a buffer pool (trace_buf┆ 0x2c380…2c3a0 29 20 0a 19 89 80 80 6f 66 20 74 68 65 20 74 79 70 65 20 73 70 65 63 69 66 69 65 64 20 69 6e 20 ┆) of the type specified in ┆ 0x2c3a0…2c3c0 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 31 2e 33 2e 0d 0a 0d 0a 09 84 49 6e 20 74 68 65 20 66 6f ┆subsection 4.1.3. In the fo┆ 0x2c3c0…2c3e0 6c 6c 6f 77 69 6e 67 20 66 6f 75 72 20 73 75 62 73 65 63 74 69 6f 6e 73 20 61 6e 20 6f 76 65 72 ┆llowing four subsections an over┆ 0x2c3e0…2c400 76 69 65 77 20 61 6e 64 20 61 20 73 68 6f 72 74 20 64 65 73 63 72 69 70 80 0a 19 89 80 80 74 69 ┆view and a short descrip ti┆ 0x2c400…2c420 (354,) 6f 6e 20 6f 66 20 74 68 65 20 73 79 73 74 65 6d 20 61 72 65 20 67 69 76 65 6e 2e 20 46 75 72 74 ┆on of the system are given. Furt┆ 0x2c420…2c440 68 65 72 6d 6f 72 65 20 74 68 65 20 6f 75 74 70 75 74 20 6f 6e 20 74 68 65 20 63 6f 6e 80 0a 19 ┆hermore the output on the con ┆ 0x2c440…2c460 89 80 80 73 6f 6c 65 20 69 73 20 65 78 70 6c 61 69 6e 65 64 2e 0d 0a 0d 0a 0d 0a a1 36 2e 31 2e ┆ sole is explained. 6.1.┆ 0x2c460…2c480 31 09 50 72 6f 63 65 73 73 20 4f 76 65 72 76 69 65 77 20 61 6e 64 20 4f 70 65 72 61 74 69 6f 6e ┆1 Process Overview and Operation┆ 0x2c480…2c4a0 2e 0d 0a 0d 0a 09 84 49 6e 20 66 69 67 75 72 65 20 34 32 20 74 68 65 20 74 72 61 63 65 20 6d 65 ┆. In figure 42 the trace me┆ 0x2c4a0…2c4c0 73 73 61 67 65 73 20 66 6c 6f 77 20 61 72 65 20 6f 75 74 6c 69 6e 65 64 20 74 6f 67 65 74 68 65 ┆ssages flow are outlined togethe┆ 0x2c4c0…2c4e0 72 20 77 69 74 68 20 61 6e 20 0a 19 89 80 80 69 6e 64 69 63 61 74 69 6f 6e 20 6f 66 20 77 68 65 ┆r with an indication of whe┆ 0x2c4e0…2c500 72 65 20 74 68 65 20 58 2e 32 35 20 6c 65 76 65 6c 20 33 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f ┆re the X.25 level 3 communicatio┆ 0x2c500…2c520 6e 20 61 72 65 20 74 72 61 63 65 64 20 0a 19 89 80 80 28 69 2e 65 2e 20 69 6e 20 77 68 69 63 68 ┆n are traced (i.e. in which┆ 0x2c520…2c540 20 70 72 6f 63 65 73 73 65 73 20 74 68 65 20 69 6e 2d 2f 6f 75 74 70 75 74 20 62 75 66 66 65 72 ┆ processes the in-/output buffer┆ 0x2c540…2c551 73 20 61 72 65 20 63 6f 70 69 65 64 2e 0d 0a 0d 0a ┆s are copied. ┆ 0x2c551…2c554 FormFeed { 0x2c551…2c554 0c 80 a4 ┆ ┆ 0x2c551…2c554 } 0x2c554…2c560 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d ┆ ┆ 0x2c560…2c580 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d ┆ ┆ […0x1…] 0x2c5a0…2c5c0 0a 09 46 69 67 75 72 65 20 34 32 3a 20 4d 65 73 73 61 67 65 20 66 6c 6f 77 20 69 6e 20 74 68 65 ┆ Figure 42: Message flow in the┆ 0x2c5c0…2c5d0 20 74 72 61 63 65 20 73 79 73 74 65 6d 2e 0d 0a ┆ trace system. ┆ 0x2c5d0…2c5d3 FormFeed { 0x2c5d0…2c5d3 0c 80 a7 ┆ ┆ 0x2c5d0…2c5d3 } 0x2c5d3…2c5e0 0a 09 84 41 73 20 69 6e 64 69 63 61 74 ┆ As indicat┆ 0x2c5e0…2c600 65 64 20 69 6e 20 66 69 67 75 72 65 20 34 32 20 74 68 65 20 6f 75 74 70 75 74 20 66 6c 6f 77 20 ┆ed in figure 42 the output flow ┆ 0x2c600…2c620 (355,) 61 72 65 20 74 72 61 63 65 64 20 69 6e 20 74 68 65 20 70 72 6f 80 0a 19 89 80 80 63 65 73 73 20 ┆are traced in the pro cess ┆ 0x2c620…2c640 6f 75 74 74 72 61 63 65 20 61 6e 64 20 74 68 65 20 69 6e 70 75 74 20 66 6c 6f 77 20 69 6e 20 64 ┆outtrace and the input flow in d┆ 0x2c640…2c660 74 65 5f 68 72 65 63 2e 0d 0a 0d 0a 09 84 54 68 65 20 74 72 61 63 65 20 73 79 73 74 65 6d 20 6d ┆te_hrec. The trace system m┆ 0x2c660…2c680 61 79 20 62 65 20 69 6e 20 74 68 72 65 65 20 73 74 61 74 65 73 3a 0d 0a 0d 0a 09 20 20 20 31 29 ┆ay be in three states: 1)┆ 0x2c680…2c6a0 20 20 72 65 6d 6f 76 65 64 0d 0a 09 20 20 20 32 29 20 20 63 72 65 61 74 65 64 20 61 6e 64 20 6e ┆ removed 2) created and n┆ 0x2c6a0…2c6c0 6f 74 20 61 63 74 69 76 65 0d 0a 09 20 20 20 33 29 20 20 63 72 65 61 74 65 64 20 61 6e 64 20 61 ┆ot active 3) created and a┆ 0x2c6c0…2c6e0 63 74 69 76 65 2e 0d 0a 0d 0a 84 09 84 4f 6e 6c 79 20 69 6e 20 74 68 65 20 6c 61 73 74 20 73 74 ┆ctive. Only in the last st┆ 0x2c6e0…2c700 61 74 65 20 74 68 65 20 63 6f 70 79 20 6f 66 20 64 61 74 61 20 62 75 66 66 65 72 73 20 77 69 6c ┆ate the copy of data buffers wil┆ 0x2c700…2c720 6c 20 62 65 20 70 65 72 66 6f 72 6d 65 64 2c 20 0a 19 89 80 80 61 6e 64 20 6f 6e 6c 79 20 69 6e ┆l be performed, and only in┆ 0x2c720…2c740 20 74 68 65 20 6c 61 73 74 20 74 77 6f 20 73 74 61 74 65 73 20 74 68 65 20 64 61 74 61 20 66 6c ┆ the last two states the data fl┆ 0x2c740…2c760 6f 77 20 77 69 6c 6c 20 70 61 73 73 20 74 68 72 6f 75 67 68 20 0a 19 89 80 80 74 68 65 20 70 72 ┆ow will pass through the pr┆ 0x2c760…2c780 6f 63 65 73 73 20 6f 75 74 74 72 61 63 65 2e 0d 0a 0d 0a 09 84 54 68 65 20 73 74 61 74 65 73 20 ┆ocess outtrace. The states ┆ 0x2c780…2c7a0 6f 66 20 74 68 65 20 73 79 73 74 65 6d 20 63 61 6e 20 62 65 20 63 68 61 6e 67 65 64 20 64 79 6e ┆of the system can be changed dyn┆ 0x2c7a0…2c7c0 61 6d 69 63 6c 79 20 75 73 69 6e 67 20 61 6e 20 4c 43 50 20 0a 19 89 80 80 6f 70 65 72 61 74 69 ┆amicly using an LCP operati┆ 0x2c7c0…2c7e0 6f 6e 20 28 44 54 45 20 35 33 2c 30 29 2e 20 54 68 65 20 73 74 61 74 65 20 69 73 20 69 6e 64 69 ┆on (DTE 53,0). The state is indi┆ 0x2c7e0…2c800 63 61 74 65 64 20 75 73 69 6e 67 20 74 77 6f 20 62 6f 6f 6c 65 61 6e 20 76 61 80 0a 19 89 80 80 ┆cated using two boolean va ┆ 0x2c800…2c820 (356,) 72 69 61 62 6c 65 73 20 28 69 6e 20 70 72 6f 63 65 73 73 20 64 74 65 29 2e 0d 0a 0d 0a 09 5f 5f ┆riables (in process dte). __┆ 0x2c820…2c840 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f ┆________________________________┆ 0x2c840…2c860 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 0d 0a 09 21 20 20 20 20 20 20 74 72 61 ┆___________________ ! tra┆ 0x2c860…2c880 63 65 5f 72 75 6e 20 21 20 20 20 20 20 82 66 61 6c 73 65 81 20 20 20 20 20 20 21 20 20 20 20 20 ┆ce_run ! false ! ┆ 0x2c880…2c8a0 20 82 74 72 75 65 81 20 20 20 20 20 20 20 21 0d 0a 09 21 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ true ! ! ┆ 0x2c8a0…2c8c0 20 20 20 21 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 21 20 20 20 20 20 20 20 20 20 20 20 ┆ ! ! ┆ 0x2c8c0…2c8e0 20 20 20 20 20 20 21 0d 0a 09 a1 21 20 74 72 61 63 65 5f 6f 6e 20 20 20 20 20 20 20 21 20 20 20 ┆ ! ! trace_on ! ┆ 0x2c8e0…2c900 20 20 20 20 20 20 20 20 20 20 20 20 20 21 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 21 ┆ ! !┆ 0x2c900…2c920 0d 0a 20 20 20 20 20 20 20 20 20 21 20 20 20 20 20 82 66 61 6c 73 65 81 20 20 20 20 20 20 21 20 ┆ ! false ! ┆ 0x2c920…2c940 20 20 20 20 82 72 65 6d 6f 76 65 64 81 20 20 20 20 21 20 63 72 65 61 74 65 64 20 61 6e 64 20 20 ┆ removed ! created and ┆ 0x2c940…2c960 20 20 20 21 0d 0a 09 a1 21 a1 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 21 20 20 20 20 20 ┆ ! ! ! ┆ 0x2c960…2c980 20 20 20 20 20 20 20 20 20 20 20 21 20 6e 6f 74 20 61 63 74 69 76 65 20 20 20 20 20 20 21 0d 0a ┆ ! not active ! ┆ 0x2c980…2c9a0 09 21 20 20 20 20 20 82 74 72 75 65 81 20 20 20 20 20 20 20 21 20 20 20 20 20 20 20 20 20 20 20 ┆ ! true ! ┆ 0x2c9a0…2c9c0 20 20 20 20 20 21 20 63 72 65 61 74 65 64 20 61 6e 64 20 20 20 20 20 21 0d 0a 09 a1 21 20 20 20 ┆ ! created and ! ! ┆ 0x2c9c0…2c9e0 20 20 20 20 20 20 20 20 20 20 20 20 20 21 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 21 20 ┆ ! ! ┆ 0x2c9e0…2ca00 20 20 61 63 74 69 76 65 20 20 20 20 20 20 20 20 21 0d 0a 0d 0a 09 54 61 62 6c 65 20 38 3a 20 53 ┆ active ! Table 8: S┆ 0x2ca00…2ca20 (357,) 74 61 74 65 20 76 61 72 69 61 62 6c 65 73 20 6f 66 20 74 68 65 20 74 72 61 63 65 20 73 79 73 74 ┆tate variables of the trace syst┆ 0x2ca20…2ca40 65 6d 2e 0d 0a 0d 0a 09 84 57 68 65 6e 65 76 65 72 20 74 68 65 20 76 61 72 69 61 62 6c 65 20 74 ┆em. Whenever the variable t┆ 0x2ca40…2ca60 72 61 63 65 5f 6f 6e 20 63 68 61 6e 67 65 73 20 66 72 6f 6d 20 66 61 6c 73 65 20 74 6f 20 74 72 ┆race_on changes from false to tr┆ 0x2ca60…2ca80 75 65 20 6f 72 20 6f 70 70 6f 80 0a 19 89 80 80 73 69 74 65 2c 20 69 74 20 69 73 20 69 6e 64 69 ┆ue or oppo site, it is indi┆ 0x2ca80…2caa0 63 61 74 65 64 20 6f 6e 20 74 68 65 20 63 6f 6e 73 6f 6c 65 20 28 66 6f 72 6d 61 74 20 61 6e 64 ┆cated on the console (format and┆ 0x2caa0…2cac0 20 74 65 78 74 20 70 6c 65 61 73 65 20 73 65 65 20 0a 19 89 80 80 73 75 62 73 65 63 74 69 6f 6e ┆ text please see subsection┆ 0x2cac0…2cae0 20 36 2e 31 2e 34 29 20 75 73 69 6e 67 20 74 68 65 20 65 78 74 65 72 6e 61 6c 20 70 72 6f 63 65 ┆ 6.1.4) using the external proce┆ 0x2cae0…2cb00 64 75 72 65 73 20 b0 69 6e 69 74 5f 74 72 61 63 65 f0 20 61 6e 64 20 0a 19 89 81 80 b0 65 6e 64 ┆dures init_trace and end┆ 0x2cb00…2cb20 5f 74 72 61 63 65 f0 2e 20 54 68 65 20 63 6f 70 79 69 6e 67 20 70 72 6f 63 65 73 73 20 6f 66 20 ┆_trace . The copying process of ┆ 0x2cb20…2cb40 64 61 74 61 20 69 6e 2d 2f 6f 75 74 70 75 74 20 69 73 20 70 65 72 66 6f 72 6d 65 64 20 75 73 80 ┆data in-/output is performed us ┆ 0x2cb40…2cb60 0a 19 89 82 80 69 6e 67 20 74 68 65 20 65 78 74 65 72 6e 61 6c 20 70 72 6f 63 65 64 75 72 65 20 ┆ ing the external procedure ┆ 0x2cb60…2cb80 b0 74 72 61 63 69 6e 67 f0 2e 20 41 6c 6c 20 74 68 72 65 65 20 70 72 6f 63 65 64 75 72 65 73 20 ┆ tracing . All three procedures ┆ 0x2cb80…2cba0 61 72 65 20 65 78 70 80 0a 19 89 83 80 6c 61 69 6e 65 64 20 69 6e 20 73 75 62 73 65 63 74 69 6f ┆are exp lained in subsectio┆ 0x2cba0…2cbc0 6e 20 34 2e 31 2e 32 2e 35 2e 0d 0a 0d 0a 09 84 57 68 65 6e 65 76 65 72 20 61 20 74 72 61 63 65 ┆n 4.1.2.5. Whenever a trace┆ 0x2cbc0…2cbe0 20 62 75 66 66 65 72 20 69 73 20 6f 75 74 66 69 6c 6c 65 64 20 28 65 69 74 68 65 72 20 62 79 20 ┆ buffer is outfilled (either by ┆ 0x2cbe0…2cc00 b0 69 6e 69 74 5f 74 72 61 63 65 2c 20 0a 19 89 81 82 65 6e 64 5f 74 72 61 63 65 f0 20 6f 72 20 ┆ init_trace, end_trace or ┆ 0x2cc00…2cc20 (358,) b0 74 72 61 63 69 6e 67 f0 29 20 69 74 20 69 73 20 72 65 74 75 72 6e 65 64 20 28 69 6e 20 74 68 ┆ tracing ) it is returned (in th┆ 0x2cc20…2cc40 65 20 70 72 6f 63 65 64 75 72 65 29 20 74 6f 20 74 68 65 20 0a 19 89 82 80 6d 61 69 6e 20 73 65 ┆e procedure) to the main se┆ 0x2cc40…2cc60 6d 61 70 68 6f 72 65 20 6f 66 20 74 68 65 20 64 74 65 74 72 61 63 65 20 70 72 6f 63 65 73 73 2e ┆maphore of the dtetrace process.┆ 0x2cc60…2cc80 0d 0a 0d 0a 8c 80 a7 0a 09 84 49 6e 20 74 68 65 20 64 74 65 74 72 61 63 65 20 70 72 6f 63 65 73 ┆ In the dtetrace proces┆ 0x2cc80…2cca0 73 20 74 68 65 20 64 61 74 61 20 61 72 65 20 74 69 6d 65 20 73 74 61 6d 70 65 64 20 61 6e 64 20 ┆s the data are time stamped and ┆ 0x2cca0…2ccc0 66 6f 72 6d 61 74 74 65 64 20 0a 19 89 80 80 61 63 63 6f 72 64 69 6e 67 20 74 6f 20 61 20 73 74 ┆formatted according to a st┆ 0x2ccc0…2cce0 61 6e 64 61 72 64 20 66 6f 72 6d 61 74 20 61 6e 64 20 6f 70 65 72 61 74 6f 72 20 64 65 66 69 6e ┆andard format and operator defin┆ 0x2cce0…2cd00 65 64 20 70 61 72 61 6d 65 74 65 72 73 20 0a 19 89 80 80 28 73 75 62 73 65 63 74 69 6f 6e 20 36 ┆ed parameters (subsection 6┆ 0x2cd00…2cd20 2e 31 2e 33 29 2c 20 70 75 74 20 69 6e 20 61 20 73 74 61 6e 64 61 72 64 20 7a 6f 6e 65 20 6f 75 ┆.1.3), put in a standard zone ou┆ 0x2cd20…2cd40 74 70 75 74 20 62 75 66 66 65 72 20 61 6e 64 20 74 68 69 73 20 0a 19 89 80 80 62 75 66 66 65 72 ┆tput buffer and this buffer┆ 0x2cd40…2cd60 20 69 73 20 73 69 67 6e 61 6c 6c 65 64 20 74 6f 20 74 68 65 20 6f 70 65 72 61 74 6f 72 20 70 72 ┆ is signalled to the operator pr┆ 0x2cd60…2cd80 6f 63 65 73 73 2e 20 54 68 65 20 74 72 61 63 65 20 62 75 66 66 65 72 20 69 73 20 0a 19 89 80 80 ┆ocess. The trace buffer is ┆ 0x2cd80…2cda0 74 68 65 6e 20 72 65 74 75 72 6e 65 64 20 74 6f 20 74 68 65 20 63 6f 6d 6d 6f 6e 20 70 6f 6f 6c ┆then returned to the common pool┆ 0x2cda0…2cdc0 20 74 72 61 63 65 5f 62 75 66 2e 0d 0a 0d 0a 09 84 54 68 65 20 74 77 6f 20 70 72 6f 63 65 73 73 ┆ trace_buf. The two process┆ 0x2cdc0…2cde0 65 64 20 63 6f 6e 73 74 69 74 75 74 69 6e 67 20 74 68 65 20 74 72 61 63 65 20 73 79 73 74 65 6d ┆ed constituting the trace system┆ 0x2cde0…2ce00 20 68 61 73 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 0a 19 89 80 80 70 72 6f 63 65 73 73 20 ┆ has the following process ┆ 0x2ce00…2ce20 (359,) 68 65 61 64 73 2e 0d 0a 0d 0a 09 b0 50 52 4f 43 45 53 53 20 64 74 65 5f 74 72 61 63 65 20 28 0d ┆heads. PROCESS dte_trace ( ┆ 0x2ce20…2ce40 0a 09 20 20 20 6f 70 73 65 6d 09 20 20 20 20 20 20 20 3a 20 73 65 6d 70 6f 69 6e 74 65 72 3b 0d ┆ opsem : sempointer; ┆ 0x2ce40…2ce60 0a 09 20 20 20 56 41 52 20 74 72 61 63 65 5f 70 74 72 20 3a 20 21 20 74 61 70 5f 70 6f 69 6e 74 ┆ VAR trace_ptr : ! tap_point┆ 0x2ce60…2ce80 65 72 3b 0d 0a 09 20 20 20 56 41 52 20 74 72 61 63 65 5f 62 75 66 20 3a 20 70 68 5f 74 79 70 65 ┆er; VAR trace_buf : ph_type┆ 0x2ce80…2cea0 3b 0d 0a 09 20 20 20 56 41 52 20 62 72 65 61 6b 5f 73 65 6d 20 3a 20 73 65 6d 61 70 68 6f 72 65 ┆; VAR break_sem : semaphore┆ 0x2cea0…2cec0 3b 0d 0a 09 20 20 20 63 6f 6e 73 6f 6c 65 5f 6f 75 74 20 20 20 3a 20 62 6f 6f 6c 65 61 6e 0d 0a ┆; console_out : boolean ┆ 0x2cec0…2cee0 09 20 20 20 29 3b 0d 0a 0d 0a b0 09 50 52 4f 43 45 53 53 20 6f 75 74 5f 74 72 61 63 65 20 28 0d ┆ ); PROCESS out_trace ( ┆ 0x2cee0…2cf00 0a 09 20 20 20 56 41 52 20 69 6e 5f 70 74 72 20 20 20 20 3a 20 21 20 74 61 70 5f 70 6f 69 6e 74 ┆ VAR in_ptr : ! tap_point┆ 0x2cf00…2cf20 65 72 3b 0d 0a 09 20 20 20 56 41 52 20 68 64 6c 63 5f 73 65 6d 20 20 3a 20 21 20 73 65 6d 70 6f ┆er; VAR hdlc_sem : ! sempo┆ 0x2cf20…2cf40 69 6e 74 65 72 3b 0d 0a 09 20 20 20 56 41 52 20 74 72 61 63 65 5f 62 75 66 20 3a 20 70 68 5f 74 ┆inter; VAR trace_buf : ph_t┆ 0x2cf40…2cf60 79 70 65 3b 0d 0a 09 20 20 20 56 41 52 20 74 72 61 63 65 5f 6f 6e 20 20 3a 20 21 20 62 6f 6f 6c ┆ype; VAR trace_on : ! bool┆ 0x2cf60…2cf80 65 61 6e 0d 0a 20 20 09 20 20 20 29 3b 0d 0a 0d 0a 09 6f 70 73 65 6d 09 09 3a 20 84 50 6f 69 6e ┆ean ); opsem : Poin┆ 0x2cf80…2cfa0 74 65 72 20 74 6f 20 74 68 65 20 6d 61 69 6e 20 73 65 6d 61 70 68 6f 72 65 20 6f 66 20 74 68 65 ┆ter to the main semaphore of the┆ 0x2cfa0…2cfc0 20 6f 70 65 72 61 80 0a 19 9f 80 80 74 6f 72 20 70 72 6f 63 65 73 73 2e 0d 0a 0d 0a 09 74 72 61 ┆ opera tor process. tra┆ 0x2cfc0…2cfe0 63 65 5f 70 74 72 09 09 3a 20 84 4d 61 69 6e 20 73 65 6d 61 70 68 6f 72 65 20 70 6f 69 6e 74 65 ┆ce_ptr : Main semaphore pointe┆ 0x2cfe0…2d000 72 20 6f 66 20 74 68 65 20 64 74 65 74 72 61 63 65 20 70 72 6f 80 0a 19 9f 80 80 63 65 73 73 2e ┆r of the dtetrace pro cess.┆ 0x2d000…2d020 (360,) 0d 0a 0d 0a 09 74 72 61 63 65 5f 62 75 66 09 09 3a 20 54 72 61 63 65 20 62 75 66 66 65 72 20 70 ┆ trace_buf : Trace buffer p┆ 0x2d020…2d040 6f 6f 6c 2e 0d 0a 0d 0a 09 62 72 65 61 6b 5f 73 65 6d 09 09 3a 20 84 53 65 6d 61 70 68 6f 72 65 ┆ool. break_sem : Semaphore┆ 0x2d040…2d060 20 68 6f 6c 64 69 6e 67 20 74 68 65 20 62 72 65 61 6b 20 6d 65 73 73 61 67 65 20 75 73 65 64 20 ┆ holding the break message used ┆ 0x2d060…2d080 69 6e 20 0a 19 9f 80 80 74 68 65 20 65 78 63 65 70 74 69 6f 6e 20 70 72 6f 63 65 64 75 72 65 2e ┆in the exception procedure.┆ 0x2d080…2d0a0 0d 0a 0d 0a 09 63 6f 6e 73 6f 6c 65 5f 6f 75 74 09 3a 20 84 49 66 20 74 72 75 65 20 74 68 65 20 ┆ console_out : If true the ┆ 0x2d0a0…2d0c0 76 65 72 73 69 6f 6e 20 69 64 20 69 73 20 70 72 69 6e 74 65 64 20 6f 6e 20 74 68 65 20 0a 19 9f ┆version id is printed on the ┆ 0x2d0c0…2d0e0 80 80 63 6f 6e 73 6f 6c 65 20 61 74 20 70 72 6f 63 65 73 73 20 73 74 61 72 74 0d 0a 0d 0a 09 69 ┆ console at process start i┆ 0x2d0e0…2d100 6e 5f 70 74 72 09 09 3a 20 84 4d 61 69 6e 20 73 65 6d 61 70 68 6f 72 65 20 70 6f 69 6e 74 65 72 ┆n_ptr : Main semaphore pointer┆ 0x2d100…2d120 20 6f 66 20 74 68 65 20 6f 75 74 74 72 61 63 65 20 70 72 6f 80 0a 19 9f 80 80 63 65 73 73 2e 0d ┆ of the outtrace pro cess. ┆ 0x2d120…2d123 0a 0d 0a ┆ ┆ 0x2d123…2d126 FormFeed { 0x2d123…2d126 0c 80 a9 ┆ ┆ 0x2d123…2d126 } 0x2d126…2d140 0a 09 68 64 6c 63 5f 73 65 6d 09 09 3a 20 53 65 6d 61 70 68 6f 72 65 20 70 6f ┆ hdlc_sem : Semaphore po┆ 0x2d140…2d160 69 6e 74 65 72 20 74 6f 20 74 68 65 20 48 44 4c 43 4c 43 50 2e 0d 0a 0d 0a 09 74 72 61 63 65 5f ┆inter to the HDLCLCP. trace_┆ 0x2d160…2d180 6f 6e 09 09 3a 20 84 42 6f 6f 6c 65 61 6e 20 69 6e 64 69 63 61 74 69 6e 67 20 77 68 65 74 68 65 ┆on : Boolean indicating whethe┆ 0x2d180…2d1a0 72 20 74 68 65 20 58 2e 32 35 20 70 61 63 6b 65 74 20 0a 19 9f 80 80 66 6c 6f 77 20 73 68 61 6c ┆r the X.25 packet flow shal┆ 0x2d1a0…2d1c0 6c 20 62 65 20 74 72 61 63 65 64 20 28 74 72 75 65 29 20 6f 72 20 6e 6f 74 20 28 66 61 6c 73 65 ┆l be traced (true) or not (false┆ 0x2d1c0…2d1e0 29 2e 20 0a 19 9f 80 80 43 68 61 6e 67 65 64 20 64 79 6e 61 6d 69 63 6c 79 20 62 79 20 74 68 65 ┆). Changed dynamicly by the┆ 0x2d1e0…2d200 20 64 74 65 20 70 72 6f 63 65 73 73 2e 0d 0a 0d 0a 0d 0a a1 36 2e 31 2e 32 09 45 78 74 65 72 6e ┆ dte process. 6.1.2 Extern┆ 0x2d200…2d220 (361,) 61 6c 20 43 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 2e 0d 0a 0d 0a 09 84 46 6f 72 20 6f 70 65 72 61 ┆al Communication. For opera┆ 0x2d220…2d240 74 6f 72 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 73 74 61 6e 64 61 72 64 20 52 54 50 20 69 ┆tor communication standard RTP i┆ 0x2d240…2d260 6e 70 75 74 2f 6f 75 74 70 75 74 20 7a 6f 6e 65 73 20 28 72 65 66 2e 20 0a 19 89 80 80 28 31 35 ┆nput/output zones (ref. (15┆ 0x2d260…2d280 29 29 20 61 72 65 20 75 73 65 64 2e 20 54 68 65 20 66 6f 72 6d 61 74 20 6f 66 20 61 20 74 72 61 ┆)) are used. The format of a tra┆ 0x2d280…2d2a0 63 65 20 62 75 66 66 65 72 20 69 73 20 64 65 73 63 72 69 62 65 64 20 62 65 6c 6f 77 2e 20 41 20 ┆ce buffer is described below. A ┆ 0x2d2a0…2d2c0 0a 19 89 80 80 74 72 61 63 65 20 62 75 66 66 65 72 20 69 73 20 6f 6e 6c 79 20 67 65 6e 65 72 61 ┆ trace buffer is only genera┆ 0x2d2c0…2d2e0 74 65 64 20 69 6e 20 6f 6e 65 20 6f 66 20 74 68 65 20 74 72 61 63 69 6e 67 20 70 72 6f 63 65 64 ┆ted in one of the tracing proced┆ 0x2d2e0…2d300 75 72 65 73 20 0a 19 89 80 80 28 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 31 2e 32 2e 35 29 2e 0d ┆ures (subsection 4.1.2.5). ┆ 0x2d300…2d320 0a 0d 0a 09 a1 b0 4d 65 73 73 61 67 65 20 6e 61 6d 65 e1 3a 20 20 20 74 69 6d 65 72 65 61 64 0d ┆ Message name : timeread ┆ 0x2d320…2d340 0a 0d 0a 09 a1 4d 65 73 73 61 67 65 20 66 6f 72 6d 61 74 e1 3a 0d 0a 09 09 20 20 20 20 20 20 6d ┆ Message format : m┆ 0x2d340…2d360 65 73 73 61 67 65 20 73 65 6e 74 09 09 61 6e 73 77 65 72 20 72 65 63 76 2e 0d 0a 09 20 20 20 20 ┆essage sent answer recv. ┆ 0x2d360…2d380 20 75 31 09 09 31 09 09 20 20 20 20 75 6e 63 68 0d 0a 09 20 20 20 20 20 75 32 09 09 37 09 09 20 ┆ u1 1 unch u2 7 ┆ 0x2d380…2d3a0 20 20 20 20 30 0d 0a 09 20 20 20 20 20 75 33 09 09 2d 09 09 20 20 20 20 20 30 0d 0a 09 20 20 20 ┆ 0 u3 - 0 ┆ 0x2d3a0…2d3c0 20 20 75 34 09 09 2d 09 09 20 20 20 20 75 6e 63 68 0d 0a 0d 0a 09 20 20 20 20 20 62 75 66 09 09 ┆ u4 - unch buf ┆ 0x2d3c0…2d3e0 2d 09 09 20 64 65 6c 61 79 74 79 70 65 0d 0a 0d 0a 09 64 65 6c 61 79 74 79 70 65 20 69 73 20 64 ┆- delaytype delaytype is d┆ 0x2d3e0…2d400 65 66 69 6e 65 64 20 69 6e 20 74 68 65 20 73 74 61 6e 64 61 72 64 20 65 6e 76 69 72 6f 6e 6d 65 ┆efined in the standard environme┆ 0x2d400…2d420 (362,) 6e 74 2e 0d 0a 0d 0a 09 a1 46 75 6e 63 74 69 6f 6e e1 3a 0d 0a 0d 0a 09 84 54 68 65 20 64 74 65 ┆nt. Function : The dte┆ 0x2d420…2d440 74 72 61 63 65 20 70 72 6f 63 65 73 73 20 72 65 71 75 65 73 74 73 20 74 68 65 20 74 69 6d 65 72 ┆trace process requests the timer┆ 0x2d440…2d460 20 70 72 6f 63 65 73 73 20 74 6f 20 72 65 74 75 72 6e 20 74 68 65 20 63 75 72 80 0a 19 89 80 80 ┆ process to return the cur ┆ 0x2d460…2d480 72 65 6e 74 20 74 69 6d 65 20 61 6e 64 20 64 61 74 65 2e 20 54 68 65 73 65 20 61 72 65 20 75 73 ┆rent time and date. These are us┆ 0x2d480…2d4a0 65 64 20 74 6f 20 74 69 6d 65 20 73 74 61 6d 70 20 74 68 65 20 63 6f 6e 73 6f 6c 65 20 6f 75 74 ┆ed to time stamp the console out┆ 0x2d4a0…2d4ac 80 0a 19 89 80 80 70 75 74 2e 0d 0a ┆ put. ┆ 0x2d4ac…2d4af FormFeed { 0x2d4ac…2d4af 0c 80 a0 ┆ ┆ 0x2d4ac…2d4af } 0x2d4af…2d4c0 0a b0 09 a1 4d 65 73 73 61 67 65 20 6e 61 6d 65 e1 ┆ Message name ┆ 0x2d4c0…2d4e0 3a 20 20 20 74 72 61 63 65 5f 69 6e 69 74 0d 0a 0d 0a 09 a1 4d 65 73 73 61 67 65 20 66 6f 72 6d ┆: trace_init Message form┆ 0x2d4e0…2d500 61 74 e1 3a 0d 0a 09 09 20 20 20 20 20 20 6d 65 73 73 61 67 65 20 72 65 63 76 2e 0d 0a 09 20 20 ┆at : message recv. ┆ 0x2d500…2d520 20 20 20 75 31 09 09 32 0d 0a 09 20 20 20 20 20 75 32 09 09 2d 0d 0a 09 20 20 20 20 20 75 33 09 ┆ u1 2 u2 - u3 ┆ 0x2d520…2d540 09 2d 0d 0a 09 20 20 20 20 20 75 34 09 09 2d 0d 0a 0d 0a 09 20 20 20 20 20 62 75 66 09 09 2d 0d ┆ - u4 - buf - ┆ 0x2d540…2d560 0a 0d 0a 09 a1 46 75 6e 63 74 69 6f 6e e1 3a 0d 0a 0d 0a 09 84 54 68 65 20 6d 65 73 73 61 67 65 ┆ Function : The message┆ 0x2d560…2d580 20 69 6e 64 69 63 61 74 65 73 2c 20 74 68 61 74 20 74 68 65 20 6c 65 76 65 6c 20 33 20 74 72 61 ┆ indicates, that the level 3 tra┆ 0x2d580…2d5a0 63 65 20 68 61 73 20 62 65 65 6e 20 73 74 61 72 74 65 64 2e 20 0a 19 89 80 80 53 74 61 72 74 20 ┆ce has been started. Start ┆ 0x2d5a0…2d5c0 69 64 65 6e 74 69 66 69 63 61 74 69 6f 6e 20 28 73 65 65 20 73 75 62 73 65 63 74 69 6f 6e 20 36 ┆identification (see subsection 6┆ 0x2d5c0…2d5e0 2e 31 2e 34 29 20 69 6e 63 6c 75 64 69 6e 67 20 64 61 74 65 20 61 6e 64 20 0a 19 89 80 80 74 69 ┆.1.4) including date and ti┆ 0x2d5e0…2d600 6d 65 20 69 73 20 70 72 69 6e 74 65 64 20 6f 6e 20 74 68 65 20 63 6f 6e 73 6f 6c 65 2e 0d 0a 0d ┆me is printed on the console. ┆ 0x2d600…2d620 (363,) 0a b0 09 a1 4d 65 73 73 61 67 65 20 6e 61 6d 65 e1 3a 20 20 20 74 72 61 63 65 5f 65 6e 64 0d 0a ┆ Message name : trace_end ┆ 0x2d620…2d640 0d 0a 09 a1 4d 65 73 73 61 67 65 20 66 6f 72 6d 61 74 e1 3a 0d 0a 09 09 20 20 20 20 20 20 6d 65 ┆ Message format : me┆ 0x2d640…2d660 73 73 61 67 65 20 72 65 63 76 2e 0d 0a 09 20 20 20 20 20 75 31 09 09 34 0d 0a 09 20 20 20 20 20 ┆ssage recv. u1 4 ┆ 0x2d660…2d680 75 32 09 09 2d 0d 0a 09 20 20 20 20 20 75 33 09 09 2d 0d 0a 09 20 20 20 20 20 75 34 09 09 2d 0d ┆u2 - u3 - u4 - ┆ 0x2d680…2d6a0 0a 0d 0a 09 20 20 20 20 20 62 75 66 09 09 2d 0d 0a 0d 0a 09 a1 46 75 6e 63 74 69 6f 6e e1 3a 0d ┆ buf - Function : ┆ 0x2d6a0…2d6c0 0a 0d 0a 09 84 54 68 65 20 6d 65 73 73 61 67 65 20 69 6e 64 69 63 61 74 65 73 2c 20 74 68 61 74 ┆ The message indicates, that┆ 0x2d6c0…2d6e0 20 74 68 65 20 6c 65 76 65 6c 20 33 20 74 72 61 63 65 20 68 61 73 20 62 65 65 6e 20 73 74 6f 70 ┆ the level 3 trace has been stop┆ 0x2d6e0…2d700 70 65 64 2e 20 0a 19 89 80 80 53 74 6f 70 20 69 64 65 6e 74 69 66 69 63 61 74 69 6f 6e 20 28 73 ┆ped. Stop identification (s┆ 0x2d700…2d720 65 65 20 73 75 62 73 65 63 74 69 6f 6e 20 36 2e 31 2e 34 29 20 69 6e 63 6c 75 64 69 6e 67 20 64 ┆ee subsection 6.1.4) including d┆ 0x2d720…2d740 61 74 65 20 61 6e 64 20 74 69 6d 65 20 0a 19 89 80 80 69 73 20 70 72 69 6e 74 65 64 20 6f 6e 20 ┆ate and time is printed on ┆ 0x2d740…2d74e 74 68 65 20 63 6f 6e 73 6f 6c 65 2e 0d 0a ┆the console. ┆ 0x2d74e…2d751 FormFeed { 0x2d74e…2d751 0c 80 a1 ┆ ┆ 0x2d74e…2d751 } 0x2d751…2d760 0a b0 09 a1 4d 65 73 73 61 67 65 20 6e 61 6d ┆ Message nam┆ 0x2d760…2d780 65 e1 3a 20 20 20 74 72 61 63 65 5f 64 61 74 61 0d 0a 0d 0a 09 a1 4d 65 73 73 61 67 65 20 66 6f ┆e : trace_data Message fo┆ 0x2d780…2d7a0 72 6d 61 74 e1 3a 0d 0a 09 09 20 20 20 20 20 20 6d 65 73 73 61 67 65 20 72 65 63 76 2e 0d 0a 09 ┆rmat : message recv. ┆ 0x2d7a0…2d7c0 20 20 20 20 20 75 31 09 09 33 0d 0a 09 20 20 20 20 20 75 32 09 09 2d 0d 0a 09 20 20 20 20 20 75 ┆ u1 3 u2 - u┆ 0x2d7c0…2d7e0 33 09 20 20 20 20 20 20 20 64 69 72 65 63 74 69 6f 6e 0d 0a 09 20 20 20 20 20 75 34 09 09 2d 0d ┆3 direction u4 - ┆ 0x2d7e0…2d800 0a 0d 0a 09 20 20 20 20 20 62 75 66 09 20 20 20 20 20 20 20 74 72 61 63 65 5f 62 75 66 5f 74 79 ┆ buf trace_buf_ty┆ 0x2d800…2d820 (364,) 70 65 0d 0a 0d 0a 09 20 20 20 20 20 74 72 61 63 65 5f 62 75 66 5f 74 79 70 65 20 3d 20 72 65 63 ┆pe trace_buf_type = rec┆ 0x2d820…2d840 6f 72 64 0d 0a 09 09 09 20 20 20 20 66 69 72 73 74 2c 20 6c 61 73 74 2c 20 6e 65 78 74 20 3a 20 ┆ord first, last, next : ┆ 0x2d840…2d860 69 6e 74 65 67 65 72 3b 0d 0a 09 09 09 20 20 20 20 78 32 35 5f 70 61 63 6b 65 74 20 20 20 20 20 ┆integer; x25_packet ┆ 0x2d860…2d880 20 20 20 3a 20 78 32 35 5f 70 61 63 6b 65 74 5f 74 79 70 65 3b 0d 0a 09 09 09 20 20 65 6e 64 3b ┆ : x25_packet_type; end;┆ 0x2d880…2d8a0 0d 0a 0d 0a 09 20 20 20 20 20 78 32 35 5f 70 61 63 6b 65 74 5f 74 79 70 65 20 69 73 20 74 68 65 ┆ x25_packet_type is the┆ 0x2d8a0…2d8c0 20 63 6f 70 69 65 64 20 58 2e 32 35 20 70 61 63 6b 65 74 2e 0d 0a 0d 0a 09 a1 46 75 6e 63 74 69 ┆ copied X.25 packet. Functi┆ 0x2d8c0…2d8e0 6f 6e e1 3a 0d 0a 0d 0a 09 84 54 68 65 20 72 65 63 65 69 76 65 64 20 6d 65 73 73 61 67 65 20 63 ┆on : The received message c┆ 0x2d8e0…2d900 6f 6e 74 61 69 6e 73 20 61 6e 20 58 2e 32 35 20 70 61 63 6b 65 74 2c 20 77 68 69 63 68 20 69 73 ┆ontains an X.25 packet, which is┆ 0x2d900…2d920 20 64 65 63 6f 64 65 64 20 75 73 80 0a 19 89 80 80 69 6e 67 20 74 68 65 20 70 72 6f 63 65 64 75 ┆ decoded us ing the procedu┆ 0x2d920…2d940 72 65 20 b0 64 65 63 5f 78 32 35 f0 20 28 73 65 65 20 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 31 ┆re dec_x25 (see subsection 4.1┆ 0x2d940…2d960 2e 32 2e 31 29 2e 20 54 68 65 20 72 65 73 75 6c 74 20 0a 19 89 81 80 66 72 6f 6d 20 74 68 69 73 ┆.2.1). The result from this┆ 0x2d960…2d980 20 64 65 63 6f 64 69 6e 67 20 74 6f 67 65 74 68 65 72 20 77 69 74 68 20 74 68 65 20 74 69 6d 65 ┆ decoding together with the time┆ 0x2d980…2d9a0 20 61 6e 64 20 64 69 72 65 63 74 69 6f 6e 20 28 72 65 63 65 69 76 65 64 20 0a 19 89 81 80 3d 20 ┆ and direction (received = ┆ 0x2d9a0…2d9c0 30 2c 20 73 65 6e 74 20 3d 20 31 29 20 69 73 20 66 6f 72 6d 61 74 74 65 64 20 61 6e 64 20 70 72 ┆0, sent = 1) is formatted and pr┆ 0x2d9c0…2d9e0 69 6e 74 65 64 20 6f 6e 20 74 68 65 20 63 6f 6e 73 6f 6c 65 20 28 73 65 65 20 73 75 62 80 0a 19 ┆inted on the console (see sub ┆ 0x2d9e0…2da00 89 81 80 73 65 63 74 69 6f 6e 20 36 2e 31 2e 34 29 2e 0d 0a 0d 0a b0 09 a1 4d 65 73 73 61 67 65 ┆ section 6.1.4). Message┆ 0x2da00…2da20 (365,) 20 6e 61 6d 65 e1 3a 20 20 20 74 72 61 63 65 5f 65 72 72 6f 72 0d 0a 0d 0a 09 a1 4d 65 73 73 61 ┆ name : trace_error Messa┆ 0x2da20…2da40 67 65 20 66 6f 72 6d 61 74 e1 3a 0d 0a 09 09 20 20 20 20 20 20 6d 65 73 73 61 67 65 20 72 65 63 ┆ge format : message rec┆ 0x2da40…2da60 76 2e 0d 0a 09 20 20 20 20 20 75 31 09 09 35 0d 0a 09 20 20 20 20 20 75 32 09 09 2d 0d 0a 09 20 ┆v. u1 5 u2 - ┆ 0x2da60…2da80 20 20 20 20 75 33 09 09 2d 0d 0a 09 20 20 20 20 20 75 34 09 20 20 20 20 20 20 20 65 72 72 6f 72 ┆ u3 - u4 error┆ 0x2da80…2daa0 5f 74 79 70 65 0d 0a 0d 0a 09 20 20 20 20 20 62 75 66 20 20 20 20 20 20 20 20 20 20 20 20 2d 0d ┆_type buf - ┆ 0x2daa0…2daa1 0a ┆ ┆ 0x2daa1…2daa4 FormFeed { 0x2daa1…2daa4 0c 80 a4 ┆ ┆ 0x2daa1…2daa4 } 0x2daa4…2dac0 0a 09 a1 46 75 6e 63 74 69 6f 6e e1 3a 0d 0a 0d 0a 09 84 41 6e 20 65 72 72 6f 72 20 ┆ Function : An error ┆ 0x2dac0…2dae0 69 6e 20 6f 6e 65 20 6f 66 20 74 68 65 20 74 72 61 63 65 20 70 72 6f 63 65 64 75 72 65 73 20 68 ┆in one of the trace procedures h┆ 0x2dae0…2db00 61 73 20 6f 63 63 75 72 65 64 2e 20 41 74 20 74 68 65 20 6d 6f 6d 65 6e 74 20 0a 19 89 80 80 6f ┆as occured. At the moment o┆ 0x2db00…2db20 6e 6c 79 20 6f 6e 65 20 65 72 72 6f 72 20 68 61 73 20 62 65 65 6e 20 69 64 65 6e 74 69 66 69 65 ┆nly one error has been identifie┆ 0x2db20…2db40 64 20 28 63 6f 70 79 20 65 72 72 6f 72 20 69 6e 20 74 72 61 63 69 6e 67 2c 20 0a 19 89 80 80 65 ┆d (copy error in tracing, e┆ 0x2db40…2db60 72 72 6f 72 5f 74 79 70 65 20 3d 20 31 29 2e 20 41 6e 20 69 64 65 6e 74 69 66 69 63 61 74 69 6f ┆rror_type = 1). An identificatio┆ 0x2db60…2db80 6e 20 6f 66 20 74 68 65 20 65 72 72 6f 72 20 69 73 20 70 72 69 6e 74 65 64 20 6f 6e 20 74 68 65 ┆n of the error is printed on the┆ 0x2db80…2dba0 20 0a 19 89 80 80 63 6f 6e 73 6f 6c 65 2e 0d 0a 0d 0a 0d 0a a1 36 2e 31 2e 33 09 4f 70 65 72 61 ┆ console. 6.1.3 Opera┆ 0x2dba0…2dbc0 74 6f 72 20 43 6f 6d 6d 61 6e 64 73 2e 0d 0a 0d 0a 09 84 41 73 20 6d 65 6e 74 69 6f 6e 65 64 20 ┆tor Commands. As mentioned ┆ 0x2dbc0…2dbe0 69 6e 20 73 75 62 73 65 63 74 69 6f 6e 20 36 2e 31 2e 31 20 74 68 65 20 6f 70 65 72 61 74 6f 72 ┆in subsection 6.1.1 the operator┆ 0x2dbe0…2dc00 20 63 61 6e 20 73 65 74 20 70 61 72 61 6d 65 74 65 72 73 20 0a 19 89 80 80 64 65 80 66 69 6e 69 ┆ can set parameters de fini┆ 0x2dc00…2dc20 (366,) 6e 67 20 73 6f 6d 65 20 6f 66 20 74 68 65 20 66 6f 72 6d 61 74 20 66 6f 72 20 74 68 65 20 74 72 ┆ng some of the format for the tr┆ 0x2dc20…2dc40 61 63 65 20 6f 75 74 70 75 74 2e 20 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 0a 19 89 80 80 63 ┆ace output. The following c┆ 0x2dc40…2dc60 6f 6d 80 6d 61 6e 64 73 20 61 72 65 20 61 76 61 69 6c 61 62 6c 65 3a 0d 0a 0d 0a b0 09 20 20 20 ┆om mands are available: ┆ 0x2dc60…2dc80 64 61 74 61 20 20 79 65 73 20 6e 6f 20 09 f0 3a 20 84 49 66 20 74 68 65 20 6f 70 74 69 6f 6e 20 ┆data yes no : If the option ┆ 0x2dc80…2dca0 69 73 20 79 65 73 2c 20 74 68 65 20 75 73 65 72 20 64 61 74 61 20 66 69 65 6c 64 20 6f 66 20 0a ┆is yes, the user data field of ┆ 0x2dca0…2dcc0 19 9f 81 80 61 6e 20 58 2e 32 35 20 44 41 54 41 20 70 61 63 6b 65 74 20 69 73 20 70 72 69 6e 74 ┆ an X.25 DATA packet is print┆ 0x2dcc0…2dce0 65 64 20 6f 6e 20 74 68 65 20 6e 65 78 74 20 0a 19 9f 81 80 6c 69 6e 65 20 69 6e 20 65 69 74 68 ┆ed on the next line in eith┆ 0x2dce0…2dd00 65 72 20 61 73 63 69 69 20 6f 72 20 68 65 78 61 64 65 63 69 6d 61 6c 20 66 6f 72 6d 61 74 2e 20 ┆er ascii or hexadecimal format. ┆ 0x2dd00…2dd20 0a 19 9f 81 80 49 66 20 74 68 65 20 6f 70 74 69 6f 6e 20 69 73 20 6e 6f 20 74 68 65 20 64 61 74 ┆ If the option is no the dat┆ 0x2dd20…2dd40 61 20 69 73 20 6e 6f 74 20 70 72 69 6e 74 65 64 2e 20 0a 19 9f 81 80 b0 44 65 66 61 75 6c 74 20 ┆a is not printed. Default ┆ 0x2dd40…2dd60 3a 20 6e 6f 2e 0d 0a 0d 0a b0 09 20 20 20 63 61 6c 6c 20 20 79 65 73 20 6e 6f 09 f0 3a 20 84 49 ┆: no. call yes no : I┆ 0x2dd60…2dd80 66 20 74 68 65 20 6f 70 74 69 6f 6e 20 69 73 20 79 65 73 2c 20 74 68 65 20 61 64 64 72 65 73 73 ┆f the option is yes, the address┆ 0x2dd80…2dda0 20 66 69 65 6c 64 73 20 61 6e 64 20 0a 19 9f 81 80 66 61 63 69 6c 69 74 79 20 66 69 65 6c 64 73 ┆ fields and facility fields┆ 0x2dda0…2ddc0 20 6f 66 20 43 41 4c 4c 20 52 45 51 55 45 53 54 20 61 6e 64 20 49 4e 43 4f 4d 80 0a 19 9f 81 80 ┆ of CALL REQUEST and INCOM ┆ 0x2ddc0…2dde0 49 4e 47 20 43 41 4c 4c 20 61 72 65 20 70 72 69 6e 74 65 64 20 6f 6e 20 74 68 65 20 6e 65 78 74 ┆ING CALL are printed on the next┆ 0x2dde0…2de00 20 6c 69 6e 65 20 69 6e 20 0a 19 9f 81 80 65 69 74 68 65 72 20 61 73 63 69 69 20 6f 72 20 68 65 ┆ line in either ascii or he┆ 0x2de00…2de20 (367,) 78 61 64 65 63 69 6d 61 6c 20 66 6f 72 6d 61 74 2e 20 49 66 20 74 68 65 20 0a 19 9f 81 80 6f 70 ┆xadecimal format. If the op┆ 0x2de20…2de40 74 69 6f 6e 20 69 73 20 6e 6f 2c 20 6e 6f 20 65 78 74 72 61 20 66 69 65 6c 64 73 20 61 72 65 20 ┆tion is no, no extra fields are ┆ 0x2de40…2de60 70 72 69 6e 74 65 64 2e 0d 0a 09 09 09 20 20 b0 44 65 66 61 75 6c 74 20 3a 20 6e 6f 2e 0d 0a 0d ┆printed. Default : no. ┆ 0x2de60…2de80 0a b0 09 20 20 20 64 69 61 67 20 20 79 65 73 20 6e 6f 09 f0 3a 20 84 49 66 20 74 68 65 20 6f 70 ┆ diag yes no : If the op┆ 0x2de80…2dea0 74 69 6f 6e 20 69 73 20 79 65 73 2c 20 74 68 65 20 44 49 41 47 4e 4f 53 54 49 43 20 65 78 70 6c ┆tion is yes, the DIAGNOSTIC expl┆ 0x2dea0…2dec0 61 80 0a 19 9f 81 80 6e 61 74 69 6f 6e 20 66 69 65 6c 64 20 69 73 20 70 72 69 6e 74 65 64 20 6f ┆a nation field is printed o┆ 0x2dec0…2dee0 6e 20 74 68 65 20 6e 65 78 74 20 6c 69 6e 65 20 69 6e 20 0a 19 9f 81 80 65 69 74 68 65 72 20 61 ┆n the next line in either a┆ 0x2dee0…2df00 73 63 69 69 20 6f 72 20 68 65 78 61 64 65 63 69 6d 61 6c 20 66 6f 72 6d 61 74 2e 20 49 66 20 74 ┆scii or hexadecimal format. If t┆ 0x2df00…2df20 68 65 20 0a 19 9f 81 80 6f 70 74 69 6f 6e 20 69 73 20 6e 6f 2c 20 74 68 65 20 66 69 65 6c 64 20 ┆he option is no, the field ┆ 0x2df20…2df40 69 73 20 6e 6f 74 20 70 72 69 6e 74 65 64 2e 0d 0a 09 09 09 20 20 b0 44 65 66 61 75 6c 74 20 3a ┆is not printed. Default :┆ 0x2df40…2df60 20 6e 6f 2e 0d 0a 0d 0a b0 09 20 20 20 68 65 78 09 09 f0 3a 20 84 54 68 65 20 70 72 69 6e 74 20 ┆ no. hex : The print ┆ 0x2df60…2df80 66 6f 72 6d 61 74 20 69 73 20 63 68 61 6e 67 65 64 20 74 6f 20 68 65 78 61 64 65 63 69 6d 61 6c ┆format is changed to hexadecimal┆ 0x2df80…2dfa0 2e 20 0a 19 9f 81 80 b0 44 65 66 61 75 6c 74 20 66 6f 72 6d 61 74 2e 0d 0a 0d 0a 09 20 20 20 b0 ┆. Default format. ┆ 0x2dfa0…2dfc0 61 73 63 69 69 09 09 f0 3a 20 84 54 68 65 20 70 72 69 6e 74 20 66 6f 72 6d 61 74 20 69 73 20 63 ┆ascii : The print format is c┆ 0x2dfc0…2dfe0 68 61 6e 67 65 64 20 74 6f 20 61 73 63 69 69 2e 0d 0a 09 09 09 20 20 b0 4e 6f 74 20 64 65 66 61 ┆hanged to ascii. Not defa┆ 0x2dfe0…2e000 75 6c 74 20 66 6f 72 6d 61 74 2e 0d 0a 0d 0a 8c 80 a7 0a 09 84 49 66 20 61 6e 20 65 72 72 6f 72 ┆ult format. If an error┆ 0x2e000…2e020 (368,) 20 6f 63 63 75 72 73 20 69 6e 20 74 68 65 20 63 6f 6d 6d 61 6e 64 73 20 74 68 65 20 64 74 65 74 ┆ occurs in the commands the dtet┆ 0x2e020…2e040 72 61 63 65 20 70 72 6f 63 65 73 73 20 61 6e 73 77 65 72 73 20 0a 19 89 80 80 77 69 74 68 3a 0d ┆race process answers with: ┆ 0x2e040…2e060 0a 0d 0a 09 a1 e1 20 20 20 b0 2a 2a 2a 2a 20 20 57 48 41 54 20 3f 0d 0a 0d 0a 0d 0a a1 36 2e 31 ┆ **** WHAT ? 6.1┆ 0x2e060…2e080 2e 34 09 54 72 61 63 65 6f 75 74 70 75 74 20 44 65 73 63 72 69 70 74 69 6f 6e 2e 0d 0a 0d 0a 09 ┆.4 Traceoutput Description. ┆ 0x2e080…2e0a0 84 49 6e 20 74 68 69 73 20 73 75 62 73 65 63 74 69 6f 6e 20 74 68 65 20 66 69 65 6c 64 73 20 6f ┆ In this subsection the fields o┆ 0x2e0a0…2e0c0 66 20 61 20 74 72 61 63 65 20 61 72 65 20 65 78 70 6c 61 69 6e 65 64 20 61 6e 64 20 69 6e 20 61 ┆f a trace are explained and in a┆ 0x2e0c0…2e0e0 70 80 0a 19 89 80 80 70 65 6e 64 69 78 20 44 2e 31 20 61 6e 20 65 78 61 6d 70 6c 65 20 6f 66 20 ┆p pendix D.1 an example of ┆ 0x2e0e0…2e100 61 20 74 72 61 63 65 20 69 73 20 73 68 6f 77 6e 2e 0d 0a 0d 0a 09 84 57 68 65 6e 20 74 68 65 20 ┆a trace is shown. When the ┆ 0x2e100…2e120 74 72 61 63 65 20 73 79 73 74 65 6d 20 69 73 20 61 63 74 69 76 61 74 65 20 74 68 65 20 66 6f 6c ┆trace system is activate the fol┆ 0x2e120…2e140 6c 6f 77 69 6e 67 20 6c 69 6e 65 20 69 73 20 70 72 69 6e 74 65 64 3a 0d 0a 0d 0a 09 a1 e1 20 20 ┆lowing line is printed: ┆ 0x2e140…2e160 20 b0 2a 2a 2a 20 20 58 2e 32 35 20 74 72 61 63 65 20 69 6e 69 74 69 61 6c 69 7a 65 64 20 61 74 ┆ *** X.25 trace initialized at┆ 0x2e160…2e180 20 3c 64 61 74 65 20 61 6e 64 20 74 69 6d 65 3e 0d 0a 0d 0a 09 61 6e 64 20 61 74 20 64 65 61 63 ┆ <date and time> and at deac┆ 0x2e180…2e1a0 74 69 76 61 74 69 6f 6e 3a 0d 0a 0d 0a 09 a1 e1 20 20 20 b0 2a 2a 2a 20 20 74 72 61 63 65 20 73 ┆tivation: *** trace s┆ 0x2e1a0…2e1c0 74 6f 70 70 65 64 20 61 74 20 3c 64 61 74 65 20 61 6e 64 20 74 69 6d 65 3e 0d 0a 0d 0a 09 84 45 ┆topped at <date and time> E┆ 0x2e1c0…2e1e0 61 63 68 20 6c 69 6e 65 20 69 6e 20 62 65 74 77 65 65 6e 20 74 68 65 73 65 20 74 77 6f 20 68 61 ┆ach line in between these two ha┆ 0x2e1e0…2e200 73 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 66 6f 72 6d 61 74 3a 0d 0a 0d 0a 09 3c 74 69 6d ┆s the following format: <tim┆ 0x2e200…2e220 (369,) 65 3e 09 09 3a 20 54 69 6d 65 20 73 74 61 6d 70 2e 0d 0a 0d 0a 09 72 65 63 76 2f 73 65 6e 64 09 ┆e> : Time stamp. recv/send ┆ 0x2e220…2e240 20 20 20 20 20 20 20 20 20 20 3a 20 44 69 72 65 63 74 69 6f 6e 20 6f 66 20 66 6c 6f 77 20 28 69 ┆ : Direction of flow (i┆ 0x2e240…2e260 6e 70 75 74 2f 6f 75 74 70 75 74 29 2e 0d 0a 0d 0a 09 3c 70 61 63 6b 65 74 20 69 64 3e 09 3a 20 ┆nput/output). <packet id> : ┆ 0x2e260…2e280 50 61 63 6b 65 74 20 74 79 70 65 20 28 65 2e 67 2e 20 64 61 74 61 2c 20 72 72 2c 20 72 65 73 65 ┆Packet type (e.g. data, rr, rese┆ 0x2e280…2e2a0 74 20 72 65 71 29 2e 0d 0a 0d 0a 09 4c 43 4e 20 3d 20 3c 6e 6f 3e 09 3a 20 4c 6f 67 69 63 61 6c ┆t req). LCN = <no> : Logical┆ 0x2e2a0…2e2c0 20 63 68 61 6e 6e 65 6c 20 6e 75 6d 62 65 72 2e 0d 0a 0d 0a 09 71 64 6d 3d 3c 6e 6f 3e 20 2f 20 ┆ channel number. qdm=<no> / ┆ 0x2e2c0…2e2e0 2d 64 2d 3d 3c 6e 6f 3e 20 3a 20 84 54 68 65 20 76 61 6c 75 65 73 20 6f 66 20 74 68 65 20 71 2d ┆-d-=<no> : The values of the q-┆ 0x2e2e0…2e300 2c 20 64 2d 2c 20 61 6e 64 20 6d 2d 20 62 69 74 73 20 69 66 20 0a 19 9f 80 80 74 68 65 79 20 61 ┆, d-, and m- bits if they a┆ 0x2e300…2e320 72 65 20 69 6e 63 6c 75 64 65 64 20 69 6e 20 74 68 65 20 70 61 63 6b 65 74 20 66 6f 72 6d 61 74 ┆re included in the packet format┆ 0x2e320…2e340 2e 0d 0a 0d 0a 09 50 53 20 3d 20 3c 6e 6f 3e 09 09 3a 20 84 53 65 6e 64 20 73 65 71 75 65 6e 63 ┆. PS = <no> : Send sequenc┆ 0x2e340…2e360 65 20 6e 75 6d 62 65 72 20 69 66 20 69 6e 63 6c 75 64 65 64 20 69 6e 20 74 68 65 20 70 61 63 80 ┆e number if included in the pac ┆ 0x2e360…2e380 0a 19 9f 80 80 6b 65 74 20 66 6f 72 6d 61 74 2e 0d 0a 0d 0a 09 50 52 20 3d 20 3c 6e 6f 3e 09 09 ┆ ket format. PR = <no> ┆ 0x2e380…2e3a0 3a 20 84 41 63 6b 6e 6f 77 6c 65 64 67 65 20 73 65 71 75 65 6e 63 65 20 6e 75 6d 62 65 72 20 28 ┆: Acknowledge sequence number (┆ 0x2e3a0…2e3c0 6e 65 78 74 20 65 78 70 65 63 74 65 64 29 20 0a 19 9f 80 80 69 66 20 69 6e 63 6c 75 64 65 64 20 ┆next expected) if included ┆ 0x2e3c0…2e3e0 69 6e 20 74 68 65 20 70 61 63 6b 65 74 20 66 6f 72 6d 61 74 2e 0d 0a 0d 0a 09 6f 63 74 65 74 20 ┆in the packet format. octet ┆ 0x2e3e0…2e400 34 20 3d 20 3c 6e 6f 3e 09 3a 20 49 66 20 69 6e 63 6c 75 64 65 64 20 69 6e 20 74 68 65 20 70 61 ┆4 = <no> : If included in the pa┆ 0x2e400…2e420 (370,) 63 6b 65 74 20 66 6f 72 6d 61 74 2e 0d 0a 0d 0a 8c 80 a8 0a 09 6f 63 74 65 74 20 35 20 3d 20 3c ┆cket format. octet 5 = <┆ 0x2e420…2e440 6e 6f 3e 09 3a 20 49 66 20 69 6e 63 6c 75 64 65 64 20 69 6e 20 74 68 65 20 70 61 63 6b 65 74 20 ┆no> : If included in the packet ┆ 0x2e440…2e460 66 6f 72 6d 61 74 2e 0d 0a 0d 0a 09 73 69 7a 65 20 20 09 09 3a 20 84 54 68 65 20 6c 65 6e 67 74 ┆format. size : The lengt┆ 0x2e460…2e480 68 20 6f 66 20 74 68 65 20 70 61 63 6b 65 74 20 69 6e 63 6c 2e 20 74 68 65 20 58 2e 32 35 20 68 ┆h of the packet incl. the X.25 h┆ 0x2e480…2e4a0 65 61 64 20 69 66 20 0a 19 9f 80 80 74 68 65 20 70 61 63 6b 65 74 20 69 73 20 65 69 74 68 65 72 ┆ead if the packet is either┆ 0x2e4a0…2e4c0 20 61 20 43 41 4c 4c 20 52 45 51 55 45 53 54 2c 20 49 4e 43 4f 4d 80 0a 19 9f 80 80 49 4e 47 20 ┆ a CALL REQUEST, INCOM ING ┆ 0x2e4c0…2e4e0 43 41 4c 4c 2c 20 43 41 4c 4c 20 41 43 43 45 50 54 45 44 2c 20 43 41 4c 4c 20 43 4f 4e 4e 45 43 ┆CALL, CALL ACCEPTED, CALL CONNEC┆ 0x2e4e0…2e500 54 45 44 2c 20 0a 19 9f 80 80 44 49 41 47 4e 4f 53 54 49 43 20 6f 72 20 44 41 54 41 2e 0d 0a 0d ┆TED, DIAGNOSTIC or DATA. ┆ 0x2e500…2e520 0a 09 84 49 66 20 74 68 65 20 75 73 65 72 20 64 61 74 61 20 66 69 65 6c 64 20 6f 66 20 74 68 65 ┆ If the user data field of the┆ 0x2e520…2e540 20 70 61 63 6b 65 74 20 69 73 20 70 72 69 6e 74 65 64 20 28 73 65 65 20 73 75 62 73 65 63 74 69 ┆ packet is printed (see subsecti┆ 0x2e540…2e560 6f 6e 20 0a 19 89 80 80 36 2e 31 2e 33 29 20 74 68 69 73 20 77 69 6c 6c 20 6f 63 63 75 72 65 20 ┆on 6.1.3) this will occure ┆ 0x2e560…2e580 6f 6e 20 74 68 65 20 6e 65 78 74 20 6c 69 6e 65 2e 0d 0a 0d 0a 09 84 54 68 65 20 66 6f 6c 6c 6f ┆on the next line. The follo┆ 0x2e580…2e5a0 77 69 6e 67 20 65 72 72 6f 72 20 74 65 78 74 73 20 6d 61 79 20 6f 63 63 75 72 65 20 69 6e 20 63 ┆wing error texts may occure in c┆ 0x2e5a0…2e5c0 6f 6e 6e 65 63 74 69 6f 6e 20 77 69 74 68 20 74 68 65 20 74 72 61 63 65 20 0a 19 89 80 80 73 79 ┆onnection with the trace sy┆ 0x2e5c0…2e5e0 73 74 65 6d 2e 0d 0a 0d 0a 09 a1 e1 20 20 b0 20 3e 3e 3e 3e 20 20 70 61 63 6b 65 74 20 73 6d 61 ┆stem. >>>> packet sma┆ 0x2e5e0…2e600 6c 6c 65 72 20 74 68 61 6e 20 33 20 62 79 74 65 73 0d 0a 0d 0a 0d 0a 09 a1 e1 20 20 b0 20 3e 3e ┆ller than 3 bytes >>┆ 0x2e600…2e620 (371,) 3e 20 20 70 61 63 6b 65 74 20 66 6f 72 6d 61 74 20 65 72 72 6f 72 0d 0a 0d 0a 0d 0a 09 a1 e1 20 ┆> packet format error ┆ 0x2e620…2e640 20 20 b0 3e 3e 3e 20 20 75 6e 6b 6e 6f 77 6e 20 70 61 63 6b 65 74 20 74 79 70 65 0d 0a 0d 0a 0d ┆ >>> unknown packet type ┆ 0x2e640…2e660 0a 09 a1 e1 20 20 b0 20 3e 3e 3e 20 20 74 72 61 63 65 20 62 75 66 66 65 72 20 63 6f 70 79 20 65 ┆ >>> trace buffer copy e┆ 0x2e660…2e680 72 72 6f 72 0d 0a 0d 0a 0d 0a 09 a1 e1 20 20 b0 20 3e 3e 3e 20 20 75 6e 6b 6e 6f 77 6e 20 74 72 ┆rror >>> unknown tr┆ 0x2e680…2e690 61 63 65 20 6f 70 63 6f 64 65 0d 0a 0d 0a 0d 0a ┆ace opcode ┆ 0x2e690…2e693 FormFeed { 0x2e690…2e693 0c 80 9c ┆ ┆ 0x2e690…2e693 } 0x2e693…2e6a0 0a a1 36 2e 32 09 49 6e 74 65 72 6e 61 ┆ 6.2 Interna┆ 0x2e6a0…2e6c0 6c 20 54 65 73 74 20 53 79 73 74 65 6d 2e 0d 0a 0d 0a 09 84 41 20 70 6f 73 73 69 62 69 6c 69 74 ┆l Test System. A possibilit┆ 0x2e6c0…2e6e0 79 20 65 78 69 73 74 73 20 74 6f 20 67 65 6e 65 72 61 74 65 20 69 6e 74 65 72 6e 61 6c 20 74 65 ┆y exists to generate internal te┆ 0x2e6e0…2e700 73 74 20 72 65 63 6f 72 64 73 20 69 6e 20 74 68 65 20 0a 19 89 80 80 74 68 72 65 65 20 64 74 65 ┆st records in the three dte┆ 0x2e700…2e720 20 70 72 6f 63 65 73 73 65 73 3a 20 64 74 65 2c 20 64 74 65 5f 6c 6e 63 7a 65 72 6f 2c 20 64 74 ┆ processes: dte, dte_lnczero, dt┆ 0x2e720…2e740 65 5f 63 68 61 6e 78 78 78 2c 20 61 6e 64 20 74 6f 20 27 72 65 61 64 27 20 0a 19 89 80 80 76 61 ┆e_chanxxx, and to 'read' va┆ 0x2e740…2e760 72 69 61 62 6c 65 73 20 69 6e 20 74 68 65 20 64 74 65 5f 61 63 63 65 73 73 20 70 72 6f 63 65 73 ┆riables in the dte_access proces┆ 0x2e760…2e780 73 2e 20 46 75 72 74 68 65 72 6d 6f 72 65 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 0a 19 89 80 80 ┆s. Furthermore information ┆ 0x2e780…2e7a0 63 6f 6e 63 65 72 6e 69 6e 67 20 74 68 65 20 73 74 61 74 75 73 20 6f 66 20 74 68 65 20 63 6f 6d ┆concerning the status of the com┆ 0x2e7a0…2e7c0 6d 75 6e 69 63 61 74 69 6f 6e 20 6c 69 6e 65 20 6d 61 79 20 62 65 20 70 72 69 6e 74 65 64 20 6f ┆munication line may be printed o┆ 0x2e7c0…2e7e0 6e 20 0a 19 89 80 80 74 68 65 20 63 6f 6e 73 6f 6c 65 2e 20 54 68 65 20 6c 69 6e 6b 20 62 65 74 ┆n the console. The link bet┆ 0x2e7e0…2e800 77 65 65 6e 20 74 68 65 20 44 54 45 20 4d 6f 80 64 75 6c 65 20 61 6e 64 20 74 68 65 20 63 6f 6e ┆ween the DTE Mo dule and the con┆ 0x2e800…2e820 (372,) 73 6f 6c 65 2f 6f 70 65 80 0a 19 89 80 80 72 61 74 6f 72 20 69 73 20 74 68 65 20 64 74 65 74 65 ┆sole/ope rator is the dtete┆ 0x2e820…2e840 73 74 20 70 72 6f 63 65 73 73 2e 20 54 6f 20 6d 61 69 6e 74 61 69 6e 20 61 20 44 54 45 20 67 6c ┆st process. To maintain a DTE gl┆ 0x2e840…2e860 6f 62 61 6c 20 74 69 6d 65 72 20 61 20 0a 19 89 80 80 64 74 65 63 6c 6f 63 6b 20 70 72 6f 63 65 ┆obal timer a dteclock proce┆ 0x2e860…2e880 73 73 20 65 78 69 73 74 73 2e 0d 0a 0d 0a 09 84 49 6e 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 ┆ss exists. In the following┆ 0x2e880…2e8a0 20 66 6f 75 72 20 73 75 62 73 65 63 74 69 6f 6e 73 20 61 6e 20 6f 76 65 72 76 69 65 77 20 61 6e ┆ four subsections an overview an┆ 0x2e8a0…2e8c0 64 20 73 68 6f 72 74 20 64 65 73 63 72 69 70 80 0a 19 89 80 80 74 69 6f 6e 20 6f 66 20 74 68 65 ┆d short descrip tion of the┆ 0x2e8c0…2e8e0 20 73 79 73 74 65 6d 20 61 72 65 20 67 69 76 65 6e 2e 20 46 75 72 74 68 65 72 6d 6f 72 65 20 74 ┆ system are given. Furthermore t┆ 0x2e8e0…2e900 68 65 20 69 6e 70 75 74 20 66 72 6f 6d 20 2f 20 6f 75 74 70 75 74 20 0a 19 89 80 80 74 6f 20 74 ┆he input from / output to t┆ 0x2e900…2e920 68 65 20 63 6f 6e 73 6f 6c 65 20 61 72 65 20 65 78 70 6c 61 69 6e 65 64 2e 20 0d 0a 0d 0a 0d 0a ┆he console are explained. ┆ 0x2e920…2e940 a1 36 2e 32 2e 31 09 50 72 6f 63 65 73 73 20 4f 76 65 72 76 69 65 77 20 61 6e 64 20 4f 70 65 72 ┆ 6.2.1 Process Overview and Oper┆ 0x2e940…2e960 61 74 69 6f 6e 2e 0d 0a 0d 0a 09 84 41 73 20 6d 65 6e 74 69 6f 6e 65 64 20 61 62 6f 76 65 20 74 ┆ation. As mentioned above t┆ 0x2e960…2e980 68 65 20 64 74 65 74 65 73 74 20 70 72 6f 63 65 73 73 20 69 73 20 74 68 65 20 6c 69 6e 6b 20 62 ┆he dtetest process is the link b┆ 0x2e980…2e9a0 65 74 77 65 65 6e 20 74 68 65 20 69 6e 80 0a 19 89 80 80 74 65 72 6e 61 6c 20 74 65 73 74 20 67 ┆etween the in ternal test g┆ 0x2e9a0…2e9c0 65 6e 65 72 61 74 69 6f 6e 20 61 6e 64 20 74 68 65 20 63 6f 6e 73 6f 6c 65 2e 20 49 6e 20 74 68 ┆eneration and the console. In th┆ 0x2e9c0…2e9e0 65 20 74 68 72 65 65 20 70 72 6f 63 65 73 73 65 73 20 0a 19 89 80 80 64 74 65 2c 20 64 74 65 5f ┆e three processes dte, dte_┆ 0x2e9e0…2ea00 6c 63 6e 7a 65 72 6f 20 61 6e 64 20 64 74 65 5f 63 68 61 6e 78 78 78 20 74 65 73 74 72 65 63 6f ┆lcnzero and dte_chanxxx testreco┆ 0x2ea00…2ea20 (373,) 72 64 73 20 61 72 65 20 67 65 6e 65 72 61 74 65 64 20 69 6e 20 74 68 65 20 0a 19 89 80 80 70 72 ┆rds are generated in the pr┆ 0x2ea20…2ea40 6f 63 65 64 75 72 65 20 b0 6f 74 65 73 74 f0 2c 20 28 74 72 69 67 67 65 72 65 64 20 62 79 20 63 ┆ocedure otest , (triggered by c┆ 0x2ea40…2ea60 65 72 74 61 6e 74 20 65 76 65 6e 74 73 29 20 61 6e 64 20 73 74 6f 72 65 64 20 69 6e 20 0a 19 89 ┆ertant events) and stored in ┆ 0x2ea60…2ea80 81 80 61 6e 20 69 6e 74 65 72 80 6e 61 6c 20 74 65 73 74 61 72 65 61 20 6f 66 20 65 61 63 68 20 ┆ an inter nal testarea of each ┆ 0x2ea80…2eaa0 70 72 6f 63 65 73 73 2e 20 57 68 65 6e 65 76 65 72 20 74 68 69 73 20 61 72 65 61 20 69 73 20 66 ┆process. Whenever this area is f┆ 0x2eaa0…2eac0 75 6c 6c 2c 20 0a 19 89 81 80 74 68 65 20 70 72 6f 80 63 65 73 73 20 74 72 69 65 73 20 74 6f 20 ┆ull, the pro cess tries to ┆ 0x2eac0…2eae0 63 6f 70 79 20 69 74 20 74 6f 20 61 20 74 65 73 74 62 75 66 66 65 72 20 72 65 71 75 65 73 74 65 ┆copy it to a testbuffer requeste┆ 0x2eae0…2eb00 64 20 66 72 6f 6d 20 74 68 65 20 0a 19 89 81 80 74 65 73 74 20 73 65 80 6d 61 70 68 6f 72 65 2e ┆d from the test se maphore.┆ 0x2eb00…2eb20 20 49 66 20 69 74 20 73 75 63 63 65 64 20 74 68 65 20 61 72 65 61 20 69 73 20 63 6c 65 61 72 65 ┆ If it succed the area is cleare┆ 0x2eb20…2eb40 64 20 6f 74 68 65 72 77 69 73 65 20 69 74 20 69 73 20 0a 19 89 81 80 75 73 65 64 20 63 79 63 6c ┆d otherwise it is used cycl┆ 0x2eb40…2eb60 69 63 2e 0d 0a 0d 0a 09 84 54 68 65 20 74 65 73 74 62 75 66 66 65 72 20 69 73 20 72 65 74 75 72 ┆ic. The testbuffer is retur┆ 0x2eb60…2eb80 6e 65 64 20 74 6f 20 74 68 65 20 6d 61 69 6e 20 73 65 6d 61 70 68 6f 72 65 20 6f 66 20 74 68 65 ┆ned to the main semaphore of the┆ 0x2eb80…2eba0 20 64 74 65 74 65 73 74 20 0a 19 89 80 80 70 72 6f 63 65 73 73 2e 20 54 68 69 73 20 70 72 6f 63 ┆ dtetest process. This proc┆ 0x2eba0…2ebc0 65 73 73 20 73 69 67 6e 61 6c 73 20 74 68 65 20 62 75 66 66 65 72 20 74 6f 20 74 68 65 20 74 65 ┆ess signals the buffer to the te┆ 0x2ebc0…2ebe0 73 74 20 73 65 6d 61 70 68 6f 72 65 20 69 66 20 0a 19 89 80 80 6e 6f 74 20 69 6d 6d 65 80 64 69 ┆st semaphore if not imme di┆ 0x2ebe0…2ec00 61 74 6c 79 20 70 72 69 6e 74 20 69 73 20 72 65 71 75 69 72 65 64 2e 20 49 66 20 6c 61 74 65 72 ┆atly print is required. If later┆ 0x2ec00…2ec20 (374,) 20 6f 6e 2c 20 61 20 70 72 69 6e 74 20 69 73 20 0a 19 89 80 80 72 65 71 75 65 73 74 65 64 2c 20 ┆ on, a print is requested, ┆ 0x2ec20…2ec40 74 68 65 20 64 74 65 74 65 73 74 20 70 72 6f 63 65 73 73 20 77 69 6c 6c 20 73 65 61 72 63 68 20 ┆the dtetest process will search ┆ 0x2ec40…2ec60 74 68 65 20 74 65 73 74 20 73 65 6d 61 70 68 6f 72 65 20 66 6f 72 20 0a 19 89 80 80 74 65 73 74 ┆the test semaphore for test┆ 0x2ec60…2ec80 62 75 66 66 65 72 73 20 66 72 6f 6d 20 74 68 65 20 72 65 71 75 69 72 65 64 20 70 72 6f 63 65 73 ┆buffers from the required proces┆ 0x2ec80…2eca0 73 2c 20 66 6f 72 6d 61 74 20 74 68 65 20 74 65 73 74 20 72 65 63 6f 72 64 73 20 61 6e 64 20 0a ┆s, format the test records and ┆ 0x2eca0…2ecc0 19 89 80 80 75 73 65 20 61 20 73 74 61 6e 64 80 61 72 64 20 69 2f 6f 20 7a 6f 6e 65 20 74 6f 20 ┆ use a stand ard i/o zone to ┆ 0x2ecc0…2ece0 70 72 69 6e 74 20 74 68 65 20 74 65 73 74 72 65 63 6f 72 64 73 20 6f 6e 20 74 68 65 20 63 6f 6e ┆print the testrecords on the con┆ 0x2ece0…2ed00 73 6f 6c 65 2e 0d 0a 0d 0a 09 84 41 73 20 63 61 6e 20 62 65 20 73 65 65 6e 20 66 72 6f 6d 20 74 ┆sole. As can be seen from t┆ 0x2ed00…2ed20 68 69 73 20 74 68 65 20 74 65 73 74 62 75 66 66 65 72 73 20 61 72 65 20 75 73 65 64 20 61 73 20 ┆his the testbuffers are used as ┆ 0x2ed20…2ed40 61 20 73 70 6f 6f 6c 69 6e 67 20 0a 19 89 80 80 71 75 65 75 65 20 77 69 74 68 20 61 20 63 65 72 ┆a spooling queue with a cer┆ 0x2ed40…2ed60 74 61 6e 74 20 6c 69 66 65 20 74 69 6d 65 2e 20 54 68 65 20 6c 69 66 65 20 74 69 6d 65 20 64 65 ┆tant life time. The life time de┆ 0x2ed60…2ed80 70 65 6e 64 73 20 6f 6e 20 74 68 65 20 72 61 74 65 20 0a 19 89 80 80 62 79 20 77 68 69 63 68 20 ┆pends on the rate by which ┆ 0x2ed80…2eda0 74 65 73 74 72 65 63 6f 72 64 73 20 61 72 65 20 67 65 6e 65 72 61 74 65 64 2c 20 74 68 65 20 6e ┆testrecords are generated, the n┆ 0x2eda0…2edc0 75 6d 62 65 72 20 6f 66 20 62 75 66 66 65 72 73 2c 20 61 6e 64 20 68 6f 77 20 0a 19 89 80 80 6d ┆umber of buffers, and how m┆ 0x2edc0…2ede0 61 6e 79 20 70 72 6f 63 65 73 73 65 73 20 67 65 6e 65 72 61 74 69 6e 67 20 74 65 73 74 72 65 63 ┆any processes generating testrec┆ 0x2ede0…2ede7 6f 72 64 73 2e 0d 0a ┆ords. ┆ 0x2ede7…2edea FormFeed { 0x2ede7…2edea 0c 80 a5 ┆ ┆ 0x2ede7…2edea } 0x2edea…2ee00 0a 09 84 49 6e 20 66 69 67 75 72 65 20 34 33 20 74 68 65 20 74 65 ┆ In figure 43 the te┆ 0x2ee00…2ee20 (375,) 73 74 6d 65 73 73 61 67 65 20 66 6c 6f 77 20 69 73 20 6f 75 74 6c 69 6e 65 64 2e 0d 0a 0d 0a 0d ┆stmessage flow is outlined. ┆ 0x2ee20…2ee40 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d ┆ ┆ […0x1…] 0x2ee60…2ee80 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 46 69 67 75 72 65 20 34 33 3a 20 4d 65 73 73 61 67 65 20 66 6c 6f ┆ Figure 43: Message flo┆ 0x2ee80…2ee94 77 20 6f 66 20 74 65 73 74 6d 65 73 73 61 67 65 73 2e 0d 0a ┆w of testmessages. ┆ 0x2ee94…2ee97 FormFeed { 0x2ee94…2ee97 0c 80 a8 ┆ ┆ 0x2ee94…2ee97 } 0x2ee97…2eea0 0a 09 84 57 68 65 74 68 65 ┆ Whethe┆ 0x2eea0…2eec0 72 20 61 20 70 72 6f 63 65 73 73 20 73 68 61 6c 6c 20 67 65 6e 65 72 61 74 65 20 74 65 73 74 72 ┆r a process shall generate testr┆ 0x2eec0…2eee0 65 63 6f 72 64 73 20 6f 72 20 6e 6f 74 20 64 65 70 65 6e 64 73 20 6f 6e 20 61 20 0a 19 89 80 80 ┆ecords or not depends on a ┆ 0x2eee0…2ef00 62 69 74 20 69 6e 20 74 68 65 20 74 65 73 74 62 69 74 20 72 65 63 6f 72 64 20 28 b0 74 65 73 74 ┆bit in the testbit record ( test┆ 0x2ef00…2ef20 f0 29 2e 20 42 65 73 69 64 65 20 74 68 65 73 65 20 62 69 74 73 20 74 68 65 20 74 65 73 74 62 69 ┆ ). Beside these bits the testbi┆ 0x2ef20…2ef40 74 20 0a 19 89 81 80 72 65 63 6f 72 64 20 63 6f 6e 74 61 69 6e 73 20 62 69 74 73 2c 20 77 68 69 ┆t record contains bits, whi┆ 0x2ef40…2ef60 63 68 20 76 61 6c 75 65 20 69 6e 64 69 63 61 74 65 20 77 68 65 74 68 65 72 20 76 65 72 73 69 6f ┆ch value indicate whether versio┆ 0x2ef60…2ef80 6e 20 69 6e 66 6f 72 80 0a 19 89 81 80 6d 61 74 69 6f 6e 20 61 6e 64 20 69 6e 66 6f 72 6d 61 74 ┆n infor mation and informat┆ 0x2ef80…2efa0 69 6f 6e 20 63 6f 6e 80 63 65 72 6e 69 6e 67 20 74 68 65 20 73 74 61 74 75 73 20 6f 66 20 74 68 ┆ion con cerning the status of th┆ 0x2efa0…2efc0 65 20 63 6f 6d 80 6d 75 80 6e 69 63 61 74 69 6f 6e 20 0a 19 89 81 80 6c 69 6e 65 20 73 68 61 6c ┆e com mu nication line shal┆ 0x2efc0…2efe0 6c 20 62 65 20 70 72 69 6e 74 65 64 20 6f 72 20 6e 6f 74 2e 20 54 68 65 20 74 65 73 74 80 62 69 ┆l be printed or not. The test bi┆ 0x2efe0…2f000 74 20 72 65 63 6f 72 64 20 69 73 20 64 65 73 63 72 69 62 65 64 20 0a 19 89 81 80 62 65 6c 6f 77 ┆t record is described below┆ 0x2f000…2f020 (376,) 2e 0d 0a 0d 0a 09 84 54 68 65 73 65 20 6c 61 73 74 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 73 20 61 ┆. These last informations a┆ 0x2f020…2f040 72 65 20 70 72 69 6e 74 65 64 20 64 69 72 65 63 74 6c 79 20 66 72 6f 6d 20 74 68 65 20 64 74 65 ┆re printed directly from the dte┆ 0x2f040…2f060 20 70 72 6f 63 65 73 73 2c 20 0a 19 89 80 80 61 6e 64 20 61 74 20 74 68 65 20 74 69 6d 65 20 74 ┆ process, and at the time t┆ 0x2f060…2f080 68 65 20 65 76 65 6e 74 20 6f 63 63 75 72 73 2e 20 54 68 65 20 62 69 74 73 20 63 6f 6e 74 72 6f ┆he event occurs. The bits contro┆ 0x2f080…2f0a0 6c 6c 69 6e 67 20 74 68 65 20 70 72 69 6e 80 0a 19 89 80 80 74 69 6e 67 20 63 61 6e 6e 6f 74 20 ┆lling the prin ting cannot ┆ 0x2f0a0…2f0c0 62 65 20 73 65 74 20 66 72 6f 6d 20 74 68 65 20 63 6f 6e 73 6f 6c 65 20 76 69 61 20 74 68 65 20 ┆be set from the console via the ┆ 0x2f0c0…2f0e0 64 74 65 80 74 65 73 74 20 70 72 6f 63 65 73 73 2c 20 62 75 74 20 0a 19 89 80 80 63 61 6e 20 62 ┆dte test process, but can b┆ 0x2f0e0…2f100 65 20 72 65 61 64 2e 0d 0a 0d 0a 09 74 65 73 74 20 3d 20 70 61 63 6b 65 64 20 61 72 72 61 79 20 ┆e read. test = packed array ┆ 0x2f100…2f120 28 31 2e 2e 38 29 20 6f 66 20 62 6f 6f 6c 65 61 6e 3b 0d 0a 0d 0a 09 20 20 20 20 5f 5f 5f 5f 5f ┆(1..8) of boolean; _____┆ 0x2f120…2f140 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 0d 0a 09 a1 e1 20 20 20 20 a1 20 31 20 ┆___________________ 1 ┆ 0x2f140…2f160 20 32 20 20 33 20 20 34 20 20 35 20 20 36 20 20 37 20 20 38 20 0d 0a 09 09 09 20 20 20 20 20 20 ┆ 2 3 4 5 6 7 8 ┆ 0x2f160…2f180 20 20 20 20 20 20 20 20 20 6c 69 6e 65 20 65 76 65 6e 74 20 70 72 69 6e 74 69 6e 67 0d 0a 09 09 ┆ line event printing ┆ 0x2f180…2f1a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 6f 64 65 6d 20 73 ┆ modem s┆ 0x2f1a0…2f1c0 69 67 6e 61 6c 73 20 70 72 69 6e 74 69 6e 67 0d 0a 09 09 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ignals printing ┆ 0x2f1c0…2f1e0 20 20 20 20 20 20 20 20 20 20 20 20 6c 65 76 65 6c 20 33 20 72 65 73 74 61 72 74 20 70 72 69 6e ┆ level 3 restart prin┆ 0x2f1e0…2f200 74 69 6e 67 0d 0a 09 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ting ┆ 0x2f200…2f220 (377,) 20 6c 69 6e 65 20 73 74 61 74 65 20 70 72 69 6e 74 69 6e 67 0d 0a 09 09 20 20 20 20 20 20 20 20 ┆ line state printing ┆ 0x2f220…2f240 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 65 72 73 69 6f 6e 20 70 72 69 6e 74 69 6e ┆ version printin┆ 0x2f240…2f260 67 0d 0a 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆g ┆ 0x2f260…2f280 20 20 20 20 20 20 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 20 74 65 73 74 20 67 65 6e 65 72 61 74 69 ┆ dte_lcnzero test generati┆ 0x2f280…2f2a0 6f 6e 0d 0a 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆on ┆ 0x2f2a0…2f2c0 20 20 20 20 20 20 20 20 64 74 65 5f 63 68 61 6e 20 74 65 73 74 20 67 65 6e 65 72 61 74 69 6f 6e ┆ dte_chan test generation┆ 0x2f2c0…2f2e0 0d 0a 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x2f2e0…2f300 20 20 20 20 20 20 64 74 65 20 74 65 73 74 20 67 65 6e 65 72 61 74 69 6f 6e 2e 0d 0a 0d 0a 09 84 ┆ dte test generation. ┆ 0x2f300…2f320 49 66 20 61 20 62 69 74 20 69 73 20 74 72 75 65 20 74 68 65 20 61 63 74 69 6f 6e 73 20 64 65 73 ┆If a bit is true the actions des┆ 0x2f320…2f340 63 72 69 62 65 64 20 77 69 6c 6c 20 62 65 20 70 65 72 66 6f 72 6d 65 64 2c 20 6f 74 68 65 72 80 ┆cribed will be performed, other ┆ 0x2f340…2f360 0a 19 89 80 80 77 69 73 65 20 6e 6f 74 68 69 6e 67 2e 0d 0a 0d 0a b0 09 64 74 65 20 74 65 73 74 ┆ wise nothing. dte test┆ 0x2f360…2f380 20 67 65 6e 65 72 61 74 69 6f 6e 09 20 20 20 20 20 20 20 20 20 20 f0 3a 20 84 74 68 65 20 64 74 ┆ generation : the dt┆ 0x2f380…2f3a0 65 20 70 72 6f 63 65 73 73 20 77 69 6c 6c 20 67 65 6e 65 72 61 74 65 20 69 6e 80 0a 19 a9 81 80 ┆e process will generate in ┆ 0x2f3a0…2f3c0 74 65 72 6e 61 6c 20 74 65 73 74 72 65 63 6f 72 64 73 0d 0a 0d 0a 09 b0 64 74 65 5f 63 68 61 6e ┆ternal testrecords dte_chan┆ 0x2f3c0…2f3e0 20 74 65 73 74 20 67 65 6e 65 72 61 74 69 6f 6e 09 f0 3a 20 84 74 68 65 20 64 74 65 5f 63 68 61 ┆ test generation : the dte_cha┆ 0x2f3e0…2f400 6e 20 69 6e 63 61 72 6e 61 74 69 6f 6e 73 20 77 69 6c 6c 20 67 65 80 0a 19 a9 81 80 6e 65 72 61 ┆n incarnations will ge nera┆ 0x2f400…2f420 (378,) 74 65 20 69 6e 74 65 72 6e 61 6c 20 74 65 73 74 72 65 63 6f 72 64 73 0d 0a 0d 0a b0 09 64 74 65 ┆te internal testrecords dte┆ 0x2f420…2f440 5f 6c 63 6e 7a 65 72 6f 20 74 65 73 74 20 67 65 6e 65 72 61 74 69 6f 6e 09 f0 3a 20 84 74 68 65 ┆_lcnzero test generation : the┆ 0x2f440…2f460 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 20 70 72 6f 63 65 73 73 20 77 69 6c 6c 20 67 65 6e 65 80 0a ┆ dte_lcnzero process will gene ┆ 0x2f460…2f480 19 a9 81 80 72 61 74 65 20 69 6e 74 65 72 6e 61 6c 20 74 65 73 74 72 65 63 6f 72 64 73 0d 0a 0d ┆ rate internal testrecords ┆ 0x2f480…2f4a0 0a b0 09 76 65 72 73 69 6f 6e 20 70 72 69 6e 74 69 6e 67 f0 09 09 3a 20 84 74 68 65 20 64 74 65 ┆ version printing : the dte┆ 0x2f4a0…2f4c0 2c 20 64 74 65 74 65 73 74 20 61 6e 64 20 64 74 65 74 72 61 63 65 20 77 69 6c 6c 20 0a 19 a9 81 ┆, dtetest and dtetrace will ┆ 0x2f4c0…2f4e0 80 70 72 69 6e 74 20 76 65 72 73 69 6f 6e 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 6f 6e 20 74 68 ┆ print version information on th┆ 0x2f4e0…2f500 65 20 0a 19 a9 81 80 63 6f 6e 73 6f 6c 65 20 61 74 20 73 74 61 72 74 20 74 69 6d 65 0d 0a 0d 0a ┆e console at start time ┆ 0x2f500…2f520 8c 80 a9 0a 09 b0 6c 69 6e 65 20 73 74 61 74 65 20 70 72 69 6e 74 69 6e 67 09 09 f0 3a 20 84 74 ┆ line state printing : t┆ 0x2f520…2f540 68 65 20 69 6e 74 65 72 6e 61 6c 20 6c 69 6e 65 20 73 74 61 74 65 20 28 73 65 65 20 73 75 62 80 ┆he internal line state (see sub ┆ 0x2f540…2f560 0a 19 a9 81 80 73 65 63 80 74 69 6f 6e 20 34 2e 32 2e 32 29 20 61 6e 64 20 74 68 65 20 6c 69 6e ┆ sec tion 4.2.2) and the lin┆ 0x2f560…2f580 65 20 65 76 65 6e 74 20 0a 19 a9 81 80 61 72 65 20 70 72 69 6e 74 65 64 20 65 76 65 72 79 20 74 ┆e event are printed every t┆ 0x2f580…2f5a0 69 6d 65 20 61 6e 20 65 76 65 6e 74 20 0a 19 a9 81 80 62 75 66 66 65 72 20 69 73 20 72 65 74 75 ┆ime an event buffer is retu┆ 0x2f5a0…2f5c0 72 6e 65 64 20 66 72 6f 6d 20 74 68 65 20 48 44 4c 43 0d 0a 0d 0a b0 09 6c 65 76 65 6c 20 33 20 ┆rned from the HDLC level 3 ┆ 0x2f5c0…2f5e0 72 65 73 74 61 72 74 20 70 72 69 6e 74 69 6e 67 09 f0 3a 20 84 77 68 65 6e 65 76 65 72 20 74 68 ┆restart printing : whenever th┆ 0x2f5e0…2f600 65 20 44 54 45 20 70 65 72 66 6f 72 6d 73 20 61 6e 20 72 65 80 0a 19 a9 81 80 73 74 61 72 74 2c ┆e DTE performs an re start,┆ 0x2f600…2f620 (379,) 20 74 68 65 20 65 76 65 6e 74 20 63 61 75 73 69 6e 67 20 74 68 65 20 72 65 80 0a 19 a9 81 80 73 ┆ the event causing the re s┆ 0x2f620…2f640 74 61 72 74 20 69 73 20 70 72 69 6e 74 65 64 0d 0a 0d 0a b0 09 6d 6f 64 65 6d 20 73 69 67 6e 61 ┆tart is printed modem signa┆ 0x2f640…2f660 6c 73 20 70 72 69 6e 74 69 6e 67 09 f0 3a 20 84 69 66 20 69 74 20 69 73 20 6e 6f 74 20 70 6f 73 ┆ls printing : if it is not pos┆ 0x2f660…2f680 73 69 62 6c 65 20 74 6f 20 73 65 74 20 74 68 65 20 0a 19 a9 81 80 6d 6f 64 65 6d 20 73 69 67 6e ┆sible to set the modem sign┆ 0x2f680…2f6a0 61 6c 73 20 28 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 31 2e 32 2e 32 29 20 0a 19 a9 81 80 70 72 ┆als (subsection 4.1.2.2) pr┆ 0x2f6a0…2f6c0 6f 80 70 65 72 6c 79 2c 20 74 68 65 20 76 61 6c 75 65 20 6f 66 20 74 68 65 20 73 69 67 6e 61 6c ┆o perly, the value of the signal┆ 0x2f6c0…2f6e0 73 20 0a 19 a9 81 80 61 72 65 20 70 72 69 6e 74 65 64 0d 0a 0d 0a b0 09 6c 69 6e 65 20 65 76 65 ┆s are printed line eve┆ 0x2f6e0…2f700 6e 74 20 70 72 69 6e 74 69 6e 67 09 09 f0 3a 20 84 74 68 65 20 72 65 63 65 69 76 65 64 20 6c 69 ┆nt printing : the received li┆ 0x2f700…2f720 6e 65 20 65 76 65 6e 74 20 28 66 72 6f 6d 20 74 68 65 20 0a 19 a9 81 80 48 44 4c 43 29 20 69 73 ┆ne event (from the HDLC) is┆ 0x2f720…2f740 20 70 72 69 6e 74 65 64 2e 0d 0a 0d 0a 09 84 41 6c 6c 20 74 68 65 20 64 69 66 66 65 72 65 6e 74 ┆ printed. All the different┆ 0x2f740…2f760 20 74 65 78 74 73 20 61 6e 64 20 66 6f 72 6d 61 74 73 20 61 72 65 20 6f 75 74 6c 69 6e 65 64 20 ┆ texts and formats are outlined ┆ 0x2f760…2f780 69 6e 20 73 75 62 73 65 63 74 69 6f 6e 20 0a 19 89 80 80 36 2e 32 2e 34 2e 0d 0a 0d 0a 09 84 54 ┆in subsection 6.2.4. T┆ 0x2f780…2f7a0 68 65 20 69 6e 64 69 76 69 64 75 61 6c 20 62 69 74 73 20 69 6e 20 74 68 65 20 74 65 73 74 62 69 ┆he individual bits in the testbi┆ 0x2f7a0…2f7c0 74 20 72 65 63 6f 72 64 20 63 61 6e 20 62 65 20 63 68 61 6e 67 65 64 20 75 73 69 6e 67 20 0a 19 ┆t record can be changed using ┆ 0x2f7c0…2f7e0 89 80 80 65 69 74 68 65 72 20 61 6e 20 4c 43 50 20 6f 70 65 72 61 74 69 6f 6e 20 28 44 54 45 20 ┆ either an LCP operation (DTE ┆ 0x2f7e0…2f800 35 32 2c 30 29 20 6f 72 20 64 69 72 65 63 74 6c 79 20 66 72 6f 6d 20 74 68 65 20 63 6f 6e 73 6f ┆52,0) or directly from the conso┆ 0x2f800…2f820 (380,) 6c 65 2e 20 0a 19 89 80 80 54 68 65 20 6c 61 73 74 20 70 6f 73 73 69 62 69 6c 69 74 79 20 6f 6e ┆le. The last possibility on┆ 0x2f820…2f840 6c 79 20 69 6e 63 6c 75 64 65 73 20 62 69 74 20 31 2c 20 32 20 61 6e 64 20 33 2e 20 54 68 65 20 ┆ly includes bit 1, 2 and 3. The ┆ 0x2f840…2f860 6f 70 65 72 61 74 6f 72 20 0a 19 89 80 80 63 6f 6d 6d 61 6e 64 73 20 61 72 65 20 65 78 70 6c 61 ┆operator commands are expla┆ 0x2f860…2f880 69 6e 65 64 20 69 6e 20 73 75 62 73 65 63 74 69 6f 6e 20 36 2e 32 2e 33 2e 0d 0a 0d 0a 09 84 41 ┆ined in subsection 6.2.3. A┆ 0x2f880…2f8a0 6e 20 69 6e 74 65 72 6e 61 6c 20 74 65 73 74 20 28 65 2e 67 2e 20 69 6e 20 64 74 65 29 20 63 61 ┆n internal test (e.g. in dte) ca┆ 0x2f8a0…2f8c0 6e 20 62 65 20 73 74 61 72 74 65 64 2f 73 74 6f 70 70 65 64 20 62 79 20 73 65 74 74 69 6e 67 20 ┆n be started/stopped by setting ┆ 0x2f8c0…2f8e0 0a 19 89 80 80 74 68 65 20 61 70 70 72 6f 70 72 69 61 74 65 20 62 69 74 20 74 6f 20 74 72 75 65 ┆ the appropriate bit to true┆ 0x2f8e0…2f900 2f 66 61 6c 73 65 20 72 65 73 70 65 63 74 69 76 65 6c 79 2e 20 54 68 69 73 20 61 63 74 69 6f 6e ┆/false respectively. This action┆ 0x2f900…2f920 20 6f 6e 6c 79 20 0a 19 89 80 80 73 74 61 72 74 73 20 6f 72 20 73 74 6f 70 73 20 74 68 65 20 a1 ┆ only starts or stops the ┆ 0x2f920…2f940 67 65 6e 65 72 61 74 69 6f 6e e1 20 6f 66 20 74 65 73 74 72 65 63 6f 72 64 73 2c 20 6e 6f 74 68 ┆generation of testrecords, noth┆ 0x2f940…2f960 69 6e 67 20 69 73 20 70 72 69 6e 74 65 64 20 0a 19 89 80 80 6f 6e 20 74 68 65 20 63 6f 6e 73 6f ┆ing is printed on the conso┆ 0x2f960…2f980 6c 65 2e 20 49 6e 20 6f 72 64 65 72 20 74 6f 20 67 65 74 20 74 68 65 20 66 6f 72 6d 61 74 74 65 ┆le. In order to get the formatte┆ 0x2f980…2f9a0 64 20 74 65 73 74 72 65 63 6f 72 64 73 2c 20 74 68 65 20 6f 70 80 0a 19 89 80 80 65 72 61 74 6f ┆d testrecords, the op erato┆ 0x2f9a0…2f9c0 72 20 68 61 73 20 74 6f 20 69 73 73 75 65 20 74 68 65 20 63 6f 6d 6d 61 6e 64 20 27 b0 70 72 69 ┆r has to issue the command ' pri┆ 0x2f9c0…2f9e0 6e 74 f0 27 2c 20 77 68 69 6c 65 20 74 68 65 20 74 65 73 74 20 73 74 69 6c 6c 20 69 73 20 0a 19 ┆nt ', while the test still is ┆ 0x2f9e0…2fa00 89 81 80 61 63 74 69 76 65 2e 20 54 68 69 73 20 63 6f 6d 6d 61 6e 64 20 77 69 6c 6c 20 73 74 61 ┆ active. This command will sta┆ 0x2fa00…2fa20 (381,) 72 74 73 20 74 68 65 20 70 72 69 6e 74 69 6e 67 20 6f 66 20 74 68 65 20 74 65 73 74 72 65 63 6f ┆rts the printing of the testreco┆ 0x2fa20…2fa40 72 64 73 20 0a 19 89 81 80 6f 6e 20 74 68 65 20 63 6f 6e 73 6f 6c 65 20 61 6e 64 20 77 69 6c 6c ┆rds on the console and will┆ 0x2fa40…2fa60 20 63 6f 6e 74 69 6e 75 65 20 75 6e 74 69 6c 20 28 61 6e 64 20 69 6e 63 6c 75 64 65 29 20 74 68 ┆ continue until (and include) th┆ 0x2fa60…2fa80 65 20 6e 65 78 74 20 62 75 66 80 0a 19 89 81 80 66 65 72 20 6f 66 20 74 68 65 20 73 70 65 63 69 ┆e next buf fer of the speci┆ 0x2fa80…2faa0 66 69 65 64 20 70 72 6f 63 65 73 73 20 74 79 70 65 20 69 73 20 72 65 63 65 69 76 65 64 20 62 79 ┆fied process type is received by┆ 0x2faa0…2fac0 20 74 68 65 20 64 74 65 74 65 73 74 20 70 72 6f 80 0a 19 89 81 80 63 65 73 73 2e 0d 0a 0d 0a 09 ┆ the dtetest pro cess. ┆ 0x2fac0…2fae0 84 41 6e 20 6f 74 68 65 72 20 70 6f 73 73 69 62 69 6c 69 74 79 20 69 73 20 74 6f 20 73 65 74 20 ┆ An other possibility is to set ┆ 0x2fae0…2fb00 74 68 65 20 64 74 65 74 65 73 74 20 70 72 6f 63 65 73 73 20 69 6e 20 74 68 65 20 6d 6f 64 65 20 ┆the dtetest process in the mode ┆ 0x2fb00…2fb20 0a 19 89 80 80 27 b0 72 75 6e 6e 69 6e 67 f0 27 2c 20 77 68 69 63 68 20 6d 65 61 6e 73 20 74 68 ┆ ' running ', which means th┆ 0x2fb20…2fb40 61 74 20 61 6c 6c 20 72 65 63 65 69 76 65 64 20 74 65 73 74 62 75 66 66 65 72 73 20 61 72 65 20 ┆at all received testbuffers are ┆ 0x2fb40…2fb60 70 72 69 6e 74 65 64 20 0a 19 89 81 80 69 6d 6d 65 64 69 61 74 65 6c 79 2e 0d 0a 0d 0a 8c 80 a7 ┆printed immediately. ┆ 0x2fb60…2fb80 0a 09 84 46 75 72 74 68 65 72 6d 6f 72 65 20 69 74 20 69 73 20 70 6f 73 73 69 62 6c 65 20 74 6f ┆ Furthermore it is possible to┆ 0x2fb80…2fba0 20 67 65 74 20 74 68 65 20 63 75 72 72 65 6e 74 20 76 61 6c 75 65 20 6f 66 20 74 68 65 20 74 65 ┆ get the current value of the te┆ 0x2fba0…2fbc0 73 74 20 0a 19 89 80 80 61 72 65 61 20 63 6f 70 69 65 64 20 74 6f 20 61 20 74 65 73 74 62 75 66 ┆st area copied to a testbuf┆ 0x2fbc0…2fbe0 66 65 72 20 69 6d 6d 65 64 69 61 74 65 6c 79 20 75 73 69 6e 67 20 74 68 65 20 63 6f 6d 6d 61 6e ┆fer immediately using the comman┆ 0x2fbe0…2fc00 64 20 0a 19 89 80 80 27 b0 70 72 6f 76 6f 6b 65 f0 27 2e 0d 0a 0d 0a 09 84 54 68 65 20 61 62 6f ┆d ' provoke '. The abo┆ 0x2fc00…2fc20 (382,) 76 65 20 6d 65 6e 74 69 6f 6e 65 64 20 63 6f 6d 6d 61 6e 64 73 20 61 6e 64 20 74 68 65 69 72 20 ┆ve mentioned commands and their ┆ 0x2fc20…2fc40 66 6f 72 6d 61 74 20 61 72 65 20 65 78 70 6c 61 69 6e 65 64 20 69 6e 20 0a 19 89 80 80 73 75 62 ┆format are explained in sub┆ 0x2fc40…2fc60 73 65 63 74 69 6f 6e 20 36 2e 32 2e 33 2e 0d 0a 0d 0a 09 84 41 6c 6c 20 74 65 73 74 20 72 65 63 ┆section 6.2.3. All test rec┆ 0x2fc60…2fc80 6f 72 64 73 20 63 6f 6e 74 61 69 6e 20 61 20 64 74 65 20 67 6c 6f 62 61 6c 20 74 69 6d 65 20 73 ┆ords contain a dte global time s┆ 0x2fc80…2fca0 74 61 6d 70 2c 20 69 2e 65 2e 20 61 20 74 69 6d 65 20 6f 6e 6c 79 20 0a 19 89 80 80 72 65 6c 65 ┆tamp, i.e. a time only rele┆ 0x2fca0…2fcc0 76 61 6e 74 20 74 6f 20 74 68 65 20 70 72 6f 63 65 73 73 65 73 20 6f 66 20 74 68 65 20 44 54 45 ┆vant to the processes of the DTE┆ 0x2fcc0…2fce0 20 4d 6f 64 75 6c 65 2e 20 54 68 69 73 20 6d 61 6b 65 73 20 69 74 20 70 6f 73 73 80 0a 19 89 80 ┆ Module. This makes it poss ┆ 0x2fce0…2fd00 80 69 62 6c 65 20 74 6f 20 63 6f 72 72 65 6c 61 74 65 20 65 76 65 6e 74 73 20 68 61 70 70 65 6e ┆ ible to correlate events happen┆ 0x2fd00…2fd20 69 6e 67 20 69 6e 20 64 69 66 66 65 72 65 6e 74 20 44 54 45 20 70 72 6f 63 65 73 73 65 73 2e 20 ┆ing in different DTE processes. ┆ 0x2fd20…2fd40 54 68 65 20 0a 19 89 80 80 64 74 65 63 6c 6f 63 6b 20 70 72 6f 63 65 73 73 20 28 69 6e 74 65 72 ┆The dteclock process (inter┆ 0x2fd40…2fd60 6e 61 6c 20 70 72 6f 63 65 73 73 20 69 6e 20 64 74 65 74 65 73 74 29 20 6d 61 69 6e 74 61 69 6e ┆nal process in dtetest) maintain┆ 0x2fd60…2fd80 73 20 74 68 69 73 20 0a 19 89 80 80 27 63 6c 6f 63 6b 27 20 28 67 6c 6f 62 61 6c 5f 74 69 6d 65 ┆s this 'clock' (global_time┆ 0x2fd80…2fda0 29 20 62 79 20 72 65 71 75 65 73 80 74 69 6e 67 20 61 20 74 69 6d 65 72 20 69 6e 74 65 72 72 75 ┆) by reques ting a timer interru┆ 0x2fda0…2fdc0 70 74 20 65 61 63 68 20 32 30 30 6d 73 65 63 20 0a 19 89 80 80 66 72 6f 6d 20 74 68 65 20 54 49 ┆pt each 200msec from the TI┆ 0x2fdc0…2fde0 4d 45 52 2e 0d 0a 0d 0a 09 84 54 68 65 20 70 72 6f 63 65 73 73 20 68 65 61 64 20 6f 66 20 74 68 ┆MER. The process head of th┆ 0x2fde0…2fe00 65 20 64 74 65 74 65 73 74 20 61 6e 64 20 64 74 65 63 6c 6f 63 6b 20 70 72 6f 63 65 73 73 65 73 ┆e dtetest and dteclock processes┆ 0x2fe00…2fe20 (383,) 20 61 72 65 20 64 65 66 69 6e 65 64 20 61 73 3a 0d 0a 0d 0a b0 09 50 52 4f 43 45 53 53 20 64 74 ┆ are defined as: PROCESS dt┆ 0x2fe20…2fe40 65 5f 74 65 73 74 20 28 0d 0a 09 20 20 20 56 41 52 20 6d 61 69 6e 73 65 6d 09 3a 20 73 65 6d 61 ┆e_test ( VAR mainsem : sema┆ 0x2fe40…2fe60 70 68 6f 72 65 3b 0d 0a 09 20 20 20 56 41 52 20 6f 70 65 72 61 74 6f 72 73 65 6d 20 20 3a 20 21 ┆phore; VAR operatorsem : !┆ 0x2fe60…2fe80 20 73 65 6d 70 6f 69 6e 74 65 72 3b 0d 0a 09 20 20 20 56 41 52 20 64 74 65 5f 74 65 73 74 5f 68 ┆ sempointer; VAR dte_test_h┆ 0x2fe80…2fea0 6f 6f 6b 2c 0d 0a 09 20 20 20 20 20 20 20 62 72 65 61 6b 73 65 6d 20 20 20 20 20 3a 20 73 65 6d ┆ook, breaksem : sem┆ 0x2fea0…2fec0 61 70 68 6f 72 65 3b 0d 0a 09 20 20 20 56 41 52 20 67 6c 6f 62 61 6c 5f 74 69 6d 65 20 20 3a 20 ┆aphore; VAR global_time : ┆ 0x2fec0…2fee0 69 6e 74 65 67 65 72 3b 0d 0a 09 20 20 20 56 41 52 20 74 65 73 74 5f 72 65 63 6f 72 64 20 20 3a ┆integer; VAR test_record :┆ 0x2fee0…2ff00 20 74 65 73 74 72 65 63 74 79 70 65 0d 0a 09 20 20 20 29 3b 0d 0a 0d 0a 09 b0 50 52 4f 43 45 53 ┆ testrectype ); PROCES┆ 0x2ff00…2ff20 53 20 64 74 65 63 6c 6f 63 6b 20 28 0d 0a 09 20 20 56 41 52 20 6d 61 69 6e 73 65 6d 20 20 20 20 ┆S dteclock ( VAR mainsem ┆ 0x2ff20…2ff40 20 20 20 3a 20 73 65 6d 61 70 68 6f 72 65 3b 0d 0a 09 20 20 56 41 52 20 67 6c 6f 62 61 6c 5f 74 ┆ : semaphore; VAR global_t┆ 0x2ff40…2ff60 69 6d 65 20 20 20 3a 20 69 6e 74 65 67 65 72 0d 0a 09 20 20 29 3b 0d 0a 0d 0a 0d 0a 09 6d 61 69 ┆ime : integer ); mai┆ 0x2ff60…2ff80 6e 73 65 6d 09 09 3a 20 4f 77 6e 20 6d 61 69 6e 20 73 65 6d 61 70 68 6f 72 65 2e 0d 0a 0d 0a 09 ┆nsem : Own main semaphore. ┆ 0x2ff80…2ffa0 6f 70 65 72 61 74 6f 72 73 65 6d 09 3a 20 84 4d 61 69 6e 20 73 65 6d 61 70 68 6f 72 65 20 70 6f ┆operatorsem : Main semaphore po┆ 0x2ffa0…2ffc0 69 6e 74 65 72 20 6f 66 20 74 68 65 20 6f 70 65 72 61 74 6f 72 20 70 72 6f 80 0a 19 9f 80 80 63 ┆inter of the operator pro c┆ 0x2ffc0…2ffe0 65 73 73 2e 0d 0a 0d 0a 09 64 74 65 5f 74 65 73 74 5f 68 6f 6f 6b 09 3a 20 84 53 65 6d 61 70 68 ┆ess. dte_test_hook : Semaph┆ 0x2ffe0…30000 6f 72 65 20 75 73 65 64 20 61 73 20 61 20 44 54 45 20 67 6c 6f 62 61 6c 20 74 65 73 74 62 75 66 ┆ore used as a DTE global testbuf┆ 0x30000…30020 (384,) 66 65 72 20 0a 19 9f 80 80 70 6f 6f 6c 20 28 74 65 73 74 73 65 6d 29 2e 0d 0a 0d 0a 8c 80 a7 0a ┆fer pool (testsem). ┆ 0x30020…30040 09 62 72 65 61 6b 73 65 6d 09 09 3a 20 84 53 65 6d 61 70 68 6f 72 65 20 68 6f 6c 64 69 6e 67 20 ┆ breaksem : Semaphore holding ┆ 0x30040…30060 74 68 65 20 62 72 65 61 6b 20 6d 65 73 73 61 67 65 20 75 73 65 64 20 69 6e 20 0a 19 9f 80 80 74 ┆the break message used in t┆ 0x30060…30080 68 65 20 65 78 63 65 70 74 69 6f 6e 20 70 72 6f 63 65 64 75 72 65 2e 0d 0a 0d 0a 09 67 6c 6f 62 ┆he exception procedure. glob┆ 0x30080…300a0 61 6c 5f 74 69 6d 65 09 3a 20 84 44 54 45 20 67 6c 6f 62 61 6c 20 74 69 6d 65 20 75 73 65 64 20 ┆al_time : DTE global time used ┆ 0x300a0…300c0 74 6f 20 74 69 6d 65 20 73 74 61 6d 70 20 74 65 73 74 72 65 80 0a 19 9f 80 80 63 6f 72 64 73 2e ┆to time stamp testre cords.┆ 0x300c0…300e0 0d 0a 0d 0a 09 74 65 73 74 5f 72 65 63 6f 72 64 09 3a 20 74 65 73 74 62 69 74 73 20 72 65 63 6f ┆ test_record : testbits reco┆ 0x300e0…30100 72 64 2e 0d 0a 0d 0a 0d 0a a1 36 2e 32 2e 32 09 45 78 74 65 72 6e 61 6c 20 43 6f 6d 6d 75 6e 69 ┆rd. 6.2.2 External Communi┆ 0x30100…30120 63 61 74 69 6f 6e 2e 0d 0a 0d 0a 09 84 46 6f 72 20 6f 70 65 72 61 74 6f 72 20 63 6f 6d 6d 75 6e ┆cation. For operator commun┆ 0x30120…30140 69 63 61 74 69 6f 6e 20 73 74 61 6e 64 61 72 64 20 52 54 50 20 69 6e 70 75 74 2f 6f 75 74 70 75 ┆ication standard RTP input/outpu┆ 0x30140…30160 74 20 7a 6f 6e 65 73 20 28 72 65 66 2e 20 0a 19 89 80 80 28 31 35 29 29 20 61 72 65 20 75 73 65 ┆t zones (ref. (15)) are use┆ 0x30160…30180 64 2e 20 42 65 73 69 64 65 20 74 68 65 73 65 20 6d 65 73 73 61 67 65 73 20 6f 6e 6c 79 20 74 77 ┆d. Beside these messages only tw┆ 0x30180…301a0 6f 20 74 79 70 65 20 6f 66 20 6d 65 73 73 61 67 65 73 20 0a 19 89 80 80 28 64 74 65 5f 61 63 63 ┆o type of messages (dte_acc┆ 0x301a0…301c0 65 73 73 20 74 65 73 74 20 61 6e 73 77 65 72 73 20 61 6e 64 20 74 65 73 74 6d 65 73 73 61 67 65 ┆ess test answers and testmessage┆ 0x301c0…301e0 73 29 20 61 72 65 20 72 65 63 65 69 76 65 64 20 62 79 20 74 68 65 20 64 74 65 74 65 73 74 20 0a ┆s) are received by the dtetest ┆ 0x301e0…30200 19 89 80 80 70 72 6f 80 63 65 73 73 20 61 6e 64 20 6f 6e 65 20 28 74 69 6d 65 72 20 72 65 71 75 ┆ pro cess and one (timer requ┆ 0x30200…30220 (385,) 65 73 74 20 61 6e 73 77 65 72 73 29 20 62 79 20 74 68 65 20 64 74 65 63 6c 6f 63 6b 20 70 72 6f ┆est answers) by the dteclock pro┆ 0x30220…30240 63 65 73 73 2e 0d 0a 0d 0a b0 09 a1 4d 65 73 73 61 67 65 20 6e 61 6d 65 e1 3a 20 20 20 74 69 6d ┆cess. Message name : tim┆ 0x30240…30260 65 72 5f 6d 65 73 73 0d 0a 0d 0a 09 a1 4d 65 73 73 61 67 65 20 66 6f 72 6d 61 74 e1 3a 0d 0a 09 ┆er_mess Message format : ┆ 0x30260…30280 09 20 20 20 20 20 20 6d 65 73 73 61 67 65 20 73 65 6e 74 09 09 61 6e 73 77 65 72 20 72 65 63 76 ┆ message sent answer recv┆ 0x30280…302a0 2e 0d 0a 09 20 20 20 20 20 20 75 31 09 09 35 09 09 20 20 20 75 6e 63 68 0d 0a 09 20 20 20 20 20 ┆. u1 5 unch ┆ 0x302a0…302c0 20 75 32 09 20 20 20 20 20 20 20 20 20 32 30 30 09 09 20 20 20 72 65 73 75 6c 74 0d 0a 09 20 20 ┆ u2 200 result ┆ 0x302c0…302e0 20 20 20 20 75 33 09 09 30 09 09 20 20 20 20 20 30 0d 0a 09 20 20 20 20 20 20 75 34 09 09 2d 09 ┆ u3 0 0 u4 - ┆ 0x302e0…30300 20 20 20 09 20 20 20 20 75 6e 63 68 0d 0a 0d 0a 09 20 20 20 20 20 20 62 75 66 09 09 2d 09 09 20 ┆ unch buf - ┆ 0x30300…30320 20 20 20 20 20 2d 0d 0a 0d 0a 09 a1 46 75 6e 63 74 69 6f 6e e1 3a 0d 0a 0d 0a 09 84 54 68 65 20 ┆ - Function : The ┆ 0x30320…30340 64 74 65 63 6c 6f 63 6b 20 70 72 6f 63 65 73 73 20 72 65 71 75 65 73 74 73 20 74 68 65 20 74 69 ┆dteclock process requests the ti┆ 0x30340…30360 6d 65 72 20 70 72 6f 63 65 73 73 20 74 6f 20 72 65 74 75 72 6e 20 74 68 65 20 6d 65 73 80 0a 19 ┆mer process to return the mes ┆ 0x30360…30380 89 80 80 73 61 67 65 20 61 66 74 65 72 20 74 68 65 20 74 69 6d 65 20 73 70 65 63 69 66 69 65 64 ┆ sage after the time specified┆ 0x30380…303a0 20 3a 20 32 30 30 20 2a 20 32 2a 2a 30 20 6d 73 65 63 20 3d 20 32 30 30 20 6d 73 65 63 2e 0d 0a ┆ : 200 * 2**0 msec = 200 msec. ┆ 0x303a0…303c0 0d 0a 09 a1 52 65 73 75 6c 74 e1 3a 0d 0a 0d 0a 09 20 20 20 6f 6b 09 09 28 30 29 20 3a 20 20 6d ┆ Result : ok (0) : m┆ 0x303c0…303dc 65 73 73 61 67 65 20 70 72 6f 63 65 73 73 65 64 20 70 72 6f 70 65 72 6c 79 2e 0d 0a ┆essage processed properly. ┆ 0x303dc…303df FormFeed { 0x303dc…303df 0c 80 a3 ┆ ┆ 0x303dc…303df } 0x303df…303e0 0a ┆ ┆ 0x303e0…30400 b0 09 a1 4d 65 73 73 61 67 65 20 6e 61 6d 65 e1 3a 20 20 20 64 74 65 5f 74 65 73 74 5f 6d 65 73 ┆ Message name : dte_test_mes┆ 0x30400…30420 (386,) 73 61 67 65 0d 0a 0d 0a 09 a1 4d 65 73 73 61 67 65 20 66 6f 72 6d 61 74 e1 3a 0d 0a 09 09 20 20 ┆sage Message format : ┆ 0x30420…30440 20 20 20 20 6d 65 73 73 61 67 65 20 72 65 63 76 2e 0d 0a 09 20 20 20 20 20 20 75 31 09 09 33 0d ┆ message recv. u1 3 ┆ 0x30440…30460 0a 09 20 20 20 20 20 20 75 32 09 09 37 0d 0a 09 20 20 20 20 20 20 75 33 09 20 20 20 20 20 20 70 ┆ u2 7 u3 p┆ 0x30460…30480 72 6f 63 65 73 73 5f 74 79 70 65 0d 0a 09 20 20 20 20 20 20 75 34 09 09 30 0d 0a 0d 0a 09 20 20 ┆rocess_type u4 0 ┆ 0x30480…304a0 20 20 20 20 62 75 66 09 20 20 20 20 20 20 20 20 74 65 73 74 62 75 66 0d 0a 0d 0a 09 20 20 20 20 ┆ buf testbuf ┆ 0x304a0…304c0 20 20 74 65 73 74 62 75 66 20 3d 20 72 65 63 6f 72 64 0d 0a 09 09 20 20 20 20 20 20 20 20 66 69 ┆ testbuf = record fi┆ 0x304c0…304e0 72 73 74 2c 20 6c 61 73 74 2c 20 6e 65 78 74 20 3a 20 69 6e 74 65 67 65 72 3b 0d 0a 09 09 20 20 ┆rst, last, next : integer; ┆ 0x304e0…30500 20 20 20 20 20 20 74 65 73 74 61 72 65 61 20 20 20 20 20 20 20 20 20 20 3a 20 84 61 72 72 61 79 ┆ testarea : array┆ 0x30500…30520 20 28 30 2e 2e 20 74 65 73 74 6d 61 78 29 20 6f 66 0d 0a 09 09 09 09 20 20 20 20 20 20 20 20 74 ┆ (0.. testmax) of t┆ 0x30520…30540 65 73 74 72 65 63 6f 72 64 73 3b 0d 0a 09 09 20 20 20 20 20 20 65 6e 64 3b 0d 0a 0d 0a 09 84 54 ┆estrecords; end; T┆ 0x30540…30560 68 65 20 64 69 66 66 65 72 65 6e 74 20 74 65 73 74 72 65 63 6f 72 64 73 20 61 72 65 20 65 78 70 ┆he different testrecords are exp┆ 0x30560…30580 6c 61 69 6e 65 64 20 69 6e 20 73 75 62 73 65 63 74 69 6f 6e 20 36 2e 32 2e 34 2e 0d 0a 0d 0a 09 ┆lained in subsection 6.2.4. ┆ 0x30580…305a0 a1 46 75 6e 63 74 69 6f 6e e1 3a 0d 0a 0d 0a 09 84 54 68 65 20 64 74 65 74 65 73 74 20 70 72 6f ┆ Function : The dtetest pro┆ 0x305a0…305c0 63 65 73 73 20 63 68 65 63 6b 73 20 69 66 20 74 68 65 20 74 65 73 74 72 65 63 6f 72 64 73 20 73 ┆cess checks if the testrecords s┆ 0x305c0…305e0 68 61 6c 6c 20 62 65 20 70 72 69 6e 74 65 64 20 0a 19 89 80 80 69 6d 6d 65 64 69 61 74 65 6c 79 ┆hall be printed immediately┆ 0x305e0…30600 2c 20 61 6e 64 20 69 66 20 73 6f 20 74 68 65 20 70 72 6f 70 65 72 20 61 63 74 69 6f 6e 73 20 61 ┆, and if so the proper actions a┆ 0x30600…30620 (387,) 72 65 20 70 65 72 66 6f 72 6d 65 64 2e 20 49 66 20 6e 6f 74 2c 20 0a 19 89 80 80 74 68 65 20 76 ┆re performed. If not, the v┆ 0x30620…30640 61 6c 75 65 20 6f 66 20 75 34 20 69 73 20 63 68 61 6e 67 65 64 20 74 6f 20 6e 6f 74 5f 70 72 69 ┆alue of u4 is changed to not_pri┆ 0x30640…30660 6e 74 65 64 20 28 3d 31 29 20 61 6e 64 20 74 68 65 20 6d 65 73 73 61 67 65 20 69 73 20 0a 19 89 ┆nted (=1) and the message is ┆ 0x30660…30680 80 80 71 75 65 75 65 64 20 61 74 20 74 68 65 20 74 65 73 74 62 75 66 66 65 72 20 68 6f 6f 6b 20 ┆ queued at the testbuffer hook ┆ 0x30680…306a0 28 74 65 73 74 73 65 6d 29 20 66 6f 72 20 6c 61 74 65 72 20 70 72 69 6e 74 69 6e 67 20 69 66 20 ┆(testsem) for later printing if ┆ 0x306a0…306c0 72 65 80 0a 19 89 80 80 71 75 69 72 65 64 2e 0d 0a 0d 0a 09 70 72 6f 63 65 73 73 5f 74 79 70 65 ┆re quired. process_type┆ 0x306c0…306e0 20 69 73 3a 0d 0a 0d 0a 09 20 20 20 30 20 20 20 20 3a 20 64 74 65 20 70 72 6f 63 65 73 73 0d 0a ┆ is: 0 : dte process ┆ 0x306e0…30700 09 20 20 20 31 20 20 20 20 3a 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 20 70 72 6f 63 65 73 73 0d 0a ┆ 1 : dte_lcnzero process ┆ 0x30700…30720 09 20 20 20 33 2b 79 20 20 3a 20 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 20 69 6e 63 61 ┆ 3+y : dte_chan process inca┆ 0x30720…3073f 72 6e 61 74 69 6f 6e 20 6e 75 6d 62 65 72 20 79 20 28 64 74 65 5f 63 68 61 6e 79 29 2e 0d 0a ┆rnation number y (dte_chany). ┆ 0x3073f…30742 FormFeed { 0x3073f…30742 0c 80 a0 ┆ ┆ 0x3073f…30742 } 0x30742…30760 0a 09 b0 a1 4d 65 73 73 61 67 65 20 6e 61 6d 65 3a e1 20 20 20 64 74 65 5f 61 63 63 65 73 ┆ Message name: dte_acces┆ 0x30760…30780 73 5f 74 65 73 74 0d 0a 0d 0a 09 a1 4d 65 73 73 61 67 65 20 66 6f 72 6d 61 74 3a 0d 0a 09 09 20 ┆s_test Message format: ┆ 0x30780…307a0 20 20 20 20 20 20 6d 65 73 73 61 67 65 20 73 65 6e 74 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ message sent ┆ 0x307a0…307c0 20 20 61 6e 73 77 65 72 20 72 65 63 76 2e 0d 0a 09 20 20 20 20 20 20 75 31 09 09 66 75 6e 63 09 ┆ answer recv. u1 func ┆ 0x307c0…307e0 09 09 75 6e 63 68 0d 0a 09 20 20 20 20 20 20 75 32 09 09 20 20 37 09 09 20 20 20 20 20 20 20 69 ┆ unch u2 7 i┆ 0x307e0…30800 6c 6c 5f 6f 70 63 6f 64 65 0d 0a 09 20 20 20 20 20 20 75 33 09 20 20 20 20 75 73 65 72 5f 6e 6f ┆ll_opcode u3 user_no┆ 0x30800…30820 (388,) 2f 73 74 72 65 61 6d 5f 6e 6f 2f 63 68 5f 69 6e 64 65 78 09 75 6e 63 68 0d 0a 09 20 20 20 20 20 ┆/stream_no/ch_index unch ┆ 0x30820…30840 20 75 34 09 20 20 20 20 20 20 20 20 20 20 20 20 2d 09 09 20 20 20 20 20 20 20 73 65 65 20 62 65 ┆ u4 - see be┆ 0x30840…30860 6c 6f 77 0d 0a 0d 0a 09 20 20 20 20 20 20 62 75 66 09 20 20 20 20 20 20 20 20 20 20 20 20 2d 09 ┆low buf - ┆ 0x30860…30880 09 20 20 20 20 20 20 20 20 20 74 65 73 74 62 75 66 0d 0a 0d 0a 09 20 20 20 20 20 20 74 65 73 74 ┆ testbuf test┆ 0x30880…308a0 62 75 66 20 3d 20 61 72 72 61 79 20 28 31 2e 2e 31 34 29 20 6f 66 20 62 79 74 65 73 3b 0d 0a 0d ┆buf = array (1..14) of bytes; ┆ 0x308a0…308c0 0a 09 a1 46 75 6e 63 74 69 6f 6e 3a 0d 0a 0d 0a 09 84 41 20 64 74 65 5f 61 63 63 65 73 73 20 74 ┆ Function: A dte_access t┆ 0x308c0…308e0 65 73 74 20 6d 65 73 73 61 67 65 20 69 73 20 72 65 63 65 69 76 65 64 20 61 6e 64 20 74 68 65 20 ┆est message is received and the ┆ 0x308e0…30900 74 65 73 74 62 75 66 20 69 73 20 70 72 69 6e 74 65 64 20 0a 19 89 80 80 6f 6e 20 74 68 65 20 63 ┆testbuf is printed on the c┆ 0x30900…30920 6f 6e 73 6f 6c 65 2c 20 65 61 63 68 20 62 79 74 65 20 62 6f 74 68 20 61 73 20 61 20 64 69 67 69 ┆onsole, each byte both as a digi┆ 0x30920…30940 74 20 61 6e 64 20 68 65 78 61 64 65 63 69 6d 61 6c 2e 20 54 68 65 20 0a 19 89 80 80 64 74 65 74 ┆t and hexadecimal. The dtet┆ 0x30940…30960 65 73 74 20 70 72 6f 63 65 73 73 20 67 65 6e 65 72 61 74 65 73 20 74 68 65 20 74 65 73 74 20 6d ┆est process generates the test m┆ 0x30960…30980 65 73 73 61 67 65 20 6f 6e 20 6f 70 65 72 61 74 6f 72 20 72 65 71 75 65 73 74 20 0a 19 89 80 80 ┆essage on operator request ┆ 0x30980…309a0 28 73 65 65 20 73 75 62 73 65 63 74 69 6f 6e 20 36 2e 32 2e 33 29 20 61 6e 64 20 73 65 6e 64 73 ┆(see subsection 6.2.3) and sends┆ 0x309a0…309c0 20 69 74 20 74 6f 20 74 68 65 20 64 74 65 5f 61 63 63 65 73 73 20 70 72 6f 63 65 73 73 2e 20 0a ┆ it to the dte_access process. ┆ 0x309c0…309e0 19 89 80 80 46 75 6e 63 20 73 70 65 63 69 66 69 65 73 20 77 68 69 63 68 20 76 61 72 69 61 62 6c ┆ Func specifies which variabl┆ 0x309e0…30a00 65 20 76 61 6c 75 65 73 20 74 68 65 20 64 74 65 5f 61 63 63 65 73 73 20 70 72 6f 63 65 73 73 20 ┆e values the dte_access process ┆ 0x30a00…30a20 (389,) 73 68 61 6c 6c 20 0a 19 89 80 80 72 65 74 75 72 6e 2e 20 54 68 65 20 63 6f 72 72 65 6c 61 74 69 ┆shall return. The correlati┆ 0x30a20…30a40 6f 6e 20 62 65 74 77 65 65 6e 20 66 75 6e 63 20 61 6e 64 20 75 33 20 69 73 20 3a 0d 0a 0d 0a 09 ┆on between func and u3 is : ┆ 0x30a40…30a60 09 66 75 6e 63 09 20 20 20 75 33 09 09 20 76 61 72 69 61 62 6c 65 0d 0a 09 09 31 32 38 09 75 73 ┆ func u3 variable 128 us┆ 0x30a60…30a80 65 72 5f 6e 6f 09 09 75 73 65 72 5f 74 61 62 6c 65 0d 0a 09 09 31 36 30 09 73 74 72 65 61 6d 5f ┆er_no user_table 160 stream_┆ 0x30a80…30aa0 6e 6f 09 09 73 74 72 65 61 6d 5f 74 61 62 6c 65 0d 0a 09 09 32 32 34 09 63 68 5f 69 6e 64 65 78 ┆no stream_table 224 ch_index┆ 0x30aa0…30ac0 09 09 63 68 61 6e 6e 65 6c 5f 74 61 62 6c 65 0d 0a 0d 0a 09 84 54 68 65 20 75 73 65 72 5f 6e 6f ┆ channel_table The user_no┆ 0x30ac0…30ae0 2c 20 73 74 72 65 61 6d 5f 6e 6f 20 61 6e 64 20 63 68 5f 69 6e 64 65 78 20 6d 61 79 20 62 65 20 ┆, stream_no and ch_index may be ┆ 0x30ae0…30b00 63 68 61 6e 67 65 64 20 69 6e 20 74 68 65 20 64 74 65 5f 61 63 80 0a 19 89 80 80 63 65 73 73 20 ┆changed in the dte_ac cess ┆ 0x30b00…30b20 70 72 6f 63 65 73 73 2c 20 69 66 20 69 74 20 69 73 20 6f 75 74 73 69 64 65 20 74 68 65 20 69 6e ┆process, if it is outside the in┆ 0x30b20…30b40 74 65 72 76 61 6c 20 64 65 66 69 6e 65 64 20 66 6f 72 20 74 68 65 20 74 61 62 6c 65 20 0a 19 89 ┆terval defined for the table ┆ 0x30b40…30b60 80 80 69 6e 20 71 75 65 73 74 69 6f 6e 2e 20 54 68 65 20 72 65 74 75 72 6e 65 64 20 76 61 6c 75 ┆ in question. The returned valu┆ 0x30b60…30b80 65 20 28 69 6e 20 75 34 29 20 69 73 20 74 68 65 20 6e 65 61 72 65 73 74 20 6c 69 6d 69 74 2e 0d ┆e (in u4) is the nearest limit. ┆ 0x30b80…30b85 0a 0d 0a 0d 0a ┆ ┆ 0x30b85…30b88 FormFeed { 0x30b85…30b88 0c 80 a0 ┆ ┆ 0x30b85…30b88 } 0x30b88…30ba0 0a a1 36 2e 32 2e 33 09 4f 70 65 72 61 74 6f 72 20 43 6f 6d 6d 61 6e 64 ┆ 6.2.3 Operator Command┆ 0x30ba0…30bc0 73 2e 0d 0a 0d 0a 09 84 41 73 20 6d 65 6e 74 69 6f 6e 65 64 20 69 6e 20 73 75 62 73 65 63 74 69 ┆s. As mentioned in subsecti┆ 0x30bc0…30be0 6f 6e 20 36 2e 32 2e 31 20 74 68 65 20 6f 70 65 72 61 74 6f 72 20 63 61 6e 20 63 6f 6e 74 72 6f ┆on 6.2.1 the operator can contro┆ 0x30be0…30c00 6c 20 74 68 65 20 74 65 73 74 20 0a 19 89 80 80 67 65 6e 65 72 61 74 69 6f 6e 20 61 6e 64 20 70 ┆l the test generation and p┆ 0x30c00…30c20 (390,) 72 69 6e 74 69 6e 67 20 66 72 6f 6d 20 74 68 65 20 63 6f 6e 73 6f 6c 65 20 61 6e 64 20 67 65 6e ┆rinting from the console and gen┆ 0x30c20…30c40 65 72 61 74 65 20 64 74 65 5f 61 63 63 65 73 73 20 0a 19 89 80 80 74 65 73 74 20 6d 65 73 73 61 ┆erate dte_access test messa┆ 0x30c40…30c60 67 65 73 2e 20 54 6f 20 73 75 70 70 6f 72 74 20 74 68 69 73 20 63 6f 6e 74 72 6f 6c 20 74 68 65 ┆ges. To support this control the┆ 0x30c60…30c80 20 66 6f 6c 6c 6f 77 69 6e 67 20 63 6f 6d 6d 61 6e 64 73 20 61 72 65 20 0a 19 89 80 80 61 76 61 ┆ following commands are ava┆ 0x30c80…30ca0 69 6c 61 62 6c 65 3a 0d 0a 0d 0a 09 84 49 6e 20 74 68 65 20 63 6f 6d 6d 61 6e 64 73 20 3c 70 72 ┆ilable: In the commands <pr┆ 0x30ca0…30cc0 6f 63 65 73 73 20 6e 61 6d 65 3e 20 68 61 73 20 74 6f 20 62 65 20 73 75 62 73 74 69 74 75 74 65 ┆ocess name> has to be substitute┆ 0x30cc0…30ce0 64 20 77 69 74 68 20 6f 6e 65 20 6f 66 20 0a 19 89 80 80 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 ┆d with one of the following┆ 0x30ce0…30d00 0d 0a 09 09 64 74 65 5f 73 75 70 20 20 20 20 20 20 66 6f 72 20 20 20 20 74 68 65 20 64 74 65 20 ┆ dte_sup for the dte ┆ 0x30d00…30d20 70 72 6f 63 65 73 73 0d 0a 09 09 64 74 65 5f 63 68 61 6e 20 20 20 20 20 66 6f 72 20 20 20 20 74 ┆process dte_chan for t┆ 0x30d20…30d40 68 65 20 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 65 73 0d 0a 09 09 64 74 65 5f 6c 63 6e ┆he dte_chan processes dte_lcn┆ 0x30d40…30d60 7a 65 72 6f 20 20 66 6f 72 20 20 20 20 74 68 65 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 20 70 72 6f ┆zero for the dte_lcnzero pro┆ 0x30d60…30d80 63 65 73 73 2e 0d 0a 0d 0a 0d 0a b0 09 73 74 61 72 74 20 20 20 3c 70 72 6f 63 65 73 73 20 6e 61 ┆cess. start <process na┆ 0x30d80…30da0 6d 65 3e 20 20 20 72 75 6e 0d 0a 0d 0a 09 84 54 65 73 74 72 65 63 6f 72 64 20 67 65 6e 65 72 61 ┆me> run Testrecord genera┆ 0x30da0…30dc0 74 69 6f 6e 20 69 73 20 73 74 61 72 74 65 64 20 69 6e 20 74 68 65 20 73 70 65 63 69 66 69 65 64 ┆tion is started in the specified┆ 0x30dc0…30de0 20 70 72 6f 63 65 73 73 20 6f 72 20 69 66 20 0a 19 89 80 80 74 68 65 20 6f 70 74 69 6f 6e 20 69 ┆ process or if the option i┆ 0x30de0…30e00 73 20 b0 72 75 6e 20 f0 69 6d 6d 65 64 69 61 74 65 6c 79 20 70 72 69 6e 74 20 6f 66 20 74 65 73 ┆s run immediately print of tes┆ 0x30e00…30e20 (391,) 74 62 75 66 66 65 72 73 20 69 73 20 73 74 61 72 74 65 64 2e 0d 0a 0d 0a 0d 0a b0 09 73 74 6f 70 ┆tbuffers is started. stop┆ 0x30e20…30e40 20 20 20 3c 70 72 6f 63 65 73 73 20 6e 61 6d 65 3e 20 20 20 20 72 75 6e 0d 0a 0d 0a 09 84 54 65 ┆ <process name> run Te┆ 0x30e40…30e60 73 74 72 65 63 6f 72 64 20 67 65 6e 65 72 61 74 69 6f 6e 20 69 73 20 73 74 6f 70 70 65 64 20 69 ┆strecord generation is stopped i┆ 0x30e60…30e80 6e 20 74 68 65 20 73 70 65 63 69 66 69 65 64 20 70 72 6f 63 65 73 73 20 6f 72 20 69 66 20 0a 19 ┆n the specified process or if ┆ 0x30e80…30ea0 89 80 80 74 68 65 20 6f 70 74 69 6f 6e 20 69 73 20 b0 72 75 6e 20 f0 74 68 65 20 69 6d 6d 65 64 ┆ the option is run the immed┆ 0x30ea0…30ec0 69 61 74 65 6c 79 20 70 72 69 6e 74 20 6f 66 20 74 65 73 74 62 75 66 66 65 72 73 20 69 73 20 73 ┆iately print of testbuffers is s┆ 0x30ec0…30ee0 74 6f 70 70 65 64 2e 0d 0a 0d 0a 0d 0a b0 09 70 72 69 6e 74 20 20 20 3c 70 72 6f 63 65 73 73 20 ┆topped. print <process ┆ 0x30ee0…30f00 6e 61 6d 65 3e 20 20 20 20 74 65 73 74 5f 72 65 63 0d 0a 0d 0a 09 84 54 68 65 20 71 75 65 75 65 ┆name> test_rec The queue┆ 0x30f00…30f20 64 20 74 65 73 74 62 75 66 66 65 72 73 20 66 72 6f 6d 20 74 68 65 20 73 70 65 63 69 66 69 65 64 ┆d testbuffers from the specified┆ 0x30f20…30f40 20 70 72 6f 63 65 73 73 2c 20 77 68 69 63 68 20 6e 6f 74 20 61 6c 80 0a 19 89 80 80 72 65 61 64 ┆ process, which not al read┆ 0x30f40…30f60 79 20 61 72 65 20 70 72 69 6e 74 65 64 2c 20 61 72 65 20 70 72 69 6e 74 65 64 20 69 6e 20 61 20 ┆y are printed, are printed in a ┆ 0x30f60…30f80 70 72 65 64 65 66 69 6e 65 64 20 66 6f 72 6d 61 74 20 28 73 65 65 20 73 75 62 73 65 63 80 0a 19 ┆predefined format (see subsec ┆ 0x30f80…30fa0 89 80 80 74 69 6f 6e 20 36 2e 32 2e 34 29 2e 20 46 75 72 74 68 65 72 6d 6f 72 65 20 61 20 62 69 ┆ tion 6.2.4). Furthermore a bi┆ 0x30fa0…30fc0 74 20 69 73 20 73 65 74 20 69 6e 64 69 63 61 74 69 6e 67 20 74 68 61 74 20 74 68 65 20 6e 65 78 ┆t is set indicating that the nex┆ 0x30fc0…30fe0 74 20 0a 19 89 80 80 62 75 66 66 65 72 20 72 65 63 65 69 76 65 64 20 66 72 6f 6d 20 74 68 65 20 ┆t buffer received from the ┆ 0x30fe0…31000 70 72 6f 63 65 73 73 20 73 68 61 6c 6c 20 62 65 20 70 72 69 6e 74 65 64 2e 20 49 66 20 74 68 65 ┆process shall be printed. If the┆ 0x31000…31020 (392,) 20 6f 70 74 69 6f 6e 20 0a 19 89 80 80 b0 74 65 73 74 5f 72 65 63 20 f0 69 73 20 75 73 65 64 2c ┆ option test_rec is used,┆ 0x31020…31040 20 74 68 65 20 76 61 6c 75 65 20 6f 66 20 74 68 65 20 74 65 73 74 62 69 74 73 20 72 65 63 6f 72 ┆ the value of the testbits recor┆ 0x31040…31060 64 20 69 73 20 70 72 69 6e 74 65 64 2e 20 49 66 20 0a 19 89 81 80 61 20 74 65 73 74 62 69 74 20 ┆d is printed. If a testbit ┆ 0x31060…31080 69 73 20 74 72 75 65 20 61 20 74 65 78 74 20 69 73 20 70 72 69 6e 74 65 64 20 6f 74 68 65 72 77 ┆is true a text is printed otherw┆ 0x31080…310a0 69 73 65 20 6e 6f 74 68 69 6e 67 2e 20 54 68 65 20 63 6f 72 72 65 80 0a 19 89 81 80 6c 61 80 74 ┆ise nothing. The corre la t┆ 0x310a0…310c0 69 6f 6e 20 62 65 80 74 77 65 65 6e 20 74 65 78 74 73 20 61 6e 64 20 62 69 74 73 20 61 72 65 3a ┆ion be tween texts and bits are:┆ 0x310c0…310c2 0d 0a ┆ ┆ 0x310c2…310c5 FormFeed { 0x310c2…310c5 0c 80 a3 ┆ ┆ 0x310c2…310c5 } 0x310c5…310e0 0a 09 64 74 65 20 74 65 73 74 20 67 65 6e 65 72 61 74 69 6f 6e 09 20 20 20 20 20 ┆ dte test generation ┆ 0x310e0…31100 20 20 20 20 62 69 74 20 31 20 20 3a 20 20 44 54 45 5f 53 55 50 0d 0a 09 64 74 65 5f 63 68 61 6e ┆ bit 1 : DTE_SUP dte_chan┆ 0x31100…31120 20 74 65 73 74 20 67 65 6e 65 72 61 74 69 6f 6e 20 20 20 20 20 62 69 74 20 32 20 20 3a 20 20 44 ┆ test generation bit 2 : D┆ 0x31120…31140 54 45 5f 43 48 41 4e 0d 0a 09 64 74 65 5f 6c 63 6e 7a 65 72 6f 20 74 65 73 74 20 67 65 6e 65 72 ┆TE_CHAN dte_lcnzero test gener┆ 0x31140…31160 61 74 69 6f 6e 20 20 62 69 74 20 33 20 20 3a 20 20 44 54 45 5f 4c 43 4e 5a 45 52 4f 0d 0a 09 76 ┆ation bit 3 : DTE_LCNZERO v┆ 0x31160…31180 65 72 73 69 6f 6e 20 70 72 69 6e 74 09 20 20 20 20 20 20 20 20 20 62 69 74 20 34 20 20 3a 20 20 ┆ersion print bit 4 : ┆ 0x31180…311a0 43 4f 4e 53 4f 4c 45 20 49 44 0d 0a 09 6c 69 6e 65 20 73 74 61 74 65 20 70 72 69 6e 74 69 6e 67 ┆CONSOLE ID line state printing┆ 0x311a0…311c0 09 20 20 20 20 20 20 20 20 20 62 69 74 20 35 20 20 3a 20 20 48 44 4c 43 5f 53 54 41 54 45 0d 0a ┆ bit 5 : HDLC_STATE ┆ 0x311c0…311e0 09 6c 65 76 65 6c 20 33 20 72 65 73 74 61 72 74 20 70 72 69 6e 74 69 6e 67 20 20 20 20 20 62 69 ┆ level 3 restart printing bi┆ 0x311e0…31200 74 20 36 20 20 3a 20 20 4c 45 56 45 4c 33 5f 4d 45 53 53 0d 0a 09 6d 6f 64 65 6d 20 73 69 67 6e ┆t 6 : LEVEL3_MESS modem sign┆ 0x31200…31220 (393,) 61 6c 73 20 70 72 69 6e 74 69 6e 67 20 20 20 20 20 20 20 62 69 74 20 37 20 20 3a 20 20 4d 4f 44 ┆als printing bit 7 : MOD┆ 0x31220…31240 45 4d 5f 53 49 47 4e 41 4c 0d 0a 09 6c 69 6e 65 20 65 76 65 6e 74 20 70 72 69 6e 74 69 6e 67 20 ┆EM_SIGNAL line event printing ┆ 0x31240…31260 20 20 20 20 20 20 20 20 20 62 69 74 20 38 20 20 3a 20 20 48 44 4c 43 5f 45 56 45 4e 54 0d 0a 0d ┆ bit 8 : HDLC_EVENT ┆ 0x31260…31280 0a b0 09 70 72 6f 76 6f 6b 65 20 20 20 64 74 65 5f 73 75 70 20 20 64 74 65 5f 6c 63 6e 7a 65 72 ┆ provoke dte_sup dte_lcnzer┆ 0x31280…312a0 6f 20 20 64 74 65 5f 63 68 61 6e 20 3c 6e 6f 3e 0d 0a 0d 0a 09 84 54 68 65 20 44 54 45 20 6d 6f ┆o dte_chan <no> The DTE mo┆ 0x312a0…312c0 64 75 6c 65 20 69 73 20 72 65 71 75 69 72 65 64 20 74 6f 20 70 72 6f 76 6f 6b 65 20 74 68 65 20 ┆dule is required to provoke the ┆ 0x312c0…312e0 73 70 65 63 69 66 69 65 64 20 70 72 6f 63 65 73 73 20 69 6e 63 61 72 80 0a 19 89 80 80 6e 61 74 ┆specified process incar nat┆ 0x312e0…31300 69 6f 6e 20 74 6f 20 63 6f 70 79 20 74 68 65 20 63 75 72 72 65 6e 74 20 74 65 73 74 61 72 65 61 ┆ion to copy the current testarea┆ 0x31300…31320 20 74 6f 20 61 20 74 65 73 74 62 75 66 66 65 72 20 61 6e 64 20 72 65 74 75 72 6e 20 0a 19 89 80 ┆ to a testbuffer and return ┆ 0x31320…31340 80 74 68 69 73 20 74 6f 20 74 68 65 20 64 74 65 74 65 73 74 20 70 72 6f 63 65 73 73 2e 20 3c 6e ┆ this to the dtetest process. <n┆ 0x31340…31360 6f 3e 20 73 70 65 63 69 66 69 65 73 20 74 68 65 20 6c 61 73 74 20 74 68 72 65 65 20 64 69 67 69 ┆o> specifies the last three digi┆ 0x31360…31380 74 73 20 0a 19 89 80 80 69 6e 20 74 68 65 20 64 74 65 5f 63 68 61 6e 20 69 6e 63 61 72 6e 61 74 ┆ts in the dte_chan incarnat┆ 0x31380…313a0 69 6f 6e 20 6e 61 6d 65 2c 20 77 68 69 63 68 20 63 61 6e 20 62 65 20 6f 62 74 61 69 6e 65 64 20 ┆ion name, which can be obtained ┆ 0x313a0…313c0 75 74 69 6c 69 7a 69 6e 67 20 0a 19 89 80 80 74 68 65 20 4f 50 53 59 53 20 63 6f 6d 6d 61 6e 64 ┆utilizing the OPSYS command┆ 0x313c0…313e0 20 27 b0 6c 69 73 74 f0 27 2e 0d 0a 0d 0a 09 b0 63 72 65 61 74 65 20 20 20 3c 66 75 6e 63 3e 20 ┆ ' list '. create <func> ┆ 0x313e0…31400 20 20 20 3c 6e 6f 3e 0d 0a 0d 0a 09 84 41 20 64 74 65 5f 61 63 63 65 73 73 20 74 65 73 74 20 6d ┆ <no> A dte_access test m┆ 0x31400…31420 (394,) 65 73 73 61 67 65 20 69 73 20 67 65 6e 65 72 61 74 65 20 61 6e 64 20 73 65 6e 74 20 74 6f 20 74 ┆essage is generate and sent to t┆ 0x31420…31440 68 65 20 64 74 65 5f 61 63 63 65 73 73 20 0a 19 89 80 80 70 72 6f 63 65 73 73 2e 20 4f 6e 6c 79 ┆he dte_access process. Only┆ 0x31440…31460 20 6f 6e 65 20 74 65 73 74 20 6d 65 73 73 61 67 65 20 63 61 6e 20 62 65 20 6f 75 74 73 74 61 6e ┆ one test message can be outstan┆ 0x31460…31480 64 69 6e 67 2e 20 57 68 65 6e 20 74 68 65 20 0a 19 89 80 80 6d 65 73 73 61 67 65 20 69 73 20 72 ┆ding. When the message is r┆ 0x31480…314a0 65 74 75 72 6e 65 64 20 66 72 6f 6d 20 74 68 65 20 64 74 65 5f 61 63 63 65 73 73 20 70 72 6f 63 ┆eturned from the dte_access proc┆ 0x314a0…314c0 65 73 73 2c 20 74 68 65 20 62 75 66 66 65 72 20 69 73 20 0a 19 89 80 80 70 72 69 6e 74 65 64 20 ┆ess, the buffer is printed ┆ 0x314c0…314e0 6f 6e 20 74 68 65 20 63 6f 6e 73 6f 6c 65 20 28 70 6c 65 61 73 65 20 73 65 65 20 73 75 62 73 65 ┆on the console (please see subse┆ 0x314e0…31500 63 74 69 6f 6e 20 36 2e 32 2e 34 2e 35 29 2e 20 54 68 65 20 0a 19 89 80 80 66 6f 6c 6c 6f 77 69 ┆ction 6.2.4.5). The followi┆ 0x31500…31520 6e 67 20 76 61 6c 75 65 73 20 6f 66 20 66 75 6e 63 20 61 72 65 20 61 6c 6c 6f 77 65 64 20 3a 0d ┆ng values of func are allowed : ┆ 0x31520…31540 0a 0d 0a 09 20 20 3c 66 75 6e 63 3e 09 20 20 20 20 75 31 09 20 20 20 20 20 20 20 20 20 20 20 20 ┆ <func> u1 ┆ 0x31540…31560 20 3c 6e 6f 3e 09 20 20 20 20 20 20 09 62 75 66 66 65 72 20 61 74 20 72 65 74 75 72 6e 0d 0a 09 ┆ <no> buffer at return ┆ 0x31560…31580 20 20 20 20 31 09 31 32 38 20 3d 20 28 31 2a 34 2b 30 29 2a 33 32 09 75 73 65 72 20 6e 75 6d 62 ┆ 1 128 = (1*4+0)*32 user numb┆ 0x31580…315a0 65 72 09 84 63 6f 6e 74 61 69 6e 73 20 69 6e 66 6f 72 80 0a 19 bb 80 80 6d 61 74 69 6f 6e 20 66 ┆er contains infor mation f┆ 0x315a0…315c0 72 6f 6d 20 0a 19 bb 80 80 75 73 65 72 5f 74 61 62 6c 65 28 75 73 65 72 20 0a 19 bb 80 80 6e 75 ┆rom user_table(user nu┆ 0x315c0…315e0 6d 62 65 72 29 0d 0a 09 20 20 20 20 32 09 31 36 30 20 3d 20 28 31 2a 34 2b 31 29 2a 33 32 09 73 ┆mber) 2 160 = (1*4+1)*32 s┆ 0x315e0…31600 74 72 65 61 6d 20 6e 75 6d 62 65 72 20 20 20 20 20 09 84 63 6f 6e 74 61 69 6e 73 20 69 6e 66 6f ┆tream number contains info┆ 0x31600…31620 (395,) 72 80 0a 19 bb 80 80 6d 61 74 69 6f 6e 20 66 72 6f 6d 20 0a 19 bb 80 80 73 74 72 65 61 6d 5f 74 ┆r mation from stream_t┆ 0x31620…31640 61 62 6c 65 28 73 74 72 65 61 6d 20 0a 19 bb 80 80 6e 75 6d 62 65 72 29 0d 0a 09 20 20 20 20 33 ┆able(stream number) 3┆ 0x31640…31660 09 32 32 34 20 3d 20 28 31 2a 34 2b 33 29 2a 33 32 09 63 68 61 6e 6e 65 6c 20 69 6e 64 65 78 09 ┆ 224 = (1*4+3)*32 channel index ┆ 0x31660…31680 84 63 6f 6e 74 61 69 6e 73 20 69 6e 66 6f 72 80 0a 19 bb 80 80 6d 61 74 69 6f 6e 20 66 72 6f 6d ┆ contains infor mation from┆ 0x31680…316a0 20 0a 19 bb 80 80 63 68 61 6e 6e 65 6c 5f 74 61 62 6c 65 28 63 68 61 6e 6e 65 6c 20 0a 19 bb 80 ┆ channel_table(channel ┆ 0x316a0…316c0 80 69 6e 64 65 78 29 0d 0a 0d 0a 8c 80 a7 0a 09 84 49 66 20 3c 6e 6f 3e 20 69 73 20 73 6d 61 6c ┆ index) If <no> is smal┆ 0x316c0…316e0 6c 65 72 20 74 68 61 6e 20 31 20 69 74 20 69 73 20 73 65 74 20 74 6f 20 31 20 61 6e 64 20 69 66 ┆ler than 1 it is set to 1 and if┆ 0x316e0…31700 20 69 74 20 69 73 20 67 72 65 61 74 65 72 20 74 68 61 6e 20 0a 19 89 80 80 32 35 35 20 69 74 20 ┆ it is greater than 255 it ┆ 0x31700…31720 69 73 20 73 65 74 20 74 6f 20 32 35 35 2e 0d 0a 0d 0a 0d 0a a1 36 2e 32 2e 34 09 54 65 73 74 6f ┆is set to 255. 6.2.4 Testo┆ 0x31720…31740 75 74 70 75 74 20 44 65 73 63 72 69 70 74 69 6f 6e 2e 0d 0a 0d 0a 09 84 49 6e 20 74 68 65 20 66 ┆utput Description. In the f┆ 0x31740…31760 6f 6c 6c 6f 77 69 6e 67 20 74 68 72 65 65 20 73 75 62 73 65 63 74 69 6f 6e 73 20 61 72 65 20 74 ┆ollowing three subsections are t┆ 0x31760…31780 68 65 20 66 6f 72 6d 61 74 20 6f 66 20 74 68 65 20 74 65 73 74 72 65 80 0a 19 89 80 80 63 6f 72 ┆he format of the testre cor┆ 0x31780…317a0 64 73 20 61 6e 64 20 74 65 73 74 6f 75 74 70 75 74 20 70 72 69 6e 74 20 64 65 73 63 72 69 62 65 ┆ds and testoutput print describe┆ 0x317a0…317c0 64 2e 20 45 61 63 68 20 73 75 62 73 65 63 74 69 6f 6e 20 69 73 20 64 65 64 69 63 61 74 65 64 20 ┆d. Each subsection is dedicated ┆ 0x317c0…317e0 0a 19 89 80 80 74 6f 20 6f 6e 65 20 70 72 6f 63 65 73 73 2e 20 49 6e 20 73 75 62 73 65 63 74 69 ┆ to one process. In subsecti┆ 0x317e0…31800 6f 6e 20 36 2e 32 2e 34 2e 34 20 74 68 65 20 70 72 69 6e 74 65 64 20 74 65 78 74 20 63 6f 6e 63 ┆on 6.2.4.4 the printed text conc┆ 0x31800…31820 (396,) 65 72 80 6e 69 6e 67 20 0a 19 89 80 80 74 68 65 20 73 74 61 74 75 73 20 6f 66 20 74 68 65 20 63 ┆er ning the status of the c┆ 0x31820…31840 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 6c 69 6e 65 20 61 72 65 20 73 68 6f 77 6e 20 61 6e 64 20 ┆ommunication line are shown and ┆ 0x31840…31860 65 78 70 6c 61 69 6e 65 64 2c 20 61 6e 64 20 0a 19 89 80 80 69 6e 20 74 68 65 20 6c 61 73 74 20 ┆explained, and in the last ┆ 0x31860…31880 73 75 62 73 65 63 74 69 6f 6e 20 74 68 65 20 64 74 65 5f 61 63 63 65 73 73 20 74 65 73 74 20 6d ┆subsection the dte_access test m┆ 0x31880…318a0 65 73 73 61 67 65 20 62 75 66 66 65 72 2e 0d 0a 0d 0a 09 84 53 65 76 65 72 61 6c 20 6f 66 20 74 ┆essage buffer. Several of t┆ 0x318a0…318c0 68 65 20 74 65 73 74 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 73 20 61 72 65 20 77 72 69 74 74 65 6e ┆he test informations are written┆ 0x318c0…318e0 20 61 73 20 74 65 78 74 20 73 74 72 69 6e 67 73 20 6f 6e 20 0a 19 89 80 80 74 68 65 20 63 6f 6e ┆ as text strings on the con┆ 0x318e0…31900 73 6f 6c 65 2e 20 54 68 65 73 65 20 74 65 78 74 20 73 74 72 69 6e 67 73 20 61 72 65 20 61 6c 6c ┆sole. These text strings are all┆ 0x31900…31920 20 6d 61 72 6b 65 64 20 77 69 74 68 20 28 2a 29 20 61 6e 64 20 6f 75 74 80 0a 19 89 80 80 6c 69 ┆ marked with (*) and out li┆ 0x31920…31940 6e 65 64 20 69 6e 20 61 70 70 65 6e 64 69 78 20 44 2e 32 2e 20 46 75 72 74 68 65 72 6d 6f 72 65 ┆ned in appendix D.2. Furthermore┆ 0x31940…31960 20 61 72 65 20 74 77 6f 20 65 78 61 6d 70 6c 65 73 20 6f 66 20 61 20 74 65 73 74 6f 75 74 20 0a ┆ are two examples of a testout ┆ 0x31960…31980 19 89 80 80 70 72 69 6e 74 20 73 68 6f 77 6e 20 69 6e 20 61 70 70 65 6e 64 69 78 20 44 2e 33 2e ┆ print shown in appendix D.3.┆ 0x31980…31984 0d 0a 0d 0a ┆ ┆ 0x31984…31987 FormFeed { 0x31984…31987 0c 80 91 ┆ ┆ 0x31984…31987 } 0x31987…319a0 0a a1 36 2e 32 2e 34 2e 31 09 54 65 73 74 6f 75 74 70 75 74 20 66 72 6f 6d ┆ 6.2.4.1 Testoutput from┆ 0x319a0…319c0 20 50 72 6f 63 65 73 73 20 64 74 65 2e 0d 0a 0d 0a 09 84 54 68 65 20 74 65 73 74 72 65 63 6f 72 ┆ Process dte. The testrecor┆ 0x319c0…319e0 64 73 20 67 65 6e 65 72 61 74 65 64 20 69 6e 20 74 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 20 ┆ds generated in the dte process ┆ 0x319e0…31a00 68 61 76 65 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 0a 19 89 80 80 66 6f 72 6d 61 74 3a 0d ┆have the following format: ┆ 0x31a00…31a20 (397,) 0a 0d 0a 09 20 20 20 70 61 63 6b 65 64 20 72 65 63 6f 72 64 0d 0a 09 20 20 20 20 20 20 09 20 20 ┆ packed record ┆ 0x31a20…31a40 74 69 6d 65 09 3a 20 69 6e 74 65 67 65 72 3b 0d 0a 09 20 20 20 20 20 20 09 20 20 6b 69 6e 64 09 ┆time : integer; kind ┆ 0x31a40…31a60 3a 20 30 2e 2e 31 35 3b 0d 0a 09 20 20 20 20 20 20 09 20 20 73 74 61 74 65 09 3a 20 30 2e 2e 33 ┆: 0..15; state : 0..3┆ 0x31a60…31a80 3b 0d 0a 09 20 20 20 20 20 20 09 20 20 66 62 6f 6f 6c 09 3a 20 30 2e 2e 31 3b 0d 0a 09 20 20 20 ┆; fbool : 0..1; ┆ 0x31a80…31aa0 20 20 20 09 20 20 64 75 6d 6d 79 09 3a 20 30 2e 2e 31 3b 0d 0a 09 20 20 20 20 20 20 09 20 20 66 ┆ dummy : 0..1; f┆ 0x31aa0…31ac0 62 31 2c 0d 0a 09 20 20 20 20 20 20 09 20 20 66 62 32 09 3a 20 62 79 74 65 3b 0d 0a 09 20 20 20 ┆b1, fb2 : byte; ┆ 0x31ac0…31ae0 20 20 20 09 20 20 66 69 09 3a 20 69 6e 74 65 67 65 72 3b 0d 0a 09 20 20 20 09 65 6e 64 3b 0d 0a ┆ fi : integer; end; ┆ 0x31ae0…31b00 0d 0a 0d 0a 09 20 20 20 74 69 6d 65 09 09 3a 20 47 6c 6f 62 61 6c 20 64 74 65 20 74 69 6d 65 20 ┆ time : Global dte time ┆ 0x31b00…31b20 73 74 61 6d 70 2e 0d 0a 09 20 20 20 6b 69 6e 64 20 28 2a 29 09 3a 20 54 65 73 74 72 65 63 6f 72 ┆stamp. kind (*) : Testrecor┆ 0x31b20…31b40 64 20 74 79 70 65 20 28 73 65 65 20 74 61 62 6c 65 20 39 29 2e 0d 0a 09 20 20 20 73 74 61 74 65 ┆d type (see table 9). state┆ 0x31b40…31b60 20 28 2a 29 09 3a 20 84 54 68 65 20 63 75 72 72 65 6e 74 20 76 61 6c 75 65 20 6f 66 20 74 68 65 ┆ (*) : The current value of the┆ 0x31b60…31b80 20 64 74 65 20 73 74 61 74 65 20 76 61 72 69 61 62 6c 65 20 0a 19 9f 80 80 69 6e 20 74 68 65 20 ┆ dte state variable in the ┆ 0x31b80…31ba0 64 74 65 20 70 72 6f 63 65 73 73 2e 0d 0a 09 20 20 20 66 62 6f 6f 6c 09 09 3a 20 42 6f 6f 6c 65 ┆dte process. fbool : Boole┆ 0x31ba0…31bc0 61 6e 20 70 61 72 61 6d 65 74 65 72 20 66 69 65 6c 64 2e 0d 0a 09 20 20 20 66 62 31 2c 20 66 62 ┆an parameter field. fb1, fb┆ 0x31bc0…31be0 32 09 3a 20 42 79 74 65 20 70 61 72 61 6d 65 74 65 72 20 66 69 65 6c 64 73 2e 0d 0a 09 20 20 20 ┆2 : Byte parameter fields. ┆ 0x31be0…31c00 66 69 09 09 3a 20 49 6e 74 65 67 65 72 20 70 61 72 61 6d 65 74 65 72 20 66 69 65 6c 64 2e 0d 0a ┆fi : Integer parameter field. ┆ 0x31c00…31c20 (398,) 0d 0a 09 84 66 62 6f 6f 6c 2c 20 66 62 31 2c 20 66 62 32 2c 20 61 6e 64 20 66 69 20 63 6f 6e 74 ┆ fbool, fb1, fb2, and fi cont┆ 0x31c20…31c40 61 69 6e 73 20 64 69 66 66 65 72 65 6e 74 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 64 65 70 65 6e ┆ains different information depen┆ 0x31c40…31c60 64 69 6e 67 20 0a 19 89 80 80 6f 66 20 6b 69 6e 64 2e 20 49 6e 20 74 61 62 6c 65 20 39 20 74 68 ┆ding of kind. In table 9 th┆ 0x31c60…31c80 65 20 63 6f 6e 6e 65 63 74 69 6f 6e 73 20 62 65 74 77 65 65 6e 20 6b 69 6e 64 20 61 6e 64 20 74 ┆e connections between kind and t┆ 0x31c80…31ca0 68 65 20 70 61 72 61 6d 65 74 65 72 20 0a 19 89 80 80 66 69 65 6c 64 73 20 61 72 65 20 73 68 6f ┆he parameter fields are sho┆ 0x31ca0…31ca7 77 6e 2e 0d 0a 0d 0a ┆wn. ┆ 0x31ca7…31caa FormFeed { 0x31ca7…31caa 0c 80 9d ┆ ┆ 0x31ca7…31caa } 0x31caa…31cc0 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d ┆ ┆ 0x31cc0…31ce0 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d ┆ ┆ 0x31ce0…31d00 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 54 61 62 6c 65 20 39 3a ┆ Table 9:┆ 0x31d00…31d20 20 50 72 6f 63 65 73 73 20 64 74 65 2c 20 74 65 73 74 72 65 63 6f 72 64 20 6b 69 6e 64 20 61 6e ┆ Process dte, testrecord kind an┆ 0x31d20…31d35 64 20 70 61 72 61 6d 65 74 65 72 20 66 69 65 6c 64 73 2e 0d 0a ┆d parameter fields. ┆ 0x31d35…31d38 FormFeed { 0x31d35…31d38 0c 80 a7 ┆ ┆ 0x31d35…31d38 } 0x31d38…31d40 0a 20 20 20 20 20 20 20 ┆ ┆ 0x31d40…31d60 20 20 84 49 6e 20 74 68 65 20 64 74 65 74 65 73 74 20 70 72 6f 63 65 73 73 20 65 61 63 68 20 74 ┆ In the dtetest process each t┆ 0x31d60…31d80 65 73 74 72 65 63 6f 72 64 20 69 73 20 70 72 6f 63 65 73 73 65 64 20 61 6e 64 20 66 6f 72 6d 61 ┆estrecord is processed and forma┆ 0x31d80…31da0 74 74 65 64 20 0a 19 89 80 80 74 6f 20 6f 6e 65 20 70 72 69 6e 74 20 6c 69 6e 65 20 77 69 74 68 ┆tted to one print line with┆ 0x31da0…31dc0 20 74 68 65 20 66 6f 72 6d 61 74 3a 0d 0a 0d 0a b0 09 3c 74 69 6d 65 3e 20 3c 6b 69 6e 64 3e 20 ┆ the format: <time> <kind> ┆ 0x31dc0…31de0 3c 64 74 65 20 73 74 61 74 65 3e 20 3c 66 62 6f 6f 6c 3e 20 3c 66 62 31 3e 20 3c 66 62 32 3e 20 ┆<dte state> <fbool> <fb1> <fb2> ┆ 0x31de0…31e00 3c 66 69 3e 0d 0a 0d 0a 09 84 65 78 63 65 70 74 20 69 66 20 6b 69 6e 64 20 3d 20 31 35 2c 20 69 ┆<fi> except if kind = 15, i┆ 0x31e00…31e20 (399,) 6e 20 77 68 69 63 68 20 63 61 73 65 20 3c 64 74 65 20 73 74 61 74 65 3e 20 61 6e 64 20 3c 66 62 ┆n which case <dte state> and <fb┆ 0x31e20…31e40 6f 6f 6c 3e 20 61 72 65 20 0a 19 89 80 80 6f 75 74 80 6d 69 74 74 65 64 2e 0d 0a 0d 0a 09 84 54 ┆ool> are out mitted. T┆ 0x31e40…31e60 68 65 20 74 65 78 74 20 70 72 69 6e 74 65 64 20 66 6f 72 20 74 68 65 20 64 69 66 66 65 72 65 6e ┆he text printed for the differen┆ 0x31e60…31e80 74 20 6b 69 6e 64 20 76 61 6c 75 65 73 20 61 72 65 20 73 68 6f 77 6e 20 69 6e 20 74 61 62 6c 65 ┆t kind values are shown in table┆ 0x31e80…31ea0 20 0a 19 89 80 80 39 2c 20 77 68 65 72 65 61 73 20 74 68 65 20 74 65 78 74 73 20 70 72 69 6e 74 ┆ 9, whereas the texts print┆ 0x31ea0…31ec0 65 64 20 66 6f 72 20 74 68 65 20 6f 74 68 65 72 20 66 69 65 6c 64 73 20 61 72 65 20 6f 75 74 6c ┆ed for the other fields are outl┆ 0x31ec0…31ee0 69 6e 65 64 20 69 6e 20 0a 19 89 80 80 61 70 80 70 65 6e 64 69 78 20 44 2e 32 2e 0d 0a 0d 0a 0d ┆ined in ap pendix D.2. ┆ 0x31ee0…31f00 0a a1 36 2e 32 2e 34 2e 32 09 54 65 73 74 6f 75 74 70 75 74 20 66 72 6f 6d 20 50 72 6f 63 65 73 ┆ 6.2.4.2 Testoutput from Proces┆ 0x31f00…31f20 73 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 2e 0d 0a 0d 0a 09 84 54 68 65 20 74 65 73 74 72 65 63 6f ┆s dte_lcnzero. The testreco┆ 0x31f20…31f40 72 64 73 20 67 65 6e 65 72 61 74 65 64 20 69 6e 20 74 68 65 20 64 74 65 5f 6c 63 6e 7a 65 72 6f ┆rds generated in the dte_lcnzero┆ 0x31f40…31f60 20 70 72 6f 63 65 73 73 20 68 61 76 65 20 74 68 65 20 66 6f 6c 80 0a 19 89 80 80 6c 6f 77 69 6e ┆ process have the fol lowin┆ 0x31f60…31f80 67 20 66 6f 72 6d 61 74 3a 0d 0a 0d 0a 09 20 20 20 70 61 63 6b 65 64 20 72 65 63 6f 72 64 0d 0a ┆g format: packed record ┆ 0x31f80…31fa0 09 09 20 20 74 69 6d 65 09 3a 20 69 6e 74 65 67 65 72 3b 0d 0a 09 09 20 20 6b 69 6e 64 09 3a 20 ┆ time : integer; kind : ┆ 0x31fa0…31fc0 30 2e 2e 31 35 3b 0d 0a 09 09 20 20 73 74 61 74 65 09 3a 20 30 2e 2e 33 3b 0d 0a 09 09 20 20 64 ┆0..15; state : 0..3; d┆ 0x31fc0…31fe0 75 6d 6d 79 09 3a 20 30 2e 2e 33 3b 0d 0a 09 09 20 20 66 69 65 6c 64 31 2c 0d 0a 09 09 20 20 66 ┆ummy : 0..3; field1, f┆ 0x31fe0…32000 69 65 6c 64 32 2c 0d 0a 09 09 20 20 66 69 65 6c 64 33 09 3a 20 62 79 74 65 3b 0d 0a 09 09 65 6e ┆ield2, field3 : byte; en┆ 0x32000…32020 (400,) 64 3b 0d 0a 0d 0a 09 74 69 6d 65 09 09 20 20 3a 20 47 6c 6f 62 61 6c 20 64 74 65 20 74 69 6d 65 ┆d; time : Global dte time┆ 0x32020…32040 20 73 74 61 6d 70 2e 0d 0a 09 6b 69 6e 64 20 28 2a 29 09 09 20 20 3a 20 54 65 73 74 72 65 63 6f ┆ stamp. kind (*) : Testreco┆ 0x32040…32060 72 64 20 74 79 70 65 20 28 73 65 65 20 74 61 62 6c 65 20 31 30 29 2e 0d 0a 09 73 74 61 74 65 20 ┆rd type (see table 10). state ┆ 0x32060…32080 28 2a 29 09 09 20 20 3a 20 84 54 68 65 20 63 75 72 72 65 6e 74 20 76 61 6c 75 65 20 6f 66 20 74 ┆(*) : The current value of t┆ 0x32080…320a0 68 65 20 64 74 65 20 73 74 61 74 65 20 76 61 72 69 80 0a 19 a1 80 80 61 62 6c 65 20 69 6e 20 74 ┆he dte state vari able in t┆ 0x320a0…320c0 68 65 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 20 70 72 6f 63 65 73 73 2e 0d 0a 09 66 69 65 6c 64 31 ┆he dte_lcnzero process. field1┆ 0x320c0…320e0 2c 20 66 69 65 6c 64 32 2c 20 66 69 65 6c 64 33 3a 20 84 50 61 72 61 6d 65 74 65 72 20 66 69 65 ┆, field2, field3: Parameter fie┆ 0x320e0…32100 6c 64 73 20 64 65 70 65 6e 64 69 6e 67 20 6f 66 20 6b 69 6e 64 2e 20 54 68 65 20 0a 19 a1 80 80 ┆lds depending of kind. The ┆ 0x32100…32120 63 6f 6e 6e 65 63 74 69 6f 6e 73 20 61 72 65 20 73 68 6f 77 6e 20 69 6e 20 74 61 62 6c 65 20 31 ┆connections are shown in table 1┆ 0x32120…32126 30 2e 0d 0a 0d 0a ┆0. ┆ 0x32126…32129 FormFeed { 0x32126…32129 0c 80 a3 ┆ ┆ 0x32126…32129 } 0x32129…32140 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ 0x32140…32160 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ 0x32160…32180 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 54 61 62 6c 65 20 31 30 3a ┆ Table 10:┆ 0x32180…321a0 20 84 50 72 6f 63 65 73 73 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 2c 20 74 65 73 74 72 65 63 6f 72 ┆ Process dte_lcnzero, testrecor┆ 0x321a0…321c0 64 20 6b 69 6e 64 20 61 6e 64 20 70 61 72 61 6d 65 74 65 72 20 0a 19 93 80 80 66 69 65 6c 64 73 ┆d kind and parameter fields┆ 0x321c0…321c3 2e 0d 0a ┆. ┆ 0x321c3…321c6 FormFeed { 0x321c3…321c6 0c 80 a8 ┆ ┆ 0x321c3…321c6 } 0x321c6…321e0 0a 09 84 49 6e 20 74 68 65 20 64 74 65 74 65 73 74 20 70 72 6f 63 65 73 73 20 ┆ In the dtetest process ┆ 0x321e0…32200 65 61 63 68 20 74 65 73 74 72 65 63 6f 72 64 20 69 73 20 70 72 6f 63 65 73 73 65 64 20 61 6e 64 ┆each testrecord is processed and┆ 0x32200…32220 (401,) 20 66 6f 72 6d 61 74 74 65 64 20 0a 19 89 80 80 74 6f 20 6f 6e 65 20 70 72 69 6e 74 20 6c 69 6e ┆ formatted to one print lin┆ 0x32220…32240 65 20 77 69 74 68 20 74 68 65 20 66 6f 72 6d 61 74 3a 0d 0a 0d 0a b0 09 3c 74 69 6d 65 3e 20 3c ┆e with the format: <time> <┆ 0x32240…32260 6b 69 6e 64 3e 20 3c 64 74 65 20 73 74 61 74 65 3e 20 3c 66 69 65 6c 64 31 3e 20 3c 66 69 65 6c ┆kind> <dte state> <field1> <fiel┆ 0x32260…32280 64 32 3e 20 3c 66 69 65 6c 64 33 3e 20 3c 61 75 78 3e 0d 0a 0d 0a 09 84 3c 61 75 78 3e 20 64 65 ┆d2> <field3> <aux> <aux> de┆ 0x32280…322a0 70 65 6e 64 73 20 6f 66 20 74 68 65 20 74 79 70 65 20 6f 66 20 74 65 73 74 72 65 63 6f 72 64 20 ┆pends of the type of testrecord ┆ 0x322a0…322c0 28 6b 69 6e 64 29 2e 20 49 6e 20 61 70 70 65 6e 64 69 78 20 44 2e 32 20 0a 19 89 80 80 74 68 65 ┆(kind). In appendix D.2 the┆ 0x322c0…322e0 73 65 20 64 65 70 65 6e 64 61 6e 74 73 20 61 72 65 20 6f 75 74 6c 69 6e 65 64 2e 0d 0a 0d 0a 09 ┆se dependants are outlined. ┆ 0x322e0…32300 84 54 68 65 20 74 65 78 74 20 70 72 69 6e 74 65 64 20 66 6f 72 20 74 68 65 20 64 69 66 66 65 72 ┆ The text printed for the differ┆ 0x32300…32320 65 6e 74 20 6b 69 6e 64 20 76 61 6c 75 65 73 20 61 72 65 20 73 68 6f 77 6e 20 69 6e 20 74 61 62 ┆ent kind values are shown in tab┆ 0x32320…32340 6c 65 20 20 20 20 20 20 0a 19 89 80 80 31 30 2c 20 77 68 65 72 65 61 73 20 74 68 65 20 74 65 78 ┆le 10, whereas the tex┆ 0x32340…32360 74 73 20 70 72 69 6e 74 65 64 20 66 6f 72 20 74 68 65 20 6f 74 68 65 72 20 66 69 65 6c 64 73 20 ┆ts printed for the other fields ┆ 0x32360…32380 61 72 65 20 6f 75 74 6c 69 6e 65 64 20 69 6e 20 0a 19 89 80 80 61 70 70 65 6e 64 69 78 20 44 2e ┆are outlined in appendix D.┆ 0x32380…323a0 32 2e 0d 0a 0d 0a 0d 0a a1 36 2e 32 2e 34 2e 33 09 54 65 73 74 6f 75 74 70 75 74 20 66 72 6f 6d ┆2. 6.2.4.3 Testoutput from┆ 0x323a0…323c0 20 50 72 6f 63 65 73 73 20 64 74 65 5f 63 68 61 6e 2e 0d 0a 0d 0a 09 84 54 68 65 20 74 65 73 74 ┆ Process dte_chan. The test┆ 0x323c0…323e0 72 65 63 6f 72 64 73 20 67 65 6e 65 72 61 74 65 64 20 69 6e 20 74 68 65 20 64 74 65 5f 63 68 61 ┆records generated in the dte_cha┆ 0x323e0…32400 6e 20 70 72 6f 63 65 73 73 20 68 61 76 65 20 74 68 65 20 66 6f 6c 6c 6f 77 80 0a 19 89 80 80 69 ┆n process have the follow i┆ 0x32400…32420 (402,) 6e 67 20 66 6f 72 6d 61 74 3a 0d 0a 0d 0a 09 20 20 20 70 61 63 6b 65 64 20 72 65 63 6f 72 64 0d ┆ng format: packed record ┆ 0x32420…32440 0a 09 09 20 20 74 69 6d 65 09 3a 20 69 6e 74 65 67 65 72 3b 0d 0a 09 09 20 20 6b 69 6e 64 09 3a ┆ time : integer; kind :┆ 0x32440…32460 20 30 2e 2e 31 35 3b 0d 0a 09 09 20 20 63 5f 61 63 74 69 76 65 2c 0d 0a 09 09 20 20 66 69 65 6c ┆ 0..15; c_active, fiel┆ 0x32460…32480 64 35 09 3a 20 62 6f 6f 6c 65 61 6e 3b 0d 0a 09 09 20 20 64 75 6d 6d 79 31 09 3a 20 30 2e 2e 33 ┆d5 : boolean; dummy1 : 0..3┆ 0x32480…324a0 3b 0d 0a 09 09 20 20 73 74 61 74 65 09 3a 20 30 2e 2e 33 31 3b 0d 0a 09 09 20 20 64 75 6d 6d 79 ┆; state : 0..31; dummy┆ 0x324a0…324c0 32 09 3a 20 30 2e 2e 37 3b 0d 0a 09 09 20 20 66 69 65 6c 64 31 2c 0d 0a 09 09 20 20 66 69 65 6c ┆2 : 0..7; field1, fiel┆ 0x324c0…324e0 64 32 2c 0d 0a 09 09 20 20 66 69 65 6c 64 33 2c 0d 0a 09 09 20 20 66 69 65 6c 64 34 09 3a 20 62 ┆d2, field3, field4 : b┆ 0x324e0…32500 79 74 65 3b 0d 0a 09 09 65 6e 64 3b 0d 0a 0d 0a 09 74 69 6d 65 09 09 3a 20 47 6c 6f 62 61 6c 20 ┆yte; end; time : Global ┆ 0x32500…32520 64 74 65 20 74 69 6d 65 20 73 74 61 6d 70 2e 0d 0a 09 6b 69 6e 64 20 28 2a 29 09 09 3a 20 54 65 ┆dte time stamp. kind (*) : Te┆ 0x32520…32540 73 74 72 65 63 6f 72 64 20 74 79 70 65 20 28 73 65 65 20 74 61 62 6c 65 20 31 31 29 2e 0d 0a 09 ┆strecord type (see table 11). ┆ 0x32540…32560 63 5f 61 63 74 69 76 65 20 28 2a 29 09 3a 20 84 54 68 65 20 76 61 72 69 61 62 6c 65 20 27 63 68 ┆c_active (*) : The variable 'ch┆ 0x32560…32580 61 6e 5f 61 63 74 69 76 65 27 2c 20 77 68 69 63 68 20 69 73 20 74 72 75 65 20 69 66 20 0a 19 9f ┆an_active', which is true if ┆ 0x32580…325a0 80 80 74 68 65 20 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 20 69 6e 63 61 72 6e 61 74 69 ┆ the dte_chan process incarnati┆ 0x325a0…325c0 6f 6e 20 69 73 20 61 63 74 69 76 65 2e 0d 0a 09 73 74 61 74 65 20 28 2a 29 09 09 3a 20 84 54 68 ┆on is active. state (*) : Th┆ 0x325c0…325e0 65 20 63 75 72 72 65 6e 74 20 76 61 6c 75 65 20 6f 66 20 74 68 65 20 76 61 72 69 61 62 6c 65 0d ┆e current value of the variable ┆ 0x325e0…32600 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x32600…32620 (403,) 84 27 63 68 61 6e 5f 72 65 63 2e 63 68 61 6e 5f 73 74 61 74 65 27 2e 0d 0a 09 66 69 65 6c 64 31 ┆ 'chan_rec.chan_state'. field1┆ 0x32620…32640 2c 20 66 69 65 6c 64 32 2c 20 66 69 65 6c 64 33 2c 0d 0a 09 66 69 65 6c 64 34 2c 20 66 69 65 6c ┆, field2, field3, field4, fiel┆ 0x32640…32660 64 35 20 28 2a 29 09 3a 20 84 50 61 72 61 6d 65 74 65 72 20 66 69 65 6c 64 73 20 64 65 70 65 6e ┆d5 (*) : Parameter fields depen┆ 0x32660…32680 64 69 6e 67 20 6f 66 20 6b 69 6e 64 2e 20 54 68 65 20 63 6f 6e 80 0a 19 9f 80 80 6e 65 63 74 69 ┆ding of kind. The con necti┆ 0x32680…3269e 6f 6e 73 20 61 72 65 20 73 68 6f 77 6e 20 69 6e 20 74 61 62 6c 65 20 31 31 2e 0d 0a 0d 0a ┆ons are shown in table 11. ┆ 0x3269e…326a1 FormFeed { 0x3269e…326a1 0c 80 aa ┆ ┆ 0x3269e…326a1 } 0x326a1…326c0 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ 0x326c0…326e0 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ 0x326e0…32700 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 54 61 62 6c 65 20 31 31 3a 20 50 72 6f 63 65 73 73 ┆ Table 11: Process┆ 0x32700…32720 20 64 74 65 5f 63 68 61 6e 2c 20 74 65 73 74 72 65 63 6f 72 64 20 6b 69 6e 64 20 61 6e 64 20 70 ┆ dte_chan, testrecord kind and p┆ 0x32720…32732 61 72 61 6d 65 74 65 72 20 66 69 65 6c 64 73 2e 0d 0a ┆arameter fields. ┆ 0x32732…32735 FormFeed { 0x32732…32735 0c 80 a7 ┆ ┆ 0x32732…32735 } 0x32735…32740 0a 09 84 49 6e 20 74 68 65 20 64 ┆ In the d┆ 0x32740…32760 74 65 74 65 73 74 20 70 72 6f 63 65 73 73 20 65 61 63 68 20 74 65 73 74 72 65 63 6f 72 64 20 69 ┆tetest process each testrecord i┆ 0x32760…32780 73 20 70 72 6f 63 65 73 73 65 64 20 61 6e 64 20 66 6f 72 6d 61 74 74 65 64 20 0a 19 89 80 80 74 ┆s processed and formatted t┆ 0x32780…327a0 6f 20 6f 6e 65 20 70 72 69 6e 74 20 6c 69 6e 65 20 77 69 74 68 20 74 68 65 20 66 6f 72 6d 61 74 ┆o one print line with the format┆ 0x327a0…327c0 3a 0d 0a 0d 0a 0d 0a 09 b0 3c 74 69 6d 65 3e 20 3c 6b 69 6e 64 3e 20 3c 73 74 61 74 65 3e 20 3c ┆: <time> <kind> <state> <┆ 0x327c0…327e0 63 5f 61 63 74 69 76 65 3e 20 3c 66 69 65 6c 64 35 3e 0d 0a 09 b0 84 3c 64 65 63 2e 66 69 65 6c ┆c_active> <field5> <dec.fiel┆ 0x327e0…32800 64 31 3e 20 3c 68 65 78 2e 66 69 65 6c 64 31 3e 20 3c 64 65 63 2e 66 69 65 6c 64 32 3e 20 3c 68 ┆d1> <hex.field1> <dec.field2> <h┆ 0x32800…32820 (404,) 65 78 2e 66 69 65 6c 64 32 3e 20 3c 64 65 63 2e 66 69 65 6c 64 33 3e 20 0a 19 89 81 82 3c 68 65 ┆ex.field2> <dec.field3> <he┆ 0x32820…32840 78 2e 66 69 65 6c 64 33 3e 20 3c 64 65 63 2e 66 69 65 6c 64 34 3e 20 3c 68 65 78 2e 66 69 65 6c ┆x.field3> <dec.field4> <hex.fiel┆ 0x32840…32860 64 20 34 3e 20 3c 61 75 78 3e 0d 0a 0d 0a 0d 0a 09 84 3c 61 75 78 3e 20 64 65 70 65 6e 64 73 20 ┆d 4> <aux> <aux> depends ┆ 0x32860…32880 6f 66 20 74 68 65 20 74 79 70 65 20 6f 66 20 74 65 73 74 72 65 63 6f 72 64 20 28 6b 69 6e 64 29 ┆of the type of testrecord (kind)┆ 0x32880…328a0 20 61 6e 64 20 69 6e 20 61 70 70 65 6e 64 69 78 20 44 2e 32 20 0a 19 89 80 80 74 68 65 73 65 20 ┆ and in appendix D.2 these ┆ 0x328a0…328c0 64 65 70 65 6e 64 61 6e 74 73 20 61 72 65 20 6f 75 74 6c 69 6e 65 64 2e 0d 0a 0d 0a 20 20 20 20 ┆dependants are outlined. ┆ 0x328c0…328e0 20 20 20 20 20 84 54 68 65 20 74 65 78 74 20 70 72 69 6e 74 65 64 20 66 6f 72 20 74 68 65 20 64 ┆ The text printed for the d┆ 0x328e0…32900 69 66 66 65 72 65 6e 74 20 6b 69 6e 64 20 76 61 6c 75 65 73 20 61 72 65 20 73 68 6f 77 6e 20 69 ┆ifferent kind values are shown i┆ 0x32900…32920 6e 20 74 61 62 6c 65 20 20 20 20 20 0a 19 89 80 80 31 31 2c 20 77 68 65 72 65 61 73 20 74 68 65 ┆n table 11, whereas the┆ 0x32920…32940 20 74 65 78 74 73 20 70 72 69 6e 74 65 64 20 66 6f 72 20 74 68 65 20 6f 74 68 65 72 20 66 69 65 ┆ texts printed for the other fie┆ 0x32940…32960 6c 64 73 20 61 72 65 20 6f 75 74 6c 69 6e 65 64 20 69 6e 20 0a 19 89 80 80 61 70 70 65 6e 64 69 ┆lds are outlined in appendi┆ 0x32960…32980 78 20 44 2e 32 2e 0d 0a 0d 0a 0d 0a a1 36 2e 32 2e 34 2e 34 09 43 6f 6d 6d 75 6e 69 63 61 74 69 ┆x D.2. 6.2.4.4 Communicati┆ 0x32980…329a0 6f 6e 20 4c 69 6e 65 20 53 74 61 74 75 73 20 49 6e 66 6f 72 6d 61 74 69 6f 6e 2e 0d 0a 0d 0a 09 ┆on Line Status Information. ┆ 0x329a0…329c0 84 41 73 20 6d 65 6e 74 69 6f 6e 65 64 20 69 6e 20 73 75 62 73 65 63 74 69 6f 6e 20 36 2e 32 2e ┆ As mentioned in subsection 6.2.┆ 0x329c0…329e0 31 20 64 69 66 66 65 72 65 6e 74 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 63 6f 6e 63 65 72 6e 69 ┆1 different information concerni┆ 0x329e0…32a00 6e 67 20 0a 19 89 80 80 74 68 65 20 73 74 61 74 75 73 20 6f 66 20 74 68 65 20 63 6f 6d 6d 75 6e ┆ng the status of the commun┆ 0x32a00…32a20 (405,) 69 63 61 74 69 6f 6e 20 6c 69 6e 65 20 6d 61 79 20 62 65 20 70 72 69 6e 74 65 64 20 6f 6e 20 74 ┆ication line may be printed on t┆ 0x32a20…32a40 68 65 20 63 6f 6e 80 0a 19 89 80 80 73 6f 6c 65 2e 20 42 65 6c 6f 77 20 61 72 65 20 65 61 63 68 ┆he con sole. Below are each┆ 0x32a40…32a60 20 74 65 78 74 20 70 72 69 6e 74 65 64 20 64 65 73 63 72 69 62 65 64 20 61 6e 64 20 74 68 65 79 ┆ text printed described and they┆ 0x32a60…32a80 20 61 72 65 20 67 72 6f 75 70 70 65 64 20 0a 19 89 80 80 61 63 63 6f 72 64 69 6e 67 20 74 6f 20 ┆ are groupped according to ┆ 0x32a80…32aa0 77 68 69 63 68 20 62 69 74 20 73 65 74 74 69 6e 67 20 69 6e 20 74 68 65 20 74 65 73 74 62 69 74 ┆which bit setting in the testbit┆ 0x32aa0…32ac0 73 20 72 65 63 6f 72 64 2c 20 74 68 61 74 20 77 69 6c 6c 20 0a 19 89 80 80 70 72 6f 76 6f 6b 65 ┆s record, that will provoke┆ 0x32ac0…32ae0 20 74 68 65 20 70 72 69 6e 74 2e 20 54 68 65 20 69 6e 74 65 72 6e 61 6c 20 64 74 65 20 70 72 6f ┆ the print. The internal dte pro┆ 0x32ae0…32b00 63 65 64 75 72 65 20 b0 64 74 65 5f 6d 65 73 73 61 67 65 f0 20 69 73 20 75 73 65 64 20 0a 19 89 ┆cedure dte_message is used ┆ 0x32b00…32b20 81 80 74 6f 20 66 6f 72 6d 61 74 20 74 68 65 20 70 72 69 6e 74 65 64 20 74 65 78 74 2e 20 3c 68 ┆ to format the printed text. <h┆ 0x32b20…32b40 68 2e 6d 6d 2e 73 73 3e 20 69 73 20 74 69 6d 65 20 28 68 6f 75 72 2c 20 6d 69 6e 75 74 65 2c 20 ┆h.mm.ss> is time (hour, minute, ┆ 0x32b40…32b60 0a 19 89 81 80 73 65 63 6f 6e 64 29 20 77 68 65 6e 20 74 68 65 20 44 54 45 20 6f 62 73 65 72 76 ┆ second) when the DTE observ┆ 0x32b60…32b80 65 73 20 74 68 65 20 65 76 65 6e 74 2e 0d 0a 0d 0a b0 09 a1 6c 69 6e 65 20 65 76 65 6e 74 0d 0a ┆es the event. line event ┆ 0x32b80…32ba0 0d 0a 09 a1 e1 20 20 20 3c 68 68 2e 6d 6d 2e 73 73 3e 20 20 6c 69 6e 65 20 75 70 0d 0a 0d 0a 09 ┆ <hh.mm.ss> line up ┆ 0x32ba0…32bc0 84 54 68 65 20 63 6f 6d 6d 75 6e 69 63 61 69 74 6f 6e 20 6c 69 6e 65 20 69 73 20 63 6f 6e 6e 65 ┆ The communicaiton line is conne┆ 0x32bc0…32be0 63 74 65 64 20 6f 6e 20 6c 65 76 65 6c 20 32 20 28 68 64 6c 63 20 63 6f 6e 6e 65 63 74 69 6f 6e ┆cted on level 2 (hdlc connection┆ 0x32be0…32c00 20 0a 19 89 80 80 70 65 72 66 6f 72 6d 65 64 29 2e 0d 0a 0d 0a 0d 0a 09 a1 e1 20 20 20 3c 68 68 ┆ performed). <hh┆ 0x32c00…32c1c (406,) 2e 6d 6d 2e 73 73 3e 20 20 6c 69 6e 65 20 65 76 65 6e 74 20 3c 78 78 3e 0d 0a 0d 0a ┆.mm.ss> line event <xx> ┆ 0x32c1c…32c1f FormFeed { 0x32c1c…32c1f 0c 80 a5 ┆ ┆ 0x32c1c…32c1f } 0x32c1f…32c20 0a ┆ ┆ 0x32c20…32c40 09 84 41 6e 20 68 64 6c 63 20 6c 69 6e 65 20 65 76 65 6e 74 20 68 61 73 20 62 65 65 6e 20 72 65 ┆ An hdlc line event has been re┆ 0x32c40…32c60 70 6f 72 74 65 64 20 74 6f 20 74 68 65 20 44 54 45 2e 0d 0a 09 84 54 68 65 20 6c 69 6e 65 20 73 ┆ported to the DTE. The line s┆ 0x32c60…32c80 74 61 74 65 20 69 73 20 6e 6f 74 20 63 68 61 6e 67 65 64 2e 20 3c 78 78 3e 20 69 73 20 74 68 65 ┆tate is not changed. <xx> is the┆ 0x32c80…32ca0 20 65 76 65 6e 74 20 6e 75 6d 62 65 72 20 72 65 74 75 72 6e 65 64 20 0a 19 89 80 80 66 72 6f 6d ┆ event number returned from┆ 0x32ca0…32cc0 20 74 68 65 20 48 44 4c 43 20 28 70 6c 65 61 73 65 20 72 65 66 65 72 20 74 6f 20 72 65 66 2e 20 ┆ the HDLC (please refer to ref. ┆ 0x32cc0…32ce0 28 39 29 29 2e 0d 0a 0d 0a 09 a1 e1 20 20 20 3c 68 68 2e 6d 6d 2e 73 73 3e 20 20 6c 69 6e 65 20 ┆(9)). <hh.mm.ss> line ┆ 0x32ce0…32d00 64 6f 77 6e 0d 0a 0d 0a 09 54 68 65 20 63 6f 6d 6d 75 6e 69 63 61 69 74 6f 6e 20 6c 69 6e 65 20 ┆down The communicaiton line ┆ 0x32d00…32d20 69 73 20 64 69 73 63 6f 6e 6e 65 63 74 65 64 2e 0d 0a 09 54 68 65 20 70 72 65 76 69 6f 75 73 20 ┆is disconnected. The previous ┆ 0x32d20…32d40 73 74 61 74 65 20 77 61 73 20 6c 65 76 65 6c 20 32 20 72 65 61 64 79 2e 0d 0a 0d 0a e1 09 a1 e1 ┆state was level 2 ready. ┆ 0x32d40…32d60 20 20 20 3c 68 68 2e 6d 6d 2e 73 73 3e 20 20 6e 65 74 77 6f 72 6b 20 64 6f 77 6e 0d 0a 0d 0a 0d ┆ <hh.mm.ss> network down ┆ 0x32d60…32d80 0a 09 54 68 65 20 63 6f 6d 6d 75 6e 69 63 61 69 74 6f 6e 20 6c 69 6e 65 20 69 73 20 64 69 73 63 ┆ The communicaiton line is disc┆ 0x32d80…32da0 6f 6e 6e 65 63 74 65 64 2e 0d 0a 09 54 68 65 20 70 72 65 76 69 6f 75 73 20 73 74 61 74 65 20 77 ┆onnected. The previous state w┆ 0x32da0…32dc0 61 73 20 6c 65 76 65 6c 20 33 20 72 65 61 64 79 2e 0d 0a 0d 0a 0d 0a b0 09 a1 6d 6f 64 65 6d 20 ┆as level 3 ready. modem ┆ 0x32dc0…32de0 73 69 67 6e 61 6c 73 0d 0a 0d 0a 0d 0a 09 20 20 20 6d 6f 64 65 6d 20 73 69 67 6e 61 6c 73 20 3a ┆signals modem signals :┆ 0x32de0…32e00 20 44 54 52 3d 3c 78 3e 20 52 54 53 3d 3c 78 3e 20 52 49 3d 3c 78 3e 20 53 51 44 3d 3c 78 3e e1 ┆ DTR=<x> RTS=<x> RI=<x> SQD=<x> ┆ 0x32e00…32e20 (407,) 20 44 53 52 3d 3c 78 3e 20 44 43 44 3d 3c 78 3e 0d 0a 0d 0a 0d 0a 09 84 54 68 65 20 76 61 6c 75 ┆ DSR=<x> DCD=<x> The valu┆ 0x32e20…32e40 65 20 6f 66 20 74 68 65 20 6d 6f 64 65 6d 20 73 69 67 6e 61 6c 73 20 61 72 65 20 70 72 69 6e 74 ┆e of the modem signals are print┆ 0x32e40…32e60 65 64 2e 20 3c 78 3e 20 77 69 6c 6c 20 62 65 20 65 69 74 68 65 72 20 30 20 0a 19 89 80 80 6f 72 ┆ed. <x> will be either 0 or┆ 0x32e60…32e80 20 31 2c 20 73 69 67 6e 61 6c 20 6e 6f 74 20 73 65 74 20 6f 72 20 73 69 67 6e 61 6c 20 73 65 74 ┆ 1, signal not set or signal set┆ 0x32e80…32ea0 20 72 65 73 70 65 63 74 69 76 65 6c 79 2e 0d 0a 0d 0a 0d 0a b0 09 a1 6c 65 76 65 6c 20 33 20 72 ┆ respectively. level 3 r┆ 0x32ea0…32ec0 65 73 74 61 72 74 0d 0a 0d 0a 0d 0a 09 a1 e1 20 20 20 3c 68 68 2e 6d 6d 2e 73 73 3e 20 20 64 74 ┆estart <hh.mm.ss> dt┆ 0x32ec0…32ee0 65 20 72 65 73 74 61 72 74 65 64 0d 0a 0d 0a 0d 0a 09 84 54 68 65 20 44 54 45 20 68 61 73 20 72 ┆e restarted The DTE has r┆ 0x32ee0…32f00 65 63 65 69 76 65 64 20 61 20 52 45 53 54 41 52 54 20 49 4e 44 49 43 41 54 49 4f 4e 20 70 61 63 ┆eceived a RESTART INDICATION pac┆ 0x32f00…32f20 6b 65 74 20 66 72 6f 6d 20 74 68 65 20 44 43 45 2c 20 0a 19 89 80 80 61 6e 64 20 68 61 73 20 63 ┆ket from the DCE, and has c┆ 0x32f20…32f40 6f 6e 66 6f 72 6d 65 64 20 69 74 2e 20 54 68 65 20 72 65 73 74 61 72 74 20 70 68 61 73 65 20 69 ┆onformed it. The restart phase i┆ 0x32f40…32f50 73 20 69 6e 69 74 69 61 74 65 64 2e 0d 0a 0d 0a ┆s initiated. ┆ 0x32f50…32f53 FormFeed { 0x32f50…32f53 0c 80 a3 ┆ ┆ 0x32f50…32f53 } 0x32f53…32f60 0a 09 a1 e1 20 20 20 3c 68 68 2e 6d 6d ┆ <hh.mm┆ 0x32f60…32f80 2e 73 73 3e 20 20 64 74 65 20 72 65 73 74 61 72 74 20 74 69 6d 65 6f 75 74 20 20 3c 6e 6f 3e 0d ┆.ss> dte restart timeout <no> ┆ 0x32f80…32fa0 0a 0d 0a 09 84 41 20 72 65 73 74 61 72 74 20 74 69 6d 65 6f 75 74 20 68 61 73 20 6f 63 63 75 72 ┆ A restart timeout has occur┆ 0x32fa0…32fc0 65 64 20 69 6e 20 74 68 65 20 44 54 45 2e 20 41 20 6e 65 77 20 52 45 53 54 41 52 54 20 52 45 51 ┆ed in the DTE. A new RESTART REQ┆ 0x32fc0…32fe0 55 45 53 54 20 0a 19 89 80 80 70 61 63 6b 65 74 20 69 73 20 74 72 61 6e 73 6d 69 74 74 65 64 20 ┆UEST packet is transmitted ┆ 0x32fe0…33000 74 6f 20 74 68 65 20 44 43 45 2e 20 3c 6e 6f 3e 20 69 73 20 74 68 65 20 72 65 73 74 61 72 74 20 ┆to the DCE. <no> is the restart ┆ 0x33000…33020 (408,) 74 69 6d 65 6f 75 74 20 0a 19 89 80 80 70 65 72 69 6f 64 65 20 69 6e 20 73 65 63 6f 6e 64 73 2e ┆timeout periode in seconds.┆ 0x33020…33040 0d 0a 0d 0a 09 a1 e1 20 20 20 3c 68 68 2e 6d 6d 2e 73 73 3e 20 20 64 74 65 20 72 65 73 74 61 72 ┆ <hh.mm.ss> dte restar┆ 0x33040…33060 74 65 64 20 62 79 20 4e 43 0d 0a 0d 0a 09 84 54 68 65 20 44 54 45 20 68 61 73 20 69 6e 69 74 69 ┆ted by NC The DTE has initi┆ 0x33060…33080 61 74 65 64 20 61 20 72 65 73 74 61 72 74 20 70 68 61 73 65 20 72 65 71 75 65 73 74 65 64 20 62 ┆ated a restart phase requested b┆ 0x33080…330a0 79 20 74 68 65 20 4e 43 20 28 62 79 20 0a 19 89 80 80 74 68 65 20 4c 43 50 20 6f 70 65 72 61 74 ┆y the NC (by the LCP operat┆ 0x330a0…330c0 69 6f 6e 20 44 54 45 20 35 34 2c 30 29 2e 0d 0a 0d 0a 0d 0a 09 a1 b0 6c 69 6e 65 20 73 74 61 74 ┆ion DTE 54,0). line stat┆ 0x330c0…330e0 65 0d 0a 0d 0a 0d 0a 09 a1 e1 20 20 20 69 6e 74 65 72 6e 61 6c 20 6c 69 6e 65 20 73 74 61 74 65 ┆e internal line state┆ 0x330e0…33100 20 3a 20 3c 74 65 78 74 3e 20 3a 20 3c 78 78 3e 0d 0a 0d 0a 0d 0a 09 84 41 6e 20 65 76 65 6e 74 ┆ : <text> : <xx> An event┆ 0x33100…33120 20 62 75 66 66 65 72 20 68 61 73 20 62 65 65 6e 20 72 65 74 75 72 6e 65 64 20 66 72 6f 6d 20 74 ┆ buffer has been returned from t┆ 0x33120…33140 68 65 20 48 44 4c 43 2c 20 69 6e 64 69 63 61 74 69 6e 67 20 61 20 6c 69 6e 65 20 0a 19 89 80 80 ┆he HDLC, indicating a line ┆ 0x33140…33160 65 76 65 6e 74 2e 20 3c 74 65 78 74 3e 20 69 73 20 74 68 65 20 64 74 65 20 69 6e 74 65 72 6e 61 ┆event. <text> is the dte interna┆ 0x33160…33180 6c 20 6c 69 6e 65 20 73 74 61 74 65 20 61 6e 64 20 69 73 20 70 72 69 6e 74 65 64 20 61 73 20 0a ┆l line state and is printed as ┆ 0x33180…331a0 19 89 80 80 28 63 6f 6e 6e 65 63 74 65 64 2c 20 63 6f 6e 6e 65 63 74 69 6e 67 2c 20 64 5f 63 6f ┆ (connected, connecting, d_co┆ 0x331a0…331c0 6e 6e 65 63 74 69 6e 67 2c 20 64 69 73 63 5f 72 65 63 76 2c 20 64 69 73 63 6f 6e 6e 65 63 74 65 ┆nnecting, disc_recv, disconnecte┆ 0x331c0…331e0 64 29 20 61 6e 64 20 0a 19 89 80 80 65 71 75 61 6c 73 20 74 68 65 20 73 74 61 74 65 73 20 64 65 ┆d) and equals the states de┆ 0x331e0…33200 73 63 72 69 62 65 64 20 69 6e 20 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 32 2e 32 2e 20 3c 6e 6f ┆scribed in subsection 4.2.2. <no┆ 0x33200…33220 (409,) 3e 20 69 73 20 74 68 65 20 6c 69 6e 65 20 0a 19 89 80 80 65 76 65 6e 74 20 6e 75 6d 62 65 72 20 ┆> is the line event number ┆ 0x33220…33240 72 65 74 75 72 6e 65 64 20 66 72 6f 6d 20 74 68 65 20 48 44 4c 43 20 28 70 6c 65 61 73 65 20 72 ┆returned from the HDLC (please r┆ 0x33240…33258 65 66 65 72 20 74 6f 20 72 65 66 2e 20 28 39 29 29 2e 0d 0a 0d 0a 0d 0a ┆efer to ref. (9)). ┆ 0x33258…3325b FormFeed { 0x33258…3325b 0c 80 99 ┆ ┆ 0x33258…3325b } 0x3325b…33260 0a a1 36 2e 32 ┆ 6.2┆ 0x33260…33280 2e 34 2e 35 09 64 74 65 5f 61 63 63 65 73 73 20 54 65 73 74 20 4d 65 73 73 61 67 65 20 50 72 69 ┆.4.5 dte_access Test Message Pri┆ 0x33280…332a0 6e 74 2e 0d 0a 0d 0a 09 84 54 68 65 20 63 6f 6e 74 65 6e 73 20 6f 66 20 74 65 73 74 62 75 66 20 ┆nt. The contens of testbuf ┆ 0x332a0…332c0 28 73 75 62 73 65 63 74 69 6f 6e 20 36 2e 32 2e 32 20 6d 65 73 73 61 67 65 20 b0 64 74 65 5f 61 ┆(subsection 6.2.2 message dte_a┆ 0x332c0…332e0 63 63 65 73 73 5f 74 65 73 74 f0 29 20 0a 19 89 81 80 64 65 70 65 6e 64 73 20 6f 6e 20 74 68 65 ┆ccess_test ) depends on the┆ 0x332e0…33300 20 75 31 20 76 61 6c 75 65 2e 20 54 65 73 74 62 75 66 20 69 73 20 61 6e 20 61 72 72 61 79 20 6f ┆ u1 value. Testbuf is an array o┆ 0x33300…33320 66 20 31 34 20 62 79 74 65 73 2c 20 77 68 69 63 68 20 0a 19 89 81 80 63 6f 6e 74 61 69 6e 20 74 ┆f 14 bytes, which contain t┆ 0x33320…33340 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 3a 0d 0a 0d 0a 09 20 ┆he following information : ┆ 0x33340…33360 20 20 20 20 66 75 6e 63 20 20 20 20 20 20 20 31 20 28 31 32 38 29 20 20 20 20 20 20 20 20 20 20 ┆ func 1 (128) ┆ 0x33360…33380 20 32 20 28 31 36 30 29 20 20 20 20 20 20 20 20 20 20 20 33 20 28 32 32 34 29 0d 0a 09 74 65 73 ┆ 2 (160) 3 (224) tes┆ 0x33380…333a0 74 62 75 66 20 62 79 74 65 0d 0a 09 20 20 20 31 09 75 73 65 72 20 73 74 61 74 65 09 73 74 72 65 ┆tbuf byte 1 user state stre┆ 0x333a0…333c0 61 6d 20 73 74 61 74 65 09 63 6f 6e 6e 20 73 74 72 65 61 6d 2f 32 35 35 0d 0a 09 20 20 20 32 09 ┆am state conn stream/255 2 ┆ 0x333c0…333e0 6e 6f 20 6f 66 20 75 73 65 72 20 73 74 72 65 61 6d 73 09 75 73 65 72 20 69 6e 64 65 78 09 20 6e ┆no of user streams user index n┆ 0x333e0…33400 6f 74 20 75 73 65 64 0d 0a 09 20 20 20 33 09 6e 6f 20 6f 66 20 6c 6f 73 74 20 73 74 72 65 61 6d ┆ot used 3 no of lost stream┆ 0x33400…33420 (410,) 09 63 68 61 6e 6e 65 6c 20 6e 75 6d 62 65 72 09 20 6e 6f 74 20 75 73 65 64 0d 0a 09 09 65 76 65 ┆ channel number not used eve┆ 0x33420…33440 6e 74 73 0d 0a 09 20 20 20 34 09 6e 6f 20 6f 66 20 6c 6f 73 74 20 75 73 65 72 09 6e 6f 2e 20 6f ┆nts 4 no of lost user no. o┆ 0x33440…33460 66 20 62 75 66 66 65 72 73 20 61 74 09 20 6e 6f 74 20 75 73 65 64 0d 0a 09 09 65 76 65 6e 74 73 ┆f buffers at not used events┆ 0x33460…33480 09 09 73 75 73 70 65 6e 64 20 73 65 6d 0d 0a 09 20 20 20 35 09 6e 6f 20 6f 66 20 62 75 66 66 65 ┆ suspend sem 5 no of buffe┆ 0x33480…334a0 72 73 20 61 74 09 30 09 09 20 6e 6f 74 20 75 73 65 64 0d 0a 09 09 65 76 65 6e 74 20 73 65 6d 0d ┆rs at 0 not used event sem ┆ 0x334a0…334c0 0a 09 20 20 20 36 09 6e 6f 20 6f 66 20 62 75 66 66 65 72 73 20 61 74 09 30 3d 20 69 6e 74 65 72 ┆ 6 no of buffers at 0= inter┆ 0x334c0…334e0 6e 61 6c 20 72 65 66 20 6e 69 6c 09 20 6e 6f 74 20 75 73 65 64 0d 0a 09 09 67 65 6e 65 72 61 6c ┆nal ref nil not used general┆ 0x334e0…33500 20 73 65 6d 09 31 3d 20 69 6e 74 2e 20 72 65 66 20 6e 6f 74 20 6e 69 6c 0d 0a 09 20 20 20 37 09 ┆ sem 1= int. ref not nil 7 ┆ 0x33500…33520 6c 6f 73 74 20 75 73 65 72 20 65 76 65 6e 74 2c 09 30 09 09 20 6e 6f 74 20 75 73 65 64 0d 0a 09 ┆lost user event, 0 not used ┆ 0x33520…33540 09 74 79 70 65 0d 0a 09 20 20 20 38 09 6c 6f 73 74 20 75 73 65 72 20 65 76 65 6e 74 2c 09 69 6e ┆ type 8 lost user event, in┆ 0x33540…33560 74 65 72 6e 20 73 74 61 74 65 09 20 6e 6f 74 20 75 73 65 64 0d 0a 09 09 63 61 75 73 65 0d 0a 09 ┆tern state not used cause ┆ 0x33560…33580 20 20 20 39 09 6c 6f 73 74 20 75 73 65 72 20 65 76 65 6e 74 2c 09 30 09 09 20 6e 6f 74 20 75 73 ┆ 9 lost user event, 0 not us┆ 0x33580…335a0 65 64 0d 0a 09 09 64 69 61 67 6e 6f 73 74 69 63 0d 0a 09 20 20 31 30 09 20 6e 6f 74 20 75 73 65 ┆ed diagnostic 10 not use┆ 0x335a0…335c0 64 09 09 30 09 09 20 6e 6f 74 20 75 73 65 64 0d 0a 09 20 20 31 31 09 20 6e 6f 74 20 75 73 65 64 ┆d 0 not used 11 not used┆ 0x335c0…335e0 09 09 6c 6f 73 74 20 73 74 72 65 61 6d 20 65 76 65 6e 74 2c 09 20 6e 6f 74 20 75 73 65 64 0d 0a ┆ lost stream event, not used ┆ 0x335e0…33600 09 09 09 09 74 79 70 65 0d 0a 09 20 20 31 32 09 20 6e 6f 74 20 75 73 65 64 09 09 6c 6f 73 74 20 ┆ type 12 not used lost ┆ 0x33600…33620 (411,) 73 74 72 65 61 6d 20 65 76 65 6e 74 2c 09 20 6e 6f 74 20 75 73 65 64 0d 0a 09 09 09 09 63 61 75 ┆stream event, not used cau┆ 0x33620…33640 73 65 0d 0a 09 20 20 31 33 09 20 6e 6f 74 20 75 73 65 64 09 09 6c 6f 73 74 20 73 74 72 65 61 6d ┆se 13 not used lost stream┆ 0x33640…33660 20 65 76 65 6e 74 2c 09 20 6e 6f 74 20 75 73 65 64 0d 0a 09 09 09 09 64 69 61 67 6e 6f 73 74 69 ┆ event, not used diagnosti┆ 0x33660…33680 63 0d 0a 09 20 20 31 34 09 20 6e 6f 74 20 75 73 65 64 09 09 6e 6f 20 6f 66 20 6c 6f 73 74 20 65 ┆c 14 not used no of lost e┆ 0x33680…336a0 76 65 6e 74 73 09 20 6e 6f 74 20 75 73 65 64 0d 0a 0d 0a 09 84 54 68 65 20 70 72 69 6e 74 69 6e ┆vents not used The printin┆ 0x336a0…336c0 67 20 6f 6e 20 74 68 65 20 63 6f 6e 73 6f 6c 65 20 77 69 6c 6c 20 63 6f 6e 74 61 69 6e 20 61 20 ┆g on the console will contain a ┆ 0x336c0…336e0 68 65 61 64 65 72 20 6c 69 6e 65 0d 0a 0d 0a 09 09 09 20 20 b0 75 73 65 72 20 69 6e 64 65 78 20 ┆header line user index ┆ 0x336e0…33700 3a 0d 0a 09 b0 4f 70 65 72 61 74 69 6f 6e 20 3a 20 20 3c 66 75 6e 63 3e 20 20 20 73 74 72 65 61 ┆: Operation : <func> strea┆ 0x33700…33720 6d 20 6e 6f 20 3a 20 20 20 20 3c 75 33 3e 20 2f 20 3c 75 34 3e 0d 0a 09 09 09 20 20 b0 73 74 72 ┆m no : <u3> / <u4> str┆ 0x33720…33740 65 61 6d 20 6e 6f 20 3a 0d 0a 0d 0a 8c 80 a7 0a 09 84 54 68 69 73 20 6c 69 6e 65 20 77 69 6c 6c ┆eam no : This line will┆ 0x33740…33760 20 62 65 20 66 6f 6c 6c 6f 77 65 64 20 62 79 20 61 20 6c 69 6e 65 20 77 68 65 72 65 20 65 61 63 ┆ be followed by a line where eac┆ 0x33760…33780 68 20 62 79 74 65 20 69 6e 20 74 68 65 20 0a 19 89 80 80 74 65 73 74 62 75 66 20 69 73 20 70 72 ┆h byte in the testbuf is pr┆ 0x33780…337a0 69 6e 74 65 64 20 61 73 20 61 20 64 69 67 69 74 20 61 6e 64 20 6f 6e 65 20 6c 69 6e 65 20 77 68 ┆inted as a digit and one line wh┆ 0x337a0…337c0 65 72 65 20 74 68 65 20 62 79 74 65 20 69 73 20 0a 19 89 80 80 70 72 69 6e 74 65 64 20 68 65 78 ┆ere the byte is printed hex┆ 0x337c0…337e0 61 64 65 63 69 6d 61 6c 2e 0d 0a 0d 0a 09 84 46 6f 72 20 74 68 65 20 73 74 61 74 65 20 76 61 72 ┆adecimal. For the state var┆ 0x337e0…33800 69 61 62 6c 65 73 20 61 6e 64 20 65 76 65 6e 74 20 74 79 70 65 73 20 74 68 65 20 66 6f 6c 6c 6f ┆iables and event types the follo┆ 0x33800…33820 (412,) 77 69 6e 67 20 69 6e 74 65 72 70 72 65 80 0a 19 89 80 80 74 61 74 69 6f 6e 20 63 61 6e 20 62 65 ┆wing interpre tation can be┆ 0x33820…33840 20 61 70 70 6c 69 65 64 20 3a 0d 0a 0d 0a 09 a1 75 73 65 72 20 73 74 61 74 65 e1 20 28 70 6c 65 ┆ applied : user state (ple┆ 0x33840…33860 61 73 65 20 73 65 65 20 61 6c 73 6f 20 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 33 2e 32 29 0d 0a ┆ase see also subsection 4.3.2) ┆ 0x33860…33880 09 09 30 20 3d 20 66 72 65 65 0d 0a 09 09 31 20 3d 20 77 5f 72 65 73 63 0d 0a 09 09 32 20 3d 20 ┆ 0 = free 1 = w_resc 2 = ┆ 0x33880…338a0 69 64 6c 65 0d 0a 09 09 33 20 3d 20 61 63 74 69 76 65 0d 0a 0d 0a 09 a1 73 74 72 65 61 6d 20 73 ┆idle 3 = active stream s┆ 0x338a0…338c0 74 61 74 65 e1 20 28 70 6c 65 61 73 65 20 73 65 65 20 61 6c 73 6f 20 73 75 62 73 65 63 74 69 6f ┆tate (please see also subsectio┆ 0x338c0…338e0 6e 20 34 2e 33 2e 32 29 0d 0a 09 09 30 20 3d 20 63 6c 65 61 72 0d 0a 09 09 31 20 3d 20 77 5f 75 ┆n 4.3.2) 0 = clear 1 = w_u┆ 0x338e0…33900 72 65 73 70 0d 0a 09 09 32 20 3d 20 77 5f 61 63 63 70 0d 0a 09 09 33 20 3d 20 64 61 74 61 0d 0a ┆resp 2 = w_accp 3 = data ┆ 0x33900…33920 09 09 34 20 3d 20 75 5f 63 6c 65 61 72 0d 0a 0d 0a 09 a1 69 6e 74 65 72 6e 20 73 74 61 74 65 e1 ┆ 4 = u_clear intern state ┆ 0x33920…33940 20 28 70 6c 65 61 73 65 20 73 65 65 20 61 6c 73 6f 20 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 33 ┆ (please see also subsection 4.3┆ 0x33940…33960 2e 32 29 0d 0a 09 09 30 20 3d 20 63 6c 65 61 72 65 64 0d 0a 09 09 32 20 3d 20 77 61 69 74 69 6e ┆.2) 0 = cleared 2 = waitin┆ 0x33960…33980 67 0d 0a 09 09 33 20 3d 20 64 61 74 61 5f 78 66 65 72 0d 0a 09 09 34 20 3d 20 63 6c 65 61 72 69 ┆g 3 = data_xfer 4 = cleari┆ 0x33980…339a0 6e 67 0d 0a 0d 0a 09 a1 65 76 65 6e 74 20 74 79 70 65 e1 0d 0a 09 09 31 36 20 3d 20 64 74 65 5f ┆ng event type 16 = dte_┆ 0x339a0…339c0 65 76 5f 64 69 73 63 2c 09 20 6c 69 6e 65 20 64 69 73 63 6f 6e 6e 65 63 74 65 64 0d 0a 09 09 32 ┆ev_disc, line disconnected 2┆ 0x339c0…339e0 34 20 3d 20 64 74 65 5f 65 76 5f 63 6c 65 61 72 2c 09 20 73 74 72 65 61 6d 20 63 6c 65 61 72 65 ┆4 = dte_ev_clear, stream cleare┆ 0x339e0…33a00 64 0d 0a 09 09 33 32 20 3d 20 64 74 65 5f 65 76 5f 72 73 74 73 74 2c 09 20 64 74 65 20 72 65 73 ┆d 32 = dte_ev_rstst, dte res┆ 0x33a00…33a20 (413,) 74 61 72 74 65 64 0d 0a 09 09 34 30 20 3d 20 64 74 65 5f 65 76 5f 72 65 73 65 74 2c 09 20 73 74 ┆tarted 40 = dte_ev_reset, st┆ 0x33a20…33a40 72 65 61 6d 20 72 65 73 65 74 0d 0a 09 09 34 38 20 3d 20 64 74 65 5f 65 76 5f 69 6e 63 2c 09 20 ┆ream reset 48 = dte_ev_inc, ┆ 0x33a40…33a60 49 4e 43 4f 4d 49 4e 47 20 43 41 4c 4c 20 6c 6f 73 74 0d 0a 09 09 35 36 20 3d 20 64 74 65 5f 65 ┆INCOMING CALL lost 56 = dte_e┆ 0x33a60…33a80 76 5f 64 61 74 61 2c 09 20 44 41 54 41 20 70 61 63 6b 65 74 20 6c 6f 73 74 0d 0a 09 09 36 34 20 ┆v_data, DATA packet lost 64 ┆ 0x33a80…33aa0 3d 20 64 74 65 5f 65 76 5f 69 6e 74 72 75 70 74 2c 20 49 4e 54 45 52 52 55 50 54 20 70 61 63 6b ┆= dte_ev_intrupt, INTERRUPT pack┆ 0x33aa0…33aaf 65 74 20 6c 6f 73 74 0d 0a 0d 0a 0d 0a 0d 0a ┆et lost ┆ 0x33aaf…33ab2 FormFeed { 0x33aaf…33ab2 0c 80 a5 ┆ ┆ 0x33aaf…33ab2 } 0x33ab2…33ac0 0a a1 36 2e 33 09 4d 65 73 73 61 67 65 20 ┆ 6.3 Message ┆ 0x33ac0…33ae0 53 6e 6f 6f 70 2e 0d 0a 0d 0a 09 84 49 6e 20 6f 72 64 65 72 20 74 6f 20 73 6e 6f 6f 70 20 6d 65 ┆Snoop. In order to snoop me┆ 0x33ae0…33b00 73 73 61 67 65 73 20 61 6e 64 20 61 6e 73 77 65 72 73 20 72 65 63 65 69 76 65 64 20 61 74 20 6e ┆ssages and answers received at n┆ 0x33b00…33b20 6f 74 20 67 6c 6f 62 61 6c 20 0a 19 89 80 80 6b 6e 6f 77 6e 20 73 65 6d 61 70 68 6f 72 65 73 2c ┆ot global known semaphores,┆ 0x33b20…33b40 20 74 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 20 63 61 6e 20 73 74 61 72 74 20 61 6e 20 69 6e ┆ the dte process can start an in┆ 0x33b40…33b60 63 61 72 6e 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 0a 19 89 80 80 67 65 6e 65 80 72 61 6c 20 73 ┆carnation of the gene ral s┆ 0x33b60…33b80 6e 6f 6f 70 65 72 20 70 72 6f 63 65 73 73 2e 20 54 68 69 73 20 69 6e 63 61 72 6e 61 74 69 6f 6e ┆nooper process. This incarnation┆ 0x33b80…33ba0 20 69 73 20 63 61 6c 6c 65 64 20 64 74 65 73 6e 6f 6f 70 2e 20 54 68 65 20 0a 19 89 80 80 67 65 ┆ is called dtesnoop. The ge┆ 0x33ba0…33bc0 80 6e 65 72 61 6c 20 73 6e 6f 6f 70 65 72 20 69 73 20 64 65 73 63 72 69 62 65 64 20 69 6e 20 72 ┆ neral snooper is described in r┆ 0x33bc0…33be0 65 66 2e 20 28 37 29 2e 0d 0a 0d 0a 09 84 54 68 65 20 73 65 6d 61 70 68 6f 72 65 73 20 74 68 61 ┆ef. (7). The semaphores tha┆ 0x33be0…33c00 74 20 63 61 6e 20 62 65 20 73 6e 6f 6f 70 65 64 20 61 72 65 20 74 68 65 20 6d 61 69 6e 20 69 6e ┆t can be snooped are the main in┆ 0x33c00…33c20 (414,) 70 75 74 20 61 6e 64 20 73 79 6e 63 20 73 65 80 0a 19 89 80 80 6d 61 70 68 6f 72 65 73 20 6f 66 ┆put and sync se maphores of┆ 0x33c20…33c40 20 74 68 65 20 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 20 69 6e 63 61 72 6e 61 74 69 6f ┆ the dte_chan process incarnatio┆ 0x33c40…33c60 6e 73 20 28 69 6e 20 74 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 20 0a 19 89 80 80 74 68 65 20 ┆ns (in the dte process the ┆ 0x33c60…33c80 63 68 61 6e 5f 76 65 63 74 6f 72 20 61 6e 64 20 73 79 6e 63 5f 76 65 63 74 6f 72 29 2e 0d 0a 0d ┆chan_vector and sync_vector). ┆ 0x33c80…33ca0 0a 09 84 4f 6e 65 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 70 61 72 61 6d 65 74 65 72 20 74 ┆ One configuration parameter t┆ 0x33ca0…33cc0 6f 20 74 68 65 20 64 74 65 73 6e 6f 6f 70 20 70 72 6f 63 65 73 73 20 69 73 20 27 6d 61 78 5f 70 ┆o the dtesnoop process is 'max_p┆ 0x33cc0…33ce0 69 63 6b 80 0a 19 89 80 80 75 70 73 27 2e 20 49 66 20 6d 61 78 5f 70 69 63 6b 75 70 73 20 69 73 ┆ick ups'. If max_pickups is┆ 0x33ce0…33d00 20 67 72 65 61 74 65 72 20 74 68 61 6e 20 74 77 69 63 65 20 74 68 65 20 6d 61 78 69 6d 75 6d 20 ┆ greater than twice the maximum ┆ 0x33d00…33d20 6e 75 6d 62 65 72 20 6f 66 20 0a 19 89 80 80 63 68 61 6e 6e 65 6c 20 70 72 6f 63 65 73 73 65 73 ┆number of channel processes┆ 0x33d20…33d40 20 28 6d 61 78 5f 63 68 61 6e 29 20 62 6f 74 68 20 74 68 65 20 69 6e 70 75 74 20 61 6e 64 20 73 ┆ (max_chan) both the input and s┆ 0x33d40…33d60 79 6e 63 20 73 65 6d 61 70 68 6f 72 65 73 20 0a 19 89 80 80 61 72 65 20 73 6e 6f 6f 70 65 64 2e ┆ync semaphores are snooped.┆ 0x33d60…33d80 20 49 66 20 69 74 20 69 73 20 67 72 65 61 74 65 72 20 74 68 61 6e 20 6d 61 78 5f 63 68 61 6e 20 ┆ If it is greater than max_chan ┆ 0x33d80…33da0 62 75 74 20 73 6d 61 6c 6c 65 72 20 74 68 61 6e 20 74 77 69 63 65 20 0a 19 89 80 80 6d 61 78 5f ┆but smaller than twice max_┆ 0x33da0…33dc0 63 68 61 6e 20 6f 6e 6c 79 20 74 68 65 20 69 6e 70 75 74 20 73 65 6d 61 70 68 6f 72 65 73 20 61 ┆chan only the input semaphores a┆ 0x33dc0…33de0 72 65 20 73 6e 6f 6f 70 65 64 2c 20 61 6e 64 20 69 66 20 69 74 20 69 73 20 73 6d 61 6c 80 0a 19 ┆re snooped, and if it is smal ┆ 0x33de0…33e00 89 80 80 6c 65 72 20 74 68 61 6e 20 6d 61 78 5f 63 68 61 6e 20 6e 6f 20 73 65 6d 61 70 68 6f 72 ┆ ler than max_chan no semaphor┆ 0x33e00…33e20 (415,) 65 73 20 61 72 65 20 73 6e 6f 6f 70 65 64 2e 20 54 68 65 20 66 6f 6c 6c 6f 77 6e 69 6e 67 20 72 ┆es are snooped. The followning r┆ 0x33e20…33e40 75 6c 65 73 20 0a 19 89 80 80 63 61 6e 20 62 65 20 61 70 70 6c 69 65 64 3a 0d 0a 0d 0a 09 6d 61 ┆ules can be applied: ma┆ 0x33e40…33e60 78 5f 70 69 63 6b 75 70 73 20 a1 3e e1 20 32 20 2a 20 6d 61 78 5f 63 68 61 6e 20 20 20 20 20 20 ┆x_pickups > 2 * max_chan ┆ 0x33e60…33e80 20 20 20 20 20 20 3a 20 69 6e 70 75 74 20 61 6e 64 20 73 79 6e 63 20 73 65 6d 61 70 68 6f 72 65 ┆ : input and sync semaphore┆ 0x33e80…33ea0 73 0d 0a 09 32 20 2a 20 6d 61 78 5f 63 68 61 6e 20 3e 20 6d 61 78 5f 70 69 63 6b 75 70 73 20 a1 ┆s 2 * max_chan > max_pickups ┆ 0x33ea0…33ec0 3e e1 20 6d 61 78 5f 63 68 61 6e 20 3a 20 69 6e 70 75 74 20 73 65 6d 61 70 68 6f 72 65 73 20 6f ┆> max_chan : input semaphores o┆ 0x33ec0…33ee0 6e 6c 79 0d 0a 09 6d 61 78 5f 63 68 61 6e 20 3e 20 6d 61 78 5f 70 69 63 6b 75 70 73 20 20 20 09 ┆nly max_chan > max_pickups ┆ 0x33ee0…33ef1 20 20 20 20 20 20 20 20 3a 20 6e 6f 6e 65 2e 0d 0a ┆ : none. ┆ 0x33ef1…33ef4 FormFeed { 0x33ef1…33ef4 0c 80 96 ┆ ┆ 0x33ef1…33ef4 } 0x33ef4…33f00 0a 16 20 66 6f 72 6d 61 74 6c 69 6e ┆ formatlin┆ 0x33f00…33f20 69 65 20 74 69 6c 20 52 43 20 6d 61 6e 75 61 6c 65 72 0d 0a 14 b3 0d 0a 14 b3 06 2d 20 0b 20 2d ┆ie til RC manualer - -┆ 0x33f20…33f28 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ 0x33f28…33f2b FormFeed { 0x33f28…33f2b 0c 80 83 ┆ ┆ 0x33f28…33f2b } 0x33f2b…33f40 0a a1 37 2e 09 43 4f 4e 46 49 47 55 52 41 54 49 4f 4e 20 47 55 ┆ 7. CONFIGURATION GU┆ 0x33f40…33f60 49 44 45 2e 0d 0a 0d 0a 09 84 54 68 69 73 20 63 68 61 70 74 65 72 20 77 69 6c 6c 20 67 69 76 65 ┆IDE. This chapter will give┆ 0x33f60…33f80 20 61 20 73 68 6f 72 74 20 64 65 73 63 72 69 70 74 69 6f 6e 20 6f 66 20 74 68 65 20 63 6f 6e 66 ┆ a short description of the conf┆ 0x33f80…33fa0 69 67 75 72 61 74 69 6f 6e 20 0a 19 89 80 80 63 6f 6e 73 74 61 6e 74 73 2c 20 74 68 65 20 73 74 ┆iguration constants, the st┆ 0x33fa0…33fc0 6f 72 61 67 65 20 72 65 71 75 69 72 65 6d 65 6e 74 73 20 61 6e 64 20 74 68 65 20 63 6f 6d 70 69 ┆orage requirements and the compi┆ 0x33fc0…33fe0 6c 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 44 54 45 20 0a 19 89 80 80 53 79 73 74 65 6d 2e 0d 0a ┆lation of the DTE System. ┆ 0x33fe0…34000 0d 0a 0d 0a a1 37 2e 31 09 43 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 50 61 72 61 6d 65 74 65 72 ┆ 7.1 Configuration Parameter┆ 0x34000…34020 (416,) 73 2e 0d 0a 0d 0a 09 84 49 6e 20 74 68 65 20 44 54 45 20 53 79 73 74 65 6d 20 70 72 69 6e 63 69 ┆s. In the DTE System princi┆ 0x34020…34040 70 65 6c 20 6d 61 6e 79 20 70 61 72 61 6d 65 74 65 72 73 20 63 61 6e 20 62 65 20 63 68 61 6e 67 ┆pel many parameters can be chang┆ 0x34040…34060 65 64 20 69 6e 20 0a 19 89 80 80 6f 72 64 65 72 20 74 6f 20 6f 70 74 69 6d 69 7a 65 20 74 68 65 ┆ed in order to optimize the┆ 0x34060…34080 20 73 74 6f 72 61 67 65 20 72 65 71 75 69 72 65 6d 65 6e 74 73 20 61 6e 64 20 70 65 72 66 6f 72 ┆ storage requirements and perfor┆ 0x34080…340a0 6d 61 6e 63 65 20 6f 66 20 74 68 65 20 0a 19 89 80 80 6d 6f 64 75 6c 65 73 3a 0d 0a 09 84 53 65 ┆mance of the modules: Se┆ 0x340a0…340c0 76 65 72 61 6c 20 6f 66 20 74 68 65 73 65 20 70 61 72 61 6d 65 74 65 72 73 20 61 72 65 20 61 6c ┆veral of these parameters are al┆ 0x340c0…340e0 6c 72 65 61 64 79 20 6f 70 74 69 6d 69 7a 65 64 2c 20 73 6f 20 69 6e 20 74 68 65 20 6e 65 78 74 ┆lready optimized, so in the next┆ 0x340e0…34100 20 0a 19 89 80 80 74 77 6f 20 73 75 62 73 65 63 74 69 6f 6e 73 20 6f 6e 6c 79 20 74 68 65 20 70 ┆ two subsections only the p┆ 0x34100…34120 61 72 61 6d 65 74 65 72 73 20 6f 66 20 6e 6f 72 6d 61 6c 6c 79 20 69 6e 74 65 72 65 73 74 20 61 ┆arameters of normally interest a┆ 0x34120…34140 72 65 20 64 65 73 80 0a 19 89 80 80 63 72 69 62 65 64 2e 20 54 68 65 79 20 63 61 6e 20 62 65 20 ┆re des cribed. They can be ┆ 0x34140…34160 64 69 76 69 64 65 64 20 69 6e 74 6f 20 74 77 6f 20 67 72 6f 75 70 73 2c 20 6f 6e 65 20 77 68 65 ┆divided into two groups, one whe┆ 0x34160…34180 72 65 20 74 68 65 20 70 61 72 61 6d 65 80 0a 19 89 80 80 74 65 72 20 76 61 6c 75 65 73 20 6d 75 ┆re the parame ter values mu┆ 0x34180…341a0 73 74 20 62 65 20 64 65 66 69 6e 65 64 20 61 74 20 63 6f 6d 70 69 6c 61 74 69 6f 6e 20 74 69 6d ┆st be defined at compilation tim┆ 0x341a0…341c0 65 20 28 73 75 62 73 65 63 74 69 6f 6e 20 37 2e 31 2e 31 29 20 0a 19 89 80 80 61 6e 64 20 6f 6e ┆e (subsection 7.1.1) and on┆ 0x341c0…341e0 65 20 77 68 65 72 65 20 74 68 65 20 70 61 72 61 6d 65 74 65 72 20 76 61 6c 75 65 73 20 61 72 65 ┆e where the parameter values are┆ 0x341e0…34200 20 64 65 66 69 6e 65 64 20 61 74 20 69 6e 63 61 72 6e 61 74 69 6f 6e 20 63 72 65 80 0a 19 89 80 ┆ defined at incarnation cre ┆ 0x34200…34220 (417,) 80 61 74 65 20 74 69 6d 65 20 28 73 75 62 73 65 63 74 69 6f 6e 20 37 2e 31 2e 32 29 2e 0d 0a 0d ┆ ate time (subsection 7.1.2). ┆ 0x34220…34240 0a 09 84 49 6e 20 73 75 62 73 65 63 74 69 6f 6e 20 37 2e 31 2e 33 20 61 72 65 20 74 68 65 20 64 ┆ In subsection 7.1.3 are the d┆ 0x34240…34260 65 66 61 75 6c 74 20 76 61 6c 75 65 73 20 6f 66 20 73 6f 6d 65 20 69 6e 74 65 72 65 73 74 69 6e ┆efault values of some interestin┆ 0x34260…34280 67 20 44 54 45 20 0a 19 89 80 80 70 61 72 61 6d 65 74 65 72 73 20 6f 75 74 6c 69 6e 65 64 2c 20 ┆g DTE parameters outlined, ┆ 0x34280…342a0 61 6e 64 20 69 6e 20 73 75 62 73 65 63 74 69 6f 6e 20 37 2e 31 2e 34 20 61 72 65 20 70 61 72 61 ┆and in subsection 7.1.4 are para┆ 0x342a0…342c0 6d 65 74 65 72 73 20 63 6f 6e 80 0a 19 89 80 80 63 65 72 80 6e 69 6e 67 20 74 68 65 20 74 72 61 ┆meters con cer ning the tra┆ 0x342c0…342e0 63 65 2c 20 74 65 73 74 20 61 6e 64 20 73 6e 6f 6f 70 20 73 79 73 74 65 6d 73 20 64 65 73 63 72 ┆ce, test and snoop systems descr┆ 0x342e0…34300 69 62 65 64 2e 0d 0a 0d 0a 0d 0a a1 37 2e 31 2e 31 09 43 6f 6d 70 69 6c 61 74 69 6f 6e 20 50 61 ┆ibed. 7.1.1 Compilation Pa┆ 0x34300…34320 72 61 6d 65 74 65 72 73 2e 0d 0a 0d 0a 09 84 54 68 65 73 65 20 70 61 72 61 6d 65 74 65 72 73 20 ┆rameters. These parameters ┆ 0x34320…34340 61 72 65 20 66 6f 75 6e 64 20 69 6e 20 74 68 65 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 65 ┆are found in the configuration e┆ 0x34340…34360 6e 76 69 72 6f 6e 6d 65 6e 74 20 28 73 74 61 6e 80 0a 19 89 80 80 64 61 72 64 20 3a 20 53 54 44 ┆nvironment (stan dard : STD┆ 0x34360…34380 43 4f 4e 46 29 20 61 6e 64 20 69 6e 20 44 54 45 45 4e 56 2e 0d 0a 0d 0a b0 09 6d 5f 6d 61 78 5f ┆CONF) and in DTEENV. m_max_┆ 0x34380…343a0 63 68 61 6e 09 f0 3a 20 84 44 65 66 69 6e 65 73 20 74 68 65 20 6d 61 78 69 6d 75 6d 20 6f 66 20 ┆chan : Defines the maximum of ┆ 0x343a0…343c0 6c 6f 67 69 63 61 6c 20 63 68 61 6e 6e 65 6c 73 20 0a 19 9f 81 80 28 64 74 65 5f 63 68 61 6e 20 ┆logical channels (dte_chan ┆ 0x343c0…343e0 70 72 6f 63 65 73 73 20 69 6e 63 61 72 6e 61 74 69 6f 6e 73 29 20 74 68 65 20 44 54 45 20 63 61 ┆process incarnations) the DTE ca┆ 0x343e0…34400 6e 20 0a 19 9f 81 80 68 61 6e 64 6c 65 20 73 69 6d 75 6c 74 61 6e 65 6f 75 73 6c 79 20 28 b0 69 ┆n handle simultaneously ( i┆ 0x34400…34420 (418,) 6e 20 53 54 44 43 4f 4e 46 20 73 65 74 20 74 6f 20 0a 19 9f 82 82 32 30 f0 29 2e 0d 0a 0d 0a b0 ┆n STDCONF set to 20 ). ┆ 0x34420…34440 09 6d 61 78 5f 75 73 65 72 09 09 f0 3a 20 84 44 65 66 69 6e 65 73 20 74 68 65 20 6d 61 78 69 6d ┆ max_user : Defines the maxim┆ 0x34440…34460 75 6d 20 6f 66 20 73 69 6d 75 6c 74 61 6e 65 6f 75 73 6c 79 20 63 6f 6e 80 0a 19 9f 81 80 6e 65 ┆um of simultaneously con ne┆ 0x34460…34480 63 74 65 64 20 75 73 65 72 73 20 28 b0 69 6e 20 53 54 44 43 4f 4e 46 20 73 65 74 20 74 6f 20 35 ┆cted users ( in STDCONF set to 5┆ 0x34480…34487 f0 29 2e 0d 0a 0d 0a ┆ ). ┆ 0x34487…3448a FormFeed { 0x34487…3448a 0c 80 a5 ┆ ┆ 0x34487…3448a } 0x3448a…344a0 0a b0 09 6d 61 78 5f 69 6e 62 75 66 73 09 f0 3a 20 84 44 65 66 69 ┆ max_inbufs : Defi┆ 0x344a0…344c0 6e 65 73 20 74 68 65 20 6d 61 78 69 6d 75 6d 20 6f 66 20 69 6e 70 75 74 20 62 75 66 66 65 72 73 ┆nes the maximum of input buffers┆ 0x344c0…344e0 20 74 68 65 20 0a 19 9f 81 80 64 74 65 5f 68 72 65 63 20 70 72 6f 63 65 73 73 20 74 72 69 65 73 ┆ the dte_hrec process tries┆ 0x344e0…34500 20 74 6f 20 6d 61 69 6e 74 61 69 6e 20 61 74 20 74 68 65 20 0a 19 9f 81 80 48 44 4c 43 2e 20 54 ┆ to maintain at the HDLC. T┆ 0x34500…34520 68 65 20 61 63 80 74 75 61 6c 20 76 61 6c 75 65 20 6d 61 79 20 62 65 20 63 68 61 6e 67 65 64 20 ┆he ac tual value may be changed ┆ 0x34520…34540 62 79 20 61 6e 20 0a 19 9f 81 80 4c 43 50 20 6f 70 65 72 61 80 74 69 6f 6e 20 28 44 54 45 20 35 ┆by an LCP opera tion (DTE 5┆ 0x34540…34560 34 2c 30 29 20 61 6e 64 20 74 68 65 20 64 65 66 61 75 6c 74 20 76 61 80 0a 19 9f 81 80 6c 75 65 ┆4,0) and the default va lue┆ 0x34560…34580 20 69 73 20 6f 75 74 6c 69 6e 65 64 20 69 6e 20 73 75 62 73 65 63 74 69 6f 6e 20 37 2e 31 2e 33 ┆ is outlined in subsection 7.1.3┆ 0x34580…345a0 2e 20 28 b0 69 6e 20 0a 19 9f 82 82 44 54 45 80 45 4e 56 20 73 65 74 20 74 6f 20 31 30 f0 29 2e ┆. ( in DTE ENV set to 10 ).┆ 0x345a0…345c0 0d 0a 0d 0a b0 09 74 65 73 74 6d 61 78 09 09 f0 3a 20 84 44 65 66 69 6e 65 73 20 74 68 65 20 6e ┆ testmax : Defines the n┆ 0x345c0…345e0 75 6d 62 65 72 20 6f 66 20 74 65 73 74 20 72 65 63 6f 72 64 73 20 69 6e 20 74 68 65 20 0a 19 9f ┆umber of test records in the ┆ 0x345e0…34600 81 80 69 6e 74 65 72 6e 61 6c 20 74 65 73 74 61 72 65 61 73 20 61 6e 64 20 69 6e 20 74 68 65 20 ┆ internal testareas and in the ┆ 0x34600…34620 (419,) 74 65 73 74 62 75 66 66 65 72 73 20 0a 19 9f 81 80 28 b0 69 6e 20 44 54 45 45 4e 56 20 73 65 74 ┆testbuffers ( in DTEENV set┆ 0x34620…34640 20 74 6f 20 32 30 f0 29 2e 0d 0a 0d 0a 0d 0a a1 37 2e 31 2e 32 09 43 72 65 61 74 69 6f 6e 20 50 ┆ to 20 ). 7.1.2 Creation P┆ 0x34640…34660 61 72 61 6d 65 74 65 72 73 2e 0d 0a 0d 0a 09 84 41 74 20 63 72 65 61 74 69 6f 6e 20 74 69 6d 65 ┆arameters. At creation time┆ 0x34660…34680 20 69 74 20 69 73 20 70 6f 73 73 69 62 6c 65 20 74 6f 20 64 65 66 69 6e 65 20 73 65 76 65 72 61 ┆ it is possible to define severa┆ 0x34680…346a0 6c 20 70 61 72 61 6d 65 74 65 72 73 20 6f 66 20 0a 19 89 80 80 74 68 65 20 44 54 45 20 53 79 73 ┆l parameters of the DTE Sys┆ 0x346a0…346c0 74 65 6d 2e 20 54 68 65 79 20 61 72 65 20 67 61 74 68 65 72 65 64 20 69 6e 20 66 6f 75 72 20 72 ┆tem. They are gathered in four r┆ 0x346c0…346e0 65 63 6f 72 64 20 74 79 70 65 73 2e 0d 0a 0d 0a 09 68 64 6c 63 5f 63 70 5f 74 79 70 65 09 3a 20 ┆ecord types. hdlc_cp_type : ┆ 0x346e0…34700 84 50 61 72 61 6d 65 74 65 72 73 20 66 6f 72 20 74 68 65 20 48 44 4c 43 20 63 6f 6d 6d 75 6e 69 ┆ Parameters for the HDLC communi┆ 0x34700…34720 63 61 74 69 6f 6e 2e 0d 0a 0d 0a 09 64 74 65 5f 63 70 5f 74 79 70 65 09 3a 20 84 50 61 72 61 6d ┆cation. dte_cp_type : Param┆ 0x34720…34740 65 74 65 72 73 20 63 6f 6e 63 65 72 6e 69 6e 67 20 74 68 65 20 44 54 45 20 61 6e 64 20 58 2e 32 ┆eters concerning the DTE and X.2┆ 0x34740…34760 35 20 63 6f 6d 80 0a 19 9f 80 80 6d 75 6e 69 63 61 74 69 6f 6e 2e 0d 0a 0d 0a 09 64 74 65 5f 70 ┆5 com munication. dte_p┆ 0x34760…34780 63 5f 74 79 70 65 09 3a 20 84 50 61 72 61 6d 65 74 65 72 73 20 66 6f 72 20 62 75 66 66 65 72 20 ┆c_type : Parameters for buffer ┆ 0x34780…347a0 70 6f 6f 6c 73 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 2e 0d 0a 0d 0a 09 64 74 65 5f 64 63 5f ┆pools configuration. dte_dc_┆ 0x347a0…347c0 74 79 70 65 09 3a 20 84 50 61 72 61 6d 65 74 65 72 73 20 63 6f 6e 63 65 72 6e 69 6e 67 20 74 68 ┆type : Parameters concerning th┆ 0x347c0…347e0 65 20 64 65 62 75 67 2c 20 74 72 61 63 65 20 61 6e 64 20 0a 19 9f 80 80 74 65 73 74 20 66 61 63 ┆e debug, trace and test fac┆ 0x347e0…34800 69 6c 69 74 69 65 73 2e 0d 0a 0d 0a 09 84 54 68 65 73 65 20 66 6f 75 72 20 74 79 70 65 73 20 61 ┆ilities. These four types a┆ 0x34800…34820 (420,) 72 65 20 64 65 66 69 6e 65 64 20 69 6e 20 43 4e 4e 45 54 45 4e 56 20 61 6e 64 20 61 20 64 65 66 ┆re defined in CNNETENV and a def┆ 0x34820…34840 61 75 6c 74 20 76 61 6c 75 65 20 69 73 20 0a 19 89 80 80 61 73 73 69 67 6e 65 64 20 74 6f 20 74 ┆ault value is assigned to t┆ 0x34840…34860 68 65 6d 20 69 6e 20 43 52 50 41 52 4d 45 4e 56 2e 0d 0a 0d 0a 09 84 54 68 65 20 69 6e 64 69 76 ┆hem in CRPARMENV. The indiv┆ 0x34860…34880 69 64 75 65 6c 20 66 69 65 6c 64 73 20 61 72 65 20 64 65 73 63 72 69 62 65 64 20 69 6e 20 73 75 ┆iduel fields are described in su┆ 0x34880…348a0 62 73 65 63 74 69 6f 6e 20 34 2e 32 2e 31 20 73 6f 20 68 65 72 65 20 0a 19 89 80 80 77 69 6c 6c ┆bsection 4.2.1 so here will┆ 0x348a0…348c0 20 6f 6e 6c 79 20 61 20 72 65 63 6f 6d 6d 65 6e 64 65 64 20 76 61 6c 75 65 20 62 65 20 6d 65 6e ┆ only a recommended value be men┆ 0x348c0…348e0 74 69 6f 6e 65 64 2e 20 41 20 71 75 65 73 74 69 6f 6e 20 6d 61 72 6b 20 69 6e 64 69 80 0a 19 89 ┆tioned. A question mark indi ┆ 0x348e0…34900 80 80 63 61 74 65 73 20 74 68 61 74 20 74 68 65 20 76 61 6c 75 65 20 64 65 70 65 6e 64 73 20 6f ┆ cates that the value depends o┆ 0x34900…34920 6e 20 74 68 65 20 73 79 73 74 65 6d 20 74 68 65 20 44 54 45 20 69 73 20 72 75 6e 6e 69 6e 67 20 ┆n the system the DTE is running ┆ 0x34920…34927 69 6e 2e 0d 0a 0d 0a ┆in. ┆ 0x34927…3492a FormFeed { 0x34927…3492a 0c 80 a2 ┆ ┆ 0x34927…3492a } 0x3492a…34940 0a 09 68 64 6c 63 5f 63 70 5f 74 79 70 65 3a 0d 0a 09 20 20 20 74 ┆ hdlc_cp_type: t┆ 0x34940…34960 65 73 74 5f 6d 6f 64 65 6d 09 3a 20 3f 0d 0a 09 20 20 20 63 6f 6d 32 30 34 09 20 09 3a 20 6e 6f ┆est_modem : ? com204 : no┆ 0x34960…34980 72 6d 61 6c 6c 79 20 74 72 75 65 0d 0a 09 20 20 20 63 5f 69 64 09 09 3a 20 32 31 30 30 09 20 20 ┆rmally true c_id : 2100 ┆ 0x34980…349a0 20 20 20 28 3d 20 32 2e 31 20 73 65 63 73 2e 29 0d 0a 09 20 20 20 74 31 09 09 3a 20 31 34 30 30 ┆ (= 2.1 secs.) t1 : 1400┆ 0x349a0…349c0 20 20 20 20 20 20 20 20 20 28 3d 20 31 2e 34 20 73 65 63 73 2e 29 0d 0a 09 20 20 20 6e 32 09 09 ┆ (= 1.4 secs.) n2 ┆ 0x349c0…349e0 3a 20 31 30 0d 0a 09 20 20 20 6b 09 09 3a 20 36 0d 0a 09 20 20 20 66 72 61 6d 65 73 70 61 63 65 ┆: 10 k : 6 framespace┆ 0x349e0…34a00 09 3a 20 34 20 20 20 20 20 20 20 20 20 20 20 20 28 3d 20 34 30 20 6d 69 63 72 6f 73 65 63 73 2e ┆ : 4 (= 40 microsecs.┆ 0x34a00…34a20 (421,) 29 0d 0a 09 20 20 20 61 62 6f 72 74 73 70 61 63 65 09 3a 20 32 09 20 20 20 20 20 28 3d 20 32 30 ┆) abortspace : 2 (= 20┆ 0x34a20…34a40 20 6d 69 63 72 6f 73 65 63 73 2e 29 0d 0a 0d 0a 09 64 74 65 5f 63 70 5f 74 79 70 65 3a 0d 0a 09 ┆ microsecs.) dte_cp_type: ┆ 0x34a40…34a60 20 20 20 78 32 35 5f 6c 63 67 09 3a 20 3f 0d 0a 09 20 20 20 64 6c 74 63 09 09 3a 20 3f 0d 0a 09 ┆ x25_lcg : ? dltc : ? ┆ 0x34a60…34a80 20 20 20 64 68 74 63 09 09 3a 20 3f 20 20 20 20 20 20 20 20 20 20 20 20 28 3c 3d 20 64 6c 74 63 ┆ dhtc : ? (<= dltc┆ 0x34a80…34aa0 20 2b 20 6d 61 78 5f 63 68 61 6e 29 0d 0a 09 20 20 20 6d 61 78 5f 63 68 61 6e 09 3a 20 3f 0d 0a ┆ + max_chan) max_chan : ? ┆ 0x34aa0…34ac0 09 20 20 20 64 77 5f 73 69 7a 65 09 3a 20 6e 6f 72 6d 61 6c 6c 79 20 32 0d 0a 20 20 20 20 20 20 ┆ dw_size : normally 2 ┆ 0x34ac0…34ae0 20 20 20 20 20 20 6d 77 5f 73 69 7a 65 20 20 20 20 20 20 20 20 20 20 3a 20 3f 0d 0a 20 20 20 20 ┆ mw_size : ? ┆ 0x34ae0…34b00 20 20 20 20 20 20 20 20 75 73 65 72 5f 6c 65 6e 67 74 68 09 3a 20 61 63 74 75 61 6c 5f 75 5f 6c ┆ user_length : actual_u_l┆ 0x34b00…34b20 67 74 20 28 64 65 66 69 6e 65 64 20 69 6e 20 43 4e 4e 45 54 45 4e 56 29 0d 0a 09 20 20 20 78 32 ┆gt (defined in CNNETENV) x2┆ 0x34b20…34b40 35 5f 64 61 74 61 73 69 7a 65 20 20 20 20 20 3a 20 3f 0d 0a 0d 0a 09 64 74 65 5f 70 63 5f 74 79 ┆5_datasize : ? dte_pc_ty┆ 0x34b40…34b60 70 65 3a 0d 0a 09 20 20 20 73 75 70 68 65 61 64 5f 6e 6f 09 3a 20 36 0d 0a 09 20 20 20 73 75 70 ┆pe: suphead_no : 6 sup┆ 0x34b60…34b80 6d 65 73 73 5f 6e 6f 09 3a 20 36 0d 0a 09 20 20 20 65 76 65 6e 74 62 75 66 5f 6e 6f 09 3a 20 33 ┆mess_no : 6 eventbuf_no : 3┆ 0x34b80…34ba0 0d 0a 09 20 20 20 68 64 6c 63 5f 65 76 65 6e 74 6e 6f 09 3a 20 33 0d 0a 0d 0a 09 64 74 65 5f 64 ┆ hdlc_eventno : 3 dte_d┆ 0x34ba0…34bc0 63 5f 74 79 70 65 3a 0d 0a 09 20 20 20 64 74 65 74 65 73 74 09 3a 20 66 61 6c 73 65 0d 0a 09 20 ┆c_type: dtetest : false ┆ 0x34bc0…34be0 20 20 73 6e 6f 6f 70 5f 6f 6e 09 3a 20 66 61 6c 73 65 0d 0a 09 20 20 20 64 65 66 5f 74 72 61 63 ┆ snoop_on : false def_trac┆ 0x34be0…34c00 65 09 3a 20 66 61 6c 73 65 0d 0a 09 20 20 20 64 65 66 5f 74 65 73 74 09 3a 20 3f 2c 20 3f 2c 20 ┆e : false def_test : ?, ?, ┆ 0x34c00…34c20 (422,) 3f 2c 20 74 72 75 65 2c 20 66 61 6c 73 65 2c 20 74 72 75 65 2c 20 3f 2c 20 3f 0d 0a 0d 0a 09 84 ┆?, true, false, true, ?, ? ┆ 0x34c20…34c40 53 6f 6d 65 20 6f 66 20 74 68 65 20 70 61 72 61 6d 65 74 65 72 73 20 63 61 6e 20 62 65 20 63 68 ┆Some of the parameters can be ch┆ 0x34c40…34c60 61 6e 67 65 64 20 62 79 20 61 6e 20 4c 43 50 20 6f 70 65 72 61 74 69 6f 6e 3a 0d 0a 0d 0a 09 20 ┆anged by an LCP operation: ┆ 0x34c60…34c80 20 20 64 6c 74 63 2c 20 64 68 74 63 09 3a 20 44 54 45 20 35 34 2c 30 0d 0a 09 20 20 20 64 65 66 ┆ dltc, dhtc : DTE 54,0 def┆ 0x34c80…34ca0 5f 74 72 61 63 65 09 3a 20 44 54 45 20 35 33 2c 30 0d 0a 09 20 20 20 64 65 66 5f 74 65 73 74 09 ┆_trace : DTE 53,0 def_test ┆ 0x34ca0…34cc0 3a 20 44 54 45 20 35 32 2c 30 0d 0a 0d 0a 09 84 46 75 72 74 68 65 72 6d 6f 72 65 20 64 65 66 5f ┆: DTE 52,0 Furthermore def_┆ 0x34cc0…34ce0 74 65 73 74 20 63 61 6e 20 62 65 20 63 68 61 6e 67 65 64 20 70 61 72 74 6c 79 20 66 72 6f 6d 20 ┆test can be changed partly from ┆ 0x34ce0…34d00 74 68 65 20 63 6f 6e 73 6f 6c 65 20 28 73 65 63 80 0a 19 89 80 80 74 69 6f 6e 20 36 2e 32 29 2e ┆the console (sec tion 6.2).┆ 0x34d00…34d20 0d 0a 0d 0a 0d 0a 8c 80 aa 0a a1 37 2e 31 2e 33 09 53 70 65 63 69 61 6c 20 44 65 66 61 75 6c 74 ┆ 7.1.3 Special Default┆ 0x34d20…34d40 20 56 61 6c 75 65 73 2e 0d 0a 0d 0a 09 84 41 73 20 6d 65 6e 74 69 6f 6e 65 64 20 69 6e 20 73 75 ┆ Values. As mentioned in su┆ 0x34d40…34d60 62 73 65 63 74 69 6f 6e 20 34 2e 31 2e 34 20 73 65 76 65 72 61 6c 20 74 69 6d 65 72 73 20 61 72 ┆bsection 4.1.4 several timers ar┆ 0x34d60…34d80 65 20 75 73 65 64 20 69 6e 20 74 68 65 20 0a 19 89 80 80 44 54 45 20 6d 6f 64 75 6c 65 2e 20 54 ┆e used in the DTE module. T┆ 0x34d80…34da0 68 65 20 76 61 6c 75 65 20 28 6d 61 79 20 62 65 20 6f 6e 6c 79 20 61 20 64 65 66 61 75 6c 74 20 ┆he value (may be only a default ┆ 0x34da0…34dc0 76 61 6c 75 65 29 20 6f 66 20 74 68 65 73 65 20 74 69 80 0a 19 89 80 80 6d 65 72 73 20 61 72 65 ┆value) of these ti mers are┆ 0x34dc0…34de0 20 64 65 66 69 6e 65 64 20 69 6e 20 44 54 45 45 4e 56 20 69 6e 20 74 68 65 20 72 65 63 6f 72 64 ┆ defined in DTEENV in the record┆ 0x34de0…34e00 20 74 69 6d 65 72 5f 64 65 66 2e 0d 0a 09 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 76 61 6c 75 ┆ timer_def. The following valu┆ 0x34e00…34e20 (423,) 65 73 20 61 72 65 20 72 65 63 6f 6d 6d 65 6e 64 65 64 3a 0d 0a 0d 0a 09 20 20 20 74 31 31 6d 20 ┆es are recommended: t11m ┆ 0x34e20…34e40 20 20 20 20 20 3d 20 20 32 30 20 73 65 63 73 20 3a 20 3c 20 44 43 45 20 63 61 6c 6c 20 72 65 71 ┆ = 20 secs : < DCE call req┆ 0x34e40…34e60 75 65 73 74 20 74 69 6d 65 6f 75 74 0d 0a 09 20 20 20 74 31 32 6d 20 20 20 20 20 20 3d 20 20 32 ┆uest timeout t12m = 2┆ 0x34e60…34e80 30 20 73 65 63 73 20 3a 20 3c 20 44 43 45 20 72 65 73 65 74 20 72 65 71 75 65 73 74 20 74 69 6d ┆0 secs : < DCE reset request tim┆ 0x34e80…34ea0 65 6f 75 74 0d 0a 09 20 20 20 74 32 31 20 20 20 20 20 20 20 3d 20 32 30 30 20 73 65 63 73 20 3a ┆eout t21 = 200 secs :┆ 0x34ea0…34ec0 20 44 54 45 20 63 61 6c 6c 20 72 65 71 75 65 73 74 20 74 69 6d 65 6f 75 74 0d 0a 09 20 20 20 74 ┆ DTE call request timeout t┆ 0x34ec0…34ee0 32 32 20 20 20 20 20 20 20 3d 20 31 38 30 20 73 65 63 73 20 3a 20 44 54 45 20 72 65 73 65 74 20 ┆22 = 180 secs : DTE reset ┆ 0x34ee0…34f00 72 65 71 75 65 73 74 20 74 69 6d 65 6f 75 74 0d 0a 09 20 20 20 74 32 33 20 20 20 20 20 20 20 3d ┆request timeout t23 =┆ 0x34f00…34f20 20 31 38 30 20 73 65 63 73 20 3a 20 44 54 45 20 63 6c 65 61 72 20 72 65 71 75 65 73 74 20 74 69 ┆ 180 secs : DTE clear request ti┆ 0x34f20…34f40 6d 65 6f 75 74 0d 0a 09 20 20 20 74 33 30 20 20 20 20 20 20 20 3d 20 20 33 30 20 73 65 63 73 20 ┆meout t30 = 30 secs ┆ 0x34f40…34f60 3a 20 44 54 45 20 69 64 6c 65 20 74 69 6d 65 6f 75 74 0d 0a 09 20 20 20 74 33 31 20 20 20 20 20 ┆: DTE idle timeout t31 ┆ 0x34f60…34f80 20 20 3d 20 20 33 30 20 73 65 63 73 20 3a 20 44 54 45 20 64 61 74 61 20 68 6f 6c 64 20 74 69 6d ┆ = 30 secs : DTE data hold tim┆ 0x34f80…34fa0 65 6f 75 74 0d 0a 09 20 20 20 61 63 6b 5f 74 69 6d 65 72 20 3d 20 20 20 31 20 73 65 63 20 20 3a ┆eout ack_timer = 1 sec :┆ 0x34fa0…34fc0 20 44 54 45 20 61 63 6b 6e 6f 77 6c 65 64 67 65 20 64 65 6c 61 79 20 74 69 6d 65 6f 75 74 0d 0a ┆ DTE acknowledge delay timeout ┆ 0x34fc0…34fe0 09 20 20 20 74 32 30 20 20 20 20 20 20 20 3d 20 31 38 30 20 73 65 63 73 20 3a 20 44 54 45 20 72 ┆ t20 = 180 secs : DTE r┆ 0x34fe0…35000 65 73 74 61 72 74 20 72 65 71 75 65 73 74 20 74 69 6d 65 6f 75 74 0d 0a 09 20 20 20 74 35 30 20 ┆estart request timeout t50 ┆ 0x35000…35020 (424,) 20 20 20 20 20 20 3d 20 20 20 31 20 73 65 63 20 20 3a 20 54 69 6d 65 72 20 70 65 72 69 6f 64 20 ┆ = 1 sec : Timer period ┆ 0x35020…35040 66 6f 72 20 73 65 6e 73 65 20 44 53 52 20 73 65 74 0d 0a 09 20 20 20 74 35 31 20 20 20 20 20 20 ┆for sense DSR set t51 ┆ 0x35040…35060 20 3d 20 20 20 32 20 73 65 63 73 20 3a 20 54 69 6d 65 72 20 70 65 72 69 6f 64 20 66 6f 72 20 73 ┆ = 2 secs : Timer period for s┆ 0x35060…35080 65 6e 73 65 20 44 43 44 20 73 65 74 0d 0a 09 20 20 20 74 35 32 20 20 20 20 20 20 20 3d 20 20 20 ┆ense DCD set t52 = ┆ 0x35080…350a0 35 20 73 65 63 73 20 3a 20 84 54 69 6d 65 72 20 70 65 72 69 6f 64 20 74 6f 20 67 65 74 20 74 68 ┆5 secs : Timer period to get th┆ 0x350a0…350c0 65 20 6d 6f 64 65 6d 20 73 69 67 6e 61 6c 73 20 69 6e 20 0a 19 a3 80 80 61 20 73 74 65 61 64 79 ┆e modem signals in a steady┆ 0x350c0…350e0 20 73 74 61 74 65 0d 0a 09 20 20 20 74 36 30 20 20 20 20 20 20 20 3d 20 20 31 30 20 73 65 63 73 ┆ state t60 = 10 secs┆ 0x350e0…35100 20 3a 20 84 54 69 6d 65 72 20 70 65 72 69 6f 64 20 62 65 66 6f 72 65 20 69 6e 69 74 69 61 74 69 ┆ : Timer period before initiati┆ 0x35100…35120 6e 67 20 4e 43 20 72 65 80 0a 19 a3 80 80 73 74 61 72 74 2e 0d 0a 0d 0a 09 84 74 33 30 20 61 6e ┆ng NC re start. t30 an┆ 0x35120…35140 64 20 61 63 6b 5f 74 69 6d 65 72 20 6d 61 79 20 62 65 20 63 68 61 6e 67 65 64 20 62 79 20 74 68 ┆d ack_timer may be changed by th┆ 0x35140…35160 65 20 4c 43 50 20 6f 70 65 72 61 74 69 6f 6e 20 44 54 45 20 35 34 2c 30 2e 0d 0a 0d 0a 09 84 49 ┆e LCP operation DTE 54,0. I┆ 0x35160…35180 6e 20 63 6f 6e 6e 65 63 74 69 6f 6e 20 77 69 74 68 20 74 68 65 20 4e 43 20 73 79 73 74 65 6d 20 ┆n connection with the NC system ┆ 0x35180…351a0 74 68 65 20 44 54 45 20 6d 61 69 6e 74 61 69 6e 73 20 61 20 62 69 74 20 6d 61 73 6b 20 0a 19 89 ┆the DTE maintains a bit mask ┆ 0x351a0…351c0 80 80 28 6e 63 5f 6d 61 73 6b 29 20 64 65 66 69 6e 69 6e 67 20 77 68 69 63 68 20 4e 43 20 65 76 ┆ (nc_mask) defining which NC ev┆ 0x351c0…351e0 65 6e 74 2c 20 74 68 61 74 20 73 68 61 6c 6c 20 62 65 20 67 65 6e 65 72 61 74 65 64 2e 20 49 6e ┆ent, that shall be generated. In┆ 0x351e0…35200 20 0a 19 89 80 80 44 54 45 45 4e 56 20 61 20 64 65 66 61 75 6c 74 20 76 61 6c 75 65 20 28 64 6e ┆ DTEENV a default value (dn┆ 0x35200…35220 (425,) 63 5f 6d 61 73 6b 29 20 69 73 20 64 65 66 69 6e 65 64 2e 20 54 68 65 20 76 61 6c 75 65 20 6f 66 ┆c_mask) is defined. The value of┆ 0x35220…35240 20 74 68 69 73 20 0a 19 89 80 80 64 65 70 65 6e 64 73 20 6f 66 20 74 68 65 20 73 79 73 74 65 6d ┆ this depends of the system┆ 0x35240…35260 20 74 68 65 20 44 54 45 20 69 73 20 72 75 6e 6e 69 6e 67 20 69 6e 2c 20 61 6e 64 20 74 68 65 20 ┆ the DTE is running in, and the ┆ 0x35260…35280 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 0a 19 89 80 80 74 68 61 74 20 69 73 20 72 65 71 75 69 72 65 ┆information that is require┆ 0x35280…352a0 64 20 66 6f 72 20 4e 65 74 77 6f 72 6b 20 43 6f 6e 74 72 6f 6c 20 4d 61 6e 61 67 65 6d 65 6e 74 ┆d for Network Control Management┆ 0x352a0…352c0 2e 20 54 68 65 20 76 61 72 69 61 62 6c 65 20 6d 61 79 20 0a 19 89 80 80 62 65 20 63 68 61 6e 67 ┆. The variable may be chang┆ 0x352c0…352e0 65 64 20 62 79 20 74 68 65 20 4c 43 50 20 6f 70 65 72 61 74 69 6f 6e 20 44 54 45 20 31 2c 30 2e ┆ed by the LCP operation DTE 1,0.┆ 0x352e0…35300 0d 0a 0d 0a 09 84 54 68 65 20 64 74 65 5f 68 72 65 63 20 70 72 6f 63 65 73 73 20 74 72 69 65 73 ┆ The dte_hrec process tries┆ 0x35300…35320 20 74 6f 20 6d 61 69 6e 74 61 69 6e 20 61 20 63 65 72 74 61 6e 74 20 6e 75 6d 62 65 72 20 6f 66 ┆ to maintain a certant number of┆ 0x35320…35340 20 69 6e 70 75 74 20 0a 19 89 80 80 62 75 66 66 65 72 73 20 61 74 20 74 68 65 20 48 44 4c 43 2e ┆ input buffers at the HDLC.┆ 0x35340…35360 20 54 68 65 20 64 65 66 61 75 6c 74 20 76 61 6c 75 65 20 28 64 6e 5f 62 75 66 29 20 6f 66 20 74 ┆ The default value (dn_buf) of t┆ 0x35360…35380 68 69 73 20 70 61 72 61 6d 65 74 65 72 20 0a 19 89 80 80 69 73 20 64 65 66 80 69 6e 65 64 20 69 ┆his parameter is def ined i┆ 0x35380…353a0 6e 20 44 54 45 45 4e 56 20 28 73 65 74 20 74 6f 20 35 29 20 61 6e 64 20 6d 61 79 20 62 65 20 63 ┆n DTEENV (set to 5) and may be c┆ 0x353a0…353c0 68 61 6e 67 65 64 20 62 79 20 74 68 65 20 4c 43 50 20 6f 70 80 65 80 0a 19 89 80 80 72 61 74 69 ┆hanged by the LCP op e rati┆ 0x353c0…353e0 6f 6e 20 44 54 45 20 35 34 2c 30 2e 20 54 68 65 20 75 70 70 65 72 20 6c 69 6d 69 74 20 66 6f 72 ┆on DTE 54,0. The upper limit for┆ 0x353e0…35400 20 74 68 69 73 20 70 61 72 61 6d 65 74 65 72 20 69 73 20 6d 61 78 5f 69 6e 62 75 66 73 20 0a 19 ┆ this parameter is max_inbufs ┆ 0x35400…35420 (426,) 89 80 80 28 73 65 65 20 73 75 62 73 65 63 74 69 6f 6e 20 37 2e 31 2e 31 29 2e 0d 0a 0d 0a 0d 0a ┆ (see subsection 7.1.1). ┆ 0x35420…35440 8c 80 a7 0a a1 37 2e 31 2e 34 09 43 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 6f 66 20 54 72 61 63 ┆ 7.1.4 Configuration of Trac┆ 0x35440…35460 65 2c 20 54 65 73 74 20 61 6e 64 20 53 6e 6f 6f 70 20 53 79 73 74 65 6d 73 2e 0d 0a 0d 0a 09 84 ┆e, Test and Snoop Systems. ┆ 0x35460…35480 a1 b0 64 74 65 74 72 61 63 65 0d 0a 0d 0a 09 49 6e 20 74 68 69 73 20 73 79 73 74 65 6d 20 74 77 ┆ dtetrace In this system tw┆ 0x35480…354a0 6f 20 70 61 72 61 6d 65 74 65 72 73 20 61 72 65 20 6f 66 20 69 6e 74 65 72 65 73 74 3a 0d 0a 0d ┆o parameters are of interest: ┆ 0x354a0…354c0 0a 09 20 20 20 74 72 61 63 65 5f 62 75 66 5f 6e 6f 09 3a 20 4e 75 6d 62 65 72 20 6f 66 20 74 72 ┆ trace_buf_no : Number of tr┆ 0x354c0…354e0 61 63 65 20 62 75 66 66 65 72 73 0d 0a 09 09 09 20 20 b0 28 69 6e 20 64 74 65 5f 74 72 61 63 65 ┆ace buffers (in dte_trace┆ 0x354e0…35500 20 73 65 74 20 74 6f 20 31 30 29 0d 0a 0d 0a 09 20 20 20 74 72 61 63 65 5f 62 75 66 5f 73 69 7a ┆ set to 10) trace_buf_siz┆ 0x35500…35520 65 09 3a 20 53 69 7a 65 20 69 6e 20 62 79 74 65 73 20 6f 66 20 61 20 74 72 61 63 65 20 62 75 66 ┆e : Size in bytes of a trace buf┆ 0x35520…35540 66 65 72 0d 0a b0 09 09 09 20 20 28 69 6e 20 54 52 41 43 45 45 4e 56 20 73 65 74 20 74 6f 20 33 ┆fer (in TRACEENV set to 3┆ 0x35540…35560 30 30 29 0d 0a 0d 0a 0d 0a b0 09 a1 64 74 65 74 65 73 74 0d 0a 0d 0a 09 54 68 65 20 6f 6e 6c 79 ┆00) dtetest The only┆ 0x35560…35580 20 70 61 72 61 6d 65 74 65 72 20 6f 66 20 69 6e 74 65 72 65 73 74 20 69 73 3a 0d 0a 0d 0a 09 20 ┆ parameter of interest is: ┆ 0x35580…355a0 20 20 64 74 65 74 65 73 74 62 75 66 6e 6f 09 3a 20 4e 75 6d 62 65 72 20 6f 66 20 74 65 73 74 20 ┆ dtetestbufno : Number of test ┆ 0x355a0…355c0 62 75 66 66 65 72 73 0d 0a b0 09 09 09 20 20 28 69 6e 20 64 74 65 5f 74 65 73 74 20 73 65 74 20 ┆buffers (in dte_test set ┆ 0x355c0…355e0 74 6f 20 32 30 29 0d 0a 0d 0a 0d 0a b0 09 a1 64 74 65 73 6e 6f 6f 70 0d 0a 0d 0a 09 54 68 65 20 ┆to 20) dtesnoop The ┆ 0x355e0…35600 6f 6e 6c 79 20 70 61 72 61 6d 65 74 65 72 20 6f 66 20 69 6e 74 65 72 65 73 74 20 69 73 3a 0d 0a ┆only parameter of interest is: ┆ 0x35600…35620 (427,) 0d 0a 09 20 20 20 6d 61 78 5f 70 69 63 6b 75 70 73 09 3a 20 84 4e 75 6d 62 65 72 20 6f 66 20 70 ┆ max_pickups : Number of p┆ 0x35620…35640 69 63 6b 75 70 20 70 72 6f 63 65 73 73 65 73 2e 20 49 74 20 69 73 20 61 20 63 6f 6d 70 69 6c 61 ┆ickup processes. It is a compila┆ 0x35640…35660 80 0a 19 9f 80 80 74 69 6f 6e 20 70 61 72 61 6d 65 74 65 72 20 74 6f 20 74 68 65 20 73 6e 6f 6f ┆ tion parameter to the snoo┆ 0x35660…35680 70 65 72 20 70 72 6f 63 65 73 73 2e 20 49 74 20 0a 19 9f 80 80 73 68 6f 75 6c 64 20 62 65 20 67 ┆per process. It should be g┆ 0x35680…356a0 72 65 61 74 65 72 20 74 68 61 6e 20 6f 72 20 65 71 75 61 6c 20 74 6f 20 74 77 69 63 65 20 0a 19 ┆reater than or equal to twice ┆ 0x356a0…356c0 9f 80 80 6d 61 78 5f 63 68 61 6e 20 28 73 65 65 20 73 65 63 74 69 6f 6e 20 36 2e 33 29 20 69 66 ┆ max_chan (see section 6.3) if┆ 0x356c0…356e0 20 73 6e 6f 6f 70 20 73 68 61 6c 6c 20 62 65 20 0a 19 9f 80 80 70 65 72 66 6f 72 6d 65 64 2e 0d ┆ snoop shall be performed. ┆ 0x356e0…35700 0a b0 09 09 09 20 20 28 69 6e 20 4e 45 54 45 4e 56 20 73 65 74 20 74 6f 20 32 30 29 2e 0d 0a 0d ┆ (in NETENV set to 20). ┆ 0x35700…35701 0a ┆ ┆ 0x35701…35704 FormFeed { 0x35701…35704 0c 80 a0 ┆ ┆ 0x35701…35704 } 0x35704…35720 0a a1 37 2e 32 09 53 74 6f 72 61 67 65 20 52 65 71 75 69 72 65 6d 65 6e 74 73 2e 0d ┆ 7.2 Storage Requirements. ┆ 0x35720…35740 0a 0d 0a 09 84 54 68 69 73 20 73 65 63 74 69 6f 6e 20 6c 69 73 74 73 20 74 68 65 20 73 74 6f 72 ┆ This section lists the stor┆ 0x35740…35760 61 67 65 20 72 65 71 75 69 72 65 6d 65 6e 74 73 20 66 6f 72 20 74 68 65 20 44 54 45 20 53 79 73 ┆age requirements for the DTE Sys┆ 0x35760…35780 74 65 6d 2e 20 0a 19 89 80 80 54 68 65 20 72 65 61 64 65 72 20 69 73 20 77 61 72 6e 65 64 20 74 ┆tem. The reader is warned t┆ 0x35780…357a0 68 61 74 20 74 68 65 20 6e 75 6d 65 72 69 63 61 6c 20 76 61 6c 75 65 73 20 61 72 65 20 73 75 62 ┆hat the numerical values are sub┆ 0x357a0…357c0 6a 65 63 74 20 74 6f 20 0a 19 89 80 80 63 68 61 6e 67 65 73 20 61 73 20 6e 65 77 20 76 65 72 73 ┆ject to changes as new vers┆ 0x357c0…357e0 69 6f 6e 73 20 6f 66 20 74 68 65 20 6d 6f 64 75 6c 65 2c 20 63 6f 6d 70 69 6c 65 72 20 6f 72 20 ┆ions of the module, compiler or ┆ 0x357e0…35800 61 6c 6c 6f 63 61 74 6f 72 20 61 6c 67 6f 80 0a 19 89 80 80 72 69 74 68 6d 20 65 6d 65 72 67 65 ┆allocator algo rithm emerge┆ 0x35800…35820 (428,) 2e 20 46 75 72 74 68 65 72 6d 6f 72 65 20 74 68 65 20 73 74 6f 72 61 67 65 20 72 65 71 75 69 72 ┆. Furthermore the storage requir┆ 0x35820…35840 65 6d 65 6e 74 73 20 64 65 70 65 6e 64 73 20 6f 6e 20 73 6f 6d 65 20 0a 19 89 80 80 63 6f 6e 66 ┆ements depends on some conf┆ 0x35840…35860 69 67 75 72 61 74 69 6f 6e 20 70 61 72 61 6d 65 74 65 72 73 2e 20 54 68 65 20 63 61 6c 63 75 6c ┆iguration parameters. The calcul┆ 0x35860…35880 61 74 69 6f 6e 20 77 69 6c 6c 20 73 68 6f 77 20 74 68 65 73 65 20 63 6f 6e 6e 65 63 80 0a 19 89 ┆ation will show these connec ┆ 0x35880…358a0 80 80 74 69 6f 6e 73 20 61 6e 64 20 6d 6f 73 74 20 6f 66 20 74 68 65 20 70 61 72 61 6d 65 74 65 ┆ tions and most of the paramete┆ 0x358a0…358c0 72 73 20 77 69 6c 6c 20 62 65 20 66 69 78 65 64 20 74 6f 20 74 68 65 20 76 61 6c 75 65 20 64 65 ┆rs will be fixed to the value de┆ 0x358c0…358e0 66 69 6e 80 0a 19 89 80 80 65 64 20 62 79 20 74 68 65 20 63 75 72 72 65 6e 74 20 76 65 72 73 69 ┆fin ed by the current versi┆ 0x358e0…35900 6f 6e 73 2e 0d 0a 0d 0a 09 54 68 65 20 63 75 72 72 65 6e 74 20 76 65 72 73 69 6f 6e 73 20 61 72 ┆ons. The current versions ar┆ 0x35900…35920 65 0d 0a 0d 0a 09 20 20 20 52 43 33 35 30 32 2f 31 20 4f 70 65 72 61 74 69 6e 67 20 53 79 73 74 ┆e RC3502/1 Operating Syst┆ 0x35920…35940 65 6d 2c 20 52 65 6c 65 61 73 65 20 36 2e 30 31 20 20 20 20 38 34 2e 30 34 2e 30 35 0d 0a 09 20 ┆em, Release 6.01 84.04.05 ┆ 0x35940…35960 20 20 52 65 61 6c 2d 54 69 6d 65 20 50 61 73 63 61 6c 2c 20 20 20 20 20 20 20 20 20 20 52 65 6c ┆ Real-Time Pascal, Rel┆ 0x35960…35980 65 61 73 65 20 38 2e 30 31 2c 20 20 20 38 34 2e 30 34 2e 30 35 0d 0a 09 20 20 20 44 54 45 20 6d ┆ease 8.01, 84.04.05 DTE m┆ 0x35980…359a0 6f 64 75 6c 65 2c 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 56 65 72 73 69 6f 6e 20 31 34 ┆odule, Version 14┆ 0x359a0…359c0 2c 20 20 20 20 20 38 35 2e 31 30 2e 32 31 0d 0a 09 20 20 20 44 54 45 54 52 41 43 45 2c 20 20 20 ┆, 85.10.21 DTETRACE, ┆ 0x359c0…359e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 56 65 72 73 69 6f 6e 20 36 2c 20 20 20 20 20 20 38 ┆ Version 6, 8┆ 0x359e0…35a00 35 2e 30 37 2e 33 30 0d 0a 09 20 20 20 44 54 45 54 45 53 54 2c 09 09 56 65 72 73 69 6f 6e 20 31 ┆5.07.30 DTETEST, Version 1┆ 0x35a00…35a20 (429,) 36 2c 20 20 20 20 20 38 35 2e 31 30 2e 31 34 0d 0a 09 20 20 20 44 54 45 53 4e 4f 4f 50 2c 09 09 ┆6, 85.10.14 DTESNOOP, ┆ 0x35a20…35a40 09 20 20 20 2c 20 20 38 33 2e 31 32 2e 30 35 2e 0d 0a 0d 0a 09 84 54 68 65 20 73 74 6f 72 61 67 ┆ , 83.12.05. The storag┆ 0x35a40…35a60 65 20 72 65 71 75 69 72 65 6d 65 6e 74 73 20 6d 61 79 20 62 65 20 64 69 76 69 64 65 64 20 69 6e ┆e requirements may be divided in┆ 0x35a60…35a80 74 6f 20 74 77 6f 3a 0d 0a 09 20 20 20 2d 20 84 74 68 65 20 73 74 61 74 69 63 20 72 65 71 75 69 ┆to two: - the static requi┆ 0x35a80…35aa0 72 65 6d 65 6e 74 73 20 77 68 69 63 68 20 61 72 65 20 69 6e 64 65 70 65 6e 64 65 6e 74 20 6f 66 ┆rements which are independent of┆ 0x35aa0…35ac0 20 74 68 65 20 63 72 65 61 74 69 6f 6e 20 0a 19 8e 80 80 70 61 80 72 61 6d 65 74 65 72 73 20 61 ┆ the creation pa rameters a┆ 0x35ac0…35ae0 6e 64 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 2d 20 84 74 68 65 20 64 79 6e 61 6d 69 63 20 72 ┆nd - the dynamic r┆ 0x35ae0…35b00 65 71 75 69 72 65 6d 65 6e 74 73 20 77 68 69 63 68 20 64 65 70 65 6e 64 20 6f 6e 20 74 68 65 20 ┆equirements which depend on the ┆ 0x35b00…35b20 63 72 65 61 74 69 6f 6e 20 70 61 72 61 6d 65 80 0a 19 8e 80 80 74 65 72 73 2e 0d 0a 0d 0a 09 84 ┆creation parame ters. ┆ 0x35b20…35b40 4f 72 74 68 6f 67 6f 6e 61 6c 6c 79 2c 20 73 74 6f 72 61 67 65 20 69 73 20 72 65 71 75 69 72 65 ┆Orthogonally, storage is require┆ 0x35b40…35b60 64 20 66 6f 72 20 74 68 72 65 65 20 64 69 66 66 65 72 65 6e 74 20 70 75 72 70 6f 73 65 73 3a 20 ┆d for three different purposes: ┆ 0x35b60…35b80 0a 19 89 80 80 63 6f 64 65 2c 20 73 74 61 63 6b 73 20 61 6e 64 20 62 75 66 66 65 72 20 70 6f 6f ┆ code, stacks and buffer poo┆ 0x35b80…35ba0 6c 73 2e 0d 0a 0d 0a 09 84 54 68 65 20 73 74 6f 72 61 67 65 20 66 6f 72 20 63 6f 64 65 20 69 73 ┆ls. The storage for code is┆ 0x35ba0…35bc0 20 6f 66 20 73 74 61 74 69 63 20 74 79 70 65 2c 20 77 68 65 72 65 61 73 20 74 68 65 20 73 74 6f ┆ of static type, whereas the sto┆ 0x35bc0…35be0 72 61 67 65 20 66 6f 72 20 0a 19 89 80 80 73 74 61 63 6b 73 20 61 6e 64 20 70 6f 6f 6c 73 20 6d ┆rage for stacks and pools m┆ 0x35be0…35c00 61 79 20 62 65 20 64 69 76 69 64 65 64 20 69 6e 74 6f 20 61 20 73 74 61 74 69 63 20 61 6e 64 20 ┆ay be divided into a static and ┆ 0x35c00…35c20 (430,) 61 20 64 79 6e 61 6d 69 63 20 70 61 72 74 2e 0d 0a 0d 0a 09 84 54 68 65 20 66 6f 6c 6c 6f 77 69 ┆a dynamic part. The followi┆ 0x35c20…35c40 6e 67 20 74 68 72 65 65 20 73 75 62 73 65 63 74 69 6f 6e 73 20 67 69 76 65 20 74 68 65 20 63 6f ┆ng three subsections give the co┆ 0x35c40…35c60 64 65 2c 20 73 74 61 63 6b 20 61 6e 64 20 70 6f 6f 6c 20 72 65 80 0a 19 89 80 80 71 75 69 72 65 ┆de, stack and pool re quire┆ 0x35c60…35c80 6d 65 6e 74 73 20 6f 66 20 74 68 65 20 63 6f 6d 70 6f 6e 65 6e 74 73 20 6f 66 20 74 68 65 20 44 ┆ments of the components of the D┆ 0x35c80…35ca0 54 45 20 53 79 73 74 65 6d 2c 20 77 68 65 72 65 61 73 20 73 75 62 73 65 63 74 69 6f 6e 20 0a 19 ┆TE System, whereas subsection ┆ 0x35ca0…35cc0 89 80 80 37 2e 32 2e 34 20 67 69 76 65 73 20 61 6e 20 6f 76 65 72 76 69 65 77 20 6f 66 20 74 68 ┆ 7.2.4 gives an overview of th┆ 0x35cc0…35ce0 65 20 74 6f 74 61 6c 20 72 65 71 75 69 72 65 6d 65 6e 74 73 2e 0d 0a 0d 0a 09 84 41 73 20 6d 65 ┆e total requirements. As me┆ 0x35ce0…35d00 6e 74 69 6f 6e 65 64 20 61 62 6f 76 65 20 73 65 76 65 72 61 6c 20 6f 66 20 74 68 65 20 63 6f 6e ┆ntioned above several of the con┆ 0x35d00…35d20 66 69 67 75 72 61 74 69 6f 6e 20 70 61 72 61 6d 65 74 65 72 73 20 77 69 6c 6c 20 62 65 20 0a 19 ┆figuration parameters will be ┆ 0x35d20…35d40 89 80 80 66 69 78 65 64 20 69 6e 20 74 68 65 20 63 61 6c 63 75 6c 61 74 69 6f 6e 2e 20 b0 4f 6e ┆ fixed in the calculation. On┆ 0x35d40…35d60 6c 79 20 69 6e 20 73 75 62 73 65 63 74 69 6f 6e 20 37 2e 32 2e 34 20 f0 74 68 65 20 70 61 72 61 ┆ly in subsection 7.2.4 the para┆ 0x35d60…35d80 6d 65 74 65 72 73 20 0a 19 89 81 80 77 69 6c 6c 20 62 65 20 66 69 78 65 64 2e 20 54 68 65 20 6f ┆meters will be fixed. The o┆ 0x35d80…35da0 6e 6c 79 20 74 77 6f 20 70 61 72 61 6d 65 74 65 72 73 20 74 68 61 74 20 6e 6f 74 20 77 69 6c 6c ┆nly two parameters that not will┆ 0x35da0…35dc0 20 62 65 20 66 69 78 65 64 20 61 72 65 20 0a 19 89 81 80 74 68 65 20 61 63 74 75 61 6c 20 6e 75 ┆ be fixed are the actual nu┆ 0x35dc0…35de0 6d 62 65 72 20 6f 66 20 6c 6f 67 69 63 61 6c 20 63 68 61 6e 6e 65 6c 73 20 28 6d 61 78 5f 63 68 ┆mber of logical channels (max_ch┆ 0x35de0…35e00 61 6e 29 2c 20 61 6e 64 20 74 68 65 20 6d 61 78 20 0a 19 89 81 80 77 69 6e 64 6f 77 20 73 69 7a ┆an), and the max window siz┆ 0x35e00…35e20 (431,) 65 20 28 6d 77 5f 73 69 7a 65 29 2e 0d 0a 0d 0a 8c 80 a9 0a 09 84 54 68 69 73 20 6d 65 61 6e 73 ┆e (mw_size). This means┆ 0x35e20…35e40 20 74 68 61 74 20 74 68 65 20 64 79 6e 61 6d 69 63 20 70 61 72 74 73 20 69 6e 20 73 75 62 73 65 ┆ that the dynamic parts in subse┆ 0x35e40…35e60 63 74 69 6f 6e 20 37 2e 32 2e 34 20 77 69 6c 6c 20 6f 6e 6c 79 20 0a 19 89 80 80 64 65 70 65 6e ┆ction 7.2.4 will only depen┆ 0x35e60…35e80 64 20 6f 66 20 74 68 65 20 76 61 6c 75 65 20 6f 66 0d 0a 0d 0a 09 09 09 4e 20 3d 20 6d 61 78 5f ┆d of the value of N = max_┆ 0x35e80…35ea0 63 68 61 6e 2e 0d 0a 09 09 09 57 20 3d 20 6d 77 5f 73 69 7a 65 0d 0a 0d 0a 0d 0a a1 37 2e 32 2e ┆chan. W = mw_size 7.2.┆ 0x35ea0…35ec0 31 09 43 6f 64 65 2e 0d 0a 0d 0a 09 84 54 68 65 20 73 70 65 63 69 66 69 65 64 20 72 65 71 75 69 ┆1 Code. The specified requi┆ 0x35ec0…35ee0 72 65 6d 65 6e 74 73 20 61 72 65 20 74 68 6f 73 65 20 6f 62 74 61 69 6e 65 64 20 62 79 20 6d 65 ┆rements are those obtained by me┆ 0x35ee0…35f00 61 6e 73 20 6f 66 20 74 68 65 20 0a 19 89 80 80 50 4c 49 42 4c 4f 4f 4b 55 50 20 75 74 69 6c 69 ┆ans of the PLIBLOOKUP utili┆ 0x35f00…35f20 74 79 2e 0d 0a 0d 0a 09 20 20 20 70 72 6f 63 65 73 73 2f 70 72 6f 63 65 64 75 72 65 20 6e 61 6d ┆ty. process/procedure nam┆ 0x35f20…35f40 65 09 09 62 79 74 65 73 0d 0a 09 09 64 74 65 09 09 09 33 31 32 34 34 0d 0a 09 09 64 74 65 5f 61 ┆e bytes dte 31244 dte_a┆ 0x35f40…35f60 63 63 65 73 73 09 09 20 37 39 36 30 0d 0a 09 09 64 74 65 5f 63 68 61 6e 09 09 09 32 33 39 34 36 ┆ccess 7960 dte_chan 23946┆ 0x35f60…35f80 0d 0a 09 09 64 74 65 5f 6c 63 6e 7a 65 72 6f 09 09 20 35 32 37 36 0d 0a 09 09 64 74 65 5f 68 72 ┆ dte_lcnzero 5276 dte_hr┆ 0x35f80…35fa0 65 63 09 09 09 20 31 36 34 34 0d 0a 09 09 64 74 65 5f 70 6f 6f 6c 09 09 09 20 31 34 33 30 0d 0a ┆ec 1644 dte_pool 1430 ┆ 0x35fa0…35fc0 0d 0a 09 09 64 74 65 74 72 61 63 65 09 09 09 20 34 32 34 32 0d 0a 09 09 6f 75 74 74 72 61 63 65 ┆ dtetrace 4242 outtrace┆ 0x35fc0…35fe0 09 09 09 20 20 33 34 38 0d 0a 0d 0a 09 09 64 74 65 74 65 73 74 09 09 09 20 39 37 39 32 0d 0a 0d ┆ 348 dtetest 9792 ┆ 0x35fe0…36000 0a 09 09 64 74 65 20 70 72 6f 63 65 64 75 72 65 73 09 09 20 35 33 34 34 0d 0a 09 09 58 2e 32 35 ┆ dte procedures 5344 X.25┆ 0x36000…36020 (432,) 20 70 72 6f 63 65 64 75 72 65 73 09 09 20 37 30 34 32 0d 0a 09 09 70 6f 6f 6c 20 70 72 6f 63 65 ┆ procedures 7042 pool proce┆ 0x36020…36040 64 75 72 65 73 09 09 20 31 37 36 36 0d 0a 0d 0a 09 09 64 74 65 73 6e 6f 6f 70 09 09 09 31 33 30 ┆dures 1766 dtesnoop 130┆ 0x36040…36046 30 30 0d 0a 0d 0a ┆00 ┆ 0x36046…36049 FormFeed { 0x36046…36049 0c 80 9f ┆ ┆ 0x36046…36049 } 0x36049…36060 0a a1 37 2e 32 2e 32 09 53 74 61 63 6b 2e 0d 0a 0d 0a 09 64 74 65 3a ┆ 7.2.2 Stack. dte:┆ 0x36060…36080 09 09 09 09 09 20 20 20 20 20 20 20 20 62 79 74 65 73 0d 0a 09 20 20 20 62 61 73 69 63 09 09 09 ┆ bytes basic ┆ 0x36080…360a0 09 09 20 20 20 20 20 20 20 20 32 33 32 39 0d 0a 09 20 20 20 65 78 74 72 61 20 70 65 72 20 63 6f ┆ 2329 extra per co┆ 0x360a0…360c0 6d 70 69 6c 61 74 69 6f 6e 20 64 65 66 69 6e 65 64 20 63 68 61 6e 6e 65 6c 20 28 6d 5f 6d 61 78 ┆mpilation defined channel (m_max┆ 0x360c0…360e0 5f 63 68 61 6e 29 20 20 09 31 36 0d 0a 09 20 20 20 65 78 74 72 61 20 70 65 72 20 70 6f 73 73 69 ┆_chan) 16 extra per possi┆ 0x360e0…36100 62 6c 65 20 75 73 65 72 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 6d 61 78 5f 75 73 65 72 ┆ble user (max_user┆ 0x36100…36120 29 09 32 37 0d 0a 09 20 20 20 65 78 74 72 61 20 70 65 72 20 74 65 73 74 72 65 63 6f 72 64 20 20 ┆) 27 extra per testrecord ┆ 0x36120…36140 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 28 74 65 73 74 6d 61 78 29 09 20 37 0d 0a 09 20 ┆ (testmax) 7 ┆ 0x36140…36160 20 20 65 78 74 72 61 20 70 65 72 20 63 72 65 61 74 69 6f 6e 20 64 65 66 69 6e 65 64 20 63 68 61 ┆ extra per creation defined cha┆ 0x36160…36180 6e 6e 65 6c 20 20 20 20 28 6d 61 78 5f 63 68 61 6e 29 09 37 31 0d 0a 0d 0a 09 64 74 65 5f 61 63 ┆nnel (max_chan) 71 dte_ac┆ 0x36180…361a0 63 65 73 73 3a 0d 0a 09 20 20 20 62 61 73 69 63 09 09 09 09 09 20 20 20 20 20 20 20 20 20 34 36 ┆cess: basic 46┆ 0x361a0…361c0 34 0d 0a 09 20 20 20 65 78 74 72 61 20 70 65 72 20 63 72 65 61 74 69 6f 6e 20 64 65 66 69 6e 65 ┆4 extra per creation define┆ 0x361c0…361e0 64 20 63 68 61 6e 6e 65 6c 20 20 20 20 28 6d 61 78 5f 63 68 61 6e 29 09 33 30 0d 0a 0d 0a 09 64 ┆d channel (max_chan) 30 d┆ 0x361e0…36200 74 65 5f 63 68 61 6e 3a 0d 0a 09 20 20 20 62 61 73 69 63 09 09 09 09 09 20 20 20 20 20 20 20 20 ┆te_chan: basic ┆ 0x36200…36220 (433,) 31 31 39 30 0d 0a 09 20 20 20 65 78 74 72 61 20 70 65 72 20 74 65 73 74 72 65 63 6f 72 64 09 09 ┆1190 extra per testrecord ┆ 0x36220…36240 20 28 74 65 73 74 6d 61 78 29 20 20 20 09 20 38 0d 0a 0d 0a 09 64 74 65 5f 6c 63 6e 7a 65 72 6f ┆ (testmax) 8 dte_lcnzero┆ 0x36240…36260 3a 0d 0a 09 20 20 20 62 61 73 69 63 09 09 09 09 09 20 20 20 20 20 20 20 20 20 39 39 30 0d 0a 09 ┆: basic 990 ┆ 0x36260…36280 20 20 20 65 78 74 72 61 20 70 65 72 20 74 65 73 74 72 65 63 6f 72 64 09 09 20 28 74 65 73 74 6d ┆ extra per testrecord (testm┆ 0x36280…362a0 61 78 29 20 20 20 09 20 36 0d 0a 0d 0a 09 64 74 65 5f 68 72 65 63 3a 0d 0a 09 20 20 20 62 61 73 ┆ax) 6 dte_hrec: bas┆ 0x362a0…362c0 69 63 09 09 09 09 09 20 20 20 20 20 20 20 20 20 34 32 34 0d 0a 0d 0a 09 64 74 65 5f 70 6f 6f 6c ┆ic 424 dte_pool┆ 0x362c0…362e0 3a 0d 0a 09 20 20 20 62 61 73 69 63 09 09 09 09 09 20 20 20 20 20 20 20 20 20 34 30 30 0d 0a 0d ┆: basic 400 ┆ 0x362e0…36300 0a 09 64 74 65 74 72 61 63 65 3a 0d 0a 09 20 20 20 62 61 73 69 63 09 09 09 09 09 20 20 20 20 20 ┆ dtetrace: basic ┆ 0x36300…36320 20 20 20 20 36 36 36 0d 0a 0d 0a 09 6f 75 74 74 72 61 63 65 3a 0d 0a 09 20 20 20 62 61 73 69 63 ┆ 666 outtrace: basic┆ 0x36320…36340 09 09 09 09 09 20 20 20 20 20 20 20 20 20 33 31 32 0d 0a 0d 0a 09 64 74 65 74 65 73 74 3a 0d 0a ┆ 312 dtetest: ┆ 0x36340…36360 09 20 20 20 62 61 73 69 63 09 09 09 09 09 20 20 20 20 20 20 20 20 20 37 38 30 0d 0a 0d 0a 20 20 ┆ basic 780 ┆ 0x36360…36380 20 20 20 20 20 20 20 64 74 65 63 6c 6f 63 6b 3a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 61 ┆ dteclock: ba┆ 0x36380…363a0 73 69 63 09 09 09 09 09 20 20 20 20 20 20 20 20 20 32 31 30 0d 0a 0d 0a 8c 80 a7 0a 09 64 74 65 ┆sic 210 dte┆ 0x363a0…363c0 73 6e 6f 6f 70 3a 0d 0a 09 20 20 20 62 61 73 69 63 09 09 09 09 09 20 20 20 20 20 20 20 20 20 36 ┆snoop: basic 6┆ 0x363c0…363e0 31 30 0d 0a 09 20 20 20 65 78 74 72 61 20 70 65 72 20 70 69 63 6b 75 70 20 69 6e 63 61 72 6e 61 ┆10 extra per pickup incarna┆ 0x363e0…36400 74 69 6f 6e 20 28 6d 61 78 5f 70 69 63 6b 75 70 73 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆tion (max_pickups) ┆ 0x36400…36420 (434,) 33 34 30 0d 0a 0d 0a 0d 0a a1 37 2e 32 2e 33 09 42 75 66 66 65 72 20 50 6f 6f 6c 73 2e 0d 0a 0d ┆340 7.2.3 Buffer Pools. ┆ 0x36420…36440 0a 09 84 49 6e 20 74 68 69 73 20 73 75 62 73 65 63 74 69 6f 6e 20 74 68 65 20 62 75 66 66 65 72 ┆ In this subsection the buffer┆ 0x36440…36460 20 72 65 71 75 69 72 65 6d 65 6e 74 73 20 61 72 65 20 6f 75 74 6c 69 6e 65 64 2e 20 53 6f 6d 65 ┆ requirements are outlined. Some┆ 0x36460…36480 20 6f 66 20 0a 19 89 80 80 74 68 65 20 70 6f 6f 6c 73 20 61 72 65 20 69 6e 69 74 69 61 6c 69 7a ┆ of the pools are initializ┆ 0x36480…364a0 65 64 20 64 79 6e 61 6d 69 63 6c 79 20 64 75 72 69 6e 67 20 6e 6f 72 6d 61 6c 20 72 75 6e 2e 20 ┆ed dynamicly during normal run. ┆ 0x364a0…364c0 54 68 65 79 20 61 72 65 20 0a 19 89 80 80 6d 61 72 6b 20 77 69 74 68 20 27 64 79 6e 27 20 61 6e ┆They are mark with 'dyn' an┆ 0x364c0…364e0 64 20 61 20 6e 6f 72 6d 61 6c 20 75 73 65 64 20 6e 75 6d 62 65 72 20 69 73 20 65 73 74 69 6d 61 ┆d a normal used number is estima┆ 0x364e0…36500 74 65 64 20 61 6e 64 20 75 73 65 64 20 74 6f 20 0a 19 89 80 80 63 61 6c 63 75 6c 61 74 65 20 74 ┆ted and used to calculate t┆ 0x36500…36520 68 65 20 72 65 71 75 69 72 65 6d 65 6e 74 73 2e 20 54 68 69 73 20 6e 75 6d 62 65 72 20 69 73 20 ┆he requirements. This number is ┆ 0x36520…36540 69 6e 64 69 63 61 74 65 64 20 69 6e 20 62 72 61 63 6b 65 74 73 20 0a 19 89 80 80 61 66 74 65 72 ┆indicated in brackets after┆ 0x36540…36560 20 27 64 79 6e 27 2e 20 54 68 65 20 72 65 61 64 65 72 20 69 73 20 77 61 72 6e 65 64 20 74 68 61 ┆ 'dyn'. The reader is warned tha┆ 0x36560…36580 74 20 62 65 63 61 75 73 65 20 6f 66 20 74 68 69 73 20 74 68 65 20 72 65 80 0a 19 89 80 80 71 75 ┆t because of this the re qu┆ 0x36580…365a0 69 72 65 6d 65 6e 74 73 20 6d 61 79 20 62 65 20 67 72 65 61 74 65 72 20 69 6e 20 73 70 65 63 69 ┆irements may be greater in speci┆ 0x365a0…365c0 61 6c 20 73 69 74 75 61 74 69 6f 6e 73 2e 0d 0a 0d 0a 09 70 72 6f 63 65 73 73 20 20 20 20 70 6f ┆al situations. process po┆ 0x365c0…365e0 6f 6c 20 6e 61 6d 65 20 20 20 20 20 20 20 20 6e 75 6d 62 65 72 20 6f 66 20 20 20 20 20 20 20 62 ┆ol name number of b┆ 0x365e0…36600 75 66 66 65 72 20 20 20 20 20 20 20 20 20 20 74 6f 74 61 6c 0d 0a 09 a1 20 20 20 20 20 20 20 20 ┆uffer total ┆ 0x36600…36620 (435,) 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 75 66 66 65 72 73 20 20 20 20 20 ┆ buffers ┆ 0x36620…36640 20 20 20 20 20 73 69 7a 65 20 20 20 20 20 20 20 20 20 20 20 62 79 74 65 73 0d 0a 0d 0a 09 b0 64 ┆ size bytes d┆ 0x36640…36660 74 65 20 20 20 20 20 20 20 f0 74 72 61 63 65 5f 70 6f 6f 6c 20 20 20 20 20 20 20 20 20 20 31 20 ┆te trace_pool 1 ┆ 0x36660…36680 20 20 20 20 20 20 20 20 20 20 20 20 33 32 2b 30 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 33 ┆ 32+0 3┆ 0x36680…366a0 32 0d 0a 09 20 20 20 20 20 20 20 20 20 20 63 6c 6f 63 6b 5f 70 6f 6f 6c 20 20 20 20 20 20 20 20 ┆2 clock_pool ┆ 0x366a0…366c0 20 20 31 20 20 20 20 20 20 20 20 20 20 20 20 20 33 32 2b 31 32 20 20 20 20 20 20 20 20 20 20 20 ┆ 1 32+12 ┆ 0x366c0…366e0 20 20 20 34 34 0d 0a 09 20 20 20 20 20 20 20 20 20 20 63 6f 6e 73 6f 6c 65 5f 70 6f 6f 6c 20 20 ┆ 44 console_pool ┆ 0x366e0…36700 20 20 20 20 20 20 33 20 20 20 20 20 20 20 20 20 20 20 20 20 33 32 2b 38 32 20 20 20 20 20 20 20 ┆ 3 32+82 ┆ 0x36700…36720 20 20 20 20 20 20 33 34 32 0d 0a 09 20 20 20 20 20 20 20 20 20 20 62 72 65 61 6b 5f 70 6f 6f 6c ┆ 342 break_pool┆ 0x36720…36740 20 20 20 20 20 20 20 20 20 20 31 20 20 20 20 20 20 20 20 20 20 20 20 20 33 32 2b 31 36 20 20 20 ┆ 1 32+16 ┆ 0x36740…36760 20 20 20 20 20 20 20 20 20 20 20 34 38 0d 0a 09 20 20 20 20 20 20 20 20 20 20 68 65 61 64 5f 70 ┆ 48 head_p┆ 0x36760…36780 6f 6f 6c 20 20 20 20 20 20 20 73 75 70 68 65 61 64 5f 6e 6f 20 20 20 20 20 20 20 20 33 32 2b 30 ┆ool suphead_no 32+0┆ 0x36780…367a0 0d 0a 09 20 20 20 20 20 20 20 20 20 20 65 76 65 6e 74 5f 70 6f 6f 6c 20 20 20 20 20 20 65 76 65 ┆ event_pool eve┆ 0x367a0…367c0 6e 74 62 75 66 5f 6e 6f 20 20 20 20 20 20 20 33 32 2b 39 32 0d 0a 09 20 20 20 20 20 20 20 20 20 ┆ntbuf_no 32+92 ┆ 0x367c0…367e0 20 73 75 70 6d 65 73 73 70 6f 6f 6c 20 20 20 20 20 73 75 70 6d 65 73 73 5f 6e 6f 20 20 20 20 20 ┆ supmesspool supmess_no ┆ 0x367e0…36800 20 20 20 33 32 2b 31 30 0d 0a 09 20 20 20 20 20 20 20 20 20 20 6c 63 70 5f 70 6f 6f 6c 20 20 20 ┆ 32+10 lcp_pool ┆ 0x36800…36820 (436,) 20 20 20 20 20 20 20 20 20 32 20 20 20 20 20 20 20 20 20 20 20 20 20 33 32 2b 38 20 20 20 20 20 ┆ 2 32+8 ┆ 0x36820…36840 20 20 20 20 20 20 20 20 20 20 38 30 0d 0a 09 20 20 20 20 20 20 20 20 20 20 73 79 6e 63 5f 70 6f ┆ 80 sync_po┆ 0x36840…36860 6f 6c 20 20 20 20 20 20 20 6d 61 78 5f 63 68 61 6e 20 20 20 20 20 20 20 20 20 20 33 32 2b 31 36 ┆ol max_chan 32+16┆ 0x36860…36880 0d 0a 09 20 20 20 20 20 20 20 20 20 20 63 68 5f 72 65 73 5f 70 6f 6f 6c 20 20 20 20 20 6d 61 78 ┆ ch_res_pool max┆ 0x36880…368a0 5f 63 68 61 6e 20 20 20 20 20 20 20 20 20 20 33 32 2b 30 0d 0a 09 20 20 20 20 20 20 20 20 20 20 ┆_chan 32+0 ┆ 0x368a0…368c0 68 64 6c 63 5f 70 6f 6f 6c 20 20 20 20 20 20 20 64 79 6e 20 28 32 29 20 20 20 20 20 20 20 20 20 ┆hdlc_pool dyn (2) ┆ 0x368c0…368e0 20 20 33 32 2b 32 30 20 20 20 20 20 20 20 20 20 20 20 20 20 31 30 34 0d 0a 09 20 20 20 20 20 20 ┆ 32+20 104 ┆ 0x368e0…36900 20 20 20 20 68 64 6c 63 5f 65 76 5f 70 6f 6f 6c 20 20 20 20 68 64 6c 63 5f 65 76 65 6e 74 6e 6f ┆ hdlc_ev_pool hdlc_eventno┆ 0x36900…36920 20 20 20 20 20 20 33 32 2b 30 0d 0a 09 20 20 20 20 20 20 20 20 20 20 73 6d 61 6c 6c 70 6f 6f 6c ┆ 32+0 smallpool┆ 0x36920…36940 20 20 20 20 20 20 20 32 2a 6d 61 78 5f 63 68 61 6e 20 20 20 20 20 20 20 20 33 32 2b 31 32 0d 0a ┆ 2*max_chan 32+12 ┆ 0x36940…36960 09 20 20 20 20 20 20 20 20 20 20 62 69 67 70 6f 6f 6c 20 20 20 20 20 20 20 6d 61 78 20 28 6d 61 ┆ bigpool max (ma┆ 0x36960…36980 78 5f 69 6e 62 75 66 73 2c 0d 0a 09 09 09 20 20 20 20 20 20 20 20 36 2b 6d 61 78 5f 63 68 61 6e ┆x_inbufs, 6+max_chan┆ 0x36980…369a0 2a 20 20 20 20 20 33 32 2b 39 2b 78 32 35 5f 64 61 74 61 73 69 7a 65 0d 0a 20 20 20 20 20 20 20 ┆* 32+9+x25_datasize ┆ 0x369a0…369c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 77 ┆ mw┆ 0x369c0…369e0 5f 73 69 7a 65 20 64 69 76 20 32 29 0d 0a 09 20 20 20 20 20 20 20 20 20 20 78 32 35 70 6f 6f 6c ┆_size div 2) x25pool┆ 0x369e0…36a00 09 20 20 20 20 20 20 6d 61 78 5f 63 68 61 6e 20 20 20 20 20 20 20 20 20 20 33 32 2b 31 32 0d 0a ┆ max_chan 32+12 ┆ 0x36a00…36a20 (437,) 09 20 20 20 20 20 20 20 20 20 20 62 75 66 6b 65 79 70 6f 6f 6c 20 20 20 20 20 20 20 20 20 20 33 ┆ bufkeypool 3┆ 0x36a20…36a40 20 20 20 20 20 20 20 20 20 20 20 20 20 33 32 2b 30 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ 32+0 ┆ 0x36a40…36a60 39 36 0d 0a 09 20 20 20 20 20 20 20 20 20 20 73 68 61 64 6f 77 20 62 75 66 66 65 72 73 20 20 20 ┆96 shadow buffers ┆ 0x36a60…36a80 20 20 20 38 20 20 20 20 20 20 20 20 20 20 20 20 20 33 32 2b 30 20 20 20 20 20 20 20 20 20 20 20 ┆ 8 32+0 ┆ 0x36a80…36aa0 20 20 20 32 35 36 0d 0a 09 20 20 20 20 20 20 20 20 20 20 63 68 61 6e 20 73 68 61 64 6f 77 20 62 ┆ 256 chan shadow b┆ 0x36aa0…36abb 75 66 2e 20 6d 61 78 5f 63 68 61 6e 20 20 20 20 20 20 20 20 20 33 32 2b 30 0d 0a ┆uf. max_chan 32+0 ┆ 0x36abb…36abe FormFeed { 0x36abb…36abe 0c 80 a5 ┆ ┆ 0x36abb…36abe } 0x36abe…36ac0 0a b0 ┆ ┆ 0x36ac0…36ae0 09 64 74 65 5f 61 63 63 65 73 73 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ dte_access ┆ 0x36ae0…36b00 f0 63 6f 6e 74 72 6f 6c 5f 70 6f 6f 6c 20 20 20 20 20 64 79 6e 20 28 33 29 20 20 20 20 20 20 20 ┆ control_pool dyn (3) ┆ 0x36b00…36b20 20 20 20 33 32 2b 30 0d 0a 0d 0a b0 09 64 74 65 5f 63 68 61 6e 20 20 f0 62 6f 6f 6b 70 6f 6f 6c ┆ 32+0 dte_chan bookpool┆ 0x36b20…36b40 09 09 31 09 20 20 20 20 33 32 2b 36 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 33 38 0d 0a 09 ┆ 1 32+6 38 ┆ 0x36b40…36b60 09 63 61 6c 6c 70 6f 6f 6c 09 09 32 09 20 20 20 20 33 32 2b 31 30 36 20 20 20 20 20 20 20 20 20 ┆ callpool 2 32+106 ┆ 0x36b60…36b80 20 20 20 32 37 36 0d 0a 09 09 68 65 61 64 70 6f 6f 6c 09 09 33 09 20 20 20 20 33 32 2b 30 20 20 ┆ 276 headpool 3 32+0 ┆ 0x36b80…36ba0 20 20 20 20 20 20 20 20 20 20 20 20 20 39 36 0d 0a 09 09 74 69 6d 65 6f 75 74 5f 70 6f 6f 6c 20 ┆ 96 timeout_pool ┆ 0x36ba0…36bc0 20 20 20 20 20 20 20 33 20 20 20 20 20 20 20 20 20 20 20 20 20 33 32 2b 32 20 20 20 20 20 20 20 ┆ 3 32+2 ┆ 0x36bc0…36be0 20 20 20 20 20 20 20 31 30 32 0d 0a 09 09 75 5f 65 76 65 6e 74 70 6f 6f 6c 09 33 09 20 20 20 20 ┆ 102 u_eventpool 3 ┆ 0x36be0…36c00 33 32 2b 31 30 20 20 20 20 20 20 20 20 20 20 20 20 20 31 32 36 0d 0a 09 09 78 32 35 68 65 61 64 ┆32+10 126 x25head┆ 0x36c00…36c20 (438,) 5f 70 6f 6f 6c 20 20 20 20 20 64 79 6e 20 28 6d 61 78 20 20 20 20 20 20 20 20 20 33 32 2b 30 20 ┆_pool dyn (max 32+0 ┆ 0x36c20…36c40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 36 34 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ 64 ┆ 0x36c40…36c60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 77 5f 73 69 7a 65 29 0d 0a ┆ mw_size) ┆ 0x36c60…36c80 0d 0a b0 09 64 74 65 5f 6c 63 6e 7a 65 72 6f 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ dte_lcnzero ┆ 0x36c80…36ca0 20 20 20 20 f0 63 6f 6e 73 6f 6c 65 5f 70 6f 6f 6c 20 20 20 20 20 20 20 20 31 20 20 20 20 20 20 ┆ console_pool 1 ┆ 0x36ca0…36cc0 20 20 20 20 20 20 20 33 32 2b 38 32 20 20 20 20 20 20 20 20 20 20 20 20 20 31 31 34 0d 0a 09 09 ┆ 32+82 114 ┆ 0x36cc0…36ce0 68 65 61 64 70 6f 6f 6c 09 09 31 09 20 20 20 20 33 32 2b 30 09 09 20 20 20 33 32 0d 0a 09 09 73 ┆headpool 1 32+0 32 s┆ 0x36ce0…36d00 75 70 6d 65 73 73 5f 70 6f 6f 6c 20 20 20 20 20 64 79 6e 20 28 32 29 20 20 20 20 20 20 20 20 20 ┆upmess_pool dyn (2) ┆ 0x36d00…36d20 20 33 32 2b 34 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 37 32 0d 0a 09 09 74 69 6d 65 6f 75 ┆ 32+4 72 timeou┆ 0x36d20…36d40 74 5f 70 6f 6f 6c 20 20 20 20 20 20 20 20 32 09 20 20 20 20 33 32 2b 31 32 20 20 20 20 20 20 20 ┆t_pool 2 32+12 ┆ 0x36d40…36d60 20 20 20 20 20 20 20 38 38 0d 0a 0d 0a b0 09 64 74 65 5f 68 72 65 63 20 20 f0 68 65 61 64 5f 70 ┆ 88 dte_hrec head_p┆ 0x36d60…36d80 6f 6f 6c 20 20 20 20 20 20 20 20 6d 61 78 5f 69 6e 62 75 66 73 20 20 20 20 20 20 20 33 32 2b 30 ┆ool max_inbufs 32+0┆ 0x36d80…36da0 0d 0a 09 09 74 72 61 63 65 5f 70 6f 6f 6c 20 20 20 20 20 20 20 20 20 20 31 20 20 20 20 20 20 20 ┆ trace_pool 1 ┆ 0x36da0…36dc0 20 20 20 20 20 20 33 32 2b 30 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 33 32 0d 0a 0d 0a b0 ┆ 32+0 32 ┆ 0x36dc0…36de0 09 64 74 65 5f 70 6f 6f 6c 20 20 f0 6e 63 70 70 6f 6f 6c 09 09 31 09 20 20 20 20 33 32 2b 38 20 ┆ dte_pool ncppool 1 32+8 ┆ 0x36de0…36e00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 34 30 0d 0a 09 09 73 74 61 72 74 68 65 61 64 09 20 20 ┆ 40 starthead ┆ 0x36e00…36e20 (439,) 20 20 20 20 20 20 20 20 31 09 20 20 20 20 33 32 2b 30 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ 1 32+0 ┆ 0x36e20…36e40 20 33 32 0d 0a 0d 0a b0 09 64 74 65 74 72 61 63 65 20 20 f0 63 6f 6e 73 6f 6c 65 70 6f 6f 6c 09 ┆ 32 dtetrace consolepool ┆ 0x36e40…36e60 36 09 20 20 20 20 33 32 2b 38 32 20 20 20 20 20 20 20 20 20 20 20 20 20 36 38 34 0d 0a 09 09 74 ┆6 32+82 684 t┆ 0x36e60…36e80 72 61 63 65 5f 70 6f 6f 6c 20 20 20 20 20 20 74 72 61 63 65 5f 62 75 66 5f 6e 6f 20 20 20 20 20 ┆race_pool trace_buf_no ┆ 0x36e80…36ea0 20 33 32 2b 38 2b 74 72 61 63 65 5f 62 75 66 5f 73 69 7a 65 0d 0a 09 09 62 75 66 6b 65 79 70 6f ┆ 32+8+trace_buf_size bufkeypo┆ 0x36ea0…36ec0 6f 6c 09 31 09 20 20 20 20 33 32 2b 30 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 33 32 0d 0a ┆ol 1 32+0 32 ┆ 0x36ec0…36ee0 09 09 74 69 6d 65 70 6f 6f 6c 09 09 31 09 20 20 20 20 33 32 2b 31 32 20 20 20 20 20 20 20 20 20 ┆ timepool 1 32+12 ┆ 0x36ee0…36f00 20 20 20 20 20 34 34 0d 0a 0d 0a b0 09 6f 75 74 74 72 61 63 65 20 20 f0 74 72 61 63 65 5f 70 6f ┆ 44 outtrace trace_po┆ 0x36f00…36f20 6f 6c 09 31 09 20 20 20 20 33 32 2b 30 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 33 32 0d 0a ┆ol 1 32+0 32 ┆ 0x36f20…36f40 0d 0a b0 09 64 74 65 74 65 73 74 20 20 20 f0 69 6e 70 6f 6f 6c 09 09 31 09 20 20 20 20 33 32 2b ┆ dtetest inpool 1 32+┆ 0x36f40…36f60 38 32 09 09 20 20 31 31 34 0d 0a 09 09 6f 75 74 70 6f 6f 6c 09 09 33 09 20 20 20 20 33 32 2b 38 ┆82 114 outpool 3 32+8┆ 0x36f60…36f80 32 09 09 20 20 33 34 32 0d 0a 09 09 64 74 65 74 65 73 74 70 6f 6f 6c 20 20 20 20 20 64 74 65 74 ┆2 342 dtetestpool dtet┆ 0x36f80…36fa0 65 73 74 62 75 66 6e 6f 20 20 20 20 20 20 33 32 2b 31 37 34 0d 0a 09 09 61 63 63 5f 74 65 73 74 ┆estbufno 32+174 acc_test┆ 0x36fa0…36fc0 20 09 09 31 09 20 20 20 20 33 32 2b 31 34 20 20 20 20 20 20 20 20 20 20 20 20 20 20 34 36 0d 0a ┆ 1 32+14 46 ┆ 0x36fc0…36fe0 0d 0a 20 20 20 20 20 20 20 20 20 b0 64 74 65 6c 6f 63 6b f0 20 20 20 74 69 6d 65 72 70 6f 6f 6c ┆ dtelock timerpool┆ 0x36fe0…37000 20 20 20 20 20 20 20 20 20 20 20 31 20 20 20 20 20 20 20 20 20 20 20 20 20 33 32 2b 30 20 20 20 ┆ 1 32+0 ┆ 0x37000…37012 (440,) 20 20 20 20 20 20 20 20 20 20 20 20 33 32 0d 0a 0d 0a ┆ 32 ┆ 0x37012…37015 FormFeed { 0x37012…37015 0c 80 a5 ┆ ┆ 0x37012…37015 } 0x37015…37020 0a 09 84 54 68 65 20 66 69 67 75 ┆ The figu┆ 0x37020…37040 72 65 73 20 66 6f 72 20 74 68 65 20 64 74 65 73 6e 6f 6f 70 20 70 72 6f 63 65 73 73 20 61 72 65 ┆res for the dtesnoop process are┆ 0x37040…37060 20 74 61 6b 65 6e 20 66 72 6f 6d 20 72 65 66 2e 20 28 37 29 20 61 6e 64 20 0a 19 89 80 80 67 69 ┆ taken from ref. (7) and gi┆ 0x37060…37080 76 65 73 3a 0d 0a 0d 0a 09 20 20 20 6d 65 73 73 61 67 65 20 62 75 66 66 65 72 73 09 3a 20 34 37 ┆ves: message buffers : 47┆ 0x37080…370a0 30 20 62 79 74 65 73 20 2b 20 31 33 30 20 62 79 74 65 73 20 2a 20 6d 61 78 5f 70 69 63 6b 75 70 ┆0 bytes + 130 bytes * max_pickup┆ 0x370a0…370c0 73 0d 0a 09 20 20 20 6c 6f 67 20 62 75 66 66 65 72 09 3a 20 84 64 65 66 69 6e 65 64 20 62 79 20 ┆s log buffer : defined by ┆ 0x370c0…370e0 63 6f 6d 6d 61 6e 64 20 42 5a 20 62 75 74 20 61 74 20 6c 65 61 73 74 20 09 09 09 20 20 0a 19 9f ┆command BZ but at least ┆ 0x370e0…37100 80 80 84 34 38 20 62 79 74 65 73 20 2b 20 32 20 62 79 74 65 73 20 2a 20 28 70 69 63 6b 2d 75 70 ┆ 48 bytes + 2 bytes * (pick-up┆ 0x37100…37120 20 73 69 7a 65 29 20 77 68 65 72 65 20 0a 19 9f 80 80 70 69 63 6b 2d 75 70 20 73 69 7a 65 20 69 ┆ size) where pick-up size i┆ 0x37120…37140 73 20 64 65 66 69 6e 65 64 20 62 79 20 74 68 65 20 63 6f 6d 6d 61 6e 64 20 50 5a 2e 0d 0a 0d 0a ┆s defined by the command PZ. ┆ 0x37140…37160 09 84 54 68 65 20 61 62 6f 76 65 20 6d 65 6e 74 69 6f 6e 65 64 20 72 65 71 75 69 72 65 6d 65 6e ┆ The above mentioned requiremen┆ 0x37160…37180 74 73 20 63 61 6e 20 62 65 20 73 75 6d 6d 61 72 69 7a 65 64 20 74 6f 0d 0a 0d 0a b0 09 a1 64 74 ┆ts can be summarized to dt┆ 0x37180…371a0 65 0d 0a 09 20 20 20 20 20 31 30 30 32 20 2b 20 73 75 70 68 65 61 64 5f 6e 6f 20 2a 20 33 32 20 ┆e 1002 + suphead_no * 32 ┆ 0x371a0…371c0 2b 20 65 76 65 6e 74 62 75 66 5f 6e 6f 20 2a 20 31 32 34 0d 0a 09 20 20 20 20 20 2b 20 73 75 70 ┆+ eventbuf_no * 124 + sup┆ 0x371c0…371e0 6d 65 73 73 5f 6e 6f 20 2a 20 34 32 20 2b 20 68 64 6c 63 5f 65 76 65 6e 74 6e 6f 20 2a 20 33 32 ┆mess_no * 42 + hdlc_eventno * 32┆ 0x371e0…37200 0d 0a 09 20 20 20 20 20 2b 20 6d 61 78 5f 63 68 61 6e 20 2a 20 32 34 34 0d 0a 09 20 20 20 20 20 ┆ + max_chan * 244 ┆ 0x37200…37220 (441,) 2b 20 6d 61 78 20 28 6d 61 78 5f 69 6e 62 75 66 73 2c 20 36 20 2b 20 6d 61 78 5f 63 68 61 6e 2a ┆+ max (max_inbufs, 6 + max_chan*┆ 0x37220…37240 20 6d 77 5f 73 69 7a 65 20 64 69 76 20 32 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ mw_size div 2) ┆ 0x37240…37260 20 2a 28 34 31 20 2b 20 78 32 35 5f 64 61 74 61 73 69 7a 65 29 20 20 62 79 74 65 73 2e 0d 0a 0d ┆ *(41 + x25_datasize) bytes. ┆ 0x37260…37280 0a b0 09 a1 64 74 65 5f 61 63 63 65 73 73 0d 0a 09 20 20 20 20 20 39 36 20 62 79 74 65 73 0d 0a ┆ dte_access 96 bytes ┆ 0x37280…372a0 0d 0a b0 09 a1 64 74 65 5f 63 68 61 6e 0d 0a 09 20 20 20 20 20 36 33 38 20 62 79 74 65 73 20 2b ┆ dte_chan 638 bytes +┆ 0x372a0…372c0 20 6d 77 5f 73 69 7a 65 20 2a 20 33 32 0d 0a 0d 0a b0 09 a1 64 74 65 5f 6c 63 6e 7a 65 72 6f 0d ┆ mw_size * 32 dte_lcnzero ┆ 0x372c0…372e0 0a 09 20 20 20 20 20 33 30 36 20 62 79 74 65 73 0d 0a 0d 0a b0 09 84 a1 64 74 65 5f 68 72 65 63 ┆ 306 bytes dte_hrec┆ 0x372e0…37300 0d 0a 09 20 20 20 20 20 20 20 33 32 20 2b 20 20 6d 61 78 5f 69 6e 62 75 66 73 20 2a 20 33 32 20 ┆ 32 + max_inbufs * 32 ┆ 0x37300…37320 20 62 79 74 65 73 0d 0a 0d 0a b0 09 a1 64 74 65 5f 70 6f 6f 6c 0d 0a 09 20 20 20 20 20 37 32 20 ┆ bytes dte_pool 72 ┆ 0x37320…37340 62 79 74 65 73 0d 0a 0d 0a b0 09 a1 64 74 65 74 72 61 63 65 0d 0a 09 20 20 20 20 20 20 20 37 36 ┆bytes dtetrace 76┆ 0x37340…37360 30 20 2b 20 74 72 61 63 65 5f 62 75 66 5f 6e 6f 20 2a 20 28 34 30 20 2b 20 74 72 61 63 65 5f 62 ┆0 + trace_buf_no * (40 + trace_b┆ 0x37360…37380 75 66 5f 73 69 7a 65 29 20 20 62 79 74 65 73 0d 0a 0d 0a b0 09 a1 6f 75 74 74 72 61 63 65 0d 0a ┆uf_size) bytes outtrace ┆ 0x37380…37390 09 20 20 20 20 20 33 32 20 62 79 74 65 73 0d 0a ┆ 32 bytes ┆ 0x37390…37393 FormFeed { 0x37390…37393 0c 80 a5 ┆ ┆ 0x37390…37393 } 0x37393…373a0 0a b0 20 20 20 20 20 20 20 20 20 a1 64 ┆ d┆ 0x373a0…373c0 74 65 74 65 73 74 0d 0a 09 20 20 20 20 20 20 20 35 30 32 20 2b 20 64 74 65 74 65 73 74 62 75 66 ┆tetest 502 + dtetestbuf┆ 0x373c0…373e0 6e 6f 20 2a 20 32 30 36 20 20 62 79 74 65 73 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 b0 a1 64 74 ┆no * 206 bytes dt┆ 0x373e0…37400 65 6c 6f 63 6b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 33 32 0d 0a 0d 0a b0 09 a1 ┆elock 32 ┆ 0x37400…37420 (442,) 64 74 65 73 6e 6f 6f 70 0d 0a 09 20 20 20 20 20 20 20 34 37 30 20 2b 20 6d 61 78 5f 70 69 63 6b ┆dtesnoop 470 + max_pick┆ 0x37420…37440 75 70 73 20 2a 20 31 33 30 20 20 62 79 74 65 73 20 2b 20 28 6c 6f 67 20 62 75 66 66 65 72 29 0d ┆ups * 130 bytes + (log buffer) ┆ 0x37440…37460 0a 0d 0a 0d 0a a1 37 2e 32 2e 34 09 53 74 61 74 69 63 20 61 6e 64 20 44 79 6e 61 6d 69 63 20 52 ┆ 7.2.4 Static and Dynamic R┆ 0x37460…37480 65 71 75 69 72 65 6d 65 6e 74 73 2e 0d 0a 0d 0a 09 84 54 68 65 20 66 69 67 75 72 65 73 20 63 61 ┆equirements. The figures ca┆ 0x37480…374a0 6c 63 75 6c 61 74 65 64 20 69 6e 20 73 75 62 73 65 63 74 69 6f 6e 73 20 37 2e 32 2e 31 20 74 6f ┆lculated in subsections 7.2.1 to┆ 0x374a0…374c0 20 37 2e 32 2e 33 20 77 69 6c 6c 20 77 69 74 68 20 74 68 65 20 0a 19 89 80 80 70 61 72 61 6d 65 ┆ 7.2.3 will with the parame┆ 0x374c0…374e0 74 65 72 20 76 61 6c 75 65 73 20 64 65 66 69 6e 65 64 20 66 6f 72 20 44 54 45 20 56 65 72 73 69 ┆ter values defined for DTE Versi┆ 0x374e0…37500 6f 6e 20 31 34 20 61 6e 64 20 74 68 65 20 62 65 6c 6c 6f 77 20 64 65 80 0a 19 89 80 80 73 63 72 ┆on 14 and the bellow de scr┆ 0x37500…37520 69 62 65 64 20 63 72 65 61 74 69 6f 6e 20 70 61 72 61 6d 65 74 65 72 73 20 67 69 76 65 20 74 68 ┆ibed creation parameters give th┆ 0x37520…37540 65 20 72 65 71 75 69 72 65 6d 65 6e 74 73 20 6f 75 74 6c 69 6e 65 64 20 69 6e 20 0a 19 89 80 80 ┆e requirements outlined in ┆ 0x37540…37560 74 61 62 6c 65 20 31 32 2e 0d 0a 0d 0a 09 50 61 72 61 6d 65 74 65 72 20 76 61 6c 75 65 73 3a 0d ┆table 12. Parameter values: ┆ 0x37560…37580 0a 09 20 20 20 6d 5f 6d 61 78 5f 63 68 61 6e 09 09 3d 20 20 32 30 0d 0a 09 20 20 20 6d 61 78 5f ┆ m_max_chan = 20 max_┆ 0x37580…375a0 75 73 65 72 09 09 3d 20 20 20 35 0d 0a 09 20 20 20 74 65 73 74 6d 61 78 09 09 3d 20 20 32 30 0d ┆user = 5 testmax = 20 ┆ 0x375a0…375c0 0a 09 20 20 20 6d 61 78 5f 70 69 63 6b 75 70 73 09 09 3d 20 20 32 30 0d 0a 09 20 20 20 73 75 70 ┆ max_pickups = 20 sup┆ 0x375c0…375e0 68 65 61 64 5f 6e 6f 09 09 3d 20 20 20 36 0d 0a 09 20 20 20 65 76 65 6e 74 62 75 66 5f 6e 6f 09 ┆head_no = 6 eventbuf_no ┆ 0x375e0…37600 09 3d 20 20 20 33 0d 0a 09 20 20 20 73 75 70 6d 65 73 73 5f 6e 6f 09 09 3d 20 20 20 36 0d 0a 09 ┆ = 3 supmess_no = 6 ┆ 0x37600…37620 (443,) 20 20 20 68 64 6c 63 5f 65 76 65 6e 74 6e 6f 09 09 3d 20 20 20 33 0d 0a 09 20 20 20 6d 61 78 5f ┆ hdlc_eventno = 3 max_┆ 0x37620…37640 69 6e 62 75 66 73 09 09 3d 20 20 31 30 0d 0a 09 20 20 20 78 32 35 5f 64 61 74 61 73 69 7a 65 09 ┆inbufs = 10 x25_datasize ┆ 0x37640…37660 09 3d 20 32 35 36 0d 0a 09 20 20 20 74 72 61 63 65 5f 62 75 66 5f 6e 6f 09 09 3d 20 20 31 30 0d ┆ = 256 trace_buf_no = 10 ┆ 0x37660…37680 0a 09 20 20 20 74 72 61 63 65 5f 62 75 66 5f 73 69 7a 65 09 09 3d 20 33 30 30 0d 0a 09 20 20 20 ┆ trace_buf_size = 300 ┆ 0x37680…376a0 64 74 65 74 65 73 74 62 75 66 6e 6f 09 09 3d 20 20 32 30 0d 0a 09 20 20 20 6d 61 78 5f 63 68 61 ┆dtetestbufno = 20 max_cha┆ 0x376a0…376c0 6e 09 09 3d 20 20 4e 0d 0a 09 20 20 20 6d 77 5f 73 69 7a 65 20 20 20 20 20 20 20 20 20 20 20 20 ┆n = N mw_size ┆ 0x376c0…376e0 20 20 20 20 20 20 20 20 3d 20 20 57 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6d 61 78 5f 69 6e ┆ = W max_in┆ 0x376e0…37700 62 75 66 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 a1 3c e1 20 36 20 2b 20 4e 20 2a ┆bufs < 6 + N *┆ 0x37700…3770a 20 57 20 64 69 76 20 32 0d 0a ┆ W div 2 ┆ 0x3770a…3770d FormFeed { 0x3770a…3770d 0c 80 a2 ┆ ┆ 0x3770a…3770d } 0x3770d…37720 0a 09 20 20 70 72 6f 63 65 73 73 2f 70 72 6f 63 65 64 75 ┆ process/procedu┆ 0x37720…37740 72 65 73 20 20 63 6f 64 65 20 20 20 20 20 20 73 74 61 63 6b 20 20 20 20 20 20 20 20 20 20 20 20 ┆res code stack ┆ 0x37740…37760 62 75 66 66 65 72 73 0d 0a 20 20 20 20 20 20 20 20 20 81 a1 20 20 20 20 20 20 20 20 20 20 20 20 ┆buffers ┆ 0x37760…37780 20 20 20 20 20 20 20 20 20 20 62 79 74 65 73 20 20 20 20 20 62 79 74 65 73 20 20 20 20 20 20 20 ┆ bytes bytes ┆ 0x37780…377a0 20 20 20 20 20 62 79 74 65 73 20 20 20 20 20 09 09 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 ┆ bytes ┆ 0x377a0…377c0 64 74 65 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 33 31 32 34 34 20 20 32 39 32 34 20 ┆dte 31244 2924 ┆ 0x377c0…377e0 2b 20 37 32 2a 4e 20 20 20 33 34 34 20 2b 20 32 31 32 2a 4e 20 2b 20 31 34 39 2a 20 81 a1 4e 2a ┆+ 72*N 344 + 212*N + 149* N*┆ 0x377e0…37800 57 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆W ┆ 0x37800…37820 (444,) 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x37820…37840 20 20 20 20 20 20 20 20 20 20 81 32 0d 0a 09 20 20 64 74 65 5f 61 63 63 65 73 73 20 20 20 20 20 ┆ 2 dte_access ┆ 0x37840…37860 20 20 20 20 20 20 37 39 36 30 20 20 20 20 34 36 34 20 2b 20 33 30 2a 4e 20 20 20 20 20 20 20 20 ┆ 7960 464 + 30*N ┆ 0x37860…37880 20 20 20 39 36 0d 0a 20 20 20 20 20 20 20 20 20 20 20 64 74 65 5f 63 68 61 6e 20 20 20 20 20 20 ┆ 96 dte_chan ┆ 0x37880…378a0 20 20 20 20 20 20 32 33 39 34 36 20 20 20 20 20 20 31 33 35 30 20 20 20 20 20 20 20 20 20 36 33 ┆ 23946 1350 63┆ 0x378a0…378c0 38 20 2b 20 33 32 2a 57 0d 0a 09 20 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 20 20 20 20 20 20 20 20 ┆8 + 32*W dte_lcnzero ┆ 0x378c0…378e0 20 20 35 32 37 36 20 20 20 20 20 20 31 31 31 30 20 20 20 20 20 20 20 20 20 20 20 20 20 33 30 36 ┆ 5276 1110 306┆ 0x378e0…37900 0d 0a 09 20 20 64 74 65 5f 68 72 65 63 20 20 20 20 20 20 20 20 20 20 20 20 20 31 36 34 34 20 20 ┆ dte_hrec 1644 ┆ 0x37900…37920 20 20 20 20 20 34 32 34 20 20 20 20 20 20 20 20 20 20 20 20 20 33 35 32 0d 0a 20 20 20 20 20 20 ┆ 424 352 ┆ 0x37920…37940 20 20 20 20 20 64 74 65 5f 70 6f 6f 6c 20 20 20 20 20 20 20 20 20 20 20 20 20 31 34 33 30 20 20 ┆ dte_pool 1430 ┆ 0x37940…37960 20 20 20 20 20 34 30 30 20 20 20 20 20 20 20 20 20 20 20 20 20 20 37 32 0d 0a 0d 0a 20 20 20 20 ┆ 400 72 ┆ 0x37960…37980 20 20 20 20 20 20 20 64 74 65 20 70 72 6f 63 65 64 75 72 65 73 20 20 20 20 20 20 20 35 33 34 34 ┆ dte procedures 5344┆ 0x37980…379a0 20 20 20 20 20 20 20 20 2d 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2d 0d 0a 20 20 20 20 ┆ - - ┆ 0x379a0…379c0 20 20 20 20 20 20 20 58 32 35 20 70 72 6f 63 65 64 75 72 65 73 20 20 20 20 20 20 20 37 30 34 32 ┆ X25 procedures 7042┆ 0x379c0…379e0 20 20 20 20 20 20 20 20 2d 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2d 0d 0a 20 20 20 20 ┆ - - ┆ 0x379e0…37a00 20 20 20 20 20 20 20 70 6f 6f 6c 20 70 72 6f 63 65 64 75 72 65 73 20 20 20 20 20 20 31 37 36 36 ┆ pool procedures 1766┆ 0x37a00…37a20 (445,) 20 20 20 20 20 20 20 20 2d 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2d 0d 0a 0d 0a 09 20 ┆ - - ┆ 0x37a20…37a40 20 64 74 65 74 72 61 63 65 20 20 20 20 20 20 20 20 20 20 20 20 20 34 32 34 32 20 20 20 20 20 20 ┆ dtetrace 4242 ┆ 0x37a40…37a60 20 36 36 36 20 20 20 20 20 20 20 20 20 20 20 20 34 31 36 30 0d 0a 09 20 20 6f 75 74 74 72 61 63 ┆ 666 4160 outtrac┆ 0x37a60…37a80 65 20 20 20 20 20 20 20 20 20 20 20 20 20 20 33 34 38 20 20 20 20 20 20 20 33 31 32 20 20 20 20 ┆e 348 312 ┆ 0x37a80…37aa0 20 20 20 20 20 20 20 20 20 20 33 32 0d 0a 0d 0a 09 20 20 64 74 65 74 65 73 74 20 20 20 20 20 20 ┆ 32 dtetest ┆ 0x37aa0…37ac0 20 20 20 20 20 20 20 20 39 37 39 32 20 20 20 20 20 20 20 37 38 30 20 20 20 20 20 20 20 20 20 20 ┆ 9792 780 ┆ 0x37ac0…37ae0 20 20 34 36 32 32 0d 0a 09 20 20 64 74 65 63 6c 6f 63 6b 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ 4622 dteclock ┆ 0x37ae0…37b00 20 20 2d 20 20 20 20 20 20 20 20 32 31 30 20 20 20 20 20 20 20 20 20 20 20 20 20 20 33 32 0d 0a ┆ - 210 32 ┆ 0x37b00…37b20 0d 0a 09 20 20 64 74 65 73 6e 6f 6f 70 20 20 20 20 20 20 20 20 20 20 20 20 31 33 30 30 30 20 20 ┆ dtesnoop 13000 ┆ 0x37b20…37b40 20 20 20 20 37 34 31 30 20 20 20 20 20 20 20 33 30 37 30 20 2b 20 6c 6f 67 20 62 75 66 66 65 72 ┆ 7410 3070 + log buffer┆ 0x37b40…37b60 0d 0a 0d 0a 0d 0a 0d 0a 09 54 61 62 6c 65 20 31 32 3a 20 53 74 6f 72 61 67 65 20 72 65 71 75 69 ┆ Table 12: Storage requi┆ 0x37b60…37b7c 72 65 6d 65 6e 74 73 20 6f 66 20 74 68 65 20 44 54 45 20 53 79 73 74 65 6d 2e 0d 0a ┆rements of the DTE System. ┆ 0x37b7c…37b7f FormFeed { 0x37b7c…37b7f 0c 80 9a ┆ ┆ 0x37b7c…37b7f } 0x37b7f…37b80 0a ┆ ┆ 0x37b80…37ba0 09 84 55 73 69 6e 67 20 74 68 69 73 20 74 61 62 6c 65 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 ┆ Using this table the following┆ 0x37ba0…37bc0 20 73 74 61 74 69 63 20 61 6e 64 20 64 79 6e 61 6d 69 63 20 72 65 71 75 69 72 65 6d 65 6e 74 73 ┆ static and dynamic requirements┆ 0x37bc0…37be0 20 63 61 6e 20 0a 19 89 80 80 62 65 20 73 65 74 20 75 70 2e 20 57 20 69 73 20 73 65 74 20 74 6f ┆ can be set up. W is set to┆ 0x37be0…37c00 20 32 20 28 6e 6f 72 6d 61 6c 6c 79 20 64 65 66 61 75 6c 74 20 76 61 6c 75 65 29 2e 0d 0a 0d 0a ┆ 2 (normally default value). ┆ 0x37c00…37c20 (446,) b0 09 a1 44 54 45 20 6d 6f 64 75 6c 65 0d 0a 0d 0a 09 20 20 20 53 74 61 74 69 63 3a 0d 0a 09 20 ┆ DTE module Static: ┆ 0x37c20…37c40 20 20 20 20 20 43 6f 64 65 09 09 09 20 20 20 20 20 20 20 20 20 20 38 35 36 35 32 20 62 79 74 65 ┆ Code 85652 byte┆ 0x37c40…37c60 73 0d 0a 09 20 20 20 20 20 20 53 74 61 63 6b 73 20 20 20 64 74 65 09 09 09 20 20 20 20 20 20 20 ┆s Stacks dte ┆ 0x37c60…37c80 20 20 20 20 32 39 32 34 20 20 20 2d 0d 0a 09 20 20 20 20 20 20 09 20 20 20 20 20 64 74 65 5f 61 ┆ 2924 - dte_a┆ 0x37c80…37ca0 63 63 65 73 73 09 09 20 20 20 20 20 20 20 20 20 20 20 20 34 36 34 20 20 20 2d 0d 0a 09 09 20 20 ┆ccess 464 - ┆ 0x37ca0…37cc0 20 20 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 09 09 20 20 20 20 20 20 20 20 20 20 20 31 31 31 30 20 ┆ dte_lcnzero 1110 ┆ 0x37cc0…37ce0 20 20 2d 0d 0a 09 09 20 20 20 20 20 64 74 65 5f 68 72 65 63 09 09 20 20 20 20 20 20 20 20 20 20 ┆ - dte_hrec ┆ 0x37ce0…37d00 20 20 34 32 34 20 20 20 2d 0d 0a 09 09 20 20 20 20 20 64 74 65 5f 70 6f 6f 6c 09 09 20 20 20 20 ┆ 424 - dte_pool ┆ 0x37d00…37d20 20 20 20 20 20 20 20 20 34 30 30 20 20 20 2d 0d 0a 20 09 20 20 20 20 20 20 50 6f 6f 6c 73 20 20 ┆ 400 - Pools ┆ 0x37d20…37d40 20 20 64 74 65 09 09 09 20 20 20 20 20 20 20 20 20 20 20 20 33 34 34 20 20 20 2d 0d 0a 09 09 20 ┆ dte 344 - ┆ 0x37d40…37d60 20 20 20 20 64 74 65 5f 61 63 63 65 73 73 09 09 20 20 20 20 20 20 20 20 20 20 20 20 20 39 36 20 ┆ dte_access 96 ┆ 0x37d60…37d80 20 20 2d 0d 0a 09 09 20 20 20 20 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 09 09 20 20 20 20 20 20 20 ┆ - dte_lcnzero ┆ 0x37d80…37da0 20 20 20 20 20 33 30 36 20 20 20 2d 0d 0a 09 09 20 20 20 20 20 64 74 65 5f 68 72 65 63 09 09 20 ┆ 306 - dte_hrec ┆ 0x37da0…37dc0 20 20 20 20 20 20 20 20 20 20 20 33 35 32 20 20 20 2d 0d 0a 09 09 20 20 20 20 20 64 74 65 5f 70 ┆ 352 - dte_p┆ 0x37dc0…37de0 6f 6f 6c 09 20 20 20 20 20 20 e1 e1 20 20 20 20 20 20 20 20 20 20 20 a1 20 20 20 20 20 20 37 32 ┆ool 72┆ 0x37de0…37e00 20 20 20 2d 20 20 0d 0a 09 09 09 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ - ┆ 0x37e00…37e20 (447,) 39 32 31 34 34 20 62 79 74 65 73 0d 0a 0d 0a 09 20 20 20 44 79 6e 61 6d 69 63 20 61 74 20 63 72 ┆92144 bytes Dynamic at cr┆ 0x37e20…37e40 65 61 74 69 6f 6e 20 28 70 65 72 20 6c 6f 67 69 63 61 6c 20 63 68 61 6e 6e 65 6c 29 3a 0d 0a 09 ┆eation (per logical channel): ┆ 0x37e40…37e60 20 20 20 20 20 20 53 74 61 63 6b 73 20 20 20 64 74 65 09 09 09 20 20 20 20 20 20 20 20 20 20 20 ┆ Stacks dte ┆ 0x37e60…37e80 20 20 37 32 20 62 79 74 65 73 0d 0a 09 20 20 20 20 20 20 09 20 20 20 20 20 64 74 65 5f 61 63 63 ┆ 72 bytes dte_acc┆ 0x37e80…37ea0 65 73 73 09 09 20 20 20 20 20 20 20 20 20 20 20 20 20 33 30 20 20 20 2d 0d 0a 09 20 20 20 20 20 ┆ess 30 - ┆ 0x37ea0…37ec0 20 50 6f 6f 6c 73 20 20 20 20 64 74 65 09 09 20 20 20 20 20 20 20 a1 e1 20 20 20 20 20 20 20 20 ┆ Pools dte ┆ 0x37ec0…37ee0 20 20 a1 20 20 20 20 20 32 31 32 20 20 20 2d 20 20 0d 0a 09 09 09 09 09 20 20 20 20 20 20 20 20 ┆ 212 - ┆ 0x37ee0…37f00 20 20 20 20 33 31 34 20 62 79 74 65 73 0d 0a 0d 0a 09 20 20 20 44 79 6e 61 6d 69 63 20 61 74 20 ┆ 314 bytes Dynamic at ┆ 0x37f00…37f20 72 75 6e 74 69 6d 65 20 28 70 65 72 20 61 63 74 69 76 65 20 6c 6f 67 69 63 61 6c 20 63 68 61 6e ┆runtime (per active logical chan┆ 0x37f20…37f40 6e 65 6c 29 3a 0d 0a 09 20 20 20 20 20 20 53 74 61 63 6b 73 20 20 20 64 74 65 5f 63 68 61 6e 09 ┆nel): Stacks dte_chan ┆ 0x37f40…37f60 09 09 20 31 33 35 30 20 62 79 74 65 73 0d 0a 09 20 20 20 20 20 20 50 6f 6f 6c 73 20 20 20 20 64 ┆ 1350 bytes Pools d┆ 0x37f60…37f80 74 65 5f 63 68 61 6e 09 09 20 20 20 20 20 20 09 20 20 36 33 38 2b 33 32 2a 32 20 0d 0a 09 20 20 ┆te_chan 638+32*2 ┆ 0x37f80…37fa0 20 20 20 20 20 20 20 20 20 20 20 20 20 64 74 65 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ dte ┆ 0x37fa0…37fc0 20 20 20 20 20 20 20 20 20 20 20 20 20 a1 20 20 20 20 20 31 34 39 2b 32 31 32 20 20 0d 0a 09 09 ┆ 149+212 ┆ 0x37fc0…37fe0 09 09 09 09 20 32 32 30 31 20 62 79 74 65 73 0d 0a 0d 0a 09 84 46 6f 72 20 74 68 65 20 74 65 73 ┆ 2201 bytes For the tes┆ 0x37fe0…38000 74 2c 20 74 72 61 63 65 20 61 6e 64 20 73 6e 6f 6f 70 20 73 79 73 74 65 6d 20 73 74 61 74 69 63 ┆t, trace and snoop system static┆ 0x38000…38020 (448,) 20 72 65 71 75 69 72 65 6d 65 6e 74 73 20 6d 65 61 6e 73 2c 20 0a 19 89 80 80 77 68 61 74 20 69 ┆ requirements means, what i┆ 0x38020…38040 73 20 72 65 71 75 69 72 65 64 20 65 76 65 6e 20 69 66 20 74 68 65 20 73 79 73 74 65 6d 20 69 73 ┆s required even if the system is┆ 0x38040…38060 20 6e 6f 74 20 61 63 74 69 76 61 74 65 64 2c 20 62 75 74 20 6c 6f 61 64 65 64 2c 20 0a 19 89 80 ┆ not activated, but loaded, ┆ 0x38060…38080 80 61 6e 64 20 64 79 6e 61 6d 69 63 20 69 73 20 74 68 65 20 72 65 71 75 69 72 65 6d 65 6e 74 73 ┆ and dynamic is the requirements┆ 0x38080…3809e 2c 20 77 68 65 6e 20 74 68 65 20 73 79 73 74 65 6d 20 69 73 20 61 63 74 69 76 65 2e 0d 0a ┆, when the system is active. ┆ 0x3809e…380a1 FormFeed { 0x3809e…380a1 0c 80 a2 ┆ ┆ 0x3809e…380a1 } 0x380a1…380c0 0a b0 09 a1 54 72 61 63 65 20 53 79 73 74 65 6d 0d 0a 0d 0a 09 20 20 20 53 74 61 74 69 63 3a ┆ Trace System Static:┆ 0x380c0…380e0 0d 0a 09 20 20 20 20 20 20 43 6f 64 65 09 09 09 20 34 35 39 30 20 62 79 74 65 73 0d 0a 0d 0a 09 ┆ Code 4590 bytes ┆ 0x380e0…38100 20 20 20 44 79 6e 61 6d 69 63 3a 0d 0a 09 20 20 20 20 20 20 53 74 61 63 6b 73 20 20 20 64 74 65 ┆ Dynamic: Stacks dte┆ 0x38100…38120 74 72 61 63 65 09 09 20 20 36 36 36 20 62 79 74 65 73 0d 0a 09 09 20 20 20 20 20 6f 75 74 74 72 ┆trace 666 bytes outtr┆ 0x38120…38140 61 63 65 09 09 20 20 33 31 32 20 20 20 2d 0d 0a 09 20 20 20 20 20 20 50 6f 6f 6c 73 20 20 20 20 ┆ace 312 - Pools ┆ 0x38140…38160 64 74 65 74 72 61 63 65 20 09 09 20 34 31 36 30 20 20 20 2d 0d 0a 09 09 20 20 20 20 20 6f 75 74 ┆dtetrace 4160 - out┆ 0x38160…38180 74 72 61 63 65 09 09 a1 20 20 20 33 32 20 20 20 2d 20 20 0d 0a 09 09 09 09 09 20 35 31 37 30 20 ┆trace 32 - 5170 ┆ 0x38180…381a0 62 79 74 65 73 0d 0a 0d 0a b0 09 a1 54 65 73 74 20 53 79 73 74 65 6d 0d 0a 0d 0a 09 20 20 20 53 ┆bytes Test System S┆ 0x381a0…381c0 74 61 74 69 63 3a 0d 0a 09 20 20 20 20 20 20 43 6f 64 65 09 09 09 20 39 37 39 32 20 62 79 74 65 ┆tatic: Code 9792 byte┆ 0x381c0…381e0 73 0d 0a 09 20 20 20 20 20 20 53 74 61 63 6b 09 09 09 20 20 39 39 30 20 20 20 2d 0d 0a 09 20 20 ┆s Stack 990 - ┆ 0x381e0…38200 20 20 20 20 50 6f 6f 6c 73 09 09 20 20 20 20 20 20 a1 09 20 34 36 35 34 20 20 20 2d 20 20 0d 0a ┆ Pools 4654 - ┆ 0x38200…38220 (449,) 09 09 09 09 09 31 33 34 33 36 20 62 79 74 65 73 0d 0a 0d 0a b0 09 4e 42 3a 20 54 68 65 20 74 65 ┆ 13436 bytes NB: The te┆ 0x38220…38240 73 74 20 73 79 73 74 65 6d 20 77 69 6c 6c 20 61 6c 6c 77 61 79 73 20 62 65 20 63 72 65 61 74 65 ┆st system will allways be create┆ 0x38240…38260 64 2c 20 69 66 20 69 74 20 69 73 20 6c 6f 61 64 65 64 2e 0d 0a 0d 0a 0d 0a b0 09 a1 53 6e 6f 6f ┆d, if it is loaded. Snoo┆ 0x38260…38280 70 20 53 79 73 74 65 6d 0d 0a 0d 0a 09 20 20 20 53 74 61 74 69 63 3a 0d 0a 09 20 20 20 20 20 20 ┆p System Static: ┆ 0x38280…382a0 43 6f 64 65 09 09 20 20 20 20 20 20 a1 e1 09 31 33 30 30 30 20 62 79 74 65 73 0d 0a 0d 0a 09 20 ┆Code 13000 bytes ┆ 0x382a0…382c0 20 20 44 79 6e 61 6d 69 63 3a 0d 0a 09 20 20 20 20 20 20 53 74 61 63 6b 20 20 20 20 64 74 65 73 ┆ Dynamic: Stack dtes┆ 0x382c0…382e0 6e 6f 6f 70 09 09 20 37 34 31 30 20 62 79 74 65 73 0d 0a 09 20 20 20 20 20 20 50 6f 6f 6c 73 20 ┆noop 7410 bytes Pools ┆ 0x382e0…38300 20 20 20 64 74 65 73 6e 6f 6f 70 09 20 20 20 20 20 20 a1 09 20 33 30 37 30 20 20 20 2d 20 20 20 ┆ dtesnoop 3070 - ┆ 0x38300…38320 2b 20 6c 6f 67 20 62 75 66 66 65 72 20 0d 0a 09 09 09 09 09 31 30 34 38 30 20 62 79 74 65 73 20 ┆+ log buffer 10480 bytes ┆ 0x38320…38340 2b 20 6c 6f 67 20 62 75 66 66 65 72 0d 0a 0d 0a 09 84 46 72 6f 6d 20 74 68 65 20 61 62 6f 76 65 ┆+ log buffer From the above┆ 0x38340…38360 20 6f 75 74 6c 69 6e 65 64 20 66 69 67 75 72 65 73 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 ┆ outlined figures the following ┆ 0x38360…38380 73 79 73 74 65 6d 73 20 72 65 71 75 69 72 65 6d 65 6e 74 73 20 0a 19 89 80 80 63 61 6e 20 62 65 ┆systems requirements can be┆ 0x38380…3838d 20 64 65 64 75 63 65 64 2e 0d 0a 0d 0a ┆ deduced. ┆ 0x3838d…38390 FormFeed { 0x3838d…38390 0c 80 a4 ┆ ┆ 0x3838d…38390 } 0x38390…383a0 0a 09 41 29 20 a1 44 54 45 20 53 79 73 74 65 6d ┆ A) DTE System┆ 0x383a0…383c0 20 77 69 74 68 6f 75 74 20 54 65 73 74 2c 20 54 72 61 63 65 20 61 6e 64 20 53 6e 6f 6f 70 20 53 ┆ without Test, Trace and Snoop S┆ 0x383c0…383e0 79 73 74 65 6d 73 3a 0d 0a 0d 0a 09 20 20 20 20 20 20 20 39 32 31 34 34 20 62 79 74 65 73 20 2b ┆ystems: 92144 bytes +┆ 0x383e0…38400 20 4e 20 2a 20 33 31 34 20 62 79 74 65 73 20 2b 20 4e 20 2a 20 32 32 30 31 20 62 79 74 65 73 0d ┆ N * 314 bytes + N * 2201 bytes ┆ 0x38400…38420 (450,) 0a 0d 0a 09 42 29 20 a1 44 54 45 20 53 79 73 74 65 6d 20 69 6e 63 6c 75 64 69 6e 67 20 54 65 73 ┆ B) DTE System including Tes┆ 0x38420…38440 74 20 53 79 73 74 65 6d 3a 0d 0a 0d 0a 09 20 20 20 20 20 20 20 31 30 37 35 38 30 20 62 79 74 65 ┆t System: 107580 byte┆ 0x38440…38460 73 20 2b 20 4e 20 2a 20 33 31 34 20 62 79 74 65 73 20 2b 20 4e 20 2a 20 32 32 30 31 20 62 79 74 ┆s + N * 314 bytes + N * 2201 byt┆ 0x38460…38480 65 73 0d 0a 0d 0a 09 43 29 20 a1 44 54 45 20 53 79 73 74 65 6d 20 69 6e 63 6c 75 64 69 6e 67 20 ┆es C) DTE System including ┆ 0x38480…384a0 54 65 73 74 20 61 6e 64 20 54 72 61 63 65 20 53 79 73 74 65 6d 0d 0a 0d 0a 09 20 20 20 20 20 20 ┆Test and Trace System ┆ 0x384a0…384c0 20 74 72 61 63 65 20 6e 6f 74 20 61 63 74 69 76 61 74 65 64 0d 0a 09 20 20 20 20 20 20 20 31 31 ┆ trace not activated 11┆ 0x384c0…384e0 32 31 37 30 20 62 79 74 65 73 20 2b 20 4e 20 2a 20 33 31 34 20 62 79 74 65 73 20 2b 20 4e 20 2a ┆2170 bytes + N * 314 bytes + N *┆ 0x384e0…38500 20 32 32 30 31 20 62 79 74 65 73 0d 0a 0d 0a 09 20 20 20 20 20 20 20 74 72 61 63 65 20 61 63 74 ┆ 2201 bytes trace act┆ 0x38500…38520 69 76 61 74 65 64 0d 0a 09 20 20 20 20 20 20 20 31 31 37 33 34 30 20 62 79 74 65 73 20 2b 20 4e ┆ivated 117340 bytes + N┆ 0x38520…38540 20 2a 20 33 31 34 20 62 79 74 65 73 20 2b 20 4e 20 2a 20 32 32 30 31 20 62 79 74 65 73 0d 0a 0d ┆ * 314 bytes + N * 2201 bytes ┆ 0x38540…38560 0a 09 44 29 20 a1 44 54 45 20 53 79 73 74 65 6d 20 69 6e 63 6c 75 64 69 6e 67 20 53 6e 6f 6f 70 ┆ D) DTE System including Snoop┆ 0x38560…38580 20 53 79 73 74 65 6d 20 28 61 63 74 69 76 61 74 65 64 29 0d 0a 0d 0a 09 20 20 20 20 20 20 20 31 ┆ System (activated) 1┆ 0x38580…385a0 31 36 36 32 34 20 62 79 74 65 73 20 2b 20 4e 20 2a 20 33 31 34 20 62 79 74 65 73 20 2b 20 4e 20 ┆16624 bytes + N * 314 bytes + N ┆ 0x385a0…385c0 2a 20 32 32 30 31 20 62 79 74 65 73 20 2b 20 6c 6f 67 20 62 75 66 66 65 72 2e 0d 0a 0d 0a 0d 0a ┆* 2201 bytes + log buffer. ┆ 0x385c0…385e0 a1 37 2e 33 09 4d 6f 64 75 6c 65 20 43 6f 6d 70 69 6c 61 74 69 6f 6e 2e 0d 0a 0d 0a 09 84 49 6e ┆ 7.3 Module Compilation. In┆ 0x385e0…38600 20 74 68 69 73 20 73 65 63 74 69 6f 6e 20 74 68 65 20 6a 6f 62 73 20 66 6f 72 20 63 6f 6d 70 69 ┆ this section the jobs for compi┆ 0x38600…38620 (451,) 6c 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 44 54 45 20 53 79 73 74 65 6d 20 61 6e 64 20 0a 19 89 ┆lation of the DTE System and ┆ 0x38620…38640 80 80 6c 69 73 74 6e 69 6e 67 20 6f 66 20 74 68 65 20 73 6f 75 72 63 65 20 74 65 78 74 73 20 61 ┆ listning of the source texts a┆ 0x38640…38660 72 65 20 65 78 70 6c 61 69 6e 65 64 2e 0d 0a 0d 0a 0d 0a a1 37 2e 33 2e 31 09 56 65 72 73 69 6f ┆re explained. 7.3.1 Versio┆ 0x38660…38680 6e 20 49 6e 66 6f 72 6d 61 74 69 6f 6e 2e 0d 0a 0d 0a 09 84 57 68 65 6e 20 74 68 65 20 44 54 45 ┆n Information. When the DTE┆ 0x38680…386a0 20 73 74 61 72 74 73 20 75 70 20 64 69 66 66 65 72 65 6e 74 20 69 6e 66 6f 72 6d 61 74 69 6f 6e ┆ starts up different information┆ 0x386a0…386c0 20 61 72 65 20 77 72 69 74 74 65 6e 20 6f 6e 20 74 68 65 20 0a 19 89 80 80 63 6f 6e 73 6f 6c 65 ┆ are written on the console┆ 0x386c0…386e0 20 28 73 65 65 20 73 65 63 74 69 6f 6e 20 37 2e 34 20 61 6e 64 20 36 2e 32 29 2e 20 54 68 65 20 ┆ (see section 7.4 and 6.2). The ┆ 0x386e0…38700 76 65 72 73 69 6f 6e 20 6e 75 6d 62 65 72 20 61 6e 64 20 64 61 74 65 20 6f 66 20 0a 19 89 80 80 ┆version number and date of ┆ 0x38700…38720 74 68 65 20 44 54 45 20 6d 6f 64 75 6c 65 20 61 72 65 20 63 6f 6e 74 61 69 6e 65 64 20 69 6e 20 ┆the DTE module are contained in ┆ 0x38720…38740 74 68 65 20 52 43 38 30 30 30 20 66 69 6c 65 20 44 54 45 49 4e 46 4f 45 4e 56 2e 20 0a 19 89 80 ┆the RC8000 file DTEINFOENV. ┆ 0x38740…38760 80 42 65 73 69 64 65 73 20 74 68 69 73 20 76 65 72 73 69 6f 6e 20 6e 75 6d 62 65 72 20 65 61 63 ┆ Besides this version number eac┆ 0x38760…38780 68 20 70 72 6f 63 65 73 73 20 6f 66 20 74 68 65 20 44 54 45 20 68 61 73 20 69 74 73 20 6f 77 6e ┆h process of the DTE has its own┆ 0x38780…387a0 20 0a 19 89 80 80 76 65 72 73 69 6f 6e 20 6e 75 6d 62 65 72 2c 20 77 68 69 63 68 20 69 73 20 74 ┆ version number, which is t┆ 0x387a0…387c0 68 65 20 66 69 72 73 74 20 76 61 72 69 61 62 6c 65 20 69 6e 20 74 68 65 20 56 41 52 20 73 65 63 ┆he first variable in the VAR sec┆ 0x387c0…387e0 74 69 6f 6e 20 6f 66 20 0a 19 89 80 80 74 68 65 20 70 72 6f 67 72 61 6d 2e 20 54 68 69 73 20 6d ┆tion of the program. This m┆ 0x387e0…38800 61 79 20 68 65 6c 70 20 74 68 65 20 70 72 6f 67 72 61 6d 6d 65 72 20 69 6e 20 64 65 63 6f 64 69 ┆ay help the programmer in decodi┆ 0x38800…38820 (452,) 6e 67 20 61 6e 20 52 43 33 35 30 32 20 0a 19 89 80 80 73 74 61 63 6b 20 64 75 6d 70 2e 0d 0a 0d ┆ng an RC3502 stack dump. ┆ 0x38820…38821 0a ┆ ┆ 0x38821…38824 FormFeed { 0x38821…38824 0c 80 a5 ┆ ┆ 0x38821…38824 } 0x38824…38840 0a a1 37 2e 33 2e 32 09 43 6f 6d 70 69 6c 61 74 69 6f 6e 20 6a 6f 62 73 2e 0d 0a 0d ┆ 7.3.2 Compilation jobs. ┆ 0x38840…38860 0a 09 84 54 6f 20 73 75 70 70 6f 72 74 20 74 68 65 20 67 65 6e 65 72 61 74 69 6f 6e 20 6f 66 20 ┆ To support the generation of ┆ 0x38860…38880 61 20 62 69 6e 61 72 79 20 44 54 45 20 6d 6f 64 75 6c 65 20 73 65 76 65 72 61 6c 20 6a 6f 62 73 ┆a binary DTE module several jobs┆ 0x38880…388a0 20 0a 19 89 80 80 65 78 69 73 74 73 2e 20 54 68 65 79 20 61 72 65 20 67 61 74 68 65 72 65 64 20 ┆ exists. They are gathered ┆ 0x388a0…388c0 69 6e 20 74 68 65 20 6c 69 62 72 61 72 79 20 28 6c 69 62 29 20 66 69 6c 65 20 4c 49 42 4a 44 54 ┆in the library (lib) file LIBJDT┆ 0x388c0…388e0 45 2e 0d 0a 0d 0a 09 54 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 4c 49 42 4a 44 54 45 20 69 ┆E. The contents of LIBJDTE i┆ 0x388e0…38900 73 0d 0a 0d 0a 09 20 20 20 6a 64 74 65 67 65 6e 09 3a 20 44 54 45 20 67 65 6e 65 72 61 74 69 6f ┆s jdtegen : DTE generatio┆ 0x38900…38920 6e 20 6a 6f 62 0d 0a 09 20 20 20 6a 64 74 65 6c 69 62 09 3a 20 45 78 74 65 72 6e 61 6c 20 44 54 ┆n job jdtelib : External DT┆ 0x38920…38940 45 20 6c 69 62 72 61 72 79 20 67 65 6e 65 72 61 74 69 6f 6e 20 6a 6f 62 0d 0a 09 20 20 20 6a 64 ┆E library generation job jd┆ 0x38940…38960 74 65 6c 69 73 74 09 3a 20 44 54 45 20 6c 69 73 74 6e 69 6e 67 20 6a 6f 62 0d 0a 09 20 20 20 6a ┆telist : DTE listning job j┆ 0x38960…38980 64 74 65 70 72 6f 63 09 3a 20 45 78 74 65 72 6e 61 6c 20 44 54 45 20 70 72 6f 63 65 64 75 72 65 ┆dteproc : External DTE procedure┆ 0x38980…389a0 20 67 65 6e 65 72 61 74 69 6f 6e 20 6a 6f 62 0d 0a 09 20 20 20 6a 64 74 65 74 65 73 74 09 3a 20 ┆ generation job jdtetest : ┆ 0x389a0…389c0 54 65 73 74 20 53 79 73 74 65 6d 20 67 65 6e 65 72 61 74 69 6f 6e 20 6a 6f 62 0d 0a 09 20 20 20 ┆Test System generation job ┆ 0x389c0…389e0 6a 64 74 65 74 72 61 63 65 09 3a 20 54 72 61 63 65 20 53 79 73 74 65 6d 20 67 65 6e 65 72 61 74 ┆jdtetrace : Trace System generat┆ 0x389e0…38a00 69 6f 6e 20 6a 6f 62 0d 0a 09 20 20 20 6a 64 74 65 75 74 6c 69 73 74 09 3a 20 4a 6f 62 20 66 6f ┆ion job jdteutlist : Job fo┆ 0x38a00…38a20 (453,) 72 20 6c 69 73 74 6e 69 6e 67 20 6f 66 20 54 65 73 74 20 61 6e 64 20 54 72 61 63 65 20 53 79 73 ┆r listning of Test and Trace Sys┆ 0x38a20…38a40 74 65 6d 0d 0a 09 20 20 20 6a 65 64 69 74 63 68 65 6e 76 09 3a 20 48 65 6c 70 20 6a 6f 62 20 66 ┆tem jeditchenv : Help job f┆ 0x38a40…38a60 6f 72 20 74 68 65 20 44 54 45 20 67 65 6e 65 72 61 74 69 6f 6e 0d 0a 09 20 20 20 6a 6c 69 62 69 ┆or the DTE generation jlibi┆ 0x38a60…38a80 6e 73 65 72 74 09 3a 20 48 65 6c 70 20 6a 6f 62 20 66 6f 72 20 74 68 65 20 44 54 45 20 67 65 6e ┆nsert : Help job for the DTE gen┆ 0x38a80…38aa0 65 72 61 74 69 6f 6e 0d 0a 09 20 20 20 6a 70 6f 6f 6c 6c 69 62 09 3a 20 45 78 74 65 72 6e 61 6c ┆eration jpoollib : External┆ 0x38aa0…38ac0 20 70 6f 6f 6c 20 6c 69 62 72 61 72 79 20 67 65 6e 65 72 61 74 69 6f 6e 20 6a 6f 62 0d 0a 09 20 ┆ pool library generation job ┆ 0x38ac0…38ae0 20 20 6a 78 32 35 62 69 62 09 3a 20 45 78 74 65 72 6e 61 6c 20 58 2e 32 35 20 6c 69 62 72 61 72 ┆ jx25bib : External X.25 librar┆ 0x38ae0…38b00 79 20 67 65 6e 65 72 61 74 69 6f 6e 20 6a 6f 62 0d 0a 09 20 20 20 6a 78 32 35 70 72 6f 63 09 3a ┆y generation job jx25proc :┆ 0x38b00…38b20 20 45 78 74 65 72 6e 61 6c 20 58 2e 32 35 20 70 72 6f 63 65 64 75 72 65 20 67 65 6e 65 72 61 74 ┆ External X.25 procedure generat┆ 0x38b20…38b40 69 6f 6e 20 6a 6f 62 0d 0a 09 20 20 20 73 74 64 63 6f 6e 66 09 3a 20 53 74 61 6e 64 61 72 64 20 ┆ion job stdconf : Standard ┆ 0x38b40…38b60 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 66 69 6c 65 0d 0a 09 20 20 20 6a 64 74 65 70 75 6e 63 ┆configuration file jdtepunc┆ 0x38b60…38b80 68 09 3a 20 84 4a 6f 62 20 67 65 6e 65 72 61 74 69 6e 67 20 74 68 65 20 44 54 45 20 62 6f 6f 74 ┆h : Job generating the DTE boot┆ 0x38b80…38ba0 20 66 69 6c 65 20 66 72 6f 6d 20 74 68 65 20 0a 19 9f 80 80 62 69 6e 61 72 79 20 66 69 6c 65 73 ┆ file from the binary files┆ 0x38ba0…38bc0 2e 0d 0a 0d 0a 09 84 41 6c 6c 20 6a 6f 62 73 20 77 69 6c 6c 20 61 73 6b 20 74 68 65 20 6f 70 65 ┆. All jobs will ask the ope┆ 0x38bc0…38be0 72 61 74 6f 72 20 73 6f 6d 65 20 71 75 65 73 74 69 6f 6e 73 20 61 62 6f 75 74 20 6e 61 6d 65 20 ┆rator some questions about name ┆ 0x38be0…38c00 6f 66 20 73 6f 75 72 63 65 20 0a 19 89 80 80 6c 69 62 72 61 72 79 2c 20 77 68 69 63 68 20 70 72 ┆of source library, which pr┆ 0x38c00…38c20 (454,) 6f 63 65 73 73 20 74 6f 20 63 6f 6d 70 69 6c 65 2f 6c 69 73 74 20 61 6e 64 20 73 6f 20 6f 6e 2c ┆ocess to compile/list and so on,┆ 0x38c20…38c40 20 61 6e 64 20 74 68 65 20 6f 70 65 72 61 74 6f 72 20 0a 19 89 80 80 63 61 6e 20 69 6e 20 74 68 ┆ and the operator can in th┆ 0x38c40…38c60 69 73 20 77 61 79 20 63 68 6f 6f 73 65 20 74 6f 20 67 65 6e 65 72 61 74 65 20 68 69 73 20 6f 77 ┆is way choose to generate his ow┆ 0x38c60…38c80 6e 20 73 79 73 74 65 6d 2e 20 49 6e 20 61 70 80 70 65 6e 64 69 78 20 46 20 0a 19 89 80 80 73 6f ┆n system. In ap pendix F so┆ 0x38c80…38ca0 6d 65 20 65 78 61 6d 70 6c 65 73 20 6f 66 20 74 68 69 73 20 64 69 61 6c 6f 67 20 69 73 20 73 68 ┆me examples of this dialog is sh┆ 0x38ca0…38cc0 6f 77 6e 2e 0d 0a 0d 0a 09 84 41 6c 6c 20 74 65 6d 70 6f 72 79 20 66 69 6c 65 73 20 61 72 65 20 ┆own. All tempory files are ┆ 0x38cc0…38ce0 72 65 6d 6f 76 65 64 20 62 79 20 74 68 65 20 6a 6f 62 20 61 66 74 65 72 20 63 6f 6d 70 69 6c 61 ┆removed by the job after compila┆ 0x38ce0…38d00 74 69 6f 6e 2f 6c 69 73 74 80 0a 19 89 80 80 6e 69 6e 67 2c 20 61 6e 64 20 61 6c 6c 20 62 69 6e ┆tion/list ning, and all bin┆ 0x38d00…38d20 61 72 79 20 66 69 6c 65 73 20 67 65 6e 65 72 61 74 65 64 20 69 6e 20 74 68 65 20 63 6f 6d 70 69 ┆ary files generated in the compi┆ 0x38d20…38d40 6c 61 74 69 6f 6e 20 77 69 6c 6c 20 62 65 20 0a 19 89 80 80 63 72 65 61 74 65 64 20 61 74 20 b0 ┆lation will be created at ┆ 0x38d40…38d60 75 73 65 72 20 73 63 6f 70 65 2e 0d 0a 0d 0a 09 84 41 66 74 65 72 20 61 20 63 6f 6d 70 69 6c 61 ┆user scope. After a compila┆ 0x38d60…38d80 74 69 6f 6e 20 69 74 20 69 73 20 6e 65 63 65 73 73 61 72 79 20 74 6f 20 72 65 66 6f 72 6d 61 74 ┆tion it is necessary to reformat┆ 0x38d80…38da0 20 74 68 65 20 62 69 6e 61 72 79 20 66 69 6c 65 73 20 0a 19 89 80 80 77 69 74 68 20 74 68 65 20 ┆ the binary files with the ┆ 0x38da0…38dc0 6a 6f 62 20 27 6a 64 74 65 70 75 6e 63 68 27 20 61 6c 73 6f 20 6c 6f 63 61 74 65 64 20 69 6e 20 ┆job 'jdtepunch' also located in ┆ 0x38dc0…38de0 74 68 65 20 6a 6f 62 20 6c 69 62 72 61 72 79 20 4c 49 42 4a 44 54 45 2e 20 0a 19 89 80 80 54 68 ┆the job library LIBJDTE. Th┆ 0x38de0…38e00 65 20 72 65 73 75 6c 74 20 6f 66 20 74 68 69 73 20 69 73 20 61 20 62 6f 6f 74 20 66 69 6c 65 2c ┆e result of this is a boot file,┆ 0x38e00…38e20 (455,) 20 44 54 45 42 4f 4f 54 2e 20 44 75 72 69 6e 67 20 74 68 69 73 20 72 65 66 6f 72 6d 61 74 80 0a ┆ DTEBOOT. During this reformat ┆ 0x38e20…38e40 19 89 80 80 74 69 6e 67 20 69 74 20 69 73 20 70 6f 73 73 69 62 6c 65 20 74 6f 20 73 65 6c 65 63 ┆ ting it is possible to selec┆ 0x38e40…38e60 74 20 77 68 65 74 68 65 72 20 74 68 65 20 54 65 73 74 20 53 79 73 74 65 6d 20 61 6e 64 2f 6f 72 ┆t whether the Test System and/or┆ 0x38e60…38e80 20 54 72 61 63 65 20 0a 19 89 80 80 53 79 73 74 65 6d 20 73 68 61 6c 6c 20 62 65 20 69 6e 63 6c ┆ Trace System shall be incl┆ 0x38e80…38ea0 75 64 65 64 20 6f 72 20 6e 6f 74 2e 0d 0a 0d 0a 09 84 54 68 65 20 53 6e 6f 6f 70 20 53 79 73 74 ┆uded or not. The Snoop Syst┆ 0x38ea0…38ec0 65 6d 20 68 61 73 20 74 6f 20 62 65 20 70 61 72 74 20 6f 66 20 74 68 65 20 62 61 73 69 63 20 73 ┆em has to be part of the basic s┆ 0x38ec0…38ee0 79 73 74 65 6d 20 6f 72 20 6c 6f 61 64 65 64 20 73 65 80 0a 19 89 80 80 70 65 72 61 74 6c 79 2e ┆ystem or loaded se peratly.┆ 0x38ee0…38ee6 0d 0a 0d 0a 0d 0a ┆ ┆ 0x38ee6…38ee9 FormFeed { 0x38ee6…38ee9 0c 80 aa ┆ ┆ 0x38ee6…38ee9 } 0x38ee9…38f00 0a a1 37 2e 34 09 43 72 65 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 44 ┆ 7.4 Creation of the D┆ 0x38f00…38f20 54 45 20 4d 6f 64 75 6c 65 2f 53 79 73 74 65 6d 2e 0d 0a 0d 0a 09 84 54 68 65 20 6d 6f 64 75 6c ┆TE Module/System. The modul┆ 0x38f20…38f40 65 20 70 72 6f 63 65 73 73 20 70 61 72 61 6d 65 74 65 72 73 20 63 61 6e 2c 20 62 65 63 61 75 73 ┆e process parameters can, becaus┆ 0x38f40…38f60 65 20 74 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 20 69 73 20 74 68 65 20 0a 19 89 80 80 70 61 ┆e the dte process is the pa┆ 0x38f60…38f80 72 65 6e 74 20 70 72 6f 63 65 73 73 2c 20 62 65 20 66 6f 75 6e 64 20 69 6e 20 73 65 63 74 69 6f ┆rent process, be found in sectio┆ 0x38f80…38fa0 6e 20 34 2e 32 20 61 6e 64 20 37 2e 31 2e 32 2e 0d 0a 0d 0a 09 84 54 68 65 20 70 61 72 65 6e 74 ┆n 4.2 and 7.1.2. The parent┆ 0x38fa0…38fc0 20 6f 66 20 74 68 65 20 44 54 45 20 53 79 73 74 65 6d 20 6d 75 73 74 20 73 75 70 70 6c 79 20 74 ┆ of the DTE System must supply t┆ 0x38fc0…38fe0 68 65 20 72 65 6c 65 76 61 6e 74 20 70 61 72 61 6d 65 74 65 72 73 20 0a 19 89 80 80 28 73 65 65 ┆he relevant parameters (see┆ 0x38fe0…39000 20 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 32 2e 31 29 2c 20 62 75 74 20 6f 6e 6c 79 20 74 68 65 ┆ subsection 4.2.1), but only the┆ 0x39000…39020 (456,) 20 66 6f 6c 6c 6f 77 69 6e 67 20 74 77 6f 20 61 72 65 20 63 6f 6e 66 69 67 75 72 61 80 0a 19 89 ┆ following two are configura ┆ 0x39020…39040 80 80 74 69 6e 67 20 74 68 65 20 6d 6f 64 75 6c 65 2e 0d 0a 0d 0a 09 20 20 20 6d 61 78 5f 63 68 ┆ ting the module. max_ch┆ 0x39040…39060 61 6e 09 20 20 3a 20 54 68 65 20 6d 61 78 69 6d 75 6d 20 6f 66 20 61 63 74 69 76 65 20 6c 6f 67 ┆an : The maximum of active log┆ 0x39060…39080 69 63 61 6c 20 63 68 61 6e 6e 65 6c 73 2e 0d 0a 09 20 20 20 6d 61 78 77 5f 73 69 7a 65 20 20 20 ┆ical channels. maxw_size ┆ 0x39080…390a0 20 20 20 20 20 20 20 3a 20 54 68 65 20 6d 61 78 69 6d 75 6d 20 77 69 6e 64 6f 77 20 73 69 7a 65 ┆ : The maximum window size┆ 0x390a0…390c0 2e 0d 0a 0d 0a 09 54 68 65 20 6e 65 65 64 65 64 20 63 72 65 61 74 69 6f 6e 20 70 61 72 61 6d 65 ┆. The needed creation parame┆ 0x390c0…390e0 74 65 72 73 20 61 72 65 3a 0d 0a 0d 0a 09 20 20 20 50 72 6f 63 65 73 73 20 70 61 72 61 6d 65 74 ┆ters are: Process paramet┆ 0x390e0…39100 65 72 73 20 3a 20 70 6c 65 61 73 65 20 72 65 66 65 72 20 74 6f 20 73 75 62 73 65 63 74 69 6f 6e ┆ers : please refer to subsection┆ 0x39100…39120 20 34 2e 32 2e 31 2e 0d 0a 09 20 20 20 53 74 61 63 6b 20 73 69 7a 65 20 20 20 20 20 20 20 20 20 ┆ 4.2.1. Stack size ┆ 0x39120…39140 3a 20 31 34 36 32 20 2b 20 6d 61 78 5f 63 68 61 6e 20 2a 20 33 36 20 28 77 6f 72 64 73 29 2e 0d ┆: 1462 + max_chan * 36 (words). ┆ 0x39140…39160 0a 09 20 20 20 50 72 69 6f 72 69 74 79 20 20 20 20 20 20 20 20 20 20 20 3a 20 73 74 64 70 72 69 ┆ Priority : stdpri┆ 0x39160…39180 6f 72 69 74 79 20 28 3d 20 2d 33 29 20 69 73 20 72 65 63 6f 6d 6d 65 6e 64 65 64 2e 0d 0a 0d 0a ┆ority (= -3) is recommended. ┆ 0x39180…391a0 09 84 57 68 65 6e 20 74 68 65 20 44 54 45 20 6d 6f 64 75 6c 65 20 69 73 20 63 72 65 61 74 65 64 ┆ When the DTE module is created┆ 0x391a0…391c0 20 61 6e 64 20 73 74 61 72 74 73 20 75 70 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 74 65 78 ┆ and starts up the following tex┆ 0x391c0…391e0 74 20 0a 19 89 80 80 77 69 6c 6c 20 62 65 20 70 72 69 6e 74 65 64 20 6f 6e 20 74 68 65 20 63 6f ┆t will be printed on the co┆ 0x391e0…39200 6e 73 6f 6c 65 20 69 66 20 74 65 73 74 28 34 29 20 69 73 20 74 72 75 65 3a 0d 0a 0d 0a 09 20 20 ┆nsole if test(4) is true: ┆ 0x39200…39220 (457,) 20 3e 64 74 65 0d 0a 09 20 20 20 44 41 54 45 20 38 35 2e 31 30 2e 32 31 2e 20 20 56 65 72 73 69 ┆ >dte DATE 85.10.21. Versi┆ 0x39220…39240 6f 6e 20 31 34 2c 20 65 6e 76 2e 20 33 34 2e 0d 0a 09 a1 e1 20 20 20 4d 61 78 20 63 68 61 6e 6e ┆on 14, env. 34. Max chann┆ 0x39240…39260 65 6c 73 20 35 2e 20 4d 61 78 2e 20 75 73 65 72 73 20 35 2e 0d 0a 0d 0a 09 84 54 68 69 73 20 69 ┆els 5. Max. users 5. This i┆ 0x39260…39280 6e 64 69 63 61 74 65 73 20 74 68 65 20 64 61 74 65 20 28 38 35 2e 31 30 2e 32 31 29 20 61 6e 64 ┆ndicates the date (85.10.21) and┆ 0x39280…392a0 20 76 65 72 73 69 6f 6e 20 6e 75 6d 62 65 72 20 28 31 34 29 20 6f 66 20 74 68 65 20 0a 19 89 80 ┆ version number (14) of the ┆ 0x392a0…392c0 80 44 54 45 20 6d 6f 64 75 6c 65 2c 20 74 68 65 20 76 65 72 73 69 6f 6e 20 6e 75 6d 62 65 72 20 ┆ DTE module, the version number ┆ 0x392c0…392e0 28 33 34 29 20 6f 66 20 74 68 65 20 69 6e 74 65 72 6e 61 6c 20 64 74 65 20 65 6e 76 69 72 6f 6e ┆(34) of the internal dte environ┆ 0x392e0…39300 80 0a 19 89 80 80 6d 65 6e 74 20 44 54 45 45 4e 56 2e 20 46 75 72 74 68 65 72 6d 6f 72 65 20 74 ┆ ment DTEENV. Furthermore t┆ 0x39300…39320 68 65 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 70 61 72 61 6d 65 74 65 72 73 20 6d 61 78 5f ┆he configuration parameters max_┆ 0x39320…39340 63 68 61 6e 20 61 6e 64 20 0a 19 89 80 80 6d 61 78 5f 75 73 65 72 73 20 61 72 65 20 70 72 69 6e ┆chan and max_users are prin┆ 0x39340…39360 74 65 64 2e 0d 0a 0d 0a 09 84 57 68 65 6e 20 74 68 65 20 54 72 61 63 65 20 53 79 73 74 65 6d 20 ┆ted. When the Trace System ┆ 0x39360…39380 69 73 20 63 72 65 61 74 65 64 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 74 65 78 74 20 77 69 ┆is created the following text wi┆ 0x39380…393a0 6c 6c 20 62 65 20 70 72 69 6e 74 80 0a 19 89 80 80 65 64 20 6f 6e 20 74 68 65 20 63 6f 6e 73 6f ┆ll be print ed on the conso┆ 0x393a0…393c0 6c 65 0d 0a 0d 0a 09 20 20 20 3e 64 74 65 74 72 61 63 65 0d 0a 09 20 20 20 44 54 45 20 54 52 41 ┆le >dtetrace DTE TRA┆ 0x393c0…393e0 43 45 20 52 65 6c 65 61 73 65 20 30 30 36 20 20 38 35 2e 30 37 2e 33 30 0d 0a 09 a1 e1 20 20 20 ┆CE Release 006 85.07.30 ┆ 0x393e0…393fe 4e 75 6d 62 65 72 20 6f 66 20 74 72 61 63 65 20 62 75 66 3a 20 20 31 30 0d 0a 0d 0a 0d 0a ┆Number of trace buf: 10 ┆ 0x393fe…39401 FormFeed { 0x393fe…39401 0c 80 a6 ┆ ┆ 0x393fe…39401 } 0x39401…39420 0a 16 20 66 6f 72 6d 61 74 6c 69 6e 69 65 20 74 69 6c 20 52 43 20 6d 61 6e 75 61 6c 65 72 0d ┆ formatlinie til RC manualer ┆ 0x39420…39440 0a 14 b3 0d 0a 14 b3 06 2d 20 0b 20 2d 0d 0a a1 38 2e 09 53 4f 55 52 43 45 20 54 45 58 54 20 4f ┆ - - 8. SOURCE TEXT O┆ 0x39440…39460 52 47 41 4e 49 5a 41 54 49 4f 4e 2e 0d 0a 0d 0a 09 84 54 68 65 20 73 6f 75 72 63 65 20 74 65 78 ┆RGANIZATION. The source tex┆ 0x39460…39480 74 73 20 74 6f 20 74 68 65 20 44 54 45 20 53 79 73 74 65 6d 20 61 6e 64 20 74 68 65 20 64 69 66 ┆ts to the DTE System and the dif┆ 0x39480…394a0 66 65 72 65 6e 74 20 63 6f 6d 70 69 6c 61 74 69 6f 6e 20 0a 19 89 80 80 61 6e 64 20 6c 69 73 74 ┆ferent compilation and list┆ 0x394a0…394c0 20 6a 6f 62 73 20 61 72 65 20 6f 72 67 61 6e 69 7a 65 64 20 69 6e 20 73 65 76 65 72 61 6c 20 52 ┆ jobs are organized in several R┆ 0x394c0…394e0 43 38 30 30 30 20 6c 69 62 72 61 72 79 20 66 69 6c 65 73 20 28 6c 69 62 20 0a 19 89 80 80 66 69 ┆C8000 library files (lib fi┆ 0x394e0…39500 6c 65 73 29 20 61 6e 64 20 6e 6f 72 6d 61 6c 20 52 43 38 30 30 30 20 66 69 6c 65 73 2e 20 54 68 ┆les) and normal RC8000 files. Th┆ 0x39500…39520 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 66 69 6c 65 73 20 63 6f 6e 73 74 69 74 75 74 65 20 74 68 65 ┆e following files constitute the┆ 0x39520…39540 20 0a 19 89 80 80 44 54 45 20 53 79 73 74 65 6d 3a 0d 0a 0d 0a 09 64 74 65 69 6e 66 6f 65 6e 76 ┆ DTE System: dteinfoenv┆ 0x39540…39560 09 84 76 65 72 73 69 6f 6e 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 2c 20 6e 75 6d 62 65 72 20 61 6e ┆ version information, number an┆ 0x39560…39580 64 20 64 61 74 65 0d 0a 20 20 20 20 20 20 20 20 20 78 70 6f 6f 6c 65 6e 76 09 09 65 78 74 65 72 ┆d date xpoolenv exter┆ 0x39580…395a0 6e 61 6c 20 70 6f 6f 6c 20 68 61 6e 64 6c 65 72 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 0d 0a 09 78 ┆nal pool handler environment x┆ 0x395a0…395c0 64 74 65 65 6e 76 20 20 20 20 20 20 20 20 20 20 20 20 20 84 65 78 74 65 72 6e 61 6c 20 64 74 65 ┆dteenv external dte┆ 0x395c0…395e0 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 28 63 6f 6e 73 74 61 6e 74 73 20 61 6e 64 20 74 79 70 65 ┆ environment (constants and type┆ 0x395e0…39600 73 20 0a 19 9d 80 80 6e 65 65 64 65 64 20 62 79 20 61 20 75 73 65 72 29 0d 0a 09 78 74 72 61 63 ┆s needed by a user) xtrac┆ 0x39600…39620 (459,) 65 65 6e 76 09 09 65 78 74 65 72 6e 61 6c 20 74 72 61 63 65 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 ┆eenv external trace environment┆ 0x39620…39640 0d 0a 09 78 78 32 35 65 6e 76 09 09 65 78 74 65 72 6e 61 6c 20 58 2e 32 35 20 65 6e 76 69 72 6f ┆ xx25env external X.25 enviro┆ 0x39640…39660 6e 6d 65 6e 74 0d 0a 09 64 74 65 6e 65 74 65 6e 76 09 09 63 6f 6d 70 72 69 6d 69 7a 65 64 20 6e ┆nment dtenetenv comprimized n┆ 0x39660…39680 65 74 65 6e 76 0d 0a 0d 0a 09 6c 69 62 74 64 74 65 3c 78 78 3e 09 84 44 54 45 20 73 6f 75 72 63 ┆etenv libtdte<xx> DTE sourc┆ 0x39680…396a0 65 20 74 65 78 74 73 20 61 6e 64 20 65 78 74 65 72 6e 61 6c 20 70 72 6f 63 65 64 75 72 65 73 20 ┆e texts and external procedures ┆ 0x396a0…396c0 28 6c 69 62 20 0a 19 9d 80 80 66 69 6c 65 29 0d 0a 09 6c 69 62 74 78 32 35 09 09 65 78 74 65 72 ┆(lib file) libtx25 exter┆ 0x396c0…396e0 6e 61 6c 20 58 2e 32 35 20 70 72 6f 63 65 64 75 72 65 73 20 28 6c 69 62 20 66 69 6c 65 29 0d 0a ┆nal X.25 procedures (lib file) ┆ 0x396e0…39700 0d 0a 09 6c 69 62 6a 64 74 65 09 09 84 63 6f 6d 70 69 6c 61 74 69 6f 6e 20 61 6e 64 20 6c 69 73 ┆ libjdte compilation and lis┆ 0x39700…39720 74 20 6a 6f 62 73 20 66 6f 72 20 6d 6f 64 65 6c 20 31 20 28 6c 69 62 20 0a 19 9d 80 80 66 69 6c ┆t jobs for model 1 (lib fil┆ 0x39720…39740 65 29 0d 0a 09 6c 69 62 6a 64 74 65 32 09 09 84 63 6f 6d 70 69 6c 61 74 69 6f 6e 20 61 6e 64 20 ┆e) libjdte2 compilation and ┆ 0x39740…39760 6c 69 73 74 20 6a 6f 62 73 20 66 6f 72 20 6d 6f 64 65 6c 20 32 20 28 6c 69 62 20 0a 19 9d 80 80 ┆list jobs for model 2 (lib ┆ 0x39760…39780 66 69 6c 65 29 0d 0a 0d 0a 09 84 42 65 73 69 64 65 73 20 74 68 65 73 65 20 66 69 6c 65 73 20 74 ┆file) Besides these files t┆ 0x39780…397a0 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 43 45 4e 54 45 52 4e 45 54 20 66 69 6c 65 73 20 61 72 65 ┆he following CENTERNET files are┆ 0x397a0…397c0 20 6e 65 65 64 65 64 20 66 6f 72 20 0a 19 89 80 80 63 6f 6d 70 69 6c 61 74 69 6f 6e 20 6f 66 20 ┆ needed for compilation of ┆ 0x397c0…397e0 74 68 65 20 44 54 45 20 53 79 73 74 65 6d 3a 0d 0a 0d 0a 09 6e 65 74 65 6e 76 09 09 67 65 6e 65 ┆the DTE System: netenv gene┆ 0x397e0…39800 72 61 6c 20 6e 65 74 77 6f 72 6b 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 0d 0a 09 63 6e 6e 65 74 65 ┆ral network environment cnnete┆ 0x39800…39820 (460,) 6e 76 09 09 67 65 6e 65 72 61 6c 20 43 45 4e 54 45 52 4e 45 54 20 65 6e 76 69 72 6f 6e 6d 65 6e ┆nv general CENTERNET environmen┆ 0x39820…39840 74 0d 0a 09 78 6e 63 70 65 6e 76 09 09 65 78 74 65 72 6e 61 6c 20 4e 43 50 20 65 6e 76 69 72 6f ┆t xncpenv external NCP enviro┆ 0x39840…39860 6e 6d 65 6e 74 0d 0a 0d 0a 09 84 49 6e 20 66 69 67 75 72 65 20 34 34 20 74 68 65 20 63 6f 6e 6e ┆nment In figure 44 the conn┆ 0x39860…39880 65 63 74 69 6f 6e 73 20 62 65 74 77 65 65 6e 20 74 68 65 20 73 6f 75 72 63 65 20 74 65 78 74 73 ┆ections between the source texts┆ 0x39880…398a0 2c 20 74 68 65 20 63 6f 6d 70 69 80 0a 19 89 80 80 6c 61 80 74 69 6f 6e 20 6a 6f 62 73 2c 20 74 ┆, the compi la tion jobs, t┆ 0x398a0…398c0 68 65 20 62 69 6e 61 72 79 20 66 69 6c 65 73 2c 20 74 68 65 20 43 52 43 31 36 20 6a 6f 62 20 61 ┆he binary files, the CRC16 job a┆ 0x398c0…398e0 6e 64 20 74 68 65 20 6c 6f 61 64 20 66 69 6c 65 20 61 72 65 20 0a 19 89 80 80 73 68 6f 77 6e 2e ┆nd the load file are shown.┆ 0x398e0…398e4 0d 0a 0d 0a ┆ ┆ 0x398e4…398e7 FormFeed { 0x398e4…398e7 0c 80 a3 ┆ ┆ 0x398e4…398e7 } 0x398e7…39900 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ 0x39900…39920 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ 0x39920…39940 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 46 69 67 75 72 65 20 34 34 3a 20 ┆ Figure 44: ┆ 0x39940…39960 44 54 45 20 53 79 73 74 65 6d 20 74 65 78 74 20 61 6e 64 20 6a 6f 62 20 63 6f 6e 6e 65 63 74 69 ┆DTE System text and job connecti┆ 0x39960…39966 6f 6e 73 2e 0d 0a ┆ons. ┆ 0x39966…39969 FormFeed { 0x39966…39969 0c 80 a7 ┆ ┆ 0x39966…39969 } 0x39969…39980 0a 09 84 54 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 65 20 ┆ The contents of the ┆ 0x39980…399a0 6c 69 62 2d 66 69 6c 65 73 2c 20 74 68 65 20 70 6c 69 62 2d 66 69 6c 65 73 20 61 72 65 20 73 68 ┆lib-files, the plib-files are sh┆ 0x399a0…399c0 6f 77 6e 20 69 6e 20 61 70 70 65 6e 80 0a 19 89 80 80 64 69 78 20 45 2e 0d 0a 0d 0a 09 84 41 74 ┆own in appen dix E. At┆ 0x399c0…399e0 20 62 6f 6f 74 20 66 69 6c 65 20 67 65 6e 65 72 61 74 69 6f 6e 20 69 74 20 69 73 20 70 6f 73 73 ┆ boot file generation it is poss┆ 0x399e0…39a00 69 62 6c 65 20 74 6f 20 64 65 63 69 64 65 20 77 68 65 74 68 65 72 20 74 68 65 20 54 72 61 63 65 ┆ible to decide whether the Trace┆ 0x39a00…39a20 (461,) 20 0a 19 89 80 80 53 79 73 74 65 6d 20 61 6e 64 2f 6f 72 20 74 68 65 20 54 65 73 74 20 53 79 73 ┆ System and/or the Test Sys┆ 0x39a20…39a40 74 65 6d 20 73 68 61 6c 6c 20 62 65 20 69 6e 74 65 67 72 61 74 65 64 20 69 6e 20 74 68 65 20 64 ┆tem shall be integrated in the d┆ 0x39a40…39a60 74 65 62 6f 6f 74 20 0a 19 89 80 80 66 69 6c 65 2e 20 54 68 65 73 65 20 6f 70 74 69 6f 6e 73 20 ┆teboot file. These options ┆ 0x39a60…39a80 61 72 65 20 69 6e 70 75 74 20 74 6f 20 74 68 65 20 6a 64 74 65 70 75 6e 63 68 20 6a 6f 62 2e 0d ┆are input to the jdtepunch job. ┆ 0x39a80…39a83 0a 0d 0a ┆ ┆ 0x39a83…39a86 FormFeed { 0x39a83…39a86 0c 80 87 ┆ ┆ 0x39a83…39a86 } 0x39a86…39a99 0a 14 b3 06 2d 20 0b 20 2d 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ - - ┆ 0x39a99…39a9c FormFeed { 0x39a99…39a9c 0c 80 84 ┆ ┆ 0x39a99…39a9c } 0x39a9c…39aa0 0a b0 a1 41 ┆ A┆ 0x39aa0…39ac0 2e 20 20 20 20 20 20 20 52 45 46 45 52 45 4e 43 45 53 0d 0a 0d 0a 09 28 31 29 20 20 a1 52 65 63 ┆. REFERENCES (1) Rec┆ 0x39ac0…39ae0 6f 6d 6d 65 6e 64 61 74 69 6f 6e 20 58 2e 32 35 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ommendation X.25 ┆ 0x39ae0…39b00 84 43 43 49 54 54 2c 20 59 65 6c 6c 6f 77 20 42 6f 6f 6b 14 b3 06 0d 0a 09 20 20 20 20 20 84 53 ┆ CCITT, Yellow Book S┆ 0x39b00…39b20 65 72 76 69 63 65 73 20 61 6e 64 20 46 61 63 69 6c 69 74 69 65 73 2c 20 54 65 72 6d 69 6e 61 6c ┆ervices and Facilities, Terminal┆ 0x39b20…39b40 20 45 71 75 69 70 6d 65 6e 74 20 61 6e 64 20 49 6e 74 65 72 66 61 63 65 73 0d 0a 09 84 20 20 20 ┆ Equipment and Interfaces ┆ 0x39b40…39b60 20 20 56 6f 6c 2e 20 49 49 49 20 2d 20 46 61 73 63 69 63 6c 65 20 56 49 49 49 2e 32 2e 0d 0a 09 ┆ Vol. III - Fascicle VIII.2. ┆ 0x39b60…39b80 20 20 20 20 20 47 65 6e 65 76 61 20 31 39 38 31 2e 0d 0a 0d 0a 09 28 32 29 20 20 a1 52 65 63 6f ┆ Geneva 1981. (2) Reco┆ 0x39b80…39ba0 6d 6d 65 6e 64 61 74 69 6f 6e 20 58 2e 31 32 31 0d 0a 20 09 20 20 20 20 20 43 43 49 54 54 2c 20 ┆mmendation X.121 CCITT, ┆ 0x39ba0…39bc0 59 65 6c 6c 6f 77 20 42 6f 6f 6b 0d 0a 09 20 20 20 20 20 44 61 74 61 20 43 6f 6d 6d 75 6e 69 63 ┆Yellow Book Data Communic┆ 0x39bc0…39be0 61 74 69 6f 6e 20 4e 65 74 77 6f 72 6b 73 0d 0a 09 20 20 20 20 20 54 72 61 6e 73 6d 69 73 73 69 ┆ation Networks Transmissi┆ 0x39be0…39c00 6f 6e 2c 20 53 69 67 6e 61 6c 6c 69 6e 67 20 61 6e 64 20 53 77 69 74 63 68 69 6e 67 2c 20 4e 65 ┆on, Signalling and Switching, Ne┆ 0x39c00…39c20 (462,) 74 77 6f 72 6b 20 61 73 70 65 63 74 73 2c 0d 0a 09 20 20 20 20 20 4d 61 69 6e 74 65 6e 61 6e 63 ┆twork aspects, Maintenanc┆ 0x39c20…39c40 65 2c 20 41 64 6d 69 6e 69 73 74 72 61 74 69 76 65 20 61 72 72 61 6e 67 65 6d 65 6e 74 73 0d 0a ┆e, Administrative arrangements ┆ 0x39c40…39c60 09 20 20 20 20 20 56 6f 6c 2e 20 56 49 49 49 20 2d 20 46 61 73 63 69 63 6c 65 20 56 49 49 49 2e ┆ Vol. VIII - Fascicle VIII.┆ 0x39c60…39c80 33 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 47 65 6e 65 76 61 20 31 39 38 31 2e 0d 0a 0d ┆3 Geneva 1981. ┆ 0x39c80…39ca0 0a 09 28 33 29 20 20 52 43 53 4c 20 4e 6f 20 39 39 31 2d 31 30 33 31 36 0d 0a 09 20 20 20 20 20 ┆ (3) RCSL No 991-10316 ┆ 0x39ca0…39cc0 a1 43 45 4e 54 45 52 4e 45 54 2c 20 44 54 45 20 4d 6f 64 75 6c 65 0d 0a 09 20 20 20 20 20 a2 e2 ┆ CENTERNET, DTE Module ┆ 0x39cc0…39ce0 a1 50 72 6f 67 72 61 6d 6d 69 6e 67 20 47 75 69 64 65 2c 20 52 65 76 2e 20 33 2e 30 30 0d 0a 09 ┆ Programming Guide, Rev. 3.00 ┆ 0x39ce0…39d00 20 20 20 20 20 50 65 72 20 48 7c 67 68 2c 20 4f 63 74 6f 62 65 72 20 31 39 38 35 2e 0d 0a 0d 0a ┆ Per Høgh, October 1985. ┆ 0x39d00…39d20 09 28 34 29 20 20 52 43 53 4c 20 4e 6f 20 39 39 31 2d 31 30 33 31 35 0d 0a 09 20 20 20 20 20 a1 ┆ (4) RCSL No 991-10315 ┆ 0x39d20…39d40 43 45 4e 54 45 52 4e 45 54 2c 20 4e 65 74 77 6f 72 6b 20 43 6f 6e 74 72 6f 6c 2c 0d 0a 09 20 20 ┆CENTERNET, Network Control, ┆ 0x39d40…39d60 20 20 20 a1 44 54 45 20 4c 43 50 20 53 70 65 63 69 66 69 63 61 74 69 6f 6e 20 53 68 65 65 74 73 ┆ DTE LCP Specification Sheets┆ 0x39d60…39d80 2c 20 52 65 76 2e 20 32 2e 30 30 0d 0a 09 20 20 20 20 20 50 65 72 20 48 7c 67 68 2c 20 4f 63 74 ┆, Rev. 2.00 Per Høgh, Oct┆ 0x39d80…39da0 6f 62 65 72 20 31 39 38 35 2e 0d 0a 0d 0a 09 28 35 29 20 20 84 50 41 58 4e 45 54 0d 0a 09 20 20 ┆ober 1985. (5) PAXNET ┆ 0x39da0…39dc0 20 20 20 a1 54 68 65 20 55 73 65 72 20 61 6e 64 20 4c 43 50 20 49 6e 74 65 72 66 61 63 65 20 6f ┆ The User and LCP Interface o┆ 0x39dc0…39de0 66 20 74 68 65 20 50 6f 6f 6c 20 48 61 6e 64 6c 65 72 0d 0a 09 20 20 20 20 20 a1 52 65 66 65 72 ┆f the Pool Handler Refer┆ 0x39de0…39e00 65 6e 63 65 20 4d 61 6e 75 61 6c 2c 20 52 65 76 2e 20 31 2e 30 30 0d 0a 09 20 20 20 20 20 4a 7c ┆ence Manual, Rev. 1.00 Jø┆ 0x39e00…39e20 (463,) 72 67 65 6e 20 4c 69 6e 64 65 72 6f 74 68 2c 20 4d 61 72 63 68 20 31 39 38 33 2e 0d 0a 0d 0a 09 ┆rgen Linderoth, March 1983. ┆ 0x39e20…39e40 28 36 29 20 20 44 4f 4b 53 20 4e 52 2e 20 53 50 2e 54 53 53 59 53 2e 31 35 2f 32 0d 0a 09 20 20 ┆(6) DOKS NR. SP.TSSYS.15/2 ┆ 0x39e40…39e60 20 20 20 a1 41 6c 61 72 6d 2d 73 79 73 74 65 6d 0d 0a 09 20 20 20 20 20 a1 53 79 73 74 65 6d 62 ┆ Alarm-system Systemb┆ 0x39e60…39e80 65 73 6b 72 69 76 65 6c 73 65 20 66 6f 72 20 54 53 20 54 69 6d 65 6f 75 74 6d 6f 64 75 6c 65 74 ┆eskrivelse for TS Timeoutmodulet┆ 0x39e80…39ea0 0d 0a 09 20 20 20 20 20 4f 6c 65 20 45 6a 62 79 20 52 65 69 6e 61 75 2c 20 4d 61 79 20 31 39 38 ┆ Ole Ejby Reinau, May 198┆ 0x39ea0…39ec0 30 2e 0d 0a 0d 0a 09 28 37 29 20 20 52 43 53 4c 20 4e 6f 20 34 33 2d 47 4c 31 31 38 37 30 0d 0a ┆0. (7) RCSL No 43-GL11870 ┆ 0x39ec0…39ee0 09 20 20 20 20 20 a1 52 43 33 35 30 32 20 53 6e 6f 6f 70 65 72 0d 0a 09 20 20 20 20 20 a1 55 73 ┆ RC3502 Snooper Us┆ 0x39ee0…39f00 65 72 27 73 20 47 75 69 64 65 0d 0a 09 20 20 20 20 20 56 61 6c 74 68 65 72 20 52 61 73 6d 75 73 ┆er's Guide Valther Rasmus┆ 0x39f00…39f16 73 65 6e 2c 20 4f 63 74 6f 62 65 72 20 31 39 38 32 2e 0d 0a 0d 0a ┆sen, October 1982. ┆ 0x39f16…39f19 FormFeed { 0x39f16…39f19 0c 80 a9 ┆ ┆ 0x39f16…39f19 } 0x39f19…39f20 0a 09 28 38 29 20 20 ┆ (8) ┆ 0x39f20…39f40 52 43 53 4c 20 4e 6f 20 34 33 2d 47 4c 31 32 31 36 36 0d 0a 09 20 20 20 20 20 a1 43 45 4e 54 45 ┆RCSL No 43-GL12166 CENTE┆ 0x39f40…39f60 52 4e 45 54 2c 20 43 4e 41 44 41 4d 0d 0a 09 20 20 20 20 20 a1 52 65 66 65 72 65 6e 63 65 20 4d ┆RNET, CNADAM Reference M┆ 0x39f60…39f80 61 6e 75 61 6c 2c 20 52 65 76 2e 20 32 2e 30 30 0d 0a 09 20 20 20 20 20 50 65 74 65 72 20 48 6f ┆anual, Rev. 2.00 Peter Ho┆ 0x39f80…39fa0 6c 6d 2c 20 44 65 63 65 6d 62 65 72 20 31 39 38 33 2e 0d 0a 0d 0a 09 28 39 29 20 20 52 43 53 4c ┆lm, December 1983. (9) RCSL┆ 0x39fa0…39fc0 20 4e 6f 20 35 32 2d 41 41 31 32 31 34 0d 0a 09 20 20 20 20 20 a1 52 43 33 35 34 36 20 48 44 4c ┆ No 52-AA1214 RC3546 HDL┆ 0x39fc0…39fe0 43 20 44 72 69 76 65 72 0d 0a 09 20 20 20 20 20 a1 52 65 66 65 72 65 6e 63 65 20 4d 61 6e 75 61 ┆C Driver Reference Manua┆ 0x39fe0…3a000 6c 0d 0a 09 20 20 20 20 20 50 65 72 20 4d 6f 6e 64 72 75 70 2c 20 44 65 63 65 6d 62 65 72 20 31 ┆l Per Mondrup, December 1┆ 0x3a000…3a020 (464,) 39 38 33 2e 0d 0a 0d 0a 20 20 20 20 20 20 20 20 28 31 30 29 20 20 52 43 53 4c 20 4e 6f 20 34 33 ┆983. (10) RCSL No 43┆ 0x3a020…3a040 2d 47 4c 31 31 34 32 34 0d 0a 09 20 20 20 20 20 a1 4e 43 50 20 44 61 74 61 20 53 74 72 75 63 74 ┆-GL11424 NCP Data Struct┆ 0x3a040…3a060 75 72 65 73 2c 0d 0a 09 20 20 20 20 20 a1 52 65 66 65 72 65 6e 63 65 20 4d 61 6e 75 61 6c 2c 20 ┆ures, Reference Manual, ┆ 0x3a060…3a080 52 65 76 2e 20 31 2e 30 32 0d 0a 09 20 20 20 20 20 43 6c 61 75 73 20 48 6f 75 6c 62 65 72 67 20 ┆Rev. 1.02 Claus Houlberg ┆ 0x3a080…3a0a0 48 61 6e 73 65 6e 2c 20 41 75 67 75 73 74 20 31 39 38 31 2e 0d 0a 0d 0a 20 20 20 20 20 20 20 20 ┆Hansen, August 1981. ┆ 0x3a0a0…3a0c0 28 31 31 29 20 20 52 43 53 4c 20 4e 6f 20 35 32 2d 41 41 39 36 34 0d 0a 09 20 20 20 20 20 a1 50 ┆(11) RCSL No 52-AA964 P┆ 0x3a0c0…3a0e0 41 53 43 41 4c 38 30 2c 20 52 65 70 6f 72 74 0d 0a 09 20 20 20 20 20 4a 7c 72 67 65 6e 20 53 74 ┆ASCAL80, Report Jørgen St┆ 0x3a0e0…3a100 61 75 6e 73 74 72 75 70 2c 20 4a 61 6e 75 61 72 79 20 31 39 38 30 2e 0d 0a 0d 0a 20 20 20 20 20 ┆aunstrup, January 1980. ┆ 0x3a100…3a120 20 20 20 28 31 32 29 20 20 52 43 53 4c 20 4e 6f 20 34 32 2d 69 31 35 33 39 0d 0a 09 20 20 20 20 ┆ (12) RCSL No 42-i1539 ┆ 0x3a120…3a140 20 a1 50 41 53 43 41 4c 38 30 2c 20 55 73 65 72 27 73 20 47 75 69 64 65 0d 0a 09 20 20 20 20 20 ┆ PASCAL80, User's Guide ┆ 0x3a140…3a160 4a 61 6e 20 42 61 72 64 69 6e 6f 2c 20 4f 63 74 6f 62 65 72 20 31 39 38 30 2e 0d 0a 0d 0a 20 20 ┆Jan Bardino, October 1980. ┆ 0x3a160…3a180 20 20 20 20 20 20 28 31 33 29 20 20 52 43 53 4c 20 4e 6f 20 34 32 2d 69 31 35 34 32 0d 0a 09 20 ┆ (13) RCSL No 42-i1542 ┆ 0x3a180…3a1a0 20 20 20 20 a1 52 43 33 35 30 32 20 2d 20 50 41 53 43 41 4c 38 30 2c 20 52 65 66 65 72 65 6e 63 ┆ RC3502 - PASCAL80, Referenc┆ 0x3a1a0…3a1c0 65 20 4d 61 6e 75 61 6c 0d 0a 09 20 20 20 20 20 42 6f 20 42 61 67 67 65 72 20 4c 61 75 72 73 65 ┆e Manual Bo Bagger Laurse┆ 0x3a1c0…3a1e0 6e 2c 20 4e 6f 76 65 6d 62 65 72 20 31 39 38 30 2e 0d 0a 0d 0a 20 20 20 20 20 20 20 20 28 31 34 ┆n, November 1980. (14┆ 0x3a1e0…3a200 29 20 20 52 43 53 4c 20 4e 6f 20 35 32 2d 41 41 31 30 37 32 0d 0a 09 20 20 20 20 20 a1 52 43 33 ┆) RCSL No 52-AA1072 RC3┆ 0x3a200…3a220 (465,) 35 30 32 20 52 45 41 4c 20 54 49 4d 45 20 50 41 53 43 41 4c 0d 0a 09 20 20 20 20 20 a1 45 78 74 ┆502 REAL TIME PASCAL Ext┆ 0x3a220…3a240 65 6e 73 69 6f 6e 73 20 74 6f 20 74 68 65 20 52 65 66 65 72 65 6e 63 65 20 4d 61 6e 75 61 6c 0d ┆ensions to the Reference Manual ┆ 0x3a240…3a260 0a 09 20 20 20 20 20 42 6f 20 42 61 67 67 65 72 20 4c 61 75 72 73 65 6e 2c 20 4f 63 74 6f 62 65 ┆ Bo Bagger Laursen, Octobe┆ 0x3a260…3a280 72 20 31 39 38 31 2e 0d 0a 0d 0a 20 20 20 20 20 20 20 20 28 31 35 29 20 20 52 43 53 4c 20 4e 6f ┆r 1981. (15) RCSL No┆ 0x3a280…3a2a0 20 35 32 2d 41 41 31 30 35 36 0d 0a 09 20 20 20 20 20 a1 52 43 33 35 30 32 20 52 45 41 4c 20 54 ┆ 52-AA1056 RC3502 REAL T┆ 0x3a2a0…3a2c0 49 4d 45 20 50 41 53 43 41 4c 0d 0a 09 20 20 20 20 20 a1 43 68 61 72 61 63 74 65 72 20 49 6e 70 ┆IME PASCAL Character Inp┆ 0x3a2c0…3a2e0 75 74 2f 4f 75 74 70 75 74 20 52 6f 75 74 69 6e 65 73 0d 0a 09 20 20 20 20 20 42 6f 20 42 61 67 ┆ut/Output Routines Bo Bag┆ 0x3a2e0…3a2fb 67 65 72 20 4c 61 75 72 73 65 6e 2c 20 4a 75 6e 65 20 31 39 38 31 2e 0d 0a 0d 0a ┆ger Laursen, June 1981. ┆ 0x3a2fb…3a2fe FormFeed { 0x3a2fb…3a2fe 0c 80 a5 ┆ ┆ 0x3a2fb…3a2fe } 0x3a2fe…3a300 0a b0 ┆ ┆ 0x3a300…3a320 a1 42 2e 09 45 4e 56 49 52 4f 4e 4d 45 4e 54 53 0d 0a 0d 0a 09 84 49 6e 20 74 68 69 73 20 61 70 ┆ B. ENVIRONMENTS In this ap┆ 0x3a320…3a340 70 65 6e 64 69 78 20 61 72 65 20 74 68 65 20 64 69 66 66 65 72 65 6e 74 20 52 54 50 20 65 6e 76 ┆pendix are the different RTP env┆ 0x3a340…3a360 69 72 6f 6e 6d 65 6e 74 73 20 74 6f 20 74 68 65 20 44 54 45 20 0a 19 89 80 80 53 79 73 74 65 6d ┆ironments to the DTE System┆ 0x3a360…3a380 20 6c 69 73 74 65 64 2e 20 46 75 72 74 68 65 72 6d 6f 72 65 20 61 20 6c 6f 6f 6b 75 70 20 6f 66 ┆ listed. Furthermore a lookup of┆ 0x3a380…3a3a0 20 6e 65 63 65 73 73 61 72 79 20 65 78 74 65 72 6e 61 6c 20 0a 19 89 80 80 65 6e 76 69 72 6f 6e ┆ necessary external environ┆ 0x3a3a0…3a3c0 6d 65 6e 74 73 20 69 73 20 73 68 6f 77 6e 20 69 6e 20 42 2e 31 2e 20 49 6e 20 42 2e 38 20 69 73 ┆ments is shown in B.1. In B.8 is┆ 0x3a3c0…3a3e0 20 61 6e 20 65 78 61 6d 70 6c 65 20 28 53 54 44 43 4f 4e 46 29 20 6f 66 20 0a 19 89 80 80 74 68 ┆ an example (STDCONF) of th┆ 0x3a3e0…3a400 65 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 73 68 6f 77 ┆e configuration environment show┆ 0x3a400…3a420 (466,) 6e 2e 0d 0a 0d 0a 0d 0a b0 a1 42 2e 31 09 45 78 74 65 72 6e 61 6c 20 45 6e 76 69 72 6f 6e 6d 65 ┆n. B.1 External Environme┆ 0x3a420…3a427 6e 74 73 0d 0a 0d 0a ┆nts ┆ 0x3a427…3a42a FormFeed { 0x3a427…3a42a 0c 80 8a ┆ ┆ 0x3a427…3a42a } 0x3a42a…3a43c 0a b0 a1 42 2e 32 09 78 64 74 65 65 6e 76 0d 0a 0d 0a ┆ B.2 xdteenv ┆ 0x3a43c…3a43f FormFeed { 0x3a43c…3a43f 0c 80 82 ┆ ┆ 0x3a43c…3a43f } 0x3a43f…3a440 0a ┆ ┆ 0x3a440…3a442 0d 0a ┆ ┆ 0x3a442…3a445 FormFeed { 0x3a442…3a445 0c 80 81 ┆ ┆ 0x3a442…3a445 } 0x3a445…3a448 0a 0d 0a ┆ ┆ 0x3a448…3a44b FormFeed { 0x3a448…3a44b 0c 80 81 ┆ ┆ 0x3a448…3a44b } 0x3a44b…3a44e 0a 0d 0a ┆ ┆ 0x3a44e…3a451 FormFeed { 0x3a44e…3a451 0c 80 81 ┆ ┆ 0x3a44e…3a451 } 0x3a451…3a460 0a b0 a1 42 2e 33 09 78 78 32 35 65 6e 76 0d ┆ B.3 xx25env ┆ 0x3a460…3a463 0a 0d 0a ┆ ┆ 0x3a463…3a466 FormFeed { 0x3a463…3a466 0c 80 82 ┆ ┆ 0x3a463…3a466 } 0x3a466…3a469 0a 0d 0a ┆ ┆ 0x3a469…3a46c FormFeed { 0x3a469…3a46c 0c 80 81 ┆ ┆ 0x3a469…3a46c } 0x3a46c…3a46f 0a 0d 0a ┆ ┆ 0x3a46f…3a472 FormFeed { 0x3a46f…3a472 0c 80 81 ┆ ┆ 0x3a46f…3a472 } 0x3a472…3a475 0a 0d 0a ┆ ┆ 0x3a475…3a478 FormFeed { 0x3a475…3a478 0c 80 81 ┆ ┆ 0x3a475…3a478 } 0x3a478…3a47b 0a 0d 0a ┆ ┆ 0x3a47b…3a47e FormFeed { 0x3a47b…3a47e 0c 80 81 ┆ ┆ 0x3a47b…3a47e } 0x3a47e…3a480 0a 0d ┆ ┆ 0x3a480…3a481 0a ┆ ┆ 0x3a481…3a484 FormFeed { 0x3a481…3a484 0c 80 81 ┆ ┆ 0x3a481…3a484 } 0x3a484…3a487 0a 0d 0a ┆ ┆ 0x3a487…3a48a FormFeed { 0x3a487…3a48a 0c 80 81 ┆ ┆ 0x3a487…3a48a } 0x3a48a…3a48d 0a 0d 0a ┆ ┆ 0x3a48d…3a490 FormFeed { 0x3a48d…3a490 0c 80 81 ┆ ┆ 0x3a48d…3a490 } 0x3a490…3a4a0 0a b0 a1 42 2e 34 09 78 74 72 61 63 65 65 6e 76 ┆ B.4 xtraceenv┆ 0x3a4a0…3a4a4 0d 0a 0d 0a ┆ ┆ 0x3a4a4…3a4a7 FormFeed { 0x3a4a4…3a4a7 0c 80 82 ┆ ┆ 0x3a4a4…3a4a7 } 0x3a4a7…3a4aa 0a 0d 0a ┆ ┆ 0x3a4aa…3a4ad FormFeed { 0x3a4aa…3a4ad 0c 80 81 ┆ ┆ 0x3a4aa…3a4ad } 0x3a4ad…3a4b0 0a 0d 0a ┆ ┆ 0x3a4b0…3a4b3 FormFeed { 0x3a4b0…3a4b3 0c 80 81 ┆ ┆ 0x3a4b0…3a4b3 } 0x3a4b3…3a4c0 0a b0 a1 42 2e 35 09 64 74 65 65 6e 76 ┆ B.5 dteenv┆ 0x3a4c0…3a4c4 0d 0a 0d 0a ┆ ┆ 0x3a4c4…3a4c7 FormFeed { 0x3a4c4…3a4c7 0c 80 82 ┆ ┆ 0x3a4c4…3a4c7 } 0x3a4c7…3a4ca 0a 0d 0a ┆ ┆ 0x3a4ca…3a4cd FormFeed { 0x3a4ca…3a4cd 0c 80 81 ┆ ┆ 0x3a4ca…3a4cd } 0x3a4cd…3a4d0 0a 0d 0a ┆ ┆ 0x3a4d0…3a4d3 FormFeed { 0x3a4d0…3a4d3 0c 80 81 ┆ ┆ 0x3a4d0…3a4d3 } 0x3a4d3…3a4d6 0a 0d 0a ┆ ┆ 0x3a4d6…3a4d9 FormFeed { 0x3a4d6…3a4d9 0c 80 81 ┆ ┆ 0x3a4d6…3a4d9 } 0x3a4d9…3a4dc 0a 0d 0a ┆ ┆ 0x3a4dc…3a4df FormFeed { 0x3a4dc…3a4df 0c 80 81 ┆ ┆ 0x3a4dc…3a4df } 0x3a4df…3a4e0 0a ┆ ┆ 0x3a4e0…3a4e2 0d 0a ┆ ┆ 0x3a4e2…3a4e5 FormFeed { 0x3a4e2…3a4e5 0c 80 81 ┆ ┆ 0x3a4e2…3a4e5 } 0x3a4e5…3a4e8 0a 0d 0a ┆ ┆ 0x3a4e8…3a4eb FormFeed { 0x3a4e8…3a4eb 0c 80 81 ┆ ┆ 0x3a4e8…3a4eb } 0x3a4eb…3a4ee 0a 0d 0a ┆ ┆ 0x3a4ee…3a4f1 FormFeed { 0x3a4ee…3a4f1 0c 80 81 ┆ ┆ 0x3a4ee…3a4f1 } 0x3a4f1…3a4f4 0a 0d 0a ┆ ┆ 0x3a4f4…3a4f7 FormFeed { 0x3a4f4…3a4f7 0c 80 81 ┆ ┆ 0x3a4f4…3a4f7 } 0x3a4f7…3a4fa 0a 0d 0a ┆ ┆ 0x3a4fa…3a4fd FormFeed { 0x3a4fa…3a4fd 0c 80 81 ┆ ┆ 0x3a4fa…3a4fd } 0x3a4fd…3a500 0a 0d 0a ┆ ┆ 0x3a500…3a503 FormFeed { 0x3a500…3a503 0c 80 81 ┆ ┆ 0x3a500…3a503 } 0x3a503…3a506 0a 0d 0a ┆ ┆ 0x3a506…3a509 FormFeed { 0x3a506…3a509 0c 80 81 ┆ ┆ 0x3a506…3a509 } 0x3a509…3a50c 0a 0d 0a ┆ ┆ 0x3a50c…3a50f FormFeed { 0x3a50c…3a50f 0c 80 81 ┆ ┆ 0x3a50c…3a50f } 0x3a50f…3a512 0a 0d 0a ┆ ┆ 0x3a512…3a515 FormFeed { 0x3a512…3a515 0c 80 81 ┆ ┆ 0x3a512…3a515 } 0x3a515…3a518 0a 0d 0a ┆ ┆ 0x3a518…3a51b FormFeed { 0x3a518…3a51b 0c 80 81 ┆ ┆ 0x3a518…3a51b } 0x3a51b…3a51e 0a 0d 0a ┆ ┆ 0x3a51e…3a521 FormFeed { 0x3a51e…3a521 0c 80 81 ┆ ┆ 0x3a51e…3a521 } 0x3a521…3a524 0a 0d 0a ┆ ┆ 0x3a524…3a527 FormFeed { 0x3a524…3a527 0c 80 81 ┆ ┆ 0x3a524…3a527 } 0x3a527…3a52a 0a 0d 0a ┆ ┆ 0x3a52a…3a52d FormFeed { 0x3a52a…3a52d 0c 80 81 ┆ ┆ 0x3a52a…3a52d } 0x3a52d…3a530 0a 0d 0a ┆ ┆ 0x3a530…3a533 FormFeed { 0x3a530…3a533 0c 80 81 ┆ ┆ 0x3a530…3a533 } 0x3a533…3a536 0a 0d 0a ┆ ┆ 0x3a536…3a539 FormFeed { 0x3a536…3a539 0c 80 81 ┆ ┆ 0x3a536…3a539 } 0x3a539…3a53c 0a 0d 0a ┆ ┆ 0x3a53c…3a53f FormFeed { 0x3a53c…3a53f 0c 80 81 ┆ ┆ 0x3a53c…3a53f } 0x3a53f…3a540 0a ┆ ┆ 0x3a540…3a542 0d 0a ┆ ┆ 0x3a542…3a545 FormFeed { 0x3a542…3a545 0c 80 81 ┆ ┆ 0x3a542…3a545 } 0x3a545…3a548 0a 0d 0a ┆ ┆ 0x3a548…3a54b FormFeed { 0x3a548…3a54b 0c 80 81 ┆ ┆ 0x3a548…3a54b } 0x3a54b…3a54e 0a 0d 0a ┆ ┆ 0x3a54e…3a551 FormFeed { 0x3a54e…3a551 0c 80 81 ┆ ┆ 0x3a54e…3a551 } 0x3a551…3a554 0a 0d 0a ┆ ┆ 0x3a554…3a557 FormFeed { 0x3a554…3a557 0c 80 81 ┆ ┆ 0x3a554…3a557 } 0x3a557…3a55a 0a 0d 0a ┆ ┆ 0x3a55a…3a55d FormFeed { 0x3a55a…3a55d 0c 80 81 ┆ ┆ 0x3a55a…3a55d } 0x3a55d…3a560 0a b0 a1 ┆ ┆ 0x3a560…3a573 42 2e 36 09 64 74 65 62 72 65 61 6b 65 6e 76 0d 0a 0d 0a ┆B.6 dtebreakenv ┆ 0x3a573…3a576 FormFeed { 0x3a573…3a576 0c 80 82 ┆ ┆ 0x3a573…3a576 } 0x3a576…3a580 0a b0 a1 42 2e 37 09 68 64 6c ┆ B.7 hdl┆ 0x3a580…3a588 63 65 6e 76 0d 0a 0d 0a ┆cenv ┆ 0x3a588…3a58b FormFeed { 0x3a588…3a58b 0c 80 82 ┆ ┆ 0x3a588…3a58b } 0x3a58b…3a58e 0a 0d 0a ┆ ┆ 0x3a58e…3a591 FormFeed { 0x3a58e…3a591 0c 80 81 ┆ ┆ 0x3a58e…3a591 } 0x3a591…3a5a0 0a b0 a1 42 2e 38 09 73 74 64 63 6f 6e 66 0d ┆ B.8 stdconf ┆ 0x3a5a0…3a5a3 0a 0d 0a ┆ ┆ 0x3a5a3…3a5a6 FormFeed { 0x3a5a3…3a5a6 0c 80 82 ┆ ┆ 0x3a5a3…3a5a6 } 0x3a5a6…3a5c0 0a b0 a1 43 2e 09 53 54 41 54 45 2f 41 43 54 49 4f 4e 20 54 41 42 4c 45 53 0d ┆ C. STATE/ACTION TABLES ┆ 0x3a5c0…3a5e0 0a 0d 0a 09 84 49 6e 20 74 68 69 73 20 61 70 70 65 6e 64 69 78 20 61 72 65 20 74 68 65 20 73 74 ┆ In this appendix are the st┆ 0x3a5e0…3a600 61 74 65 2f 61 63 74 69 6f 6e 20 74 61 62 6c 65 73 20 66 6f 72 20 74 68 65 20 64 74 65 5f 61 63 ┆ate/action tables for the dte_ac┆ 0x3a600…3a620 (467,) 63 65 73 73 20 0a 19 89 80 80 28 43 2e 31 29 2c 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 20 28 43 2e ┆cess (C.1), dte_lcnzero (C.┆ 0x3a620…3a640 32 29 2c 20 61 6e 64 20 64 74 65 5f 63 68 61 6e 20 28 43 2e 33 29 20 73 68 6f 77 6e 20 61 6e 64 ┆2), and dte_chan (C.3) shown and┆ 0x3a640…3a660 20 61 20 73 68 6f 72 74 20 0a 19 89 80 80 64 65 73 63 72 69 70 74 69 6f 6e 20 6f 66 20 65 61 63 ┆ a short description of eac┆ 0x3a660…3a680 68 20 61 63 74 69 6f 6e 20 69 73 20 67 69 76 65 6e 2e 0a 0d 0a 0d 0a b0 a1 43 2e 31 09 64 74 65 ┆h action is given. C.1 dte┆ 0x3a680…3a6a0 5f 61 63 63 65 73 73 0d 0a 0d 0a 09 84 41 73 20 6d 65 6e 74 69 6f 6e 65 64 20 69 6e 20 73 75 62 ┆_access As mentioned in sub┆ 0x3a6a0…3a6c0 73 65 63 74 69 6f 6e 20 34 2e 33 2e 36 20 74 68 65 20 64 74 65 5f 61 63 63 65 73 73 20 70 72 6f ┆section 4.3.6 the dte_access pro┆ 0x3a6c0…3a6e0 63 65 73 73 20 63 6f 6e 74 61 69 6e 73 20 0a 19 89 80 80 66 6f 75 72 20 73 74 61 74 65 2f 61 63 ┆cess contains four state/ac┆ 0x3a6e0…3a700 74 69 6f 6e 20 74 61 62 6c 65 73 0d 0a 0d 0a 09 09 2d 20 6f 6e 65 20 66 6f 72 20 75 73 65 72 20 ┆tion tables - one for user ┆ 0x3a700…3a720 64 65 70 65 6e 64 65 6e 74 20 61 63 74 69 6f 6e 73 0d 0a 09 09 2d 20 6f 6e 65 20 66 6f 72 20 73 ┆dependent actions - one for s┆ 0x3a720…3a740 74 72 65 61 6d 20 64 65 70 65 6e 64 65 6e 74 20 61 63 74 69 6f 6e 73 0d 0a 09 09 2d 20 6f 6e 65 ┆tream dependent actions - one┆ 0x3a740…3a760 20 66 6f 72 20 69 6e 74 65 72 6e 61 6c 20 73 74 72 65 61 6d 20 64 65 70 65 6e 64 65 6e 74 20 61 ┆ for internal stream dependent a┆ 0x3a760…3a780 63 74 69 6f 6e 73 0d 0a 09 09 2d 20 6f 6e 65 20 66 6f 72 20 73 74 72 65 61 6d 20 69 6e 64 65 70 ┆ctions - one for stream indep┆ 0x3a780…3a7a0 65 6e 64 65 6e 74 20 61 63 74 69 6f 6e 73 2e 0d 0a 0d 0a 09 84 42 65 63 61 75 73 65 20 6f 66 20 ┆endent actions. Because of ┆ 0x3a7a0…3a7c0 74 68 65 20 63 6f 6e 6e 65 63 74 69 6f 6e 20 62 65 74 77 65 65 6e 20 74 68 65 20 74 61 62 6c 65 ┆the connection between the table┆ 0x3a7c0…3a7e0 73 20 73 74 72 65 61 6d 20 64 65 70 65 6e 64 65 6e 74 20 61 6e 64 20 0a 19 89 80 80 69 6e 74 65 ┆s stream dependent and inte┆ 0x3a7e0…3a800 72 6e 61 6c 20 73 74 72 65 61 6d 20 64 65 70 65 6e 64 65 6e 74 2c 20 6f 6e 65 20 74 61 62 6c 65 ┆rnal stream dependent, one table┆ 0x3a800…3a820 (468,) 20 28 43 2e 31 2e 32 29 20 6f 75 74 6c 69 6e 65 20 74 68 65 20 74 77 6f 20 69 6d 80 0a 19 89 80 ┆ (C.1.2) outline the two im ┆ 0x3a820…3a840 80 70 6c 65 6d 65 6e 74 65 64 20 73 74 61 74 65 2f 61 63 74 69 6f 6e 20 74 61 62 6c 65 73 2e 20 ┆ plemented state/action tables. ┆ 0x3a840…3a860 46 75 72 74 68 65 72 6d 6f 72 65 20 69 73 20 74 68 65 20 63 61 6c 6c 20 72 65 71 75 65 73 74 20 ┆Furthermore is the call request ┆ 0x3a860…3a880 61 6e 64 20 0a 19 89 80 80 69 6e 63 6f 6d 6d 69 6e 67 20 63 61 6c 6c 20 65 76 65 6e 74 73 20 69 ┆and incomming call events i┆ 0x3a880…3a8a0 6e 63 6c 75 64 65 64 20 69 6e 20 74 68 69 73 20 74 61 62 6c 65 2e 20 54 68 65 20 6f 74 68 65 72 ┆ncluded in this table. The other┆ 0x3a8a0…3a8c0 20 74 77 6f 20 61 72 65 20 0a 19 89 80 80 73 68 6f 77 6e 20 61 73 20 74 68 65 79 20 61 72 65 20 ┆ two are shown as they are ┆ 0x3a8c0…3a8e0 69 6d 70 6c 65 6d 65 6e 74 65 64 2e 0d 0a 0d 0a 0d 0a b0 a1 43 2e 31 2e 31 09 55 73 65 72 20 44 ┆implemented. C.1.1 User D┆ 0x3a8e0…3a900 65 70 65 6e 64 65 6e 74 0d 0a 0d 0a 09 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f ┆ependent ___________________┆ 0x3a900…3a920 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f ┆________________________________┆ 0x3a920…3a940 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 0d 0a 09 20 20 20 20 73 74 61 74 65 20 20 20 20 20 ┆_______________ state ┆ 0x3a940…3a960 66 72 65 65 20 20 20 20 20 20 20 20 20 77 5f 72 65 73 63 20 20 20 20 20 20 20 20 20 69 64 6c 65 ┆free w_resc idle┆ 0x3a960…3a980 20 20 20 20 20 20 20 20 20 61 63 74 69 76 65 0d 0a 20 20 20 20 20 20 20 20 20 a1 65 76 65 6e 74 ┆ active event┆ 0x3a980…3a9a0 09 09 09 09 09 09 09 20 0d 0a 09 63 61 6c 6c 20 20 20 20 20 20 20 20 20 20 66 72 65 65 09 20 20 ┆ call free ┆ 0x3a9a0…3a9c0 20 20 20 20 20 77 5f 72 65 73 63 20 20 20 20 20 20 20 20 20 61 63 74 69 76 65 20 20 20 20 20 20 ┆ w_resc active ┆ 0x3a9c0…3a9e0 20 61 63 74 69 76 65 0d 0a 09 72 65 71 75 65 73 74 0d 0a 09 a1 20 20 20 20 20 20 20 20 20 20 20 ┆ active request ┆ 0x3a9e0…3aa00 20 20 20 6e 6f 74 5f 63 6f 6e 6e 20 20 20 20 20 69 6c 6c 5f 75 72 65 71 20 20 20 20 20 20 20 63 ┆ not_conn ill_ureq c┆ 0x3aa00…3aa20 (469,) 61 6c 6c 5f 69 6e 69 74 20 20 20 20 63 61 6c 6c 5f 69 6e 69 74 20 20 0d 0a 20 20 20 20 20 20 20 ┆all_init call_init ┆ 0x3aa20…3aa40 20 20 77 61 69 74 20 20 20 20 20 20 20 20 20 20 66 72 65 65 20 20 20 20 20 20 20 20 20 77 5f 72 ┆ wait free w_r┆ 0x3aa40…3aa60 65 73 63 20 20 20 20 20 20 20 20 20 69 64 6c 65 20 20 20 20 20 20 20 20 20 61 63 74 69 76 65 0d ┆esc idle active ┆ 0x3aa60…3aa80 0a 20 20 20 20 20 20 20 20 20 65 76 65 6e 74 0d 0a 20 20 20 20 20 20 20 20 20 a1 20 20 20 20 20 ┆ event ┆ 0x3aa80…3aaa0 20 20 20 20 20 20 20 20 20 6e 6f 74 5f 63 6f 6e 6e 20 20 20 20 20 71 75 65 75 65 5f 65 62 75 66 ┆ not_conn queue_ebuf┆ 0x3aaa0…3aac0 20 20 20 20 20 71 75 65 75 65 5f 65 62 75 66 20 20 20 71 75 65 75 65 5f 65 62 75 66 20 0d 0a 20 ┆ queue_ebuf queue_ebuf ┆ 0x3aac0…3aae0 20 20 20 20 20 20 20 20 72 65 63 65 69 76 65 20 20 20 20 20 20 20 66 72 65 65 20 20 20 20 20 20 ┆ receive free ┆ 0x3aae0…3ab00 20 20 20 69 64 6c 65 20 20 20 20 20 20 20 20 20 20 20 69 64 6c 65 20 20 20 20 20 20 20 20 20 61 ┆ idle idle a┆ 0x3ab00…3ab20 63 74 69 76 65 0d 0a 20 20 20 20 20 20 20 20 20 67 65 6e 65 72 61 6c 0d 0a 20 20 20 20 20 20 20 ┆ctive general ┆ 0x3ab20…3ab40 20 20 a1 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 6f 74 5f 63 6f 6e 6e 20 20 20 20 20 71 75 ┆ not_conn qu┆ 0x3ab40…3ab60 65 75 65 5f 67 62 75 66 20 20 20 20 20 71 75 65 75 65 5f 67 62 75 66 20 20 20 71 75 65 75 65 5f ┆eue_gbuf queue_gbuf queue_┆ 0x3ab60…3ab80 67 62 75 66 20 0d 0a 0d 0a 09 54 61 62 6c 65 20 31 33 3a 20 50 72 6f 63 65 73 73 20 64 74 65 5f ┆gbuf Table 13: Process dte_┆ 0x3ab80…3aba0 61 63 63 65 73 73 2c 20 75 73 65 72 20 64 65 70 65 6e 64 65 6e 74 20 73 74 61 74 65 2f 61 63 74 ┆access, user dependent state/act┆ 0x3aba0…3abc0 69 6f 6e 20 74 61 62 6c 65 2e 0d 0a 0d 0a 8c 80 a9 0a 09 a1 41 63 74 69 6f 6e 73 3a 0d 0a 0d 0a ┆ion table. Actions: ┆ 0x3abc0…3abe0 0d 0a 09 b0 63 61 6c 6c 5f 69 6e 69 74 09 09 f0 3a 20 84 43 68 65 63 6b 20 69 66 20 74 68 65 20 ┆ call_init : Check if the ┆ 0x3abe0…3ac00 64 74 65 5f 73 74 61 74 65 20 69 73 20 72 65 61 64 79 2c 20 61 6e 64 20 61 20 66 72 65 65 20 0a ┆dte_state is ready, and a free ┆ 0x3ac00…3ac20 (470,) 19 9f 81 80 73 74 72 65 61 6d 20 61 77 61 69 6c 61 62 6c 65 2e 20 49 66 20 69 74 20 69 73 2c 20 ┆ stream awailable. If it is, ┆ 0x3ac20…3ac40 73 74 61 72 74 20 63 61 6c 6c 20 73 65 74 2d 0a 19 9f 81 80 75 70 20 70 68 61 73 65 20 62 79 20 ┆start call set- up phase by ┆ 0x3ac40…3ac60 72 65 71 75 65 73 74 69 6e 67 20 61 20 6c 6f 67 69 63 61 6c 20 63 68 61 6e 6e 65 6c 20 0a 19 9f ┆requesting a logical channel ┆ 0x3ac60…3ac80 81 80 66 72 6f 6d 20 74 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 2e 0d 0a 0d 0a 09 b0 71 75 65 ┆ from the dte process. que┆ 0x3ac80…3aca0 75 65 5f 65 62 75 66 09 f0 3a 20 84 51 75 65 75 65 20 74 68 65 20 65 76 65 6e 74 20 62 75 66 66 ┆ue_ebuf : Queue the event buff┆ 0x3aca0…3acc0 65 72 20 61 74 20 74 68 65 20 73 65 6d 61 70 68 6f 72 65 20 0a 19 9f 81 80 77 5f 65 76 65 6e 74 ┆er at the semaphore w_event┆ 0x3acc0…3ace0 5f 62 73 65 6d 2e 20 54 68 65 6e 20 63 68 65 63 6b 20 69 66 20 61 6e 79 20 65 76 65 6e 74 20 69 ┆_bsem. Then check if any event i┆ 0x3ace0…3ad00 73 20 0a 19 9f 81 80 6c 6f 73 74 20 61 6e 64 20 69 66 20 73 6f 20 67 65 6e 65 72 61 74 65 20 61 ┆s lost and if so generate a┆ 0x3ad00…3ad20 6e 20 65 76 65 6e 74 2e 0d 0a 0d 0a 09 b0 71 75 65 75 65 5f 67 62 75 66 09 f0 3a 20 84 51 75 65 ┆n event. queue_gbuf : Que┆ 0x3ad20…3ad40 75 65 20 74 68 65 20 69 6e 70 75 74 20 62 75 66 66 65 72 20 61 74 20 74 68 65 20 73 65 6d 61 70 ┆ue the input buffer at the semap┆ 0x3ad40…3ad60 68 6f 72 65 20 0a 19 9f 81 80 67 65 6e 65 72 61 6c 5f 62 73 65 6d 2e 0d 0a 0d 0a 09 b0 69 6c 6c ┆hore general_bsem. ill┆ 0x3ad60…3ad80 5f 75 72 65 71 09 09 f0 3a 20 84 52 65 74 75 72 6e 20 74 68 65 20 6d 65 73 73 61 67 65 20 77 69 ┆_ureq : Return the message wi┆ 0x3ad80…3ada0 74 68 20 72 65 73 75 6c 74 20 27 66 75 6e 63 74 69 6f 6e 20 6e 6f 74 20 0a 19 9f 81 80 61 6c 6c ┆th result 'function not all┆ 0x3ada0…3adc0 6f 77 65 64 27 20 28 66 63 74 5f 6e 6f 74 5f 61 6c 6c 77 29 0d 0a 0d 0a 09 b0 6e 6f 74 5f 63 6f ┆owed' (fct_not_allw) not_co┆ 0x3adc0…3ade0 6e 6e 09 09 f0 3a 20 84 52 65 74 75 72 6e 20 74 68 65 20 6d 65 73 73 61 67 65 20 77 69 74 68 20 ┆nn : Return the message with ┆ 0x3ade0…3ae00 72 65 73 75 6c 74 20 27 75 73 65 72 20 75 6e 80 0a 19 9f 81 80 6b 6e 6f 77 6e 27 20 28 72 65 63 ┆result 'user un known' (rec┆ 0x3ae00…3ae0e (471,) 76 5f 75 6e 6b 77 29 2e 0d 0a 0d 0a 0d 0a ┆v_unkw). ┆ 0x3ae0e…3ae11 FormFeed { 0x3ae0e…3ae11 0c 80 96 ┆ ┆ 0x3ae0e…3ae11 } 0x3ae11…3ae20 0a b0 a1 43 2e 31 2e 32 09 53 74 72 65 61 6d ┆ C.1.2 Stream┆ 0x3ae20…3ae2e 20 44 65 70 65 6e 64 65 6e 74 0d 0a 0d 0a ┆ Dependent ┆ 0x3ae2e…3ae31 FormFeed { 0x3ae2e…3ae31 0c 80 82 ┆ ┆ 0x3ae2e…3ae31 } 0x3ae31…3ae34 0a 0d 0a ┆ ┆ 0x3ae34…3ae37 FormFeed { 0x3ae34…3ae37 0c 80 81 ┆ ┆ 0x3ae34…3ae37 } 0x3ae37…3ae40 0a 09 a1 41 63 74 69 6f 6e ┆ Action┆ 0x3ae40…3ae60 73 3a 0d 0a 0d 0a b0 09 71 75 65 75 65 5f 75 72 65 71 09 f0 3a 20 84 54 68 65 20 6d 65 73 73 61 ┆s: queue_ureq : The messa┆ 0x3ae60…3ae80 67 65 20 69 73 20 73 69 67 6e 61 6c 6c 65 64 20 74 6f 20 74 68 65 20 61 73 73 6f 63 69 61 74 65 ┆ge is signalled to the associate┆ 0x3ae80…3aea0 64 20 0a 19 9f 81 80 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 20 69 6e 63 61 72 6e 61 74 ┆d dte_chan process incarnat┆ 0x3aea0…3aec0 69 6f 6e 2e 0d 0a 0d 0a 09 b0 63 61 6c 6c 5f 61 63 63 65 70 74 09 f0 3a 20 84 44 65 70 65 6e 64 ┆ion. call_accept : Depend┆ 0x3aec0…3aee0 69 6e 67 20 6f 66 20 74 68 65 20 69 6e 74 65 72 6e 5f 73 74 61 74 65 20 65 69 74 68 65 72 20 74 ┆ing of the intern_state either t┆ 0x3aee0…3af00 68 65 20 0a 19 9f 81 80 6d 65 73 73 61 67 65 20 69 73 20 73 69 67 6e 61 6c 6c 65 64 20 74 6f 20 ┆he message is signalled to ┆ 0x3af00…3af20 74 68 65 20 73 65 6d 61 70 68 6f 72 65 20 73 75 73 80 0a 19 9f 81 80 70 65 6e 64 5f 62 73 65 6d ┆the semaphore sus pend_bsem┆ 0x3af20…3af40 20 6f 72 20 74 68 65 20 63 61 6c 6c 20 73 65 74 2d 75 70 20 70 68 61 73 65 20 69 73 20 65 6e 64 ┆ or the call set-up phase is end┆ 0x3af40…3af60 65 64 2c 20 0a 19 9f 81 80 69 6e 63 6c 75 64 69 6e 67 20 66 6f 72 77 61 72 64 69 6e 67 20 74 68 ┆ed, including forwarding th┆ 0x3af60…3af80 65 20 6d 65 73 73 61 67 65 20 74 6f 20 74 68 65 20 61 73 80 0a 19 9f 81 80 73 6f 63 69 61 74 65 ┆e message to the as sociate┆ 0x3af80…3afa0 64 20 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 20 69 6e 63 61 72 6e 61 74 69 6f 6e 2e 0d ┆d dte_chan process incarnation. ┆ 0x3afa0…3afc0 0a 0d 0a 09 b0 63 61 6c 6c 5f 72 65 6a 63 74 09 f0 3a 20 84 54 68 65 20 73 74 72 65 61 6d 20 69 ┆ call_rejct : The stream i┆ 0x3afc0…3afe0 73 20 63 6c 65 61 72 65 64 20 61 6e 64 20 74 68 65 20 6d 65 73 73 61 67 65 20 0a 19 9f 81 80 66 ┆s cleared and the message f┆ 0x3afe0…3b000 6f 72 77 61 72 64 65 64 20 74 6f 20 74 68 65 20 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 ┆orwarded to the dte_chan process┆ 0x3b000…3b020 (472,) 20 0a 19 9f 81 80 69 6e 63 61 72 6e 61 74 69 6f 6e 20 69 6e 20 6f 72 64 65 72 20 74 6f 20 63 6c ┆ incarnation in order to cl┆ 0x3b020…3b040 65 61 72 20 74 68 65 20 56 69 72 74 75 61 6c 20 0a 19 9f 81 80 43 61 6c 6c 2e 0d 0a 0d 0a 09 b0 ┆ear the Virtual Call. ┆ 0x3b040…3b060 75 73 65 72 5f 63 6c 65 61 72 09 f0 3a 20 84 44 65 70 65 6e 64 69 6e 67 20 6f 66 20 69 6e 74 65 ┆user_clear : Depending of inte┆ 0x3b060…3b080 72 6e 5f 73 74 61 74 65 20 74 68 65 20 6d 65 73 73 61 67 65 20 69 73 20 0a 19 9f 81 80 65 69 74 ┆rn_state the message is eit┆ 0x3b080…3b0a0 68 65 72 20 73 69 67 6e 61 6c 20 74 6f 20 74 68 65 20 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 ┆her signal to the dte_chan proce┆ 0x3b0a0…3b0c0 73 73 20 69 6e 63 61 72 80 0a 19 9f 81 80 6e 61 74 69 6f 6e 20 6f 72 20 74 68 65 20 73 65 6d 61 ┆ss incar nation or the sema┆ 0x3b0c0…3b0e0 70 68 6f 72 65 20 73 75 73 70 65 6e 64 5f 62 73 65 6d 2e 0d 0a 0d 0a 09 b0 63 68 61 6e 5f 61 6c ┆phore suspend_bsem. chan_al┆ 0x3b0e0…3b100 6c 6f 63 09 f0 3a 20 84 54 68 65 20 6c 6f 67 69 63 61 6c 20 63 68 61 6e 6e 65 6c 20 68 61 73 20 ┆loc : The logical channel has ┆ 0x3b100…3b120 62 65 65 6e 20 61 6c 6c 6f 63 61 74 65 64 2c 20 73 6f 20 0a 19 9f 81 80 74 68 65 20 73 74 72 65 ┆been allocated, so the stre┆ 0x3b120…3b140 61 6d 20 69 73 20 69 6e 69 74 69 61 6c 69 7a 65 64 2e 0d 0a 0d 0a 09 b0 63 68 61 6e 5f 63 6c 65 ┆am is initialized. chan_cle┆ 0x3b140…3b160 61 72 09 f0 3a 20 84 54 68 65 20 6c 6f 67 69 63 61 6c 20 63 68 61 6e 6e 65 6c 20 68 61 73 20 62 ┆ar : The logical channel has b┆ 0x3b160…3b180 65 65 6e 20 61 6c 6c 6f 63 61 74 65 64 2c 20 62 75 74 20 0a 19 9f 81 80 63 6c 65 61 72 65 64 20 ┆een allocated, but cleared ┆ 0x3b180…3b1a0 62 79 20 74 68 65 20 64 74 65 5f 63 68 61 6e 20 70 72 6f 63 65 73 73 20 69 6e 63 61 72 6e 61 74 ┆by the dte_chan process incarnat┆ 0x3b1a0…3b1c0 69 6f 6e 2e 20 0a 19 9f 81 80 54 68 65 20 73 74 72 65 61 6d 20 69 73 20 63 6c 65 61 72 65 64 20 ┆ion. The stream is cleared ┆ 0x3b1c0…3b1e0 69 6e 20 74 68 65 20 69 6e 74 65 72 66 61 63 65 20 0a 19 9f 81 80 28 64 74 65 5f 61 63 63 65 73 ┆in the interface (dte_acces┆ 0x3b1e0…3b200 73 29 2e 0d 0a 0d 0a 09 b0 78 66 65 72 5f 65 76 65 6e 74 09 f0 3a 20 84 41 20 73 74 72 65 61 6d ┆s). xfer_event : A stream┆ 0x3b200…3b220 (473,) 20 65 76 65 6e 74 20 69 73 20 67 65 6e 65 72 61 74 65 64 2e 0d 0a 0d 0a 09 b0 63 6c 65 61 72 5f ┆ event is generated. clear_┆ 0x3b220…3b240 63 68 09 09 f0 3a 20 84 54 68 65 20 6d 65 73 73 61 67 65 20 69 73 20 61 77 61 69 74 69 6e 67 20 ┆ch : The message is awaiting ┆ 0x3b240…3b260 63 68 61 6e 5f 73 74 61 72 74 20 61 6e 73 77 65 72 2e 0d 0a 0d 0a 09 b0 63 6c 65 61 72 5f 73 74 ┆chan_start answer. clear_st┆ 0x3b260…3b280 72 6d 09 f0 3a 20 84 54 68 65 20 73 74 72 65 61 6d 20 63 6c 65 61 72 69 6e 67 20 70 68 61 73 65 ┆rm : The stream clearing phase┆ 0x3b280…3b2a0 20 69 73 20 73 74 61 72 74 65 64 2e 0d 0a 0d 0a 09 b0 73 74 5f 63 6c 65 61 72 65 64 09 f0 3a 20 ┆ is started. st_cleared : ┆ 0x3b2a0…3b2c0 84 54 68 65 20 73 74 72 65 61 6d 20 63 6c 65 61 72 69 6e 67 20 70 68 61 73 65 20 69 73 20 65 6e ┆ The stream clearing phase is en┆ 0x3b2c0…3b2e0 64 65 64 2e 0d 0a 0d 0a 09 b0 73 77 69 74 63 68 5f 6d 6f 64 65 09 f0 3a 20 84 53 77 69 74 63 68 ┆ded. switch_mode : Switch┆ 0x3b2e0…3b300 20 69 6e 70 75 74 20 6d 6f 64 65 20 66 72 6f 6d 20 64 65 64 69 63 61 74 65 64 20 74 6f 20 67 65 ┆ input mode from dedicated to ge┆ 0x3b300…3b320 6e 65 72 61 6c 2e 0d 0a 0d 0a 09 b0 72 65 74 6e 5f 6e 6f 74 70 72 09 f0 3a 20 84 52 65 74 75 72 ┆neral. retn_notpr : Retur┆ 0x3b320…3b340 6e 20 74 68 65 20 6d 65 73 73 61 67 65 20 77 69 74 68 20 72 65 73 75 6c 74 20 0a 19 9f 81 80 6e ┆n the message with result n┆ 0x3b340…3b360 6f 74 5f 70 72 6f 63 65 73 73 65 64 2e 0d 0a 0d 0a 8c 80 a9 0a 09 b0 69 6c 6c 5f 73 72 65 71 09 ┆ot_processed. ill_sreq ┆ 0x3b360…3b380 09 f0 3a 20 84 52 65 74 75 72 6e 20 74 68 65 20 6d 65 73 73 61 67 65 20 77 69 74 68 20 72 65 73 ┆ : Return the message with res┆ 0x3b380…3b3a0 75 6c 74 20 27 66 75 6e 63 74 69 6f 6e 20 6e 6f 74 20 0a 19 9f 81 80 61 6c 6c 6f 77 65 64 27 20 ┆ult 'function not allowed' ┆ 0x3b3a0…3b3c0 28 66 63 74 5f 6e 6f 74 5f 61 6c 6c 77 29 2e 0d 0a 0d 0a 09 b0 75 6e 6b 77 5f 72 65 71 09 09 f0 ┆(fct_not_allw). unkw_req ┆ 0x3b3c0…3b3e0 3a 20 84 52 65 74 75 72 6e 20 74 68 65 20 6d 65 73 73 61 67 65 20 77 69 74 68 20 72 65 73 75 6c ┆: Return the message with resul┆ 0x3b3e0…3b400 74 20 27 69 6c 6c 65 67 61 6c 20 6f 70 65 80 0a 19 9f 81 80 72 61 74 69 6f 6e 27 20 28 69 6c 6c ┆t 'illegal ope ration' (ill┆ 0x3b400…3b420 (474,) 5f 6f 70 63 6f 64 65 29 2e 0d 0a 0d 0a 0d 0a b0 a1 43 2e 31 2e 33 09 53 74 72 65 61 6d 20 49 6e ┆_opcode). C.1.3 Stream In┆ 0x3b420…3b42b 64 65 70 65 6e 64 65 6e 74 0d 0a ┆dependent ┆ 0x3b42b…3b464 Params { 0x3b42b…3b464 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4e 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D N1@ ┆ 0x3b42b…3b464 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x3b42b…3b464 } 0x3b464…3b49d Params { 0x3b464…3b49d 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x3b464…3b49d 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x3b464…3b49d } 0x3b49d…3b4a0 0a 0d 0a ┆ ┆ 0x3b4a0…3b4c0 a1 e1 09 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f ┆ _____________________________┆ 0x3b4c0…3b4e0 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f ┆________________________________┆ 0x3b4e0…3b500 5f 5f 5f 5f 5f 5f 5f 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 74 61 74 65 20 20 20 20 ┆_______ state ┆ 0x3b500…3b520 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 74 65 5f 20 20 20 20 20 20 20 20 20 20 68 64 6c ┆ dte_ hdl┆ 0x3b520…3b540 63 5f 20 20 20 20 20 20 20 20 20 6e 65 74 5f 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆c_ net_ ┆ 0x3b540…3b560 20 20 20 20 20 20 20 20 20 64 74 65 5f 72 65 61 64 79 20 20 20 20 20 72 65 73 74 61 72 74 20 20 ┆ dte_ready restart ┆ 0x3b560…3b580 20 20 20 20 20 61 63 74 69 76 65 20 20 20 20 20 20 20 20 64 6f 77 6e 0d 0a a1 e1 20 20 20 20 20 ┆ active down ┆ 0x3b580…3b5a0 20 20 20 20 a1 65 76 65 6e 74 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ event ┆ 0x3b5a0…3b5c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x3b5c0…3b5e0 20 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 20 63 6f 6e 6e 65 63 74 20 20 20 20 20 ┆ connect ┆ 0x3b5e0…3b600 20 20 20 64 74 65 5f 72 65 61 64 79 20 20 20 20 20 64 74 65 5f 72 65 73 74 61 72 74 20 20 20 68 ┆ dte_ready dte_restart h┆ 0x3b600…3b620 (475,) 64 6c 63 5f 61 63 74 69 76 65 20 20 20 6e 65 74 5f 64 6f 77 6e 0d 0a 0d 0a 20 20 20 20 20 20 20 ┆dlc_active net_down ┆ 0x3b620…3b640 20 20 a1 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6e 6e 5f 75 73 65 72 20 20 20 20 20 ┆ conn_user ┆ 0x3b640…3b660 63 6f 6e 6e 5f 75 73 65 72 20 20 20 20 20 63 6f 6e 6e 5f 75 73 65 72 20 20 20 20 20 63 6f 6e 6e ┆conn_user conn_user conn┆ 0x3b660…3b680 5f 75 73 65 72 20 20 0d 0a e1 a1 e1 09 64 69 73 63 6f 6e 6e 65 63 74 20 20 20 20 20 64 74 65 5f ┆_user disconnect dte_┆ 0x3b680…3b6a0 72 65 61 64 79 20 20 20 20 20 64 74 65 5f 72 65 73 74 61 72 74 20 20 20 68 64 6c 63 5f 61 63 74 ┆ready dte_restart hdlc_act┆ 0x3b6a0…3b6c0 69 76 65 20 20 20 6e 65 74 5f 64 6f 77 6e 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 a1 20 20 20 20 ┆ive net_down ┆ 0x3b6c0…3b6e0 20 20 20 20 20 20 20 20 20 20 20 64 69 73 63 5f 75 73 65 72 20 20 20 20 20 64 69 73 63 5f 75 73 ┆ disc_user disc_us┆ 0x3b6e0…3b700 65 72 20 20 20 20 20 64 69 73 63 5f 75 73 65 72 20 20 20 20 20 64 69 73 63 5f 75 73 65 72 20 20 ┆er disc_user disc_user ┆ 0x3b700…3b720 0d 0a 20 20 20 20 20 20 20 20 20 69 6e 63 20 63 61 6c 6c 20 20 20 20 20 20 20 64 74 65 5f 72 65 ┆ inc call dte_re┆ 0x3b720…3b740 61 64 79 20 20 20 20 20 64 74 65 5f 72 65 73 74 61 72 74 20 20 20 68 64 6c 63 5f 61 63 74 69 76 ┆ady dte_restart hdlc_activ┆ 0x3b740…3b760 65 20 20 20 6e 65 74 5f 64 6f 77 6e 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 a1 20 20 20 20 20 20 ┆e net_down ┆ 0x3b760…3b780 20 20 20 20 20 20 20 20 20 78 66 65 72 5f 63 61 6c 6c 20 20 20 20 20 72 65 73 74 5f 73 74 61 74 ┆ xfer_call rest_stat┆ 0x3b780…3b7a0 65 20 20 20 20 72 65 73 74 5f 73 74 61 74 65 20 20 20 20 72 65 73 74 5f 73 74 61 74 65 20 0d 0a ┆e rest_state rest_state ┆ 0x3b7a0…3b7c0 20 20 20 20 20 20 20 20 20 72 65 73 74 61 72 74 5f 20 20 20 20 20 20 20 64 74 65 5f 72 65 73 74 ┆ restart_ dte_rest┆ 0x3b7c0…3b7e0 61 72 74 20 20 20 64 74 65 5f 72 65 73 74 61 72 74 20 20 20 68 64 6c 63 5f 61 63 74 69 76 65 20 ┆art dte_restart hdlc_active ┆ 0x3b7e0…3b800 20 20 6e 65 74 5f 64 6f 77 6e 0d 0a 20 20 20 20 20 20 20 20 20 73 74 61 72 74 0d 0a 20 20 20 20 ┆ net_down start ┆ 0x3b800…3b820 (476,) 20 20 20 20 20 a1 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 73 74 61 72 74 5f 64 74 65 ┆ restart_dte┆ 0x3b820…3b840 20 20 20 72 65 73 74 61 72 74 65 64 20 20 20 20 20 72 65 73 74 61 72 74 65 64 20 20 20 20 20 72 ┆ restarted restarted r┆ 0x3b840…3b860 65 73 74 61 72 74 65 64 20 20 0d 0a 20 20 20 20 20 20 20 20 20 72 65 73 74 61 72 74 5f 65 6e 64 ┆estarted restart_end┆ 0x3b860…3b880 20 20 20 20 64 74 65 5f 72 65 61 64 79 20 20 20 20 20 64 74 65 5f 72 65 61 64 79 20 20 20 20 20 ┆ dte_ready dte_ready ┆ 0x3b880…3b8a0 64 74 65 5f 72 65 61 64 79 20 20 20 20 20 64 74 65 5f 72 65 61 64 79 0d 0a 0d 0a 20 20 20 20 20 ┆dte_ready dte_ready ┆ 0x3b8a0…3b8c0 20 20 20 20 a1 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 73 74 61 72 74 5f 64 74 65 20 ┆ restart_dte ┆ 0x3b8c0…3b8e0 20 20 72 65 73 74 61 72 74 5f 64 74 65 20 20 20 72 65 73 74 61 72 74 5f 64 74 65 20 20 20 72 65 ┆ restart_dte restart_dte re┆ 0x3b8e0…3b900 73 74 61 72 74 5f 64 74 65 0d 0a a1 e1 20 20 20 20 20 20 20 20 20 69 6e 63 5f 75 5f 65 76 65 6e ┆start_dte inc_u_even┆ 0x3b900…3b920 74 20 20 20 20 64 74 65 5f 72 65 61 64 79 20 20 20 20 20 64 74 65 5f 72 65 73 74 61 72 74 20 20 ┆t dte_ready dte_restart ┆ 0x3b920…3b940 20 68 64 6c 63 5f 61 63 74 69 76 65 20 20 20 6e 65 74 5f 64 6f 77 6e 0d 0a 0d 0a 20 20 20 20 20 ┆ hdlc_active net_down ┆ 0x3b940…3b960 20 20 20 20 a1 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 78 66 65 72 5f 75 5f 65 76 65 6e 74 ┆ xfer_u_event┆ 0x3b960…3b980 20 20 72 65 73 74 5f 73 74 61 74 65 20 20 20 20 72 65 73 74 5f 73 74 61 74 65 20 20 20 20 72 65 ┆ rest_state rest_state re┆ 0x3b980…3b9a0 73 74 5f 73 74 61 74 65 20 0d 0a 0d 0a 09 54 61 62 6c 65 20 31 35 3a 20 50 72 6f 63 65 73 73 20 ┆st_state Table 15: Process ┆ 0x3b9a0…3b9c0 64 74 65 5f 61 63 63 65 73 73 2c 20 73 74 72 65 61 6d 20 69 6e 64 65 70 65 6e 64 65 6e 74 20 73 ┆dte_access, stream independent s┆ 0x3b9c0…3b9e0 74 61 74 65 2f 61 63 74 69 6f 6e 20 74 61 62 6c 65 2e 0d 0a 0d 0a 09 a1 41 63 74 69 6f 6e 73 3a ┆tate/action table. Actions:┆ 0x3b9e0…3ba00 0d 0a 0d 0a 09 b0 63 6f 6e 6e 5f 75 73 65 72 09 09 f0 3a 20 84 46 69 6e 64 20 61 6e 20 65 6d 70 ┆ conn_user : Find an emp┆ 0x3ba00…3ba20 (477,) 74 79 20 75 73 65 72 20 65 6e 74 72 79 20 61 6e 64 20 63 6f 6e 6e 65 63 74 20 74 68 65 20 75 73 ┆ty user entry and connect the us┆ 0x3ba20…3ba40 65 72 2e 0d 0a 0d 0a 8c 80 a6 0a 09 b0 64 69 73 63 5f 75 73 65 72 09 09 f0 3a 20 84 44 69 73 63 ┆er. disc_user : Disc┆ 0x3ba40…3ba60 6f 6e 6e 65 63 74 20 74 68 65 20 75 73 65 72 2e 0d 0a 0d 0a 09 b0 78 66 65 72 5f 63 61 6c 6c 09 ┆onnect the user. xfer_call ┆ 0x3ba60…3ba80 09 f0 3a 20 84 46 69 6e 64 20 74 68 65 20 72 65 71 75 65 73 74 65 64 20 75 73 65 72 20 61 6e 64 ┆ : Find the requested user and┆ 0x3ba80…3baa0 20 61 20 66 72 65 65 20 73 74 72 65 61 6d 2e 20 49 66 20 0a 19 9f 81 80 6f 6b 20 74 72 61 6e 73 ┆ a free stream. If ok trans┆ 0x3baa0…3bac0 66 65 72 20 74 68 65 20 69 6e 63 6f 6d 69 6e 67 20 63 61 6c 6c 20 74 6f 20 74 68 65 20 75 73 65 ┆fer the incoming call to the use┆ 0x3bac0…3bae0 72 2e 0d 0a 0d 0a 09 b0 72 65 73 74 61 72 74 5f 64 74 65 09 f0 3a 20 84 47 65 74 20 74 68 65 20 ┆r. restart_dte : Get the ┆ 0x3bae0…3bb00 72 65 73 74 61 72 74 20 70 61 72 61 6d 65 74 65 72 73 20 61 6e 64 20 67 65 6e 65 72 61 74 65 20 ┆restart parameters and generate ┆ 0x3bb00…3bb20 61 6e 20 75 73 65 72 20 0a 19 9f 81 80 65 76 65 6e 74 2e 20 49 66 20 6e 65 63 65 73 73 61 72 79 ┆an user event. If necessary┆ 0x3bb20…3bb40 20 63 6c 65 61 72 20 61 6c 6c 20 73 74 72 65 61 6d 73 2e 0d 0a 0d 0a 09 b0 72 65 73 74 5f 73 74 ┆ clear all streams. rest_st┆ 0x3bb40…3bb60 61 74 65 09 f0 3a 20 84 52 65 74 75 72 6e 20 6d 65 73 73 61 67 65 20 77 69 74 68 20 72 65 73 75 ┆ate : Return message with resu┆ 0x3bb60…3bb80 6c 74 20 27 64 74 65 5f 72 65 73 74 61 72 74 65 64 27 2e 0d 0a 0d 0a 09 b0 72 65 73 74 61 72 74 ┆lt 'dte_restarted'. restart┆ 0x3bb80…3bba0 65 64 09 09 f0 3a 20 84 4e 6f 74 68 69 6e 67 20 69 73 20 70 65 72 66 6f 72 6d 65 64 2e 0d 0a 0d ┆ed : Nothing is performed. ┆ 0x3bba0…3bbc0 0a 09 b0 78 66 65 72 5f 75 5f 65 76 65 6e 74 09 f0 3a 20 84 41 20 75 73 65 72 20 65 76 65 6e 74 ┆ xfer_u_event : A user event┆ 0x3bbc0…3bbe0 20 69 73 20 67 65 6e 65 72 61 74 65 64 2e 0d 0a b0 0d 0a 0d 0a b0 a1 43 2e 32 09 64 74 65 5f 6c ┆ is generated. C.2 dte_l┆ 0x3bbe0…3bc00 63 6e 7a 65 72 6f 0d 0a 0d 0a 09 84 41 73 20 6d 65 6e 74 69 6f 6e 65 64 20 69 6e 20 73 75 62 73 ┆cnzero As mentioned in subs┆ 0x3bc00…3bc20 (478,) 65 63 74 69 6f 6e 20 34 2e 35 2e 36 20 74 68 65 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 20 70 72 6f ┆ection 4.5.6 the dte_lcnzero pro┆ 0x3bc20…3bc40 63 65 73 73 20 63 6f 6e 74 61 69 6e 73 20 0a 19 89 80 80 6f 6e 65 20 73 74 61 74 65 2f 61 63 74 ┆cess contains one state/act┆ 0x3bc40…3bc60 69 6f 6e 20 74 61 62 6c 65 20 69 6d 70 6c 65 6d 65 6e 74 65 64 20 61 73 20 61 20 73 74 61 74 65 ┆ion table implemented as a state┆ 0x3bc60…3bc80 20 6d 61 63 68 69 6e 65 2e 20 54 68 69 73 20 74 61 62 6c 65 20 0a 19 89 80 80 69 73 20 73 68 6f ┆ machine. This table is sho┆ 0x3bc80…3bca0 77 6e 20 62 65 6c 6f 77 20 61 6e 64 20 61 20 73 68 6f 72 74 20 64 65 73 63 72 69 70 74 69 6f 6e ┆wn below and a short description┆ 0x3bca0…3bcc0 20 6f 66 20 74 68 65 20 61 63 74 69 6f 6e 73 20 69 73 20 67 69 76 65 6e 20 0a 19 89 80 80 74 6f ┆ of the actions is given to┆ 0x3bcc0…3bcc6 6f 2e 0d 0a 0d 0a ┆o. ┆ 0x3bcc6…3bcc9 FormFeed { 0x3bcc6…3bcc9 0c 80 96 ┆ ┆ 0x3bcc6…3bcc9 } 0x3bcc9…3bce0 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 74 61 74 65 20 ┆ state ┆ 0x3bce0…3bd00 20 20 20 20 20 72 31 20 20 20 20 20 20 20 20 20 72 32 20 20 20 20 20 20 20 20 20 72 34 20 20 20 ┆ r1 r2 r4 ┆ 0x3bd00…3bd20 20 20 20 20 20 20 72 35 20 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ r5 ┆ 0x3bd20…3bd40 20 20 20 20 20 20 64 74 65 5f 20 20 20 20 20 20 20 64 74 65 5f 20 20 20 20 20 20 20 68 64 6c 63 ┆ dte_ dte_ hdlc┆ 0x3bd40…3bd60 5f 20 20 20 20 20 20 6e 65 74 5f 0d 0a a1 e1 20 20 20 20 20 20 20 20 20 a1 65 76 65 6e 74 20 20 ┆_ net_ event ┆ 0x3bd60…3bd80 20 20 20 20 20 20 20 20 20 20 20 72 65 61 64 79 20 20 20 20 20 20 72 65 73 74 61 72 74 20 20 20 ┆ ready restart ┆ 0x3bd80…3bda0 20 61 63 74 69 76 65 20 20 20 20 20 64 6f 77 6e 20 20 0d 0a 20 20 20 20 20 20 20 20 20 72 65 73 ┆ active down res┆ 0x3bda0…3bdc0 74 61 72 74 5f 69 6e 64 69 20 20 20 20 20 20 72 31 20 20 20 20 20 20 20 20 20 72 31 20 20 20 20 ┆tart_indi r1 r1 ┆ 0x3bdc0…3bde0 20 20 20 20 20 72 31 20 20 20 20 20 20 20 20 20 72 35 0d 0a a1 e1 20 20 20 20 20 20 20 20 20 6c ┆ r1 r5 l┆ 0x3bde0…3be00 63 6e 20 3d 20 30 0d 0a 09 a1 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 41 31 ┆cn = 0 A1┆ 0x3be00…3be20 (479,) 30 20 20 20 20 20 20 20 20 20 20 41 31 35 20 20 20 20 20 20 20 41 31 35 20 20 20 20 20 20 20 20 ┆0 A15 A15 ┆ 0x3be20…3be40 20 41 31 0d 0a 20 20 20 20 20 20 20 20 20 72 65 73 74 61 72 74 5f 63 6f 6e 66 20 20 20 20 20 20 ┆ A1 restart_conf ┆ 0x3be40…3be60 72 32 20 20 20 20 20 20 20 20 20 72 31 20 20 20 20 20 20 20 20 20 72 31 20 20 20 20 20 20 20 20 ┆r2 r1 r1 ┆ 0x3be60…3be80 20 72 35 0d 0a 20 20 20 20 20 20 20 20 20 6c 63 6e 20 3d 20 30 0d 0a 20 20 20 20 20 20 20 20 20 ┆ r5 lcn = 0 ┆ 0x3be80…3bea0 a1 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 41 31 32 20 20 20 20 20 20 20 20 ┆ A12 ┆ 0x3bea0…3bec0 20 20 41 31 35 20 20 20 20 20 20 20 41 31 35 20 20 20 20 20 20 20 20 20 41 31 0d 0a 20 20 20 20 ┆ A15 A15 A1 ┆ 0x3bec0…3bee0 20 20 20 20 20 64 69 61 67 6e 6f 73 74 69 63 20 20 20 20 20 20 20 20 72 31 20 20 20 20 20 20 20 ┆ diagnostic r1 ┆ 0x3bee0…3bf00 20 20 72 32 20 20 20 20 20 20 20 20 20 72 34 20 20 20 20 20 20 20 20 20 72 35 0d 0a 20 20 20 20 ┆ r2 r4 r5 ┆ 0x3bf00…3bf20 20 20 20 20 20 6c 63 6e 20 3d 20 30 0d 0a 20 20 20 20 20 20 20 20 20 a1 20 20 20 20 20 20 20 20 ┆ lcn = 0 ┆ 0x3bf20…3bf40 20 20 20 20 20 20 20 20 20 20 20 20 41 31 33 20 20 20 20 20 20 20 20 20 20 41 31 33 20 20 20 20 ┆ A13 A13 ┆ 0x3bf40…3bf60 20 20 20 41 31 33 20 20 20 20 20 20 20 20 41 31 33 0d 0a 0d 0a 0d 0a 09 5f 5f 5f 5f 5f 5f 5f 5f ┆ A13 A13 ________┆ 0x3bf60…3bf80 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f ┆________________________________┆ 0x3bf80…3bfa0 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 0d 0a 20 20 20 20 20 20 20 20 20 61 6c 6c 20 ┆_________________ all ┆ 0x3bfa0…3bfc0 6f 74 68 65 72 20 20 20 20 20 20 20 20 20 72 31 20 20 20 20 20 20 20 20 20 72 32 20 20 20 20 20 ┆other r1 r2 ┆ 0x3bfc0…3bfe0 20 20 20 20 72 34 20 20 20 20 20 20 20 20 20 72 35 0d 0a 20 20 20 20 20 20 20 20 20 58 2e 32 35 ┆ r4 r5 X.25┆ 0x3bfe0…3c000 20 70 61 63 6b 65 74 73 0d 0a 20 20 20 20 20 20 20 20 20 a1 20 20 20 20 20 20 20 20 20 20 20 20 ┆ packets ┆ 0x3c000…3c020 (480,) 20 20 20 20 20 20 20 20 20 41 31 20 20 20 20 20 20 20 20 20 20 20 41 31 20 20 20 20 20 20 20 20 ┆ A1 A1 ┆ 0x3c020…3c040 41 31 20 20 20 20 20 20 20 20 20 41 31 0d 0a 0d 0a 0d 0a 09 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f ┆A1 A1 ____________┆ 0x3c040…3c060 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f ┆________________________________┆ 0x3c060…3c080 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 0d 0a 20 20 20 20 20 20 20 20 20 4e 43 20 72 65 73 74 61 ┆_____________ NC resta┆ 0x3c080…3c0a0 72 74 20 20 20 20 20 20 20 20 72 32 20 20 20 20 20 20 20 20 20 72 32 20 20 20 20 20 20 20 20 20 ┆rt r2 r2 ┆ 0x3c0a0…3c0c0 72 34 20 20 20 20 20 20 20 20 20 72 35 0d 0a 20 20 20 20 20 20 20 20 20 72 65 71 75 65 73 74 0d ┆r4 r5 request ┆ 0x3c0c0…3c0e0 0a 20 20 20 20 20 20 20 20 20 a1 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 41 ┆ A┆ 0x3c0e0…3c100 31 34 20 20 20 20 20 20 20 20 20 20 20 41 30 20 20 20 20 20 20 20 20 41 31 34 20 20 20 20 20 20 ┆14 A0 A14 ┆ 0x3c100…3c120 20 20 41 32 0d 0a 20 20 20 20 20 20 20 20 20 68 64 6c 63 5f 20 20 20 20 20 20 20 20 20 20 20 20 ┆ A2 hdlc_ ┆ 0x3c120…3c140 20 72 35 20 20 20 20 20 20 20 20 20 72 35 20 20 20 20 20 20 20 20 20 72 35 20 20 20 20 20 20 20 ┆ r5 r5 r5 ┆ 0x3c140…3c160 20 20 72 34 0d 0a 20 20 20 20 20 20 20 20 20 63 6f 6e 6e 65 63 74 65 64 0d 0a 20 20 20 20 20 20 ┆ r4 connected ┆ 0x3c160…3c180 20 20 20 a1 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 41 39 20 20 20 20 20 ┆ A9 ┆ 0x3c180…3c1a0 20 20 20 20 20 20 41 39 20 20 20 20 20 20 20 20 20 41 39 20 20 20 20 20 20 20 41 31 37 0d 0a 20 ┆ A9 A9 A17 ┆ 0x3c1a0…3c1c0 20 20 20 20 20 20 20 20 68 64 6c 63 5f 20 20 20 20 20 20 20 20 20 20 20 20 20 72 35 20 20 20 20 ┆ hdlc_ r5 ┆ 0x3c1c0…3c1e0 20 20 20 20 20 72 35 20 20 20 20 20 20 20 20 20 72 35 20 20 20 20 20 20 20 20 20 72 35 0d 0a 20 ┆ r5 r5 r5 ┆ 0x3c1e0…3c200 20 20 20 20 20 20 20 20 64 69 73 63 6f 6e 6e 65 63 74 65 64 0d 0a 20 20 20 20 20 20 20 20 20 a1 ┆ disconnected ┆ 0x3c200…3c220 (481,) 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 41 30 20 20 20 20 20 20 20 20 20 ┆ A0 ┆ 0x3c220…3c240 20 20 41 35 20 20 20 20 20 20 20 20 20 41 35 20 20 20 20 20 20 20 20 41 39 0d 0a 20 20 20 20 20 ┆ A5 A5 A9 ┆ 0x3c240…3c260 20 20 20 20 74 69 6d 65 72 20 74 32 30 20 20 20 20 20 20 20 20 20 72 35 20 20 20 20 20 20 20 20 ┆ timer t20 r5 ┆ 0x3c260…3c280 20 72 32 20 20 20 20 20 20 20 20 20 72 34 20 20 20 20 20 20 20 20 20 72 35 0d 0a 20 20 20 20 20 ┆ r2 r4 r5 ┆ 0x3c280…3c2a0 20 20 20 20 a1 e1 65 78 70 69 72 65 64 0d 0a 20 20 20 20 20 20 20 20 20 a1 20 20 20 20 20 20 20 ┆ expired ┆ 0x3c2a0…3c2c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 41 39 20 20 20 20 20 20 20 20 20 20 41 31 36 20 20 20 ┆ A9 A16 ┆ 0x3c2c0…3c2e0 20 20 20 20 20 41 31 36 20 20 20 20 20 20 20 20 41 39 0d 0a 0d 0a 09 54 61 62 6c 65 20 31 36 3a ┆ A16 A9 Table 16:┆ 0x3c2e0…3c300 20 50 72 6f 63 65 73 73 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 2c 20 73 74 61 74 65 2f 61 63 74 69 ┆ Process dte_lcnzero, state/acti┆ 0x3c300…3c30b 6f 6e 20 74 61 62 6c 65 2e 0d 0a ┆on table. ┆ 0x3c30b…3c344 Params { 0x3c30b…3c344 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x3c30b…3c344 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x3c30b…3c344 } 0x3c344…3c37d Params { 0x3c344…3c37d 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4e 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D N1@ ┆ 0x3c344…3c37d 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x3c344…3c37d } 0x3c37d…3c380 0a 0d 0a ┆ ┆ 0x3c380…3c383 FormFeed { 0x3c380…3c383 0c 80 a4 ┆ ┆ 0x3c380…3c383 } 0x3c383…3c3a0 0a 09 a1 41 63 74 69 6f 6e 73 3a 0d 0a 0d 0a 09 b0 41 30 20 f0 3a 20 20 52 65 74 75 72 ┆ Actions: A0 : Retur┆ 0x3c3a0…3c3c0 6e 20 6d 65 73 73 61 67 65 20 77 69 74 68 20 72 65 73 75 6c 74 20 27 6f 6b 27 0d 0a 0d 0a 09 b0 ┆n message with result 'ok' ┆ 0x3c3c0…3c3e0 41 31 20 f0 3a 20 20 52 65 74 75 72 6e 20 6d 65 73 73 61 67 65 20 74 6f 20 70 6f 6f 6c 2e 0d 0a ┆A1 : Return message to pool. ┆ 0x3c3e0…3c400 0d 0a 09 b0 41 32 20 f0 3a 20 20 52 65 74 75 72 6e 20 6d 65 73 73 61 67 65 20 77 69 74 68 20 72 ┆ A2 : Return message with r┆ 0x3c400…3c420 (482,) 65 73 75 6c 74 20 27 72 65 6a 65 63 74 65 64 27 2e 0d 0a 0d 0a 09 b0 41 35 20 f0 3a 20 20 84 53 ┆esult 'rejected'. A5 : S┆ 0x3c420…3c440 74 6f 70 20 74 69 6d 65 72 20 74 32 30 20 28 73 74 61 74 65 20 3a 3d 20 74 5f 73 74 6f 70 29 20 ┆top timer t20 (state := t_stop) ┆ 0x3c440…3c460 61 6e 64 0d 0a 09 20 20 20 20 20 20 72 65 74 75 72 6e 20 6d 65 73 73 61 67 65 20 77 69 74 68 20 ┆and return message with ┆ 0x3c460…3c480 72 65 73 75 6c 74 20 27 6f 6b 27 0d 0a 0d 0a 09 b0 41 39 20 f0 3a 20 20 28 2a 20 53 74 61 74 65 ┆result 'ok' A9 : (* State┆ 0x3c480…3c4a0 20 74 61 62 6c 65 20 65 72 72 6f 72 20 2a 29 0d 0a 0d 0a 09 b0 41 31 30 f0 3a 20 28 2a 20 52 65 ┆ table error *) A10 : (* Re┆ 0x3c4a0…3c4c0 73 74 61 72 74 20 69 6e 64 69 63 61 74 69 6f 6e 20 72 65 63 65 69 76 65 64 20 2a 29 0d 0a 20 20 ┆start indication received *) ┆ 0x3c4c0…3c4e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 84 49 6e 66 6f 72 6d 20 74 68 65 20 64 74 65 20 70 ┆ Inform the dte p┆ 0x3c4e0…3c500 72 6f 63 65 73 73 2c 20 73 65 6e 64 20 72 65 73 74 61 72 74 20 63 6f 6e 80 66 69 72 6d 61 74 69 ┆rocess, send restart con firmati┆ 0x3c500…3c520 6f 6e 20 74 6f 20 44 43 45 20 0a 19 91 80 80 61 6e 64 20 67 65 6e 65 72 61 74 65 20 61 6e 20 4e ┆on to DCE and generate an N┆ 0x3c520…3c540 43 20 65 76 65 6e 74 2e 0d 0a 0d 0a 09 b0 41 31 32 f0 3a 20 28 2a 20 44 43 45 20 6c 6f 63 61 6c ┆C event. A12 : (* DCE local┆ 0x3c540…3c560 20 70 72 6f 63 65 64 75 72 65 20 65 72 72 6f 72 20 2a 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 ┆ procedure error *) ┆ 0x3c560…3c580 20 20 20 20 20 20 84 53 65 6e 64 20 72 65 73 74 61 72 74 20 72 65 71 75 65 73 74 20 74 6f 20 44 ┆ Send restart request to D┆ 0x3c580…3c5a0 43 45 2c 20 73 74 61 72 74 20 74 69 6d 65 72 20 74 32 30 20 28 73 74 61 74 65 20 3a 3d 20 0a 19 ┆CE, start timer t20 (state := ┆ 0x3c5a0…3c5c0 91 80 80 74 5f 72 75 6e 29 20 61 6e 64 20 69 6e 66 6f 72 6d 20 74 68 65 20 64 74 65 20 70 72 6f ┆ t_run) and inform the dte pro┆ 0x3c5c0…3c5e0 63 65 73 73 2e 0d 0a 0d 0a 09 b0 41 31 33 f0 3a 20 28 2a 20 44 69 61 67 6e 6f 73 74 69 63 20 72 ┆cess. A13 : (* Diagnostic r┆ 0x3c5e0…3c600 65 63 65 69 76 65 64 20 2a 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 47 65 6e ┆eceived *) Gen┆ 0x3c600…3c620 (483,) 65 72 61 74 65 20 61 6e 20 4e 43 20 65 76 65 6e 74 20 61 6e 64 20 69 6e 66 6f 72 6d 20 74 68 65 ┆erate an NC event and inform the┆ 0x3c620…3c640 20 64 74 65 20 70 72 6f 63 65 73 73 2e 0d 0a 0d 0a 09 b0 41 31 34 f0 3a 20 28 2a 20 52 65 73 74 ┆ dte process. A14 : (* Rest┆ 0x3c640…3c660 61 72 74 20 72 65 71 75 65 73 74 65 64 20 62 79 20 74 68 65 20 44 54 45 20 2a 29 0d 0a 20 20 20 ┆art requested by the DTE *) ┆ 0x3c660…3c680 20 20 20 20 20 20 20 20 20 20 20 20 20 20 84 53 65 6e 64 20 72 65 73 74 61 72 74 20 72 65 71 75 ┆ Send restart requ┆ 0x3c680…3c6a0 65 73 74 20 74 6f 20 44 43 45 2c 20 73 74 61 72 74 20 74 69 6d 65 72 20 74 32 30 20 28 73 74 61 ┆est to DCE, start timer t20 (sta┆ 0x3c6a0…3c6c0 74 65 20 3a 3d 20 0a 19 91 80 80 74 5f 72 75 6e 29 20 61 6e 64 20 72 65 74 75 72 6e 20 6d 65 73 ┆te := t_run) and return mes┆ 0x3c6c0…3c6e0 73 61 67 65 20 77 69 74 68 20 72 65 73 75 6c 74 20 6f 6b 2e 0d 0a 0d 0a 09 b0 41 31 35 f0 3a 20 ┆sage with result ok. A15 : ┆ 0x3c6e0…3c700 28 2a 20 52 65 73 74 61 72 74 20 70 68 61 73 65 20 65 6e 64 65 64 20 2a 29 0d 0a 20 20 20 20 20 ┆(* Restart phase ended *) ┆ 0x3c700…3c720 20 20 20 20 20 20 20 20 20 20 20 20 84 53 74 6f 70 20 74 69 6d 65 72 20 74 32 30 20 28 73 74 61 ┆ Stop timer t20 (sta┆ 0x3c720…3c740 74 65 20 3a 3d 20 74 5f 73 74 6f 70 29 2c 20 69 6e 66 6f 72 6d 20 74 68 65 20 64 74 65 20 70 72 ┆te := t_stop), inform the dte pr┆ 0x3c740…3c760 6f 63 65 73 73 20 0a 19 91 80 80 61 6e 64 20 67 65 6e 65 72 61 74 65 20 61 6e 20 4e 43 20 65 76 ┆ocess and generate an NC ev┆ 0x3c760…3c780 65 6e 74 2e 0d 0a 0d 0a 09 b0 41 31 36 f0 3a 20 28 2a 20 54 69 6d 65 72 20 74 32 30 20 68 61 73 ┆ent. A16 : (* Timer t20 has┆ 0x3c780…3c7a0 20 65 78 70 69 72 65 64 20 2a 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 84 53 ┆ expired *) S┆ 0x3c7a0…3c7c0 65 6e 64 20 72 65 73 74 61 72 74 20 72 65 71 75 65 73 74 20 74 6f 20 74 68 65 20 44 43 45 20 73 ┆end restart request to the DCE s┆ 0x3c7c0…3c7e0 74 61 72 74 20 74 69 6d 65 72 20 74 32 30 20 28 73 74 61 74 65 20 3a 3d 20 0a 19 91 80 80 74 5f ┆tart timer t20 (state := t_┆ 0x3c7e0…3c800 72 75 6e 29 20 61 6e 64 20 69 6e 66 6f 72 6d 20 74 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 2e ┆run) and inform the dte process.┆ 0x3c800…3c820 (484,) 0d 0a 0d 0a 09 b0 41 31 37 f0 3a 20 28 2a 20 68 64 6c 63 20 6c 69 6e 65 20 63 6f 6e 6e 65 63 74 ┆ A17 : (* hdlc line connect┆ 0x3c820…3c840 65 64 20 2a 29 0d 0a 09 20 20 20 20 20 20 20 20 84 53 74 61 72 74 20 74 69 6d 65 72 20 74 32 30 ┆ed *) Start timer t20┆ 0x3c840…3c860 20 28 73 74 61 74 65 20 3a 3d 20 74 5f 72 75 6e 29 20 61 6e 64 20 72 65 74 75 72 6e 20 6d 65 73 ┆ (state := t_run) and return mes┆ 0x3c860…3c880 73 61 67 65 20 77 69 74 68 20 0a 19 91 80 80 72 65 73 75 6c 74 20 6f 6b 2e 0d 0a 0d 0a 0d 0a 8c ┆sage with result ok. ┆ 0x3c880…3c8a0 80 a9 0a b0 a1 43 2e 33 09 64 74 65 5f 63 68 61 6e 0d 0a 0d 0a 09 84 41 73 20 6d 65 6e 74 69 6f ┆ C.3 dte_chan As mentio┆ 0x3c8a0…3c8c0 6e 65 64 20 69 6e 20 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 36 2e 36 20 74 68 65 20 64 74 65 5f ┆ned in subsection 4.6.6 the dte_┆ 0x3c8c0…3c8e0 63 68 61 6e 20 70 72 6f 63 65 73 73 20 63 6f 6e 74 61 69 6e 73 20 6f 6e 65 20 0a 19 89 80 80 73 ┆chan process contains one s┆ 0x3c8e0…3c900 74 61 74 65 2f 61 63 74 69 6f 6e 20 74 61 62 6c 65 2c 20 69 6d 70 6c 65 6d 65 6e 74 65 64 20 61 ┆tate/action table, implemented a┆ 0x3c900…3c920 73 20 61 20 73 74 61 74 65 20 6d 61 63 68 69 6e 65 2e 20 54 68 69 73 20 74 61 62 6c 65 20 69 73 ┆s a state machine. This table is┆ 0x3c920…3c940 20 0a 19 89 80 80 73 68 6f 77 6e 20 62 65 6c 6f 77 20 61 73 20 35 20 73 75 62 74 61 62 6c 65 73 ┆ shown below as 5 subtables┆ 0x3c940…3c960 20 61 6e 64 20 61 20 73 68 6f 72 74 20 64 65 73 63 72 69 70 74 69 6f 6e 20 6f 66 20 65 61 63 68 ┆ and a short description of each┆ 0x3c960…3c980 20 61 63 74 69 6f 6e 20 0a 19 89 80 80 69 73 20 67 69 76 65 6e 20 74 6f 6f 2e 20 54 6f 20 67 65 ┆ action is given too. To ge┆ 0x3c980…3c9a0 74 20 61 20 63 6c 65 61 72 65 72 20 76 69 65 77 20 6f 66 20 74 68 65 20 73 74 61 74 65 20 74 72 ┆t a clearer view of the state tr┆ 0x3c9a0…3c9c0 61 6e 73 69 74 69 6f 6e 73 20 34 20 0a 19 89 80 80 66 69 67 75 72 65 73 20 28 66 69 67 2e 20 34 ┆ansitions 4 figures (fig. 4┆ 0x3c9c0…3c9e0 35 20 74 6f 20 66 69 67 2e 20 34 38 29 20 6f 75 74 6c 69 6e 65 73 20 74 68 65 20 63 61 6c 6c 20 ┆5 to fig. 48) outlines the call ┆ 0x3c9e0…3ca00 73 65 74 2d 75 70 2f 63 6c 65 61 72 20 70 68 61 73 65 2c 20 0a 19 89 80 80 74 68 65 20 64 61 74 ┆set-up/clear phase, the dat┆ 0x3ca00…3ca20 (485,) 61 20 70 68 61 73 65 20 61 6e 64 20 74 68 65 20 72 65 73 65 74 20 70 68 61 73 65 2e 0d 0a 0d 0a ┆a phase and the reset phase. ┆ 0x3ca20…3ca23 FormFeed { 0x3ca20…3ca23 0c 80 89 ┆ ┆ 0x3ca20…3ca23 } 0x3ca23…3ca26 0a 0d 0a ┆ ┆ 0x3ca26…3ca29 FormFeed { 0x3ca26…3ca29 0c 80 81 ┆ ┆ 0x3ca26…3ca29 } 0x3ca29…3ca2c 0a 0d 0a ┆ ┆ 0x3ca2c…3ca2f FormFeed { 0x3ca2c…3ca2f 0c 80 81 ┆ ┆ 0x3ca2c…3ca2f } 0x3ca2f…3ca32 0a 0d 0a ┆ ┆ 0x3ca32…3ca35 FormFeed { 0x3ca32…3ca35 0c 80 81 ┆ ┆ 0x3ca32…3ca35 } 0x3ca35…3ca38 0a 0d 0a ┆ ┆ 0x3ca38…3ca3b FormFeed { 0x3ca38…3ca3b 0c 80 81 ┆ ┆ 0x3ca38…3ca3b } 0x3ca3b…3ca40 0a 09 84 41 6c ┆ Al┆ 0x3ca40…3ca60 6c 20 61 63 74 69 6f 6e 73 20 61 72 65 20 67 72 6f 75 70 65 64 20 64 65 70 65 6e 64 69 6e 67 20 ┆l actions are grouped depending ┆ 0x3ca60…3ca80 6f 66 20 74 68 65 20 6f 76 65 72 61 6c 6c 20 74 79 70 65 20 6f 66 20 61 63 74 69 6f 6e 20 74 6f ┆of the overall type of action to┆ 0x3ca80…3caa0 20 0a 19 89 80 80 62 65 20 70 65 72 66 6f 72 6d 65 64 2e 20 0a 19 89 80 80 53 69 78 20 67 72 6f ┆ be performed. Six gro┆ 0x3caa0…3cac0 75 70 73 20 68 61 76 65 20 62 65 65 6e 20 69 64 65 6e 74 69 66 69 65 64 3a 0d 0a 0d 0a 09 41 30 ┆ups have been identified: A0┆ 0x3cac0…3cae0 2d 41 39 20 20 3a 20 72 65 74 75 72 6e 61 6c 2f 64 69 73 63 61 72 64 20 6f 66 20 6d 65 73 73 61 ┆-A9 : returnal/discard of messa┆ 0x3cae0…3cb00 67 65 2f 61 6e 73 77 65 72 2e 0d 0a 20 20 20 20 20 20 20 20 20 41 31 30 2d 41 31 39 3a 20 63 61 ┆ge/answer. A10-A19: ca┆ 0x3cb00…3cb20 6c 6c 20 73 65 74 2d 75 70 20 70 68 61 73 65 0d 0a 20 20 20 20 20 20 20 20 20 41 32 30 2d 41 32 ┆ll set-up phase A20-A2┆ 0x3cb20…3cb40 39 3a 20 63 6c 65 61 72 20 70 68 61 73 65 0d 0a 20 20 20 20 20 20 20 20 20 41 33 30 2d 41 33 39 ┆9: clear phase A30-A39┆ 0x3cb40…3cb60 3a 20 6e 6f 72 6d 61 6c 20 64 61 74 61 20 74 72 61 6e 73 66 65 72 0d 0a 20 20 20 20 20 20 20 20 ┆: normal data transfer ┆ 0x3cb60…3cb80 20 41 34 30 2d 41 34 39 3a 20 72 65 73 65 74 20 70 68 61 73 65 0d 0a 20 20 20 20 20 20 20 20 20 ┆ A40-A49: reset phase ┆ 0x3cb80…3cba0 41 35 30 2d 41 35 34 3a 20 73 70 65 63 69 61 6c 20 61 63 74 69 6f 6e 73 0d 0a 0d 0a 09 a1 41 63 ┆A50-A54: special actions Ac┆ 0x3cba0…3cbc0 74 69 6f 6e 73 3a 0d 0a 0d 0a 09 b0 41 30 20 f0 3a 20 44 75 6d 6d 79 2e 0d 0a 0d 0a 09 b0 41 31 ┆tions: A0 : Dummy. A1┆ 0x3cbc0…3cbe0 20 f0 3a 20 84 44 69 73 63 61 72 64 20 73 6d 61 6c 6c 20 6f 72 20 62 69 67 20 70 61 63 6b 65 74 ┆ : Discard small or big packet┆ 0x3cbe0…3cc00 20 62 79 20 72 65 74 75 72 6e 69 6e 67 20 62 75 66 66 65 72 20 74 6f 20 70 6f 6f 6c 2e 0d 0a 0d ┆ by returning buffer to pool. ┆ 0x3cc00…3cc20 (486,) 0a 09 b0 41 32 20 f0 3a 20 84 44 69 73 63 61 72 64 20 62 69 67 20 70 61 63 6b 65 74 20 62 79 20 ┆ A2 : Discard big packet by ┆ 0x3cc20…3cc40 72 65 74 75 72 6e 69 6e 67 20 62 75 66 66 65 72 20 74 6f 20 70 6f 6f 6c 2e 0d 0a 0d 0a 09 b0 41 ┆returning buffer to pool. A┆ 0x3cc40…3cc60 34 20 f0 3a 20 84 28 2a 20 53 74 61 74 65 20 74 61 62 6c 65 20 65 72 72 6f 72 20 2a 29 0d 0a 09 ┆4 : (* State table error *) ┆ 0x3cc60…3cc80 20 20 20 20 20 84 54 72 61 63 65 20 65 76 65 6e 74 2e 0d 0a 0d 0a 09 b0 41 35 20 f0 3a 20 52 65 ┆ Trace event. A5 : Re┆ 0x3cc80…3cca0 74 75 72 6e 20 6d 65 73 73 61 67 65 20 77 69 74 68 20 72 65 73 75 6c 74 20 27 6f 6b 27 0d 0a 0d ┆turn message with result 'ok' ┆ 0x3cca0…3ccc0 0a 09 b0 41 36 20 f0 3a 20 84 52 65 74 75 72 6e 20 6d 65 73 73 61 67 65 20 77 69 74 68 20 72 65 ┆ A6 : Return message with re┆ 0x3ccc0…3cce0 73 75 6c 74 20 27 6e 6f 74 5f 70 72 6f 63 65 73 73 65 64 27 2e 0d 0a 0d 0a 09 b0 41 38 20 f0 3a ┆sult 'not_processed'. A8 :┆ 0x3cce0…3cd00 20 84 52 65 74 75 72 6e 20 6d 65 73 73 61 67 65 20 77 69 74 68 20 72 65 73 75 6c 74 20 27 66 63 ┆ Return message with result 'fc┆ 0x3cd00…3cd20 74 5f 6e 6f 74 5f 61 6c 6c 77 27 2e 0d 0a 0d 0a 09 b0 41 31 30 f0 3a 20 84 28 2a 20 49 6e 63 6f ┆t_not_allw'. A10 : (* Inco┆ 0x3cd20…3cd40 6d 6d 69 6e 67 20 63 61 6c 6c 20 72 65 63 65 69 76 65 64 20 2a 29 0d 0a 09 20 20 20 20 20 84 54 ┆mming call received *) T┆ 0x3cd40…3cd60 68 65 20 70 61 63 6b 65 74 20 69 73 20 63 68 65 63 6b 65 64 2c 20 74 61 62 6c 65 73 20 61 72 65 ┆he packet is checked, tables are┆ 0x3cd60…3cd80 20 75 70 64 61 74 65 64 2c 20 64 61 74 61 20 61 72 65 20 6d 6f 76 65 64 20 74 6f 20 0a 19 8e 80 ┆ updated, data are moved to ┆ 0x3cd80…3cda0 80 61 20 67 65 6e 65 72 61 6c 20 69 6e 70 75 74 20 62 75 66 66 65 72 20 61 6e 64 20 74 68 69 73 ┆ a general input buffer and this┆ 0x3cda0…3cdc0 20 62 75 66 66 65 72 20 69 73 20 73 69 67 6e 61 6c 6c 65 64 20 74 6f 20 74 68 65 20 0a 19 8e 80 ┆ buffer is signalled to the ┆ 0x3cdc0…3cde0 80 64 74 65 5f 61 63 63 65 73 73 20 70 72 6f 63 65 73 73 2e 20 49 66 20 74 68 65 20 63 68 65 63 ┆ dte_access process. If the chec┆ 0x3cde0…3ce00 6b 20 66 61 69 6c 73 2c 20 61 20 43 4c 45 41 52 20 52 45 51 55 45 53 54 20 70 61 63 80 0a 19 8e ┆k fails, a CLEAR REQUEST pac ┆ 0x3ce00…3ce20 (487,) 80 80 6b 65 74 20 69 73 20 74 72 61 6e 73 6d 69 74 74 65 64 20 74 6f 20 74 68 65 20 44 43 45 2c ┆ ket is transmitted to the DCE,┆ 0x3ce20…3ce40 20 61 6e 64 20 61 6e 20 4e 43 20 65 76 65 6e 74 20 69 73 20 67 65 6e 65 72 61 74 65 64 2e 0d 0a ┆ and an NC event is generated. ┆ 0x3ce40…3ce60 0d 0a 09 b0 41 31 31 f0 3a 20 28 2a 20 43 61 6c 6c 20 72 65 71 75 65 73 74 20 69 73 20 72 65 63 ┆ A11 : (* Call request is rec┆ 0x3ce60…3ce80 65 69 76 65 64 20 66 72 6f 6d 20 74 68 65 20 75 73 65 72 20 2a 29 0d 0a 09 20 20 20 20 20 84 54 ┆eived from the user *) T┆ 0x3ce80…3cea0 68 65 20 6d 65 73 73 61 67 65 20 69 73 20 63 68 65 63 6b 65 64 2c 20 74 61 62 6c 65 73 20 61 72 ┆he message is checked, tables ar┆ 0x3cea0…3cec0 65 20 75 70 64 61 74 65 64 2c 20 61 6e 64 20 61 6e 20 58 2e 32 35 20 43 41 4c 4c 20 0a 19 8e 80 ┆e updated, and an X.25 CALL ┆ 0x3cec0…3cee0 80 52 45 51 55 45 53 54 20 70 61 63 6b 65 74 20 69 73 20 62 75 69 6c 64 20 75 70 20 61 6e 64 20 ┆ REQUEST packet is build up and ┆ 0x3cee0…3cf00 74 72 61 6e 73 6d 69 74 74 65 64 20 74 6f 20 74 68 65 20 44 43 45 2e 20 49 66 20 61 6e 79 20 0a ┆transmitted to the DCE. If any ┆ 0x3cf00…3cf20 19 8e 80 80 74 68 69 6e 67 20 77 65 6e 74 20 77 72 6f 6e 67 20 74 68 65 20 75 73 65 72 20 69 73 ┆ thing went wrong the user is┆ 0x3cf20…3cf40 20 69 6e 66 6f 72 6d 65 64 20 62 79 20 72 65 74 75 72 6e 61 6c 20 6f 66 20 74 68 65 20 62 75 66 ┆ informed by returnal of the buf┆ 0x3cf40…3cf60 80 0a 19 8e 80 80 66 65 72 20 61 6e 64 20 61 20 73 74 72 65 61 6d 20 65 76 65 6e 74 2e 0d 0a 0d ┆ fer and a stream event. ┆ 0x3cf60…3cf80 0a 8c 80 a8 0a 09 b0 41 31 32 f0 3a 20 28 2a 20 54 68 65 20 75 73 65 72 20 68 61 73 20 72 65 6a ┆ A12 : (* The user has rej┆ 0x3cf80…3cfa0 65 63 74 65 64 20 74 68 65 20 69 6e 63 6f 6d 6d 69 6e 67 20 63 61 6c 6c 20 2a 29 0d 0a 09 20 20 ┆ected the incomming call *) ┆ 0x3cfa0…3cfc0 20 20 20 84 41 20 43 4c 45 41 52 20 52 45 51 55 45 53 54 20 70 61 63 6b 65 74 20 69 73 20 74 72 ┆ A CLEAR REQUEST packet is tr┆ 0x3cfc0…3cfe0 61 6e 73 6d 69 74 74 65 64 20 74 6f 20 74 68 65 20 44 43 45 20 61 6e 64 20 74 61 62 6c 65 20 0a ┆ansmitted to the DCE and table ┆ 0x3cfe0…3d000 19 8e 80 80 63 68 61 6e 5f 72 65 63 20 69 73 20 75 70 64 61 74 65 64 2e 20 41 6e 20 4e 43 20 65 ┆ chan_rec is updated. An NC e┆ 0x3d000…3d020 (488,) 76 65 6e 74 20 69 73 20 67 65 6e 65 72 65 61 74 65 64 2e 0d 0a 0d 0a 09 b0 41 31 33 f0 3a 20 84 ┆vent is genereated. A13 : ┆ 0x3d020…3d040 28 2a 20 54 68 65 20 56 69 72 74 75 61 6c 20 43 61 6c 6c 20 68 61 73 20 62 65 65 6e 20 63 6c 65 ┆(* The Virtual Call has been cle┆ 0x3d040…3d060 61 72 65 64 20 62 65 66 6f 72 65 20 74 68 65 20 75 73 65 72 20 68 61 73 20 0a 19 8e 81 80 72 65 ┆ared before the user has re┆ 0x3d060…3d080 73 70 6f 6e 64 65 64 20 2a 29 0d 0a 09 20 20 20 20 20 84 49 66 20 74 68 65 20 75 73 65 72 20 69 ┆sponded *) If the user i┆ 0x3d080…3d0a0 73 20 61 63 63 65 70 74 69 6e 67 20 74 68 65 20 63 61 6c 6c 20 73 65 74 2d 75 70 2c 20 74 68 65 ┆s accepting the call set-up, the┆ 0x3d0a0…3d0c0 20 6d 65 73 73 61 67 65 20 69 73 20 0a 19 8e 80 80 72 65 74 75 72 6e 65 64 20 77 69 74 68 20 72 ┆ message is returned with r┆ 0x3d0c0…3d0e0 65 73 75 6c 74 20 27 6e 6f 74 5f 70 72 6f 63 65 73 73 65 64 27 2e 20 41 6c 6c 20 69 6e 74 65 72 ┆esult 'not_processed'. All inter┆ 0x3d0e0…3d100 6e 61 6c 20 6d 65 73 73 61 67 65 73 20 0a 19 8e 80 80 61 72 65 20 72 65 6c 65 61 73 65 64 2e 0d ┆nal messages are released. ┆ 0x3d100…3d120 0a 0d 0a 09 b0 41 31 36 f0 3a 20 84 28 2a 20 54 68 65 20 63 61 6c 6c 20 73 65 74 2d 75 70 20 69 ┆ A16 : (* The call set-up i┆ 0x3d120…3d140 73 20 61 63 63 65 70 74 65 64 20 62 79 20 74 68 65 20 44 43 45 2e 20 41 20 63 61 6c 6c 20 63 6f ┆s accepted by the DCE. A call co┆ 0x3d140…3d160 6e 6e 65 63 74 65 64 20 0a 19 8e 81 80 70 61 63 6b 65 74 20 69 73 20 72 65 63 65 69 76 65 64 20 ┆nnected packet is received ┆ 0x3d160…3d180 2a 29 0d 0a 09 20 20 20 20 20 84 54 68 65 20 43 41 4c 4c 20 43 4f 4e 4e 45 43 54 45 44 20 64 61 ┆*) The CALL CONNECTED da┆ 0x3d180…3d1a0 74 61 20 69 73 20 6d 6f 76 65 64 20 74 6f 20 74 68 65 20 75 73 65 72 20 64 74 65 5f 63 61 6c 6c ┆ta is moved to the user dte_call┆ 0x3d1a0…3d1c0 5f 72 65 71 20 0a 19 8e 80 80 6d 65 73 73 61 67 65 20 61 6e 64 20 72 65 74 75 72 6e 65 64 20 74 ┆_req message and returned t┆ 0x3d1c0…3d1e0 6f 20 74 68 65 20 75 73 65 72 2e 20 41 6e 20 4e 43 20 65 76 65 6e 74 20 69 73 20 67 65 6e 65 72 ┆o the user. An NC event is gener┆ 0x3d1e0…3d200 61 74 65 64 20 0a 19 8e 80 80 61 6e 64 20 74 61 62 6c 65 73 2c 20 70 6f 6f 6c 2c 20 61 6e 64 20 ┆ated and tables, pool, and ┆ 0x3d200…3d220 (489,) 74 69 6d 65 72 73 20 61 72 65 20 75 70 64 61 74 65 64 2e 20 49 66 20 64 65 64 69 63 61 74 65 64 ┆timers are updated. If dedicated┆ 0x3d220…3d240 20 69 6e 70 75 74 20 0a 19 8e 80 80 69 73 20 75 73 65 64 2c 20 74 68 65 20 73 74 61 74 65 20 6d ┆ input is used, the state m┆ 0x3d240…3d260 61 63 68 69 6e 65 20 69 73 20 70 72 65 70 61 72 65 64 20 66 6f 72 20 73 65 6e 64 69 6e 67 20 61 ┆achine is prepared for sending a┆ 0x3d260…3d280 6e 20 52 4e 52 20 0a 19 8e 80 80 70 61 63 6b 65 74 2e 0d 0a 0d 0a b0 09 41 31 37 f0 3a 20 84 28 ┆n RNR packet. A17 : (┆ 0x3d280…3d2a0 2a 20 54 68 65 20 63 61 6c 6c 20 73 65 74 2d 75 70 20 69 73 20 61 63 63 65 70 74 65 64 20 62 79 ┆* The call set-up is accepted by┆ 0x3d2a0…3d2c0 20 74 68 65 20 75 73 65 72 2e 20 41 20 63 61 6c 6c 5f 61 63 63 65 70 74 20 0a 19 8e 81 80 6d 65 ┆ the user. A call_accept me┆ 0x3d2c0…3d2e0 73 73 61 67 65 20 69 73 20 72 65 63 65 69 76 65 64 20 2a 29 0d 0a 09 20 20 20 20 20 84 41 20 43 ┆ssage is received *) A C┆ 0x3d2e0…3d300 41 4c 4c 20 41 43 43 45 50 54 45 44 20 70 61 63 6b 65 74 20 69 73 20 74 72 61 6e 73 6d 69 74 74 ┆ALL ACCEPTED packet is transmitt┆ 0x3d300…3d320 65 64 20 74 6f 20 74 68 65 20 44 43 45 2e 20 41 6e 20 4e 43 20 65 76 65 6e 74 20 0a 19 8e 80 80 ┆ed to the DCE. An NC event ┆ 0x3d320…3d340 69 73 20 67 65 6e 65 72 61 74 65 64 2c 20 61 6e 64 20 74 61 62 6c 65 73 2c 20 70 6f 6f 6c 2c 20 ┆is generated, and tables, pool, ┆ 0x3d340…3d360 61 6e 64 20 74 69 6d 65 72 73 20 61 72 65 20 75 70 64 61 74 65 64 2e 0d 0a 09 20 20 20 20 20 84 ┆and timers are updated. ┆ 0x3d360…3d380 49 66 20 64 65 64 69 63 61 74 65 64 20 69 6e 70 75 74 20 69 73 20 75 73 65 64 2c 20 74 68 65 20 ┆If dedicated input is used, the ┆ 0x3d380…3d3a0 73 74 61 74 65 20 6d 61 63 68 69 6e 65 20 69 73 20 70 72 65 70 61 72 65 64 20 66 6f 72 20 0a 19 ┆state machine is prepared for ┆ 0x3d3a0…3d3c0 8e 80 80 73 65 6e 64 69 6e 67 20 61 6e 20 52 4e 52 20 70 61 63 6b 65 74 2e 0d 0a 0d 0a 09 b0 41 ┆ sending an RNR packet. A┆ 0x3d3c0…3d3e0 31 38 f0 3a 20 84 28 2a 20 54 69 6d 65 6f 75 74 20 74 31 31 6d 3a 20 74 68 65 20 75 73 65 72 20 ┆18 : (* Timeout t11m: the user ┆ 0x3d3e0…3d400 68 61 73 20 6e 6f 74 20 61 6e 73 77 65 72 65 64 20 61 20 56 69 72 74 75 61 6c 20 43 61 6c 6c 20 ┆has not answered a Virtual Call ┆ 0x3d400…3d420 (490,) 0a 19 8e 81 80 73 65 74 2d 75 70 20 72 65 71 75 65 73 74 20 2a 29 0d 0a 09 20 20 20 20 20 84 54 ┆ set-up request *) T┆ 0x3d420…3d440 68 65 20 6c 6f 67 69 63 61 6c 20 63 68 61 6e 6e 65 6c 20 69 73 20 63 6c 65 61 72 65 64 20 62 79 ┆he logical channel is cleared by┆ 0x3d440…3d460 20 74 72 61 6e 73 6d 69 74 74 69 6e 67 20 61 20 43 4c 45 41 52 20 0a 19 8e 80 80 52 45 51 55 45 ┆ transmitting a CLEAR REQUE┆ 0x3d460…3d480 53 54 20 70 61 63 6b 65 74 20 74 6f 20 74 68 65 20 44 43 45 20 61 6e 64 20 69 6e 66 6f 72 6d 69 ┆ST packet to the DCE and informi┆ 0x3d480…3d4a0 6e 67 20 74 68 65 20 75 73 65 72 20 74 68 72 6f 75 67 68 20 74 68 65 20 0a 19 8e 80 80 64 74 65 ┆ng the user through the dte┆ 0x3d4a0…3d4c0 5f 61 63 63 65 73 73 20 70 72 6f 63 65 73 73 2e 20 41 6e 20 4e 43 20 65 76 65 6e 74 20 69 73 20 ┆_access process. An NC event is ┆ 0x3d4c0…3d4e0 67 65 6e 65 72 61 74 65 64 2e 0d 0a 0d 0a 09 b0 41 31 39 f0 3a 20 84 28 2a 20 54 69 6d 65 6f 75 ┆generated. A19 : (* Timeou┆ 0x3d4e0…3d500 74 20 74 32 31 3a 20 74 68 65 20 44 43 45 20 68 61 73 20 6e 6f 74 20 61 6e 73 77 65 72 65 64 20 ┆t t21: the DCE has not answered ┆ 0x3d500…3d520 61 20 63 61 6c 6c 20 72 65 71 75 65 73 74 20 70 61 63 80 0a 19 8e 81 80 6b 65 74 20 2a 29 0d 0a ┆a call request pac ket *) ┆ 0x3d520…3d540 09 20 20 20 20 20 84 54 68 65 20 6c 6f 67 69 63 61 6c 20 63 68 61 6e 6e 65 6c 20 69 73 20 63 6c ┆ The logical channel is cl┆ 0x3d540…3d560 65 61 72 65 64 20 62 79 20 74 72 61 6e 73 6d 69 74 74 69 6e 67 20 61 20 43 4c 45 41 52 20 52 45 ┆eared by transmitting a CLEAR RE┆ 0x3d560…3d580 80 0a 19 8e 80 80 51 55 45 53 54 20 70 61 63 6b 65 74 20 74 6f 20 74 68 65 20 44 43 45 20 61 6e ┆ QUEST packet to the DCE an┆ 0x3d580…3d5a0 64 20 69 6e 66 6f 72 6d 69 6e 67 20 74 68 65 20 75 73 65 72 20 74 68 72 6f 75 67 68 20 74 68 65 ┆d informing the user through the┆ 0x3d5a0…3d5c0 20 0a 19 8e 80 80 64 74 65 5f 61 63 63 65 73 73 20 70 72 6f 63 65 73 73 2e 20 41 6e 20 4e 43 20 ┆ dte_access process. An NC ┆ 0x3d5c0…3d5e0 65 76 65 6e 74 20 69 73 20 67 65 6e 65 72 61 74 65 64 2e 0d 0a 0d 0a 09 b0 41 32 31 f0 3a 20 28 ┆event is generated. A21 : (┆ 0x3d5e0…3d600 2a 20 44 43 45 20 6c 6f 63 61 6c 20 70 72 6f 63 65 64 75 72 65 20 65 72 72 6f 72 20 69 6e 20 73 ┆* DCE local procedure error in s┆ 0x3d600…3d620 (491,) 74 61 74 65 20 78 69 64 6c 65 20 2a 29 0d 0a 09 20 20 20 20 20 84 41 20 43 4c 45 41 52 20 52 45 ┆tate xidle *) A CLEAR RE┆ 0x3d620…3d640 51 55 45 53 54 20 70 61 63 6b 65 74 20 69 73 20 74 72 61 6e 73 6d 69 74 74 65 64 20 74 6f 20 74 ┆QUEST packet is transmitted to t┆ 0x3d640…3d660 68 65 20 44 43 45 2e 0d 0a 0d 0a 8c 80 a8 0a 09 b0 41 32 32 f0 3a 20 28 2a 20 41 20 63 6c 65 61 ┆he DCE. A22 : (* A clea┆ 0x3d660…3d680 72 20 69 6e 64 69 63 61 74 69 6f 6e 20 70 61 63 6b 65 74 20 69 73 20 72 65 63 65 69 76 65 64 20 ┆r indication packet is received ┆ 0x3d680…3d6a0 69 6e 20 73 74 61 74 65 20 78 69 64 6c 65 20 2a 29 0d 0a 09 20 20 20 20 20 84 41 20 43 4c 45 41 ┆in state xidle *) A CLEA┆ 0x3d6a0…3d6c0 52 20 43 4f 4e 46 49 52 4d 41 54 49 4f 4e 20 70 61 63 6b 65 74 20 69 73 20 74 72 61 6e 73 6d 69 ┆R CONFIRMATION packet is transmi┆ 0x3d6c0…3d6e0 74 74 65 64 20 74 6f 20 74 68 65 20 44 43 45 2c 20 61 6e 64 20 0a 19 8e 80 80 74 68 65 20 69 6e ┆tted to the DCE, and the in┆ 0x3d6e0…3d700 74 65 72 6e 61 6c 20 73 74 6f 70 20 70 72 6f 63 65 64 75 72 65 20 69 73 20 69 6e 69 74 69 61 74 ┆ternal stop procedure is initiat┆ 0x3d700…3d720 65 64 2e 0d 0a 0d 0a b0 09 41 32 33 f0 3a 20 28 2a 20 41 20 63 6c 65 61 72 20 69 6e 64 69 63 61 ┆ed. A23 : (* A clear indica┆ 0x3d720…3d740 74 69 6f 6e 20 70 61 63 6b 65 74 20 69 73 20 72 65 63 65 69 76 65 64 20 2a 29 0d 0a 09 20 20 20 ┆tion packet is received *) ┆ 0x3d740…3d760 20 20 84 41 20 43 4c 45 41 52 20 43 4f 4e 46 49 52 4d 41 54 49 4f 4e 20 70 61 63 6b 65 74 20 69 ┆ A CLEAR CONFIRMATION packet i┆ 0x3d760…3d780 73 20 74 72 61 6e 73 6d 69 74 74 65 64 20 74 6f 20 74 68 65 20 44 43 45 2e 20 54 68 65 20 0a 19 ┆s transmitted to the DCE. The ┆ 0x3d780…3d7a0 8e 80 80 75 73 65 72 20 69 73 20 69 6e 66 6f 72 6d 65 64 20 74 68 72 6f 75 67 68 20 74 68 65 20 ┆ user is informed through the ┆ 0x3d7a0…3d7c0 64 74 65 5f 61 63 63 65 73 73 20 70 72 6f 63 65 73 73 2e 20 41 6c 6c 20 75 73 65 72 20 0a 19 8e ┆dte_access process. All user ┆ 0x3d7c0…3d7e0 80 80 62 75 66 66 65 72 73 20 61 72 65 20 72 65 74 75 72 6e 65 64 20 77 69 74 68 20 72 65 73 75 ┆ buffers are returned with resu┆ 0x3d7e0…3d800 6c 74 20 27 6e 6f 74 5f 70 72 6f 63 65 73 73 65 64 27 2e 20 41 6e 20 4e 43 20 65 76 65 6e 74 20 ┆lt 'not_processed'. An NC event ┆ 0x3d800…3d820 (492,) 0a 19 8e 80 80 69 73 20 67 65 6e 65 72 61 74 65 64 20 61 6e 64 20 74 68 65 20 69 6e 74 65 72 6e ┆ is generated and the intern┆ 0x3d820…3d840 61 6c 20 73 74 6f 70 20 70 72 6f 63 65 64 75 72 65 20 69 73 20 69 6e 69 74 69 61 74 65 64 2e 0d ┆al stop procedure is initiated. ┆ 0x3d840…3d860 0a 0d 0a b0 09 41 32 34 f0 3a 20 28 2a 20 44 43 45 20 6c 6f 63 61 6c 20 70 72 6f 63 65 64 75 72 ┆ A24 : (* DCE local procedur┆ 0x3d860…3d880 65 20 65 72 72 6f 72 20 2a 29 0d 0a 09 20 20 20 20 20 84 41 20 43 4c 45 41 52 20 52 45 51 55 45 ┆e error *) A CLEAR REQUE┆ 0x3d880…3d8a0 53 54 20 70 61 63 6b 65 74 20 69 73 20 74 72 61 6e 73 6d 69 74 74 65 64 20 74 6f 20 74 68 65 20 ┆ST packet is transmitted to the ┆ 0x3d8a0…3d8c0 44 43 45 2e 20 54 68 65 20 75 73 65 72 20 69 73 20 0a 19 8e 80 80 69 6e 66 6f 72 6d 65 64 20 74 ┆DCE. The user is informed t┆ 0x3d8c0…3d8e0 68 72 6f 75 67 68 20 74 68 65 20 64 74 65 5f 61 63 63 65 73 73 20 70 72 6f 63 65 73 73 2e 20 41 ┆hrough the dte_access process. A┆ 0x3d8e0…3d900 6c 6c 20 75 73 65 72 20 62 75 66 66 65 72 73 20 61 72 65 20 0a 19 8e 80 80 72 65 74 75 72 6e 65 ┆ll user buffers are returne┆ 0x3d900…3d920 64 20 77 69 74 68 20 72 65 73 75 6c 74 20 27 6e 6f 74 5f 70 72 6f 63 65 73 73 65 64 27 2e 20 41 ┆d with result 'not_processed'. A┆ 0x3d920…3d940 6e 20 4e 43 20 65 76 65 6e 74 20 69 73 20 67 65 6e 65 80 0a 19 8e 80 80 72 61 74 65 64 2e 0d 0a ┆n NC event is gene rated. ┆ 0x3d940…3d960 0d 0a b0 09 41 32 35 f0 3a 20 28 2a 20 41 20 63 6c 65 61 72 20 72 65 71 75 65 73 74 20 6d 65 73 ┆ A25 : (* A clear request mes┆ 0x3d960…3d980 73 61 67 65 20 69 73 20 72 65 63 65 69 76 65 64 20 66 72 6f 6d 20 74 68 65 20 75 73 65 72 20 2a ┆sage is received from the user *┆ 0x3d980…3d9a0 29 0d 0a 09 20 20 20 20 20 84 41 20 43 4c 45 41 52 20 52 45 51 55 45 53 54 20 70 61 63 6b 65 74 ┆) A CLEAR REQUEST packet┆ 0x3d9a0…3d9c0 20 69 73 20 74 72 61 6e 73 6d 69 74 74 65 64 20 74 6f 20 74 68 65 20 44 43 45 2e 20 41 6c 6c 20 ┆ is transmitted to the DCE. All ┆ 0x3d9c0…3d9e0 75 73 65 72 20 0a 19 8e 80 80 62 75 66 66 65 72 73 20 61 72 65 20 72 65 74 75 72 6e 65 64 2c 20 ┆user buffers are returned, ┆ 0x3d9e0…3da00 61 6e 64 20 61 6e 20 4e 43 20 65 76 65 6e 74 20 69 73 20 67 65 6e 65 72 61 74 65 64 2e 0d 0a 0d ┆and an NC event is generated. ┆ 0x3da00…3da20 (493,) 0a b0 09 41 32 36 f0 3a 20 84 28 2a 20 54 69 6d 65 6f 75 74 20 74 32 33 3a 20 74 68 65 20 44 43 ┆ A26 : (* Timeout t23: the DC┆ 0x3da20…3da40 45 20 68 61 73 20 6e 6f 74 20 61 6e 73 77 65 72 65 64 20 61 20 63 6c 65 61 72 20 72 65 71 75 65 ┆E has not answered a clear reque┆ 0x3da40…3da60 73 74 20 0a 19 8e 81 80 70 61 63 6b 65 74 20 2a 29 0d 0a 09 20 20 20 20 20 84 41 20 43 4c 45 41 ┆st packet *) A CLEA┆ 0x3da60…3da80 52 20 52 45 51 55 45 53 54 20 70 61 63 6b 65 74 20 69 73 20 74 72 61 6e 73 6d 69 74 74 65 64 20 ┆R REQUEST packet is transmitted ┆ 0x3da80…3daa0 74 6f 20 74 68 65 20 44 43 45 2e 20 49 66 20 73 74 61 74 65 20 69 73 20 0a 19 8e 80 80 78 64 74 ┆to the DCE. If state is xdt┆ 0x3daa0…3dac0 65 63 6c 65 61 72 20 61 6c 6c 20 72 65 6d 61 69 6e 69 6e 67 20 75 73 65 72 20 62 75 66 66 65 72 ┆eclear all remaining user buffer┆ 0x3dac0…3dae0 73 20 61 72 65 20 72 65 74 75 72 6e 65 64 2c 20 61 6e 64 20 74 68 65 20 0a 19 8e 80 80 63 6c 65 ┆s are returned, and the cle┆ 0x3dae0…3db00 61 72 69 6e 67 20 70 68 61 73 65 20 6f 66 20 74 68 65 20 73 74 72 65 61 6d 20 28 69 6e 74 65 72 ┆aring phase of the stream (inter┆ 0x3db00…3db20 66 61 63 65 20 74 6f 20 75 73 65 72 29 20 69 73 20 66 69 6e 69 73 68 65 64 20 0a 19 8e 80 80 62 ┆face to user) is finished b┆ 0x3db20…3db40 79 20 69 6e 66 6f 72 6d 69 6e 67 20 74 68 65 20 64 74 65 5f 61 63 63 65 73 73 20 70 72 6f 63 65 ┆y informing the dte_access proce┆ 0x3db40…3db60 73 73 2e 0d 0a 0d 0a b0 09 41 32 37 f0 3a 20 84 28 2a 20 41 20 63 6c 65 61 72 20 69 6e 64 69 63 ┆ss. A27 : (* A clear indic┆ 0x3db60…3db80 61 74 69 6f 6e 20 6f 72 20 63 6f 6e 66 69 72 6d 61 74 69 6f 6e 20 70 61 63 6b 65 74 20 69 73 20 ┆ation or confirmation packet is ┆ 0x3db80…3dba0 72 65 63 65 69 76 65 64 20 69 6e 20 0a 19 8e 81 80 73 74 61 74 65 20 78 72 65 74 5f 63 6c 65 61 ┆received in state xret_clea┆ 0x3dba0…3dbc0 72 20 2a 29 0d 0a 09 20 20 20 20 20 84 41 6e 20 4e 43 20 65 76 65 6e 74 20 69 73 20 67 65 6e 65 ┆r *) An NC event is gene┆ 0x3dbc0…3dbe0 72 61 74 65 64 20 61 6e 64 20 74 68 65 20 69 6e 74 65 72 6e 61 6c 20 73 74 6f 70 20 70 72 6f 63 ┆rated and the internal stop proc┆ 0x3dbe0…3dc00 65 64 75 72 65 20 69 73 20 0a 19 8e 80 80 69 6e 69 74 69 61 74 65 64 2e 0d 0a 0d 0a b0 09 41 32 ┆edure is initiated. A2┆ 0x3dc00…3dc20 (494,) 39 f0 3a 20 84 28 2a 20 41 20 63 6c 65 61 72 20 69 6e 64 69 63 61 74 69 6f 6e 20 6f 72 20 63 6f ┆9 : (* A clear indication or co┆ 0x3dc20…3dc40 6e 66 69 72 6d 61 74 69 6f 6e 20 70 61 63 6b 65 74 20 69 73 20 72 65 63 65 69 76 65 64 20 61 73 ┆nfirmation packet is received as┆ 0x3dc40…3dc60 20 0a 19 8e 81 80 61 6e 20 61 6e 73 77 65 72 20 6f 6e 20 61 20 63 6c 65 61 72 20 72 65 71 75 65 ┆ an answer on a clear reque┆ 0x3dc60…3dc80 73 74 20 70 61 63 6b 65 74 20 2a 29 0d 0a 09 20 20 20 20 20 84 41 6c 6c 20 70 65 6e 64 69 6e 67 ┆st packet *) All pending┆ 0x3dc80…3dca0 20 75 73 65 72 20 62 75 66 66 65 72 73 20 61 72 65 20 72 65 74 75 72 6e 65 64 20 61 6e 64 20 74 ┆ user buffers are returned and t┆ 0x3dca0…3dcc0 68 65 20 63 6c 65 61 72 69 6e 67 20 70 68 61 73 65 20 0a 19 8e 80 80 6f 66 20 74 68 65 20 73 74 ┆he clearing phase of the st┆ 0x3dcc0…3dce0 72 65 61 6d 20 28 69 6e 74 65 72 66 61 63 65 20 74 6f 20 75 73 65 72 29 20 69 73 20 66 69 6e 69 ┆ream (interface to user) is fini┆ 0x3dce0…3dd00 73 68 65 64 20 62 79 20 69 6e 66 6f 72 6d 69 6e 67 20 0a 19 8e 80 80 74 68 65 20 64 74 65 5f 61 ┆shed by informing the dte_a┆ 0x3dd00…3dd20 63 63 65 73 73 20 70 72 6f 63 65 73 73 2e 20 54 68 65 20 69 6e 74 65 72 6e 61 6c 20 73 74 6f 70 ┆ccess process. The internal stop┆ 0x3dd20…3dd40 20 70 72 6f 63 65 64 75 72 65 20 69 73 20 0a 19 8e 80 80 69 6e 69 74 69 61 74 65 64 2e 0d 0a 0d ┆ procedure is initiated. ┆ 0x3dd40…3dd41 0a ┆ ┆ 0x3dd41…3dd44 FormFeed { 0x3dd41…3dd44 0c 80 a7 ┆ ┆ 0x3dd41…3dd44 } 0x3dd44…3dd60 0a 09 b0 41 33 30 f0 3a 20 28 2a 20 41 20 64 61 74 61 20 70 61 63 6b 65 74 20 69 73 ┆ A30 : (* A data packet is┆ 0x3dd60…3dd80 20 72 65 63 65 69 76 65 64 20 2a 29 0d 0a 09 20 20 20 20 20 84 54 68 65 20 73 65 71 75 65 6e 63 ┆ received *) The sequenc┆ 0x3dd80…3dda0 65 20 63 6f 75 6e 74 65 72 73 20 28 50 28 52 29 2c 20 50 28 53 29 29 20 61 72 65 20 63 68 65 63 ┆e counters (P(R), P(S)) are chec┆ 0x3dda0…3ddc0 6b 65 64 2e 20 49 66 20 6e 6f 74 20 6f 6b 20 61 6e 20 0a 19 8e 80 80 72 65 73 65 74 20 70 68 61 ┆ked. If not ok an reset pha┆ 0x3ddc0…3dde0 73 65 20 69 73 20 69 6e 69 74 69 61 74 65 64 20 62 79 20 73 65 6e 64 69 6e 67 20 61 20 52 45 53 ┆se is initiated by sending a RES┆ 0x3dde0…3de00 45 54 20 52 45 51 55 45 53 54 20 70 61 63 6b 65 74 20 74 6f 20 0a 19 8e 80 80 74 68 65 20 44 43 ┆ET REQUEST packet to the DC┆ 0x3de00…3de20 (495,) 45 2e 0d 0a 0d 0a 09 20 20 20 20 20 84 49 66 20 6f 6b 2c 20 74 68 65 20 64 61 74 61 20 69 73 20 ┆E. If ok, the data is ┆ 0x3de20…3de40 6d 6f 76 65 64 20 74 6f 20 61 20 75 73 65 72 20 62 75 66 66 65 72 20 28 65 69 74 68 65 72 20 67 ┆moved to a user buffer (either g┆ 0x3de40…3de60 65 6e 65 72 61 6c 20 6f 72 20 0a 19 8e 80 80 64 65 64 69 63 61 74 65 64 20 69 6e 70 75 74 20 64 ┆eneral or dedicated input d┆ 0x3de60…3de80 65 70 65 6e 64 69 6e 67 20 6f 6e 20 63 68 61 6e 5f 72 65 63 2e 72 63 76 5f 62 75 66 5f 74 79 70 ┆epending on chan_rec.rcv_buf_typ┆ 0x3de80…3dea0 65 2c 20 72 65 63 65 69 76 65 20 0a 19 8e 80 80 62 75 66 66 65 72 20 74 79 70 65 29 2e 20 49 66 ┆e, receive buffer type). If┆ 0x3dea0…3dec0 20 74 68 65 20 50 28 52 29 20 61 63 6b 6e 6f 77 6c 65 64 67 65 64 20 61 6e 79 20 73 65 6e 64 5f ┆ the P(R) acknowledged any send_┆ 0x3dec0…3dee0 64 61 74 61 20 6d 65 73 73 61 67 65 20 0a 19 8e 80 80 74 68 65 73 65 20 61 72 65 20 72 65 74 75 ┆data message these are retu┆ 0x3dee0…3df00 72 6e 65 64 20 69 66 20 70 6f 73 73 69 62 6c 65 2e 20 49 66 20 74 68 65 20 77 69 6e 64 6f 77 20 ┆rned if possible. If the window ┆ 0x3df00…3df20 68 61 73 20 62 65 65 6e 20 6d 6f 76 65 64 2c 20 0a 19 8e 80 80 64 61 74 61 20 63 61 6e 20 62 65 ┆has been moved, data can be┆ 0x3df20…3df40 20 73 65 6e 74 20 69 66 20 61 6e 79 2e 20 41 6e 20 52 52 20 70 61 63 6b 65 74 20 69 73 20 74 72 ┆ sent if any. An RR packet is tr┆ 0x3df40…3df60 61 6e 73 6d 69 74 74 65 64 20 74 6f 20 74 68 65 20 0a 19 8e 80 80 44 43 45 20 69 66 20 6e 65 63 ┆ansmitted to the DCE if nec┆ 0x3df60…3df80 65 73 73 61 72 79 2e 20 54 68 65 20 74 69 6d 65 72 20 74 33 30 20 69 73 20 75 70 64 61 74 65 64 ┆essary. The timer t30 is updated┆ 0x3df80…3dfa0 2e 0d 0a 0d 0a b0 09 41 33 31 f0 3a 20 28 2a 20 41 6e 20 69 6e 74 65 72 72 75 70 74 20 70 61 63 ┆. A31 : (* An interrupt pac┆ 0x3dfa0…3dfc0 6b 65 74 20 69 73 20 72 65 63 65 69 76 65 64 20 2a 29 0d 0a 09 20 20 20 20 20 84 54 68 65 20 69 ┆ket is received *) The i┆ 0x3dfc0…3dfe0 6e 74 65 72 72 75 70 74 20 64 61 74 61 20 69 73 20 6d 6f 76 65 64 20 74 6f 20 61 20 75 73 65 72 ┆nterrupt data is moved to a user┆ 0x3dfe0…3e000 20 67 65 6e 65 72 61 6c 20 69 6e 70 75 74 20 62 75 66 66 65 72 2c 20 0a 19 8e 80 80 77 68 69 63 ┆ general input buffer, whic┆ 0x3e000…3e020 (496,) 68 20 69 73 20 72 65 74 75 72 6e 65 64 20 74 6f 20 74 68 65 20 75 73 65 72 2c 20 61 6e 64 20 61 ┆h is returned to the user, and a┆ 0x3e020…3e040 6e 20 49 4e 54 45 52 52 55 50 54 20 43 4f 4e 46 49 52 4d 41 54 49 4f 4e 20 0a 19 8e 80 80 70 61 ┆n INTERRUPT CONFIRMATION pa┆ 0x3e040…3e060 63 6b 65 74 20 69 73 20 74 72 61 6e 73 6d 69 74 74 65 64 20 74 6f 20 74 68 65 20 44 43 45 2e 0d ┆cket is transmitted to the DCE. ┆ 0x3e060…3e080 0a 0d 0a b0 09 41 33 32 f0 3a 20 84 28 2a 20 41 20 64 61 74 61 20 70 61 63 6b 65 74 20 69 73 20 ┆ A32 : (* A data packet is ┆ 0x3e080…3e0a0 72 65 63 65 69 76 65 64 20 69 6e 20 61 20 73 74 61 74 65 2c 20 77 68 65 72 65 20 74 68 65 20 44 ┆received in a state, where the D┆ 0x3e0a0…3e0c0 54 45 20 69 73 20 6e 6f 74 20 0a 19 8e 81 80 72 65 61 64 79 20 2a 29 0d 0a 09 20 20 20 20 20 84 ┆TE is not ready *) ┆ 0x3e0c0…3e0e0 54 68 65 20 73 65 71 75 65 6e 63 65 20 63 6f 75 6e 74 65 72 73 20 28 50 28 52 29 2c 20 50 28 53 ┆The sequence counters (P(R), P(S┆ 0x3e0e0…3e100 29 29 20 61 72 65 20 63 68 65 63 6b 65 64 2e 20 49 66 20 6e 6f 74 20 6f 6b 20 61 6e 20 0a 19 8e ┆)) are checked. If not ok an ┆ 0x3e100…3e120 80 80 72 65 73 65 74 20 70 68 61 73 65 20 69 73 20 69 6e 69 74 69 61 74 65 64 20 62 79 20 73 65 ┆ reset phase is initiated by se┆ 0x3e120…3e140 6e 64 69 6e 67 20 61 20 52 45 53 45 54 20 52 45 51 55 45 53 54 20 70 61 63 6b 65 74 20 74 6f 20 ┆nding a RESET REQUEST packet to ┆ 0x3e140…3e160 0a 19 8e 80 80 74 68 65 20 44 43 45 2e 0d 0a 0d 0a 09 20 20 20 20 20 84 49 66 20 6f 6b 2c 20 71 ┆ the DCE. If ok, q┆ 0x3e160…3e180 75 65 75 65 20 74 68 65 20 70 61 63 6b 65 74 20 69 66 20 74 68 65 20 62 69 74 20 64 61 74 61 5f ┆ueue the packet if the bit data_┆ 0x3e180…3e1a0 6c 6f 73 74 20 69 6e 20 73 74 61 74 75 73 5f 77 6f 72 64 20 0a 19 8e 80 80 69 73 20 6e 6f 74 20 ┆lost in status_word is not ┆ 0x3e1a0…3e1c0 61 6c 72 65 61 64 79 20 73 65 74 2e 20 49 66 20 69 74 20 69 73 2c 20 64 69 73 63 61 72 64 20 74 ┆already set. If it is, discard t┆ 0x3e1c0…3e1e0 68 65 20 70 61 63 6b 65 74 2e 0d 0a 0d 0a 09 20 20 20 20 20 84 49 66 20 74 68 65 20 50 28 52 29 ┆he packet. If the P(R)┆ 0x3e1e0…3e200 20 61 63 6b 6e 6f 77 6c 65 64 67 65 64 20 61 6e 79 20 73 65 6e 64 5f 64 61 74 61 20 6d 65 73 73 ┆ acknowledged any send_data mess┆ 0x3e200…3e220 (497,) 61 67 65 20 74 68 65 73 65 20 61 72 65 20 0a 19 8e 80 80 72 65 74 75 72 6e 65 64 20 69 66 20 70 ┆age these are returned if p┆ 0x3e220…3e240 6f 73 73 69 62 6c 65 2e 0d 0a 0d 0a b0 09 41 33 33 f0 3a 20 28 2a 20 41 6e 20 72 72 20 6f 72 20 ┆ossible. A33 : (* An rr or ┆ 0x3e240…3e260 72 6e 72 20 69 73 20 72 65 63 65 69 76 65 64 20 2a 29 0d 0a 09 20 20 20 20 20 84 54 68 65 20 73 ┆rnr is received *) The s┆ 0x3e260…3e280 65 71 75 65 6e 63 65 20 63 6f 75 6e 74 65 72 20 50 28 52 29 20 69 73 20 63 68 65 63 6b 65 64 2e ┆equence counter P(R) is checked.┆ 0x3e280…3e2a0 20 49 66 20 6e 6f 74 20 6f 6b 20 61 6e 20 72 65 73 65 74 20 0a 19 8e 80 80 70 68 61 73 65 20 69 ┆ If not ok an reset phase i┆ 0x3e2a0…3e2c0 73 20 69 6e 69 74 69 61 74 65 64 20 62 79 20 73 65 6e 64 69 6e 67 20 61 20 52 45 53 45 54 20 52 ┆s initiated by sending a RESET R┆ 0x3e2c0…3e2e0 45 51 55 45 53 54 20 70 61 63 6b 65 74 20 74 6f 20 74 68 65 20 0a 19 8e 80 80 44 43 45 2e 20 49 ┆EQUEST packet to the DCE. I┆ 0x3e2e0…3e300 66 20 74 68 65 20 77 69 6e 64 6f 77 20 68 61 73 20 62 65 65 6e 20 6d 6f 76 65 64 2c 20 64 61 74 ┆f the window has been moved, dat┆ 0x3e300…3e320 61 20 63 61 6e 20 62 65 20 73 65 6e 74 20 69 66 20 61 6e 79 2e 20 0a 19 8e 80 80 49 66 20 74 68 ┆a can be sent if any. If th┆ 0x3e320…3e340 65 20 50 28 52 29 20 61 63 6b 6e 6f 77 6c 65 64 67 65 64 20 61 6e 79 20 73 65 6e 64 5f 64 61 74 ┆e P(R) acknowledged any send_dat┆ 0x3e340…3e360 61 20 6d 65 73 73 61 67 65 73 20 74 68 65 73 65 20 61 72 65 20 0a 19 8e 80 80 72 65 74 75 72 6e ┆a messages these are return┆ 0x3e360…3e380 65 64 20 69 66 20 70 6f 73 73 69 62 6c 65 2e 0d 0a 0d 0a b0 09 41 33 34 f0 3a 20 28 2a 20 49 6e ┆ed if possible. A34 : (* In┆ 0x3e380…3e3a0 74 65 72 6e 61 6c 20 65 76 65 6e 74 3a 20 77 69 6e 64 6f 77 20 6f 70 65 6e 20 2a 29 0d 0a 09 20 ┆ternal event: window open *) ┆ 0x3e3a0…3e3c0 20 20 20 20 84 45 6e 6f 75 67 68 20 64 65 64 69 63 61 74 65 64 20 69 6e 70 75 74 20 62 75 66 66 ┆ Enough dedicated input buff┆ 0x3e3c0…3e3e0 65 72 73 20 68 61 73 20 62 65 65 6e 20 73 75 70 70 6c 69 65 64 20 62 79 20 74 68 65 20 75 73 65 ┆ers has been supplied by the use┆ 0x3e3e0…3e3e3 72 20 0a ┆r ┆ 0x3e3e3…3e3e6 FormFeed { 0x3e3e3…3e3e6 0c 80 a6 ┆ ┆ 0x3e3e3…3e3e6 } 0x3e3e6…3e400 0a 19 8e 80 80 74 6f 20 73 65 74 20 74 68 65 20 56 69 72 74 75 61 6c 20 43 61 ┆ to set the Virtual Ca┆ 0x3e400…3e420 (498,) 6c 6c 20 69 6e 20 64 74 65 20 72 65 61 64 79 2c 20 62 79 20 74 72 61 6e 73 6d 69 74 74 69 6e 67 ┆ll in dte ready, by transmitting┆ 0x3e420…3e440 20 61 6e 20 52 52 20 0a 19 8e 80 80 70 61 63 6b 65 74 20 74 6f 20 74 68 65 20 44 43 45 2e 20 49 ┆ an RR packet to the DCE. I┆ 0x3e440…3e460 66 20 61 6e 79 20 58 2e 32 35 20 44 41 54 41 20 70 61 63 6b 65 74 73 20 61 72 65 20 71 75 65 75 ┆f any X.25 DATA packets are queu┆ 0x3e460…3e480 65 64 2c 20 0a 19 8e 80 80 27 72 65 63 65 69 76 65 27 20 74 68 65 73 65 20 61 6e 64 20 72 65 74 ┆ed, 'receive' these and ret┆ 0x3e480…3e4a0 75 72 6e 20 74 68 65 20 64 61 74 61 20 74 6f 20 74 68 65 20 75 73 65 72 20 69 6e 20 61 20 0a 19 ┆urn the data to the user in a ┆ 0x3e4a0…3e4c0 8e 80 80 64 65 64 69 63 61 74 65 64 20 69 6e 70 75 74 20 62 75 66 66 65 72 2e 0d 0a 0d 0a b0 09 ┆ dedicated input buffer. ┆ 0x3e4c0…3e4e0 41 33 35 f0 3a 20 28 2a 20 41 20 73 65 6e 64 5f 64 61 74 61 20 6d 65 73 73 61 67 65 20 69 73 20 ┆A35 : (* A send_data message is ┆ 0x3e4e0…3e500 72 65 63 65 69 76 65 64 20 2a 29 0d 0a 09 20 20 20 20 20 84 54 68 65 20 73 69 7a 65 20 6f 66 20 ┆received *) The size of ┆ 0x3e500…3e520 74 68 65 20 6d 65 73 73 61 67 65 20 69 73 20 63 68 65 63 6b 65 64 2c 20 73 6f 20 61 6e 20 58 2e ┆the message is checked, so an X.┆ 0x3e520…3e540 32 35 20 68 65 61 64 65 72 20 63 61 6e 20 62 65 20 0a 19 8e 80 80 69 6e 20 66 72 6f 6e 74 20 6f ┆25 header can be in front o┆ 0x3e540…3e560 66 20 74 68 65 20 75 73 65 72 20 64 61 74 61 2e 20 49 66 20 6f 6b 20 61 6e 20 58 2e 32 35 20 44 ┆f the user data. If ok an X.25 D┆ 0x3e560…3e580 41 54 41 20 70 61 63 6b 65 74 20 69 73 20 0a 19 8e 80 80 74 72 61 6e 73 6d 69 74 74 65 64 20 74 ┆ATA packet is transmitted t┆ 0x3e580…3e5a0 6f 20 74 68 65 20 44 43 45 20 69 66 20 69 6e 74 65 72 6e 61 6c 20 72 65 73 6f 75 72 63 65 73 20 ┆o the DCE if internal resources ┆ 0x3e5a0…3e5c0 61 76 61 69 6c 61 62 6c 65 20 61 6e 64 20 0a 19 8e 80 80 77 69 6e 64 6f 77 20 6f 70 65 6e 2e 20 ┆available and window open. ┆ 0x3e5c0…3e5e0 49 66 20 6e 6f 74 20 70 6f 73 73 69 62 6c 65 20 74 6f 20 73 65 6e 74 20 44 41 54 41 20 70 61 63 ┆If not possible to sent DATA pac┆ 0x3e5e0…3e600 6b 65 74 20 69 74 20 69 73 20 71 75 65 75 65 20 0a 19 8e 80 80 61 74 20 61 20 73 65 6d 61 70 68 ┆ket it is queue at a semaph┆ 0x3e600…3e620 (499,) 6f 72 65 2e 0d 0a 0d 0a b0 09 41 33 36 f0 3a 20 28 2a 20 41 20 73 65 6e 64 5f 69 6e 74 65 72 72 ┆ore. A36 : (* A send_interr┆ 0x3e620…3e640 75 70 74 20 6d 65 73 73 61 67 65 20 69 73 20 72 65 63 65 69 76 65 64 20 2a 29 0d 0a 09 20 20 20 ┆upt message is received *) ┆ 0x3e640…3e660 20 20 84 54 68 65 20 73 69 7a 65 20 6f 66 20 74 68 65 20 6d 65 73 73 61 67 65 20 69 73 20 63 68 ┆ The size of the message is ch┆ 0x3e660…3e680 65 63 6b 65 64 2c 20 73 6f 20 61 6e 20 58 2e 32 35 20 68 65 61 64 65 72 20 63 61 6e 20 62 65 20 ┆ecked, so an X.25 header can be ┆ 0x3e680…3e6a0 0a 19 8e 80 80 69 6e 20 66 72 6f 6e 74 20 6f 66 20 74 68 65 20 75 73 65 72 20 64 61 74 61 2e 20 ┆ in front of the user data. ┆ 0x3e6a0…3e6c0 49 66 20 6f 6b 20 61 6e 20 58 2e 32 35 20 49 4e 54 45 52 52 55 50 54 20 70 61 63 6b 65 74 20 69 ┆If ok an X.25 INTERRUPT packet i┆ 0x3e6c0…3e6e0 73 20 0a 19 8e 80 80 74 72 61 6e 73 6d 69 74 74 65 64 20 74 6f 20 74 68 65 20 44 43 45 2e 0d 0a ┆s transmitted to the DCE. ┆ 0x3e6e0…3e700 0d 0a b0 09 41 33 37 f0 3a 20 28 2a 20 54 69 6d 65 6f 75 74 20 74 33 30 3a 20 69 64 6c 65 20 74 ┆ A37 : (* Timeout t30: idle t┆ 0x3e700…3e720 69 6d 65 72 20 2a 29 0d 0a 09 20 20 20 20 20 84 41 6e 20 52 52 20 70 61 63 6b 65 74 20 69 73 20 ┆imer *) An RR packet is ┆ 0x3e720…3e740 74 72 61 6e 73 6d 69 74 74 65 64 20 74 6f 20 74 68 65 20 44 43 45 2e 0d 0a 0d 0a b0 09 41 33 38 ┆transmitted to the DCE. A38┆ 0x3e740…3e760 f0 3a 20 28 2a 20 41 6e 20 69 6e 74 65 72 72 75 70 74 20 63 6f 6e 66 69 72 6d 61 74 69 6f 6e 20 ┆ : (* An interrupt confirmation ┆ 0x3e760…3e780 70 61 63 6b 65 74 20 69 73 20 72 65 63 65 69 76 65 64 20 2a 29 0d 0a 09 20 20 20 20 20 84 54 68 ┆packet is received *) Th┆ 0x3e780…3e7a0 65 20 6e 6f 77 20 61 63 6b 6e 6f 77 6c 65 64 67 65 64 20 69 6e 74 65 72 72 75 70 74 20 69 73 20 ┆e now acknowledged interrupt is ┆ 0x3e7a0…3e7c0 72 65 74 75 72 6e 65 64 20 74 6f 20 74 68 65 20 75 73 65 72 2e 20 49 66 20 0a 19 8e 80 80 61 6e ┆returned to the user. If an┆ 0x3e7c0…3e7e0 79 20 64 74 65 5f 73 65 6e 64 5f 69 6e 74 65 72 72 75 70 74 20 69 73 20 70 65 6e 64 69 6e 67 20 ┆y dte_send_interrupt is pending ┆ 0x3e7e0…3e800 74 68 65 20 66 69 72 73 74 20 69 73 20 74 72 61 6e 73 6d 69 74 74 65 64 20 74 6f 20 0a 19 8e 80 ┆the first is transmitted to ┆ 0x3e800…3e820 (500,) 80 74 68 65 20 44 43 45 20 61 73 20 61 6e 20 58 2e 32 35 20 49 4e 54 45 52 52 55 50 54 20 70 61 ┆ the DCE as an X.25 INTERRUPT pa┆ 0x3e820…3e840 63 6b 65 74 2e 0d 0a 0d 0a b0 09 41 34 30 f0 3a 20 28 2a 20 41 6e 20 72 65 73 65 74 20 72 65 71 ┆cket. A40 : (* An reset req┆ 0x3e840…3e860 75 65 73 74 20 6d 65 73 73 61 67 65 20 69 73 20 72 65 63 65 69 76 65 64 20 2a 29 0d 0a 09 20 20 ┆uest message is received *) ┆ 0x3e860…3e880 20 20 20 84 41 6e 20 72 65 73 65 74 20 70 68 61 73 65 20 69 73 20 69 6e 69 74 69 61 74 65 64 20 ┆ An reset phase is initiated ┆ 0x3e880…3e8a0 62 79 20 74 72 61 6e 73 6d 69 74 74 69 6e 67 20 61 6e 20 52 45 53 45 54 20 52 45 51 55 45 53 54 ┆by transmitting an RESET REQUEST┆ 0x3e8a0…3e8c0 20 0a 19 8e 80 80 70 61 63 6b 65 74 20 74 6f 20 74 68 65 20 44 43 45 2e 20 41 6c 6c 20 75 73 65 ┆ packet to the DCE. All use┆ 0x3e8c0…3e8e0 72 20 62 75 66 66 65 72 73 20 61 72 65 20 72 65 74 75 72 6e 65 64 2e 0d 0a 0d 0a b0 09 41 34 31 ┆r buffers are returned. A41┆ 0x3e8e0…3e900 f0 3a 20 84 28 2a 20 41 6e 20 72 65 73 65 74 20 69 6e 64 69 63 61 74 69 6f 6e 20 70 61 63 6b 65 ┆ : (* An reset indication packe┆ 0x3e900…3e920 74 20 69 73 20 72 65 63 65 69 76 65 64 20 69 6e 20 73 74 61 74 65 20 77 73 79 6e 63 2c 20 0a 19 ┆t is received in state wsync, ┆ 0x3e920…3e940 8e 81 80 6e 64 63 65 5f 77 73 79 6e 63 20 2a 29 0d 0a 09 20 20 20 20 20 84 41 6e 20 52 45 53 45 ┆ ndce_wsync *) An RESE┆ 0x3e940…3e960 54 20 43 4f 4e 46 49 52 4d 41 54 49 4f 4e 20 70 61 63 6b 65 74 20 69 73 20 74 72 61 6e 73 6d 69 ┆T CONFIRMATION packet is transmi┆ 0x3e960…3e980 74 74 65 64 20 74 6f 20 74 68 65 20 44 43 45 2e 20 41 6c 6c 20 0a 19 8e 80 80 75 73 65 72 20 62 ┆tted to the DCE. All user b┆ 0x3e980…3e9a0 75 66 66 65 72 73 20 61 72 65 20 72 65 74 75 72 6e 65 64 2e 0d 0a 0d 0a b0 09 41 34 32 f0 3a 20 ┆uffers are returned. A42 : ┆ 0x3e9a0…3e9c0 28 2a 20 54 69 6d 65 6f 75 74 20 74 31 32 6d 3a 20 44 43 45 20 72 65 73 65 74 20 74 69 6d 65 6f ┆(* Timeout t12m: DCE reset timeo┆ 0x3e9c0…3e9e0 75 74 20 2a 29 0d 0a 09 20 20 20 20 20 84 41 6e 20 52 45 53 45 54 20 43 4f 4e 46 49 52 4d 41 54 ┆ut *) An RESET CONFIRMAT┆ 0x3e9e0…3ea00 49 4f 4e 20 70 61 63 6b 65 74 20 69 73 20 74 72 61 6e 73 6d 69 74 74 65 64 20 74 6f 20 74 68 65 ┆ION packet is transmitted to the┆ 0x3ea00…3ea20 (501,) 20 44 43 45 2e 20 49 66 20 0a 19 8e 80 80 64 65 64 69 63 61 74 65 64 20 69 6e 70 75 74 20 69 73 ┆ DCE. If dedicated input is┆ 0x3ea20…3ea40 20 75 73 65 64 2c 20 74 68 65 20 73 74 61 74 65 20 6d 61 63 68 69 6e 65 20 69 73 20 70 72 65 70 ┆ used, the state machine is prep┆ 0x3ea40…3ea60 61 72 65 64 20 66 6f 72 20 0a 19 8e 80 80 73 65 6e 64 69 6e 67 20 61 6e 20 52 4e 52 20 70 61 63 ┆ared for sending an RNR pac┆ 0x3ea60…3ea68 6b 65 74 2e 0d 0a 0d 0a ┆ket. ┆ 0x3ea68…3ea6b FormFeed { 0x3ea68…3ea6b 0c 80 a7 ┆ ┆ 0x3ea68…3ea6b } 0x3ea6b…3ea80 0a b0 09 41 34 33 f0 3a 20 28 2a 20 41 20 73 79 6e 63 20 6d 65 ┆ A43 : (* A sync me┆ 0x3ea80…3eaa0 73 73 61 67 65 20 69 73 20 72 65 63 65 69 76 65 64 20 2a 29 0d 0a 09 20 20 20 20 20 84 54 68 65 ┆ssage is received *) The┆ 0x3eaa0…3eac0 20 6d 65 73 73 61 67 65 20 69 73 20 71 75 65 75 65 64 20 75 6e 74 69 6c 20 61 6e 20 52 45 53 45 ┆ message is queued until an RESE┆ 0x3eac0…3eae0 54 20 43 4f 4e 46 49 52 4d 41 54 49 4f 4e 20 70 61 63 6b 65 74 20 69 73 20 0a 19 8e 80 80 72 65 ┆T CONFIRMATION packet is re┆ 0x3eae0…3eb00 63 65 69 76 65 64 2e 0d 0a 0d 0a 09 b0 41 34 34 f0 3a 20 28 2a 20 41 20 73 79 6e 63 20 6d 65 73 ┆ceived. A44 : (* A sync mes┆ 0x3eb00…3eb20 73 61 67 65 20 69 73 20 72 65 63 65 69 76 65 64 20 2a 29 0d 0a 09 20 20 20 20 20 84 54 68 65 20 ┆sage is received *) The ┆ 0x3eb20…3eb40 72 65 73 65 74 20 70 68 61 73 65 20 69 73 20 65 6e 64 65 64 20 62 79 20 73 65 6e 64 69 6e 67 20 ┆reset phase is ended by sending ┆ 0x3eb40…3eb60 61 20 52 45 53 45 54 20 43 4f 4e 46 49 52 4d 41 54 49 4f 4e 20 0a 19 8e 80 80 70 61 63 6b 65 74 ┆a RESET CONFIRMATION packet┆ 0x3eb60…3eb80 20 74 6f 20 74 68 65 20 44 43 45 20 61 6e 64 20 72 65 74 75 72 6e 69 6e 67 20 74 68 65 20 64 74 ┆ to the DCE and returning the dt┆ 0x3eb80…3eba0 65 5f 73 79 6e 63 5f 73 74 72 65 61 6d 20 6d 65 73 73 61 67 65 20 0a 19 8e 80 80 74 6f 20 74 68 ┆e_sync_stream message to th┆ 0x3eba0…3ebc0 65 20 75 73 65 72 2e 20 49 66 20 64 65 64 69 63 61 74 65 64 20 69 6e 70 75 74 20 69 73 20 75 73 ┆e user. If dedicated input is us┆ 0x3ebc0…3ebe0 65 64 2c 20 74 68 65 20 73 74 61 74 65 20 6d 61 63 68 69 6e 65 20 69 73 20 0a 19 8e 80 80 70 72 ┆ed, the state machine is pr┆ 0x3ebe0…3ec00 65 70 61 72 65 64 20 66 6f 72 20 73 65 6e 64 69 6e 67 20 61 6e 20 52 4e 52 20 70 61 63 6b 65 74 ┆epared for sending an RNR packet┆ 0x3ec00…3ec20 (502,) 2e 0d 0a 0d 0a b0 09 41 34 35 f0 3a 20 28 2a 20 41 6e 20 72 65 73 65 74 20 69 6e 64 69 63 61 74 ┆. A45 : (* An reset indicat┆ 0x3ec20…3ec40 69 6f 6e 20 70 61 63 6b 65 74 20 69 73 20 72 65 63 65 69 76 65 64 20 2a 29 0d 0a 09 20 20 20 20 ┆ion packet is received *) ┆ 0x3ec40…3ec60 20 84 54 68 65 20 75 73 65 72 20 69 73 20 69 6e 66 6f 72 6d 65 64 20 74 68 72 6f 75 67 68 20 74 ┆ The user is informed through t┆ 0x3ec60…3ec80 68 65 20 64 74 65 5f 61 63 63 65 73 73 20 70 72 6f 63 65 73 73 20 61 6e 64 20 61 6c 6c 20 0a 19 ┆he dte_access process and all ┆ 0x3ec80…3eca0 8e 80 80 75 73 65 72 20 62 75 66 66 65 72 73 20 61 72 65 20 72 65 74 75 72 6e 65 64 20 77 69 74 ┆ user buffers are returned wit┆ 0x3eca0…3ecc0 68 20 72 65 73 75 6c 74 20 27 6e 6f 74 5f 70 72 6f 63 65 73 73 65 64 5f 2e 20 54 69 6d 65 72 20 ┆h result 'not_processed_. Timer ┆ 0x3ecc0…3ece0 0a 19 8e 80 80 74 31 32 6d 20 69 73 20 73 74 61 72 74 65 64 2e 0d 0a 0d 0a b0 09 41 34 36 f0 3a ┆ t12m is started. A46 :┆ 0x3ece0…3ed00 20 84 28 2a 20 41 6e 20 72 65 73 65 74 20 69 6e 64 69 63 61 74 69 6f 6e 20 70 61 63 6b 65 74 20 ┆ (* An reset indication packet ┆ 0x3ed00…3ed20 69 73 20 72 65 63 65 69 76 65 64 20 69 6e 20 73 74 61 74 65 20 0a 19 8e 81 80 6e 64 74 65 5f 77 ┆is received in state ndte_w┆ 0x3ed20…3ed40 73 79 6e 63 2c 20 6e 64 63 74 65 77 73 79 6e 63 20 2a 29 0d 0a 09 20 20 20 20 20 84 41 6e 20 52 ┆sync, ndctewsync *) An R┆ 0x3ed40…3ed60 45 53 45 54 20 43 4f 4e 46 49 52 4d 41 54 49 4f 4e 20 70 61 63 6b 65 74 20 69 73 20 74 72 61 6e ┆ESET CONFIRMATION packet is tran┆ 0x3ed60…3ed80 73 6d 69 74 74 65 64 20 74 6f 20 74 68 65 20 44 43 45 2e 20 41 6c 6c 20 0a 19 8e 80 80 75 73 65 ┆smitted to the DCE. All use┆ 0x3ed80…3eda0 72 20 62 75 66 66 65 72 73 20 61 72 65 20 72 65 74 75 72 6e 65 64 2c 20 61 6e 64 20 61 6e 79 20 ┆r buffers are returned, and any ┆ 0x3eda0…3edc0 58 2e 32 35 20 44 41 54 41 20 70 61 63 6b 65 74 73 20 71 75 65 75 65 64 20 0a 19 8e 80 80 61 72 ┆X.25 DATA packets queued ar┆ 0x3edc0…3ede0 65 20 64 69 73 63 61 72 64 65 64 2e 0d 0a 09 20 20 20 20 20 84 54 68 65 20 73 74 61 74 65 20 6d ┆e discarded. The state m┆ 0x3ede0…3ee00 61 63 68 69 6e 65 20 69 73 20 70 72 65 70 61 72 65 64 20 66 6f 72 20 73 65 6e 64 69 6e 67 20 61 ┆achine is prepared for sending a┆ 0x3ee00…3ee20 (503,) 6e 20 52 4e 52 20 70 61 63 6b 65 74 2e 0d 0a 0d 0a b0 09 41 34 37 f0 3a 20 84 28 2a 20 41 6e 20 ┆n RNR packet. A47 : (* An ┆ 0x3ee20…3ee40 72 65 73 65 74 20 69 6e 64 69 63 61 74 69 6f 6e 20 6f 72 20 63 6f 6e 66 69 72 6d 61 74 69 6f 6e ┆reset indication or confirmation┆ 0x3ee40…3ee60 20 70 61 63 6b 65 74 20 69 73 20 72 65 63 65 69 76 65 64 20 2a 29 0d 0a 09 20 20 20 20 20 84 54 ┆ packet is received *) T┆ 0x3ee60…3ee80 68 65 20 72 65 73 65 74 20 70 68 61 73 65 20 69 73 20 65 6e 64 65 64 2e 20 52 65 74 75 72 6e 20 ┆he reset phase is ended. Return ┆ 0x3ee80…3eea0 61 20 70 6f 73 73 69 62 6c 65 20 64 74 65 5f 72 65 73 65 74 5f 72 65 71 20 0a 19 8e 80 80 6d 65 ┆a possible dte_reset_req me┆ 0x3eea0…3eec0 73 73 61 67 65 2e 20 49 66 20 64 65 64 69 63 61 74 65 64 20 69 6e 70 75 74 20 69 73 20 75 73 65 ┆ssage. If dedicated input is use┆ 0x3eec0…3eee0 64 20 61 6e 64 20 6e 6f 74 20 65 6e 6f 75 67 68 20 64 65 64 69 63 61 74 65 64 20 0a 19 8e 80 80 ┆d and not enough dedicated ┆ 0x3eee0…3ef00 69 6e 70 75 74 20 62 75 66 66 65 72 73 20 61 72 65 20 73 75 70 70 6c 69 65 64 20 62 79 20 74 68 ┆input buffers are supplied by th┆ 0x3ef00…3ef20 65 20 75 73 65 72 2c 20 74 68 65 20 73 74 61 74 65 20 6d 61 63 68 69 6e 65 20 69 73 20 0a 19 8e ┆e user, the state machine is ┆ 0x3ef20…3ef40 80 80 70 72 65 70 61 72 65 64 20 66 6f 72 20 73 65 6e 64 69 6e 67 20 61 6e 20 52 4e 52 20 70 61 ┆ prepared for sending an RNR pa┆ 0x3ef40…3ef60 63 6b 65 74 2e 0d 0a 0d 0a b0 09 41 34 38 f0 3a 20 84 28 2a 20 54 69 6d 65 6f 75 74 20 74 32 32 ┆cket. A48 : (* Timeout t22┆ 0x3ef60…3ef80 3a 20 74 68 65 20 44 43 45 20 68 61 73 20 6e 6f 74 20 61 6e 73 77 65 72 65 64 20 61 6e 20 72 65 ┆: the DCE has not answered an re┆ 0x3ef80…3efa0 73 65 74 20 72 65 71 75 65 73 74 20 0a 19 8e 81 80 70 61 63 6b 65 74 20 2a 29 0d 0a 09 20 20 20 ┆set request packet *) ┆ 0x3efa0…3efc0 20 20 84 41 6e 20 52 45 53 45 54 20 52 45 51 55 45 53 54 20 70 61 63 6b 65 74 20 69 73 20 74 72 ┆ An RESET REQUEST packet is tr┆ 0x3efc0…3efe0 61 6e 73 6d 69 74 74 65 64 20 74 6f 20 74 68 65 20 44 43 45 2c 20 61 6e 64 20 74 69 6d 65 72 20 ┆ansmitted to the DCE, and timer ┆ 0x3efe0…3f000 0a 19 8e 80 80 74 32 32 20 69 73 20 73 74 61 72 74 65 64 2e 0d 0a 0d 0a b0 09 41 34 39 f0 3a 20 ┆ t22 is started. A49 : ┆ 0x3f000…3f020 (504,) 28 2a 20 44 43 45 20 6c 6f 63 61 6c 20 70 72 6f 63 65 64 75 72 65 20 65 72 72 6f 72 20 2a 29 0d ┆(* DCE local procedure error *) ┆ 0x3f020…3f040 0a 09 20 20 20 20 20 84 41 6c 6c 20 75 73 65 72 20 62 75 66 66 65 72 73 20 61 72 65 20 72 65 74 ┆ All user buffers are ret┆ 0x3f040…3f060 75 72 6e 65 64 2e 20 49 66 20 73 74 61 74 65 20 69 73 20 78 72 65 73 65 74 20 6f 72 20 61 6e 79 ┆urned. If state is xreset or any┆ 0x3f060…3f080 20 0a 19 8e 80 80 78 78 78 5f 77 73 79 6e 63 20 74 68 65 20 75 73 65 72 20 69 73 20 6e 6f 74 20 ┆ xxx_wsync the user is not ┆ 0x3f080…3f0a0 69 6e 66 6f 72 6d 65 64 2e 20 4f 74 68 65 72 77 69 73 65 20 74 68 65 20 75 73 65 72 20 69 73 20 ┆informed. Otherwise the user is ┆ 0x3f0a0…3f0c0 0a 19 8e 80 80 69 6e 66 6f 72 6d 65 64 20 74 68 72 6f 75 67 68 20 74 68 65 20 64 74 65 5f 61 63 ┆ informed through the dte_ac┆ 0x3f0c0…3f0e0 63 65 73 73 20 70 72 6f 63 65 73 73 2e 20 54 69 6d 65 72 20 74 32 32 20 69 73 20 0a 19 8e 80 80 ┆cess process. Timer t22 is ┆ 0x3f0e0…3f0ec 73 74 61 72 74 65 64 2e 0d 0a 0d 0a ┆started. ┆ 0x3f0ec…3f0ef FormFeed { 0x3f0ec…3f0ef 0c 80 a7 ┆ ┆ 0x3f0ec…3f0ef } 0x3f0ef…3f100 0a b0 09 41 35 30 f0 3a 20 84 28 2a 20 41 20 73 65 ┆ A50 : (* A se┆ 0x3f100…3f120 6e 64 20 64 61 74 61 20 6d 65 73 73 61 67 65 20 72 65 63 65 69 76 65 64 20 69 6e 20 61 6e 79 20 ┆nd data message received in any ┆ 0x3f120…3f140 73 74 61 74 65 20 77 69 74 68 20 64 74 65 20 6e 6f 74 20 0a 19 8e 81 80 72 65 61 64 79 20 2a 29 ┆state with dte not ready *)┆ 0x3f140…3f160 0d 0a 09 20 20 20 20 20 84 54 68 65 20 6d 65 73 73 61 67 65 20 73 69 7a 65 20 69 73 20 63 68 65 ┆ The message size is che┆ 0x3f160…3f180 63 6b 65 64 2c 20 73 6f 20 61 6e 20 58 2e 32 35 20 68 65 61 64 65 72 20 63 61 6e 20 62 65 20 69 ┆cked, so an X.25 header can be i┆ 0x3f180…3f1a0 6e 20 66 72 6f 6e 74 20 0a 19 8e 80 80 6f 66 20 74 68 65 20 75 73 65 72 20 64 61 74 61 2e 20 49 ┆n front of the user data. I┆ 0x3f1a0…3f1c0 66 20 6f 6b 20 71 75 65 75 65 20 74 68 65 20 6d 65 73 73 61 67 65 20 61 74 20 61 20 73 65 6d 61 ┆f ok queue the message at a sema┆ 0x3f1c0…3f1e0 70 68 6f 72 65 2e 0d 0a 0d 0a b0 09 41 35 31 f0 3a 20 84 28 2a 20 41 20 73 65 6e 64 20 69 6e 74 ┆phore. A51 : (* A send int┆ 0x3f1e0…3f200 65 72 72 75 70 74 20 6d 65 73 73 61 67 65 20 69 73 20 72 65 63 65 69 76 65 64 20 69 6e 20 61 20 ┆errupt message is received in a ┆ 0x3f200…3f220 (505,) 73 74 61 74 65 20 77 69 74 68 20 61 6e 20 0a 19 8e 81 80 75 6e 61 63 6b 6e 6f 77 6c 65 64 67 65 ┆state with an unacknowledge┆ 0x3f220…3f240 64 20 58 2e 32 35 20 69 6e 74 65 72 72 75 70 74 20 2a 29 0d 0a 09 20 20 20 20 20 84 54 68 65 20 ┆d X.25 interrupt *) The ┆ 0x3f240…3f260 6d 65 73 73 61 67 65 20 69 73 20 71 75 65 75 65 64 20 61 74 20 61 20 73 65 6d 61 70 68 6f 72 65 ┆message is queued at a semaphore┆ 0x3f260…3f280 2e 0d 0a 0d 0a b0 09 41 35 32 f0 3a 20 28 2a 20 54 69 6d 65 6f 75 74 20 74 33 31 3a 20 64 61 74 ┆. A52 : (* Timeout t31: dat┆ 0x3f280…3f2a0 61 20 6c 6f 73 74 20 74 69 6d 65 72 20 2a 29 0d 0a 09 20 20 20 20 20 84 44 69 73 63 61 72 64 20 ┆a lost timer *) Discard ┆ 0x3f2a0…3f2c0 61 6e 79 20 71 75 65 75 65 64 20 58 2e 32 35 20 44 41 54 41 20 70 61 63 6b 65 74 73 20 61 6e 64 ┆any queued X.25 DATA packets and┆ 0x3f2c0…3f2e0 20 69 66 20 61 6e 79 20 69 73 20 64 69 73 63 61 72 64 65 64 20 0a 19 8e 80 80 73 65 74 20 74 68 ┆ if any is discarded set th┆ 0x3f2e0…3f300 65 20 62 69 74 20 64 61 74 61 5f 6c 6f 73 74 20 69 6e 20 74 68 65 20 73 74 61 74 75 73 5f 77 6f ┆e bit data_lost in the status_wo┆ 0x3f300…3f320 72 64 2e 0d 0a 0d 0a b0 09 41 35 33 f0 3a 20 28 2a 20 49 6e 74 65 72 6e 61 6c 20 65 76 65 6e 74 ┆rd. A53 : (* Internal event┆ 0x3f320…3f340 3a 20 78 64 61 74 61 20 a1 64 e1 74 65 20 a1 6e e1 6f 74 20 a1 72 e1 65 61 64 79 20 2a 29 0d 0a ┆: xdata d te n ot r eady *) ┆ 0x3f340…3f360 09 20 20 20 20 20 84 41 6e 20 52 4e 52 20 70 61 63 6b 65 74 20 69 73 20 74 72 61 6e 73 6d 69 74 ┆ An RNR packet is transmit┆ 0x3f360…3f380 74 65 64 20 74 6f 20 74 68 65 20 44 43 45 2e 0d 0a 0d 0a b0 09 41 35 34 f0 3a 20 28 2a 20 41 20 ┆ted to the DCE. A54 : (* A ┆ 0x3f380…3f3a0 63 68 61 6e 67 65 20 69 6e 70 75 74 20 6d 6f 64 65 20 6d 65 73 73 61 67 65 20 69 73 20 72 65 63 ┆change input mode message is rec┆ 0x3f3a0…3f3c0 65 69 76 65 64 20 2a 29 0d 0a 09 20 20 20 20 20 84 41 6c 6c 20 64 65 64 69 63 61 74 65 64 20 69 ┆eived *) All dedicated i┆ 0x3f3c0…3f3e0 6e 70 75 74 20 62 75 66 66 65 72 73 20 61 72 65 20 72 65 74 75 72 6e 65 64 20 77 69 74 68 20 72 ┆nput buffers are returned with r┆ 0x3f3e0…3f400 65 73 75 6c 74 20 0a 19 8e 80 80 27 6e 6f 74 5f 70 72 6f 63 65 73 73 65 64 27 2c 20 61 6e 64 20 ┆esult 'not_processed', and ┆ 0x3f400…3f420 (506,) 61 6e 20 52 52 20 70 61 63 6b 65 74 20 69 73 20 74 72 61 6e 73 6d 69 74 74 65 64 20 74 6f 20 74 ┆an RR packet is transmitted to t┆ 0x3f420…3f42b 68 65 20 44 43 45 2e 0d 0a 0d 0a ┆he DCE. ┆ 0x3f42b…3f42e FormFeed { 0x3f42b…3f42e 0c 80 94 ┆ ┆ 0x3f42b…3f42e } 0x3f42e…3f440 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d ┆ ┆ 0x3f440…3f460 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d ┆ ┆ 0x3f460…3f480 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 46 69 67 75 ┆ Figu┆ 0x3f480…3f4a0 72 65 20 34 35 3a 20 84 50 72 6f 63 65 73 73 20 64 74 65 5f 63 68 61 6e 2c 20 73 74 61 74 65 20 ┆re 45: Process dte_chan, state ┆ 0x3f4a0…3f4c0 74 72 61 6e 73 69 74 69 6f 6e 20 67 72 61 70 68 20 66 6f 72 20 74 68 65 20 63 61 6c 6c 20 0a 19 ┆transition graph for the call ┆ 0x3f4c0…3f4dc 94 80 80 73 65 74 2d 75 70 20 61 6e 64 20 63 6c 65 61 72 20 70 68 61 73 65 2e 0d 0a ┆ set-up and clear phase. ┆ 0x3f4dc…3f4df FormFeed { 0x3f4dc…3f4df 0c 80 a8 ┆ ┆ 0x3f4dc…3f4df } 0x3f4df…3f4e0 0a ┆ ┆ 0x3f4e0…3f500 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ […0x1…] 0x3f520…3f540 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 46 69 67 75 72 65 20 34 36 3a 20 84 50 72 6f 63 65 73 73 ┆ Figure 46: Process┆ 0x3f540…3f560 20 64 74 65 5f 63 68 61 6e 2c 20 73 74 61 74 65 20 74 72 61 6e 73 69 74 69 6f 6e 20 67 72 61 70 ┆ dte_chan, state transition grap┆ 0x3f560…3f57c 68 20 66 6f 72 20 74 68 65 20 64 61 74 61 20 0a 19 94 80 80 70 68 61 73 65 2e 0d 0a ┆h for the data phase. ┆ 0x3f57c…3f57f FormFeed { 0x3f57c…3f57f 0c 80 a8 ┆ ┆ 0x3f57c…3f57f } 0x3f57f…3f580 0a ┆ ┆ 0x3f580…3f5a0 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ […0x1…] 0x3f5c0…3f5e0 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 46 69 67 75 72 65 20 34 37 3a 20 84 50 72 6f 63 65 73 73 20 64 ┆ Figure 47: Process d┆ 0x3f5e0…3f600 74 65 5f 63 68 61 6e 2c 20 73 74 61 74 65 20 74 72 61 6e 73 69 74 69 6f 6e 20 67 72 61 70 68 20 ┆te_chan, state transition graph ┆ 0x3f600…3f620 (507,) 66 6f 72 20 74 68 65 20 72 65 73 65 74 20 0a 19 94 80 80 70 68 61 73 65 2c 20 70 61 72 74 20 31 ┆for the reset phase, part 1┆ 0x3f620…3f623 2e 0d 0a ┆. ┆ 0x3f623…3f626 FormFeed { 0x3f623…3f626 0c 80 a7 ┆ ┆ 0x3f623…3f626 } 0x3f626…3f640 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 81 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ 0x3f640…3f660 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ 0x3f660…3f680 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 09 46 69 67 75 72 65 20 34 38 3a 20 84 50 ┆ Figure 48: P┆ 0x3f680…3f6a0 72 6f 63 65 73 73 20 64 74 65 5f 63 68 61 6e 2c 20 73 74 61 74 65 20 74 72 61 6e 73 69 74 69 6f ┆rocess dte_chan, state transitio┆ 0x3f6a0…3f6c0 6e 20 67 72 61 70 68 20 66 6f 72 20 74 68 65 20 72 65 73 65 74 20 0a 19 94 80 80 70 68 61 73 65 ┆n graph for the reset phase┆ 0x3f6c0…3f6cb 2c 20 70 61 72 74 20 32 2e 0d 0a ┆, part 2. ┆ 0x3f6cb…3f6ce FormFeed { 0x3f6cb…3f6ce 0c 80 a7 ┆ ┆ 0x3f6cb…3f6ce } 0x3f6ce…3f6d3 0a 0d 0a 0d 0a ┆ ┆ 0x3f6d3…3f6d6 FormFeed { 0x3f6d3…3f6d6 0c 80 82 ┆ ┆ 0x3f6d3…3f6d6 } 0x3f6d6…3f6e0 0a b0 a1 44 2e 09 54 52 41 43 ┆ D. TRAC┆ 0x3f6e0…3f700 45 20 41 4e 44 20 54 45 53 54 20 44 45 53 43 52 49 50 54 49 4f 4e 0d 0a 0d 0a 09 84 49 6e 20 74 ┆E AND TEST DESCRIPTION In t┆ 0x3f700…3f720 68 69 73 20 61 70 70 65 6e 64 69 78 20 65 78 61 6d 70 6c 65 73 20 6f 66 20 74 72 61 63 65 20 6f ┆his appendix examples of trace o┆ 0x3f720…3f740 75 74 70 75 74 20 28 44 2e 31 29 20 61 6e 64 20 69 6e 74 65 72 6e 61 6c 20 0a 19 89 80 80 74 65 ┆utput (D.1) and internal te┆ 0x3f740…3f760 73 74 6f 75 74 70 75 74 20 28 44 2e 33 29 20 69 73 20 73 68 6f 77 6e 2e 20 46 75 72 74 68 65 72 ┆stoutput (D.3) is shown. Further┆ 0x3f760…3f780 6d 6f 72 65 20 61 72 65 20 74 68 65 20 74 65 78 74 20 73 74 72 69 6e 67 73 20 75 73 65 64 20 0a ┆more are the text strings used ┆ 0x3f780…3f7a0 19 89 80 80 69 6e 20 77 72 69 74 69 6e 67 20 74 68 65 20 69 6e 74 65 72 6e 61 6c 20 74 65 73 74 ┆ in writing the internal test┆ 0x3f7a0…3f7c0 6f 75 74 70 75 74 20 6f 6e 20 74 68 65 20 63 6f 6e 73 6f 6c 65 20 64 65 73 63 72 69 62 65 64 2e ┆output on the console described.┆ 0x3f7c0…3f7c2 0d 0a ┆ ┆ 0x3f7c2…3f7c5 FormFeed { 0x3f7c2…3f7c5 0c 80 85 ┆ ┆ 0x3f7c2…3f7c5 } 0x3f7c5…3f7df 0a b0 a1 44 2e 31 20 20 09 54 72 61 63 65 20 45 78 61 6d 70 6c 65 0d 0a 0d 0a ┆ D.1 Trace Example ┆ 0x3f7df…3f7e2 FormFeed { 0x3f7df…3f7e2 0c 80 82 ┆ ┆ 0x3f7df…3f7e2 } 0x3f7e2…3f800 0a b0 a1 44 2e 32 09 54 65 73 74 6f 75 74 70 75 74 20 43 6f 6e 76 65 72 73 69 6f 6e 0d 0a ┆ D.2 Testoutput Conversion ┆ 0x3f800…3f820 (508,) 0d 0a 09 84 41 73 20 6d 65 6e 74 69 6f 6e 65 64 20 69 6e 20 73 75 62 73 65 63 74 69 6f 6e 20 36 ┆ As mentioned in subsection 6┆ 0x3f820…3f840 2e 32 2e 34 20 74 68 65 20 66 6f 72 6d 61 74 20 6f 66 20 74 68 65 20 70 72 69 6e 74 65 64 20 0a ┆.2.4 the format of the printed ┆ 0x3f840…3f860 19 89 80 80 74 65 73 74 6f 75 74 70 75 74 20 6c 69 6e 65 20 66 6f 72 20 74 68 65 20 70 72 6f 63 ┆ testoutput line for the proc┆ 0x3f860…3f880 65 73 73 65 73 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 20 61 6e 64 20 64 74 65 5f 63 68 61 6e 20 64 ┆esses dte_lcnzero and dte_chan d┆ 0x3f880…3f8a0 65 70 65 6e 64 73 20 0a 19 89 80 80 6f 66 20 74 68 65 20 74 65 73 74 72 65 63 6f 72 64 20 74 79 ┆epends of the testrecord ty┆ 0x3f8a0…3f8c0 70 65 20 28 6b 69 6e 64 29 2e 0d 0a 09 84 49 6e 20 74 61 62 6c 65 20 31 38 20 74 68 65 73 65 20 ┆pe (kind). In table 18 these ┆ 0x3f8c0…3f8e0 64 65 70 65 6e 64 61 6e 74 73 20 61 72 65 20 6f 75 74 6c 69 6e 65 64 2e 0d 0a 0d 0a 09 64 74 65 ┆dependants are outlined. dte┆ 0x3f8e0…3f900 5f 6c 63 6e 7a 65 72 6f 20 70 72 69 6e 74 20 6c 69 6e 65 3a 0d 0a 0d 0a 09 b0 3c 74 69 6d 65 3e ┆_lcnzero print line: <time>┆ 0x3f900…3f920 20 3c 6b 69 6e 64 3e 20 3c 64 74 65 20 73 74 61 74 65 3e 20 3c 66 69 65 6c 64 31 3e 20 3c 66 69 ┆ <kind> <dte state> <field1> <fi┆ 0x3f920…3f940 65 6c 64 32 3e 20 3c 66 69 65 6c 64 33 3e 20 3c 61 75 78 3e 0d 0a 0d 0a 09 64 74 65 5f 63 68 61 ┆eld2> <field3> <aux> dte_cha┆ 0x3f940…3f960 6e 20 70 72 69 6e 74 20 6c 69 6e 65 3a 0d 0a 0d 0a 09 b0 3c 74 69 6d 65 3e 20 3c 6b 69 6e 64 3e ┆n print line: <time> <kind>┆ 0x3f960…3f980 20 3c 73 74 61 74 65 3e 20 3c 63 5f 61 63 74 69 76 65 3e 20 3c 66 69 65 6c 64 35 3e 0d 0a 09 20 ┆ <state> <c_active> <field5> ┆ 0x3f980…3f9a0 20 20 20 20 20 20 b0 3c 64 65 63 2e 66 69 65 6c 64 31 3e 20 3c 68 65 78 2e 66 69 65 6c 64 31 3e ┆ <dec.field1> <hex.field1>┆ 0x3f9a0…3f9c0 20 3c 64 65 63 2e 66 69 65 6c 64 32 3e 20 3c 68 65 78 2e 66 69 65 6c 64 32 3e 0d 0a 09 20 20 20 ┆ <dec.field2> <hex.field2> ┆ 0x3f9c0…3f9e0 20 20 20 20 b0 3c 64 65 63 2e 66 69 65 6c 64 33 3e 20 3c 68 65 78 2e 66 69 65 6c 64 33 3e 20 3c ┆ <dec.field3> <hex.field3> <┆ 0x3f9e0…3fa00 64 65 63 2e 66 69 65 6c 64 34 3e 20 3c 68 65 78 2e 66 69 65 6c 64 34 3e 0d 0a 09 20 20 20 20 20 ┆dec.field4> <hex.field4> ┆ 0x3fa00…3fa0c (509,) 20 20 b0 3c 61 75 78 3e 0d 0a 0d 0a ┆ <aux> ┆ 0x3fa0c…3fa45 Params { 0x3fa0c…3fa45 04 00 2d 44 0c 00 06 00 00 00 00 03 01 50 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D P1@ ┆ 0x3fa0c…3fa45 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x3fa0c…3fa45 } 0x3fa45…3fa7e Params { 0x3fa45…3fa7e 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x3fa45…3fa7e 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x3fa45…3fa7e } 0x3fa7e…3fa7f 0a ┆ ┆ 0x3fa7f…3fa82 FormFeed { 0x3fa7f…3fa82 0c 80 92 ┆ ┆ 0x3fa7f…3fa82 } 0x3fa82…3faa0 0a 0d 0a 09 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f ┆ __________________________┆ 0x3faa0…3fac0 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f ┆________________________________┆ 0x3fac0…3fae0 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 0d 0a 09 09 20 20 20 20 20 82 74 65 78 74 81 20 20 20 20 20 ┆____________ text ┆ 0x3fae0…3fb00 20 6b 69 6e 64 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 82 3c 61 75 78 3e 81 0d 0a 09 a1 ┆ kind <aux> ┆ 0x3fb00…3fb20 20 20 20 20 20 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 6f 20 20 20 20 20 20 20 20 ┆ no ┆ 0x3fb20…3fb40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 09 20 20 20 20 20 0d 0a ┆ ┆ 0x3fb40…3fb60 09 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 20 20 a1 20 a1 78 32 35 2d 65 72 20 20 20 20 20 20 30 20 ┆ dte_lcnzero x25-er 0 ┆ 0x3fb60…3fb80 20 20 20 20 3c 70 61 63 6b 65 74 5f 69 64 3e 20 3c 64 65 63 6f 64 65 20 72 65 73 75 6c 74 3e 20 ┆ <packet_id> <decode result> ┆ 0x3fb80…3fba0 20 20 20 20 20 20 20 20 20 0d 0a 09 09 20 20 20 20 a1 20 a1 61 2d 6c 63 6e 30 20 20 20 20 20 20 ┆ a-lcn0 ┆ 0x3fba0…3fbc0 31 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆1 ┆ 0x3fbc0…3fbe0 20 20 20 20 20 20 20 20 20 20 20 0d 0a 09 09 20 20 20 20 a1 20 a1 74 69 6d 65 72 20 20 20 20 20 ┆ timer ┆ 0x3fbe0…3fc00 20 20 32 20 20 20 20 20 3c 74 32 30 20 73 74 61 74 65 3e 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ 2 <t20 state> ┆ 0x3fc00…3fc20 (510,) 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 09 09 20 20 20 20 a1 20 a1 65 76 2f 61 63 20 20 20 ┆ ev/ac ┆ 0x3fc20…3fc40 20 20 20 20 33 20 20 20 20 20 3c 70 61 63 6b 65 74 5f 69 64 3e 3c 65 76 65 6e 74 3e 3c 61 63 74 ┆ 3 <packet_id><event><act┆ 0x3fc40…3fc60 69 6f 6e 3e 3c 74 32 30 20 73 74 61 74 65 3e 0d 0a 09 09 20 20 20 20 a1 20 a1 75 6e 6b 6e 77 20 ┆ion><t20 state> unknw ┆ 0x3fc60…3fc80 20 20 20 20 20 20 34 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ 4 ┆ 0x3fc80…3fca0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 09 a1 09 20 20 20 20 20 a1 73 75 70 2d ┆ sup-┆ 0x3fca0…3fcc0 65 72 20 20 20 20 20 20 35 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆er 5 ┆ 0x3fcc0…3fce0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 09 20 64 74 65 5f 63 68 61 6e 20 ┆ dte_chan ┆ 0x3fce0…3fd00 20 20 20 20 a1 20 a1 75 2d 64 65 64 69 20 20 20 20 20 20 30 20 20 20 20 20 20 20 20 20 20 20 20 ┆ u-dedi 0 ┆ 0x3fd00…3fd20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a ┆ ┆ 0x3fd20…3fd40 09 09 20 20 20 20 a1 20 a1 6c 63 70 2d 6f 70 20 20 20 20 20 20 32 20 20 20 20 20 20 20 20 20 20 ┆ lcp-op 2 ┆ 0x3fd40…3fd60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x3fd60…3fd80 0d 0a 09 09 20 20 20 20 a1 20 a1 75 6e 6b 77 2d 6d 20 20 20 20 20 20 33 20 20 20 20 20 20 20 20 ┆ unkw-m 3 ┆ 0x3fd80…3fda0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x3fda0…3fdc0 20 20 0d 0a 09 09 20 20 20 20 a1 20 a1 61 2d 63 68 61 6e 20 20 20 20 20 20 34 20 20 20 20 20 20 ┆ a-chan 4 ┆ 0x3fdc0…3fde0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x3fde0…3fe00 20 20 20 20 0d 0a 09 09 20 20 20 20 a1 20 a1 61 2d 68 72 65 63 20 20 20 20 20 20 36 20 20 20 20 ┆ a-hrec 6 ┆ 0x3fe00…3fe20 (511,) 20 3c 70 61 63 6b 65 74 5f 69 64 3e 20 3c 64 65 63 6f 64 65 20 72 65 73 75 6c 74 3e 20 20 20 20 ┆ <packet_id> <decode result> ┆ 0x3fe20…3fe40 20 20 20 20 20 20 0d 0a 09 09 20 20 20 20 a1 20 a1 61 2d 68 78 6d 69 74 20 20 20 20 20 37 20 20 ┆ a-hxmit 7 ┆ 0x3fe40…3fe60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x3fe60…3fe80 20 20 20 20 20 20 20 20 0d 0a 09 09 20 20 20 20 a1 20 a1 73 75 70 6d 65 73 20 20 20 20 20 20 38 ┆ supmes 8┆ 0x3fe80…3fea0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ ┆ 0x3fea0…3fec0 20 20 20 20 20 20 20 20 20 20 0d 0a 09 09 20 20 20 20 a1 20 a1 74 69 6d 65 72 20 20 20 20 20 20 ┆ timer ┆ 0x3fec0…3fee0 20 39 20 20 20 20 20 3c 74 69 6d 65 72 20 73 74 61 74 65 3e 20 20 20 20 20 20 20 20 20 20 20 20 ┆ 9 <timer state> ┆ 0x3fee0…3ff00 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 09 09 20 20 20 20 a1 20 a1 75 6e 6b 77 2d 61 20 20 20 ┆ unkw-a ┆ 0x3ff00…3ff20 20 20 31 30 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ 10 ┆ 0x3ff20…3ff40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 09 09 20 20 20 20 a1 20 a1 63 2d 73 74 6f 70 20 ┆ c-stop ┆ 0x3ff40…3ff60 20 20 20 20 31 31 20 20 20 20 20 3c 73 74 6f 70 20 63 61 75 73 65 3e 20 20 20 20 20 20 20 20 20 ┆ 11 <stop cause> ┆ 0x3ff60…3ff80 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 09 09 20 20 20 20 a1 20 a1 63 2d 69 6e 69 ┆ c-ini┆ 0x3ff80…3ffa0 74 20 20 20 20 20 31 32 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆t 12 ┆ 0x3ffa0…3ffc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 09 09 20 20 20 20 a1 20 a1 65 76 2f ┆ ev/┆ 0x3ffc0…3ffe0 61 63 20 20 20 20 20 20 31 33 20 20 20 20 20 3c 65 76 65 6e 74 3e 20 3c 61 63 74 69 6f 6e 3e 20 ┆ac 13 <event> <action> ┆ 0x3ffe0…40000 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 20 20 20 20 20 20 20 20 20 a1 ┆ ┆ 0x40000…40020 (512,) 09 20 20 20 20 20 a1 43 4f 4e 54 2e 20 20 20 20 20 20 31 35 20 20 20 20 20 20 20 20 20 20 20 20 ┆ CONT. 15 ┆ 0x40020…40040 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a ┆ ┆ 0x40040…40042 0d 0a ┆ ┆ 0x40042…4007b Params { 0x40042…4007b 04 00 2d 44 0c 00 06 00 00 00 00 03 01 4b 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D K1@ ┆ 0x40042…4007b 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x40042…4007b } 0x4007b…400b4 Params { 0x4007b…400b4 04 00 2d 44 0c 00 06 00 00 00 00 03 01 50 31 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ┆ -D P1@ ┆ 0x4007b…400b4 00 00 00 00 00 00 00 00 0a 14 1e 28 32 3c 46 4b 55 5f 69 73 7d 87 91 ff 04 ┆ (2<FKU_iså ┆ 0x4007b…400b4 } 0x400b4…400c0 0a 09 54 61 62 6c 65 20 31 38 3a 20 ┆ Table 18: ┆ 0x400c0…400e0 84 50 72 69 6e 74 20 66 6f 72 6d 61 74 20 66 6f 72 20 74 65 73 74 6f 75 74 70 75 74 20 66 72 6f ┆ Print format for testoutput fro┆ 0x400e0…40100 6d 20 74 68 65 20 70 72 6f 63 65 73 73 65 73 20 0a 19 93 80 80 64 74 65 5f 6c 63 6e 7a 65 72 6f ┆m the processes dte_lcnzero┆ 0x40100…40120 20 61 6e 64 20 64 74 65 5f 63 68 61 6e 2e 0d 0a 0d 0a 0d 0a b0 09 a1 70 61 72 61 6d 65 74 65 72 ┆ and dte_chan. parameter┆ 0x40120…40140 20 3c 64 74 65 20 73 74 61 74 65 3e 20 69 6e 20 64 74 65 20 61 6e 64 20 64 74 65 5f 6c 63 6e 7a ┆ <dte state> in dte and dte_lcnz┆ 0x40140…40160 65 72 6f 20 74 65 73 74 6f 75 74 70 75 74 3a 0d 0a 0d 0a 09 52 45 41 44 59 09 3a 20 84 74 68 65 ┆ero testoutput: READY : the┆ 0x40160…40180 20 44 54 45 20 69 73 20 69 6e 20 72 65 61 64 79 20 73 74 61 74 65 2c 20 69 2e 65 2e 20 72 31 20 ┆ DTE is in ready state, i.e. r1 ┆ 0x40180…401a0 61 63 63 6f 72 64 69 6e 67 20 74 6f 20 74 68 65 20 0a 19 95 80 80 58 2e 32 35 20 52 65 63 6f 6d ┆according to the X.25 Recom┆ 0x401a0…401c0 6d 65 6e 64 61 74 69 6f 6e 20 28 72 65 66 2e 20 28 31 29 29 2e 0d 0a 0d 0a 09 52 45 53 54 41 52 ┆mendation (ref. (1)). RESTAR┆ 0x401c0…401e0 54 09 3a 20 84 74 68 65 20 44 54 45 20 69 73 20 69 6e 20 61 20 72 65 73 74 61 72 74 20 70 68 61 ┆T : the DTE is in a restart pha┆ 0x401e0…40200 73 65 2c 20 69 2e 65 2e 20 72 32 20 61 63 63 6f 72 64 69 6e 67 20 74 6f 20 0a 19 95 80 80 74 68 ┆se, i.e. r2 according to th┆ 0x40200…40220 (513,) 65 20 58 2e 32 35 20 52 65 63 6f 6d 6d 65 6e 64 61 74 69 6f 6e 20 28 72 65 66 2e 20 28 31 29 29 ┆e X.25 Recommendation (ref. (1))┆ 0x40220…40225 2e 0d 0a 0d 0a ┆. ┆ 0x40225…40228 FormFeed { 0x40225…40228 0c 80 a4 ┆ ┆ 0x40225…40228 } 0x40228…40240 0a 09 48 2d 41 43 54 49 56 45 09 3a 20 84 74 68 65 20 68 64 6c 63 20 6c ┆ H-ACTIVE : the hdlc l┆ 0x40240…40260 69 6e 65 20 69 73 20 63 6f 6e 6e 65 63 74 65 64 2c 20 62 75 74 20 6c 65 76 65 6c 20 33 20 68 61 ┆ine is connected, but level 3 ha┆ 0x40260…40280 73 20 6e 6f 74 20 79 65 74 20 0a 19 95 80 80 65 78 63 68 61 6e 67 65 64 20 72 65 73 74 61 72 74 ┆s not yet exchanged restart┆ 0x40280…402a0 20 70 61 63 6b 65 74 73 2e 0d 0a 0d 0a 09 4e 45 54 20 44 4f 57 4e 09 3a 20 84 74 68 65 20 68 64 ┆ packets. NET DOWN : the hd┆ 0x402a0…402c0 6c 63 20 6c 69 6e 65 20 69 73 20 64 69 73 63 6f 6e 6e 65 63 74 65 64 2e 0d 0a 0d 0a b0 09 a1 70 ┆lc line is disconnected. p┆ 0x402c0…402e0 61 72 61 6d 65 74 65 72 20 3c 70 61 63 6b 65 74 2d 69 64 3e 20 69 6e 20 64 74 65 5f 6c 63 6e 7a ┆arameter <packet-id> in dte_lcnz┆ 0x402e0…40300 65 72 6f 20 61 6e 64 20 64 74 65 5f 63 68 61 6e 3a 0d 0a 0d 0a 09 44 41 54 41 09 3a 20 44 43 45 ┆ero and dte_chan: DATA : DCE┆ 0x40300…40320 20 64 61 74 61 20 70 61 63 6b 65 74 0d 0a 09 43 41 4c 4c 09 3a 20 69 6e 63 6f 6d 6d 69 6e 67 20 ┆ data packet CALL : incomming ┆ 0x40320…40340 63 61 6c 6c 20 70 61 63 6b 65 74 0d 0a 09 43 41 4c 4c 2d 41 09 3a 20 63 61 6c 6c 20 63 6f 6e 6e ┆call packet CALL-A : call conn┆ 0x40340…40360 65 63 74 65 64 20 70 61 63 6b 65 74 0d 0a 09 43 4c 45 41 52 09 3a 20 63 6c 65 61 72 20 69 6e 64 ┆ected packet CLEAR : clear ind┆ 0x40360…40380 69 63 61 74 69 6f 6e 20 70 61 63 6b 65 74 0d 0a 09 43 4c 45 41 52 2d 43 09 3a 20 44 43 45 20 63 ┆ication packet CLEAR-C : DCE c┆ 0x40380…403a0 6c 65 61 72 20 63 6f 6e 66 69 72 6d 61 74 69 6f 6e 20 70 61 63 6b 65 74 0d 0a 09 52 45 53 45 54 ┆lear confirmation packet RESET┆ 0x403a0…403c0 09 3a 20 72 65 73 65 74 20 69 6e 64 69 63 61 74 69 6f 6e 20 70 61 63 6b 65 74 0d 0a 09 52 45 53 ┆ : reset indication packet RES┆ 0x403c0…403e0 45 54 2d 43 09 3a 20 44 43 45 20 72 65 73 65 74 20 63 6f 6e 66 69 72 6d 61 74 69 6f 6e 20 70 61 ┆ET-C : DCE reset confirmation pa┆ 0x403e0…40400 63 6b 65 74 0d 0a 09 49 4e 54 09 3a 20 44 43 45 20 69 6e 74 65 72 72 75 70 74 20 70 61 63 6b 65 ┆cket INT : DCE interrupt packe┆ 0x40400…40420 (514,) 74 0d 0a 09 49 4e 54 2d 43 09 3a 20 44 43 45 20 69 6e 74 65 72 72 75 70 74 20 63 6f 6e 66 69 72 ┆t INT-C : DCE interrupt confir┆ 0x40420…40440 6d 61 74 69 6f 6e 20 70 61 63 6b 65 74 0d 0a 09 44 49 41 47 09 3a 20 44 69 61 67 6e 6f 73 74 69 ┆mation packet DIAG : Diagnosti┆ 0x40440…40460 63 20 70 61 63 6b 65 74 0d 0a 09 52 52 09 3a 20 44 43 45 20 72 72 20 28 6d 6f 64 75 6c 6f 20 38 ┆c packet RR : DCE rr (modulo 8┆ 0x40460…40480 29 20 70 61 63 6b 65 74 0d 0a 09 52 4e 52 09 3a 20 44 43 45 20 72 6e 72 20 28 6d 6f 64 75 6c 6f ┆) packet RNR : DCE rnr (modulo┆ 0x40480…404a0 20 38 29 20 70 61 63 6b 65 74 0d 0a 09 52 45 4a 09 3a 20 44 54 45 20 72 65 6a 20 28 6d 6f 64 75 ┆ 8) packet REJ : DTE rej (modu┆ 0x404a0…404c0 6c 6f 20 38 29 20 70 61 63 6b 65 74 0d 0a 09 52 45 53 54 41 52 54 09 3a 20 72 65 73 74 61 72 74 ┆lo 8) packet RESTART : restart┆ 0x404c0…404e0 20 69 6e 64 69 63 61 74 69 6f 6e 20 70 61 63 6b 65 74 0d 0a 09 52 45 53 54 41 2d 43 09 3a 20 44 ┆ indication packet RESTA-C : D┆ 0x404e0…40500 43 45 20 72 65 73 74 61 72 74 20 63 6f 6e 66 69 72 6d 61 74 69 6f 6e 20 70 61 63 6b 65 74 0d 0a ┆CE restart confirmation packet ┆ 0x40500…40520 09 3f 3f 3f 3f 3f 3f 3f 09 3a 20 75 6e 6b 6e 6f 77 6e 20 70 61 63 6b 65 74 0d 0a 0d 0a b0 09 a1 ┆ ??????? : unknown packet ┆ 0x40520…40540 70 61 72 61 6d 65 74 65 72 20 3c 64 65 63 6f 64 65 20 72 65 73 75 6c 74 3e 20 69 6e 20 64 74 65 ┆parameter <decode result> in dte┆ 0x40540…40560 5f 6c 63 6e 7a 65 72 6f 20 61 6e 64 20 64 74 65 5f 63 68 61 6e 3a 0d 0a 0d 0a 09 6f 6b 09 3a 20 ┆_lcnzero and dte_chan: ok : ┆ 0x40560…40580 74 68 65 20 70 61 63 6b 65 74 20 64 65 63 6f 64 69 6e 67 20 77 61 73 20 70 65 72 66 6f 72 6d 65 ┆the packet decoding was performe┆ 0x40580…405a0 64 20 77 69 74 68 6f 75 74 20 65 72 72 6f 72 0d 0a 09 6c 67 74 68 2d 65 09 3a 20 74 68 65 20 70 ┆d without error lgth-e : the p┆ 0x405a0…405c0 61 63 6b 65 74 20 69 73 20 73 68 6f 72 74 65 72 20 74 68 61 6e 20 32 20 6f 63 74 65 74 73 0d 0a ┆acket is shorter than 2 octets ┆ 0x405c0…405e0 09 66 6f 72 6d 2d 65 09 3a 20 65 72 72 6f 72 20 69 6e 20 74 68 65 20 67 65 6e 65 72 61 6c 20 66 ┆ form-e : error in the general f┆ 0x405e0…40600 6f 72 6d 61 74 20 69 64 65 6e 74 69 66 69 65 72 0d 0a 09 71 62 69 74 2d 65 09 3a 20 74 68 65 20 ┆ormat identifier qbit-e : the ┆ 0x40600…40620 (515,) 51 2d 62 69 74 20 69 73 20 6e 6f 74 20 61 6c 6c 6f 77 65 64 20 69 6e 20 63 61 6c 6c 20 70 61 63 ┆Q-bit is not allowed in call pac┆ 0x40620…40640 6b 65 74 73 0d 0a 09 69 2d 63 68 61 6e 09 3a 20 84 61 20 72 65 73 74 61 72 74 2c 20 72 65 73 74 ┆kets i-chan : a restart, rest┆ 0x40640…40660 61 72 74 20 63 6f 6e 66 69 72 6d 61 74 69 6f 6e 20 6f 72 20 64 69 61 67 6e 6f 73 74 69 63 20 70 ┆art confirmation or diagnostic p┆ 0x40660…40680 61 63 6b 65 74 20 0a 19 95 80 80 6f 6e 20 61 20 63 68 61 6e 6e 65 6c 20 64 69 66 66 65 72 65 6e ┆acket on a channel differen┆ 0x40680…406a0 74 20 66 72 6f 6d 20 7a 65 72 6f 2e 0d 0a 09 64 69 61 67 6e 61 09 3a 20 74 68 65 20 64 69 61 67 ┆t from zero. diagna : the diag┆ 0x406a0…406c0 6e 6f 73 74 69 63 20 70 61 63 6b 65 74 20 69 73 20 6e 6f 74 20 61 6c 6c 6f 77 65 64 0d 0a 09 72 ┆nostic packet is not allowed r┆ 0x406c0…406e0 65 6a 2d 6e 61 09 3a 20 74 68 65 20 72 65 6a 20 70 61 63 6b 65 74 20 69 73 20 6e 6f 74 20 61 6c ┆ej-na : the rej packet is not al┆ 0x406e0…40700 6c 6f 77 65 64 20 66 72 6f 6d 20 74 68 65 20 44 43 45 2e 0d 0a 09 75 6e 6b 2d 69 64 09 3a 20 84 ┆lowed from the DCE. unk-id : ┆ 0x40700…40720 74 68 65 20 70 61 63 6b 65 74 20 74 79 70 65 20 69 73 20 75 6e 6b 6e 6f 77 6e 20 6f 72 20 74 68 ┆the packet type is unknown or th┆ 0x40720…40740 65 20 70 61 63 6b 65 74 20 6c 65 6e 67 74 68 20 69 73 20 0a 19 95 80 80 73 68 6f 72 74 65 72 20 ┆e packet length is shorter ┆ 0x40740…40752 74 68 61 6e 20 33 20 6f 63 74 65 74 73 2e 0d 0a 0d 0a ┆than 3 octets. ┆ 0x40752…40755 FormFeed { 0x40752…40755 0c 80 a5 ┆ ┆ 0x40752…40755 } 0x40755…40760 0a b0 09 a1 70 61 72 61 6d 65 74 ┆ paramet┆ 0x40760…40780 65 72 20 3c 74 69 6d 65 72 20 73 74 61 74 65 3e 20 69 6e 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 20 ┆er <timer state> in dte_lcnzero ┆ 0x40780…407a0 61 6e 64 20 64 74 65 5f 63 68 61 6e 3a 0d 0a 0d 0a 09 72 75 6e 09 3a 20 74 68 65 20 74 69 6d 65 ┆and dte_chan: run : the time┆ 0x407a0…407c0 72 20 69 73 20 61 63 74 69 76 65 0d 0a 09 73 74 6f 70 09 3a 20 74 68 65 20 74 69 6d 65 72 20 69 ┆r is active stop : the timer i┆ 0x407c0…407e0 73 20 73 74 6f 70 70 65 64 0d 0a 09 75 70 64 74 09 3a 20 84 74 68 65 20 74 69 6d 65 72 20 77 69 ┆s stopped updt : the timer wi┆ 0x407e0…40800 6c 6c 20 62 65 20 75 70 64 61 74 65 64 20 28 73 74 61 72 74 65 64 29 20 61 73 20 73 6f 6f 6e 20 ┆ll be updated (started) as soon ┆ 0x40800…40820 (516,) 61 73 20 0a 19 95 80 80 72 65 73 6f 75 72 63 65 73 20 61 72 65 20 61 76 61 69 6c 61 62 6c 65 2e ┆as resources are available.┆ 0x40820…40840 0d 0a 0d 0a b0 09 a1 70 61 72 61 6d 65 74 65 72 20 3c 65 76 65 6e 74 3e 20 69 6e 20 64 74 65 5f ┆ parameter <event> in dte_┆ 0x40840…40860 6c 63 6e 7a 65 72 6f 3a 0d 0a 0d 0a 09 72 65 73 74 2d 78 74 09 3a 20 72 65 73 74 61 72 74 20 69 ┆lcnzero: rest-xt : restart i┆ 0x40860…40880 6e 64 69 63 61 74 69 6f 6e 20 72 65 63 65 69 76 65 64 20 66 72 6f 6d 20 74 68 65 20 6e 65 74 77 ┆ndication received from the netw┆ 0x40880…408a0 6f 72 6b 0d 0a 09 72 65 73 74 2d 78 63 09 3a 20 84 72 65 73 74 61 72 74 20 63 6f 6e 66 69 72 6d ┆ork rest-xc : restart confirm┆ 0x408a0…408c0 61 74 69 6f 6e 20 72 65 63 65 69 76 65 64 20 66 72 6f 6d 20 74 68 65 20 6e 65 74 77 6f 72 6b 0d ┆ation received from the network ┆ 0x408c0…408e0 0a 09 78 2d 64 69 61 67 09 3a 20 64 69 61 67 6e 6f 73 74 69 63 20 70 61 63 6b 65 74 20 72 65 63 ┆ x-diag : diagnostic packet rec┆ 0x408e0…40900 65 69 76 65 64 20 66 72 6f 6d 20 74 68 65 20 6e 65 74 77 6f 72 6b 0d 0a 09 72 2d 62 75 66 09 3a ┆eived from the network r-buf :┆ 0x40900…40920 20 84 62 75 66 66 65 72 20 72 65 71 75 65 73 74 20 6d 65 73 73 61 67 65 20 72 65 74 75 72 6e 65 ┆ buffer request message returne┆ 0x40920…40940 64 20 66 72 6f 6d 20 74 68 65 20 64 74 65 5f 70 6f 6f 6c 20 0a 19 95 80 80 70 72 6f 63 65 73 73 ┆d from the dte_pool process┆ 0x40940…40960 0d 0a 09 72 65 73 74 2d 73 72 09 3a 20 72 65 73 74 61 72 74 20 72 65 71 75 65 73 74 20 72 65 63 ┆ rest-sr : restart request rec┆ 0x40960…40980 65 69 76 65 64 20 66 72 6f 6d 20 74 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 0d 0a 09 63 2d 68 ┆eived from the dte process c-h┆ 0x40980…409a0 64 6c 63 09 3a 20 68 64 6c 63 20 63 6f 6e 6e 65 63 74 65 64 20 69 6e 64 69 63 61 74 69 6f 6e 20 ┆dlc : hdlc connected indication ┆ 0x409a0…409c0 72 65 63 65 69 76 65 64 0d 0a 09 64 2d 68 64 6c 63 09 3a 20 68 64 6c 63 20 64 69 73 63 6f 6e 6e ┆received d-hdlc : hdlc disconn┆ 0x409c0…409e0 65 63 74 65 64 20 69 6e 64 69 63 61 74 69 6f 6e 20 72 65 63 65 69 76 65 64 0d 0a 09 74 32 30 2d ┆ected indication received t20-┆ 0x409e0…40a00 65 78 70 09 3a 20 74 69 6d 65 72 20 74 32 30 20 65 78 70 69 72 65 64 0d 0a 0d 0a b0 09 a1 70 61 ┆exp : timer t20 expired pa┆ 0x40a00…40a20 (517,) 72 61 6d 65 74 65 72 20 3c 73 74 61 74 65 3e 20 69 6e 20 64 74 65 5f 63 68 61 6e 3a 0d 0a 0d 0a ┆rameter <state> in dte_chan: ┆ 0x40a20…40a40 09 84 54 68 65 20 74 65 78 74 73 20 70 72 69 6e 74 65 64 20 61 6c 6c 20 65 71 75 61 6c 20 74 68 ┆ The texts printed all equal th┆ 0x40a40…40a60 6f 73 65 20 64 65 73 63 72 69 62 65 64 20 69 6e 20 73 75 62 73 65 63 74 69 6f 6e 20 34 2e 36 2e ┆ose described in subsection 4.6.┆ 0x40a60…40a80 32 2e 0d 0a 0d 0a b0 09 a1 70 61 72 61 6d 65 74 65 72 20 3c 63 5f 61 63 74 69 76 65 3e 20 61 6e ┆2. parameter <c_active> an┆ 0x40a80…40aa0 64 20 3c 73 65 6e 64 5f 72 6e 72 3e 20 69 6e 20 64 74 65 5f 63 68 61 6e 3a 0d 0a 0d 0a 09 54 09 ┆d <send_rnr> in dte_chan: T ┆ 0x40aa0…40ab6 3a 20 74 72 75 65 0d 0a 09 46 09 3a 20 66 61 6c 73 65 0d 0a 0d 0a ┆: true F : false ┆ 0x40ab6…40ab9 FormFeed { 0x40ab6…40ab9 0c 80 9c ┆ ┆ 0x40ab6…40ab9 } 0x40ab9…40ac0 0a b0 09 a1 70 61 72 ┆ par┆ 0x40ac0…40ae0 61 6d 65 74 65 72 20 3c 73 74 6f 70 20 63 61 75 73 65 3e 20 69 6e 20 64 74 65 5f 63 68 61 6e 3a ┆ameter <stop cause> in dte_chan:┆ 0x40ae0…40b00 0d 0a 0d 0a 09 64 74 65 63 6c 09 3a 20 44 54 45 20 69 6e 69 74 61 74 65 64 20 63 6c 65 61 72 69 ┆ dtecl : DTE initated cleari┆ 0x40b00…40b20 6e 67 0d 0a 09 64 63 65 65 72 09 3a 20 84 63 6c 65 61 72 69 6e 67 20 69 6e 69 74 69 61 74 65 64 ┆ng dceer : clearing initiated┆ 0x40b20…40b40 20 62 65 63 61 75 73 65 20 6f 66 20 61 6e 20 44 43 45 20 65 72 72 6f 72 20 69 6e 20 63 61 6c 6c ┆ because of an DCE error in call┆ 0x40b40…40b60 20 0a 19 95 80 80 73 65 74 2d 75 70 0d 0a 09 63 61 63 63 65 09 3a 20 65 72 72 6f 72 20 69 6e 20 ┆ set-up cacce : error in ┆ 0x40b60…40b80 67 65 6e 65 72 61 74 69 6f 6e 20 6f 66 20 61 6e 20 63 61 6c 6c 20 61 63 63 65 70 74 65 64 20 70 ┆generation of an call accepted p┆ 0x40b80…40ba0 61 63 6b 65 74 0d 0a 09 75 74 65 72 6d 09 3a 20 75 73 65 72 20 69 6e 69 74 69 61 74 65 64 20 63 ┆acket uterm : user initiated c┆ 0x40ba0…40bc0 6c 65 61 72 69 6e 67 0d 0a 09 64 63 65 63 6c 09 3a 20 44 43 45 20 63 6c 65 61 72 69 6e 67 20 69 ┆learing dcecl : DCE clearing i┆ 0x40bc0…40be0 6e 20 73 74 61 74 65 20 78 69 64 6c 65 0d 0a 09 63 61 6c 6c 65 09 3a 20 65 72 72 6f 72 20 69 6e ┆n state xidle calle : error in┆ 0x40be0…40c00 20 67 65 6e 65 72 61 74 69 6f 6e 20 6f 66 20 61 6e 20 63 61 6c 6c 20 72 65 71 75 65 73 74 20 70 ┆ generation of an call request p┆ 0x40c00…40c20 (518,) 61 63 6b 65 74 0d 0a 09 69 6e 63 72 6a 09 3a 20 69 6e 63 6f 6d 6d 69 6e 67 20 63 61 6c 6c 20 72 ┆acket incrj : incomming call r┆ 0x40c20…40c40 65 6a 65 63 74 65 64 0d 0a 09 73 72 65 73 74 09 3a 20 72 65 73 74 61 72 74 20 69 6e 64 69 63 61 ┆ejected srest : restart indica┆ 0x40c40…40c60 74 65 64 20 62 79 20 74 68 65 20 64 74 65 20 70 72 6f 63 65 73 73 0d 0a 09 74 69 6d 65 6f 09 3a ┆ted by the dte process timeo :┆ 0x40c60…40c80 20 74 69 6d 65 6f 75 74 20 69 6e 20 78 64 74 65 63 6c 65 61 72 20 73 74 61 74 65 0d 0a 09 72 75 ┆ timeout in xdteclear state ru┆ 0x40c80…40ca0 73 65 72 09 3a 20 72 65 6d 6f 74 65 20 75 73 65 72 20 69 6e 69 74 69 61 74 65 64 20 63 6c 65 61 ┆ser : remote user initiated clea┆ 0x40ca0…40cc0 72 69 6e 67 0d 0a 09 3f 3f 3f 3f 3f 09 3a 20 75 6e 6b 6e 6f 77 6e 20 72 65 73 75 6c 74 0d 0a 0d ┆ring ????? : unknown result ┆ 0x40cc0…40ce0 0a b0 09 a1 70 61 72 61 6d 65 74 65 72 20 3c 65 76 65 6e 74 3e 20 69 6e 20 64 74 65 5f 63 68 61 ┆ parameter <event> in dte_cha┆ 0x40ce0…40d00 6e 3a 0d 0a 0d 0a 09 84 54 68 65 20 74 65 78 74 73 20 65 71 75 61 6c 20 74 68 6f 73 65 20 69 6e ┆n: The texts equal those in┆ 0x40d00…40d20 20 74 68 65 20 73 74 61 74 65 2f 61 63 74 69 6f 6e 20 74 61 62 6c 65 73 20 69 6e 20 61 70 70 65 ┆ the state/action tables in appe┆ 0x40d20…40d40 6e 64 69 78 20 43 2e 33 2e 0d 0a 0d 0a 09 77 2d 6f 70 65 6e 09 3a 20 74 68 65 20 58 2e 32 35 20 ┆ndix C.3. w-open : the X.25 ┆ 0x40d40…40d60 77 69 6e 64 6f 77 20 68 61 73 20 62 65 65 6e 20 6d 6f 76 65 64 0d 0a 09 65 6e 67 68 72 65 73 09 ┆window has been moved enghres ┆ 0x40d60…40d80 3a 20 65 6e 6f 75 67 68 20 62 75 66 66 65 72 73 20 68 61 76 65 20 62 65 65 6e 20 73 75 70 70 6c ┆: enough buffers have been suppl┆ 0x40d80…40da0 69 65 64 20 62 79 20 74 68 65 20 75 73 65 72 0d 0a 09 63 61 6c 6c 72 65 71 09 3a 20 63 61 6c 6c ┆ied by the user callreq : call┆ 0x40da0…40dc0 20 72 65 71 75 65 73 74 20 6d 65 73 73 61 67 65 20 66 72 6f 6d 20 74 68 65 20 75 73 65 72 0d 0a ┆ request message from the user ┆ 0x40dc0…40de0 09 69 6e 63 2d 61 63 70 09 3a 20 69 6e 63 6f 6d 6d 69 6e 67 20 63 61 6c 6c 20 61 63 63 65 70 74 ┆ inc-acp : incomming call accept┆ 0x40de0…40e00 65 64 20 62 79 20 74 68 65 20 75 73 65 72 0d 0a 09 69 6e 63 2d 72 65 6a 09 3a 20 69 6e 63 6f 6d ┆ed by the user inc-rej : incom┆ 0x40e00…40e20 (519,) 6d 69 6e 67 20 63 61 6c 6c 20 72 65 6a 65 63 74 65 64 0d 0a 09 73 2d 64 61 74 61 09 3a 20 73 65 ┆ming call rejected s-data : se┆ 0x40e20…40e40 6e 64 20 64 61 74 61 20 6d 65 73 73 61 67 65 20 66 72 6f 6d 20 74 68 65 20 75 73 65 72 0d 0a 09 ┆nd data message from the user ┆ 0x40e40…40e60 73 2d 69 6e 74 72 70 09 3a 20 73 65 6e 64 20 69 6e 74 65 72 72 75 70 74 20 6d 65 73 73 61 67 65 ┆s-intrp : send interrupt message┆ 0x40e60…40e80 20 66 72 6f 6d 20 74 68 65 20 75 73 65 72 0d 0a 09 63 69 2d 6d 6f 64 65 09 3a 20 63 68 61 6e 67 ┆ from the user ci-mode : chang┆ 0x40e80…40ea0 65 20 69 6e 70 75 74 20 6d 6f 64 65 20 6d 65 73 73 61 67 65 20 66 72 6f 6d 20 74 68 65 20 75 73 ┆e input mode message from the us┆ 0x40ea0…40ec0 65 72 0d 0a 09 63 6c 72 2d 72 65 71 09 3a 20 63 6c 65 61 72 20 72 65 71 75 65 73 74 20 6d 65 73 ┆er clr-req : clear request mes┆ 0x40ec0…40ee0 73 61 67 65 20 66 72 6f 6d 20 74 68 65 20 75 73 65 72 0d 0a 09 73 79 6e 63 09 3a 20 73 79 6e 63 ┆sage from the user sync : sync┆ 0x40ee0…40f00 68 72 6f 6e 69 7a 65 20 73 74 72 65 61 6d 20 6d 65 73 73 61 67 65 20 66 72 6f 6d 20 74 68 65 20 ┆hronize stream message from the ┆ 0x40f00…40f20 75 73 65 72 0d 0a 09 74 31 31 09 3a 20 74 69 6d 65 72 20 74 31 31 6d 20 68 61 73 20 65 78 70 69 ┆user t11 : timer t11m has expi┆ 0x40f20…40f40 72 65 64 0d 0a 09 74 31 32 09 3a 20 74 69 6d 65 72 20 74 31 32 6d 20 68 61 73 20 65 78 70 69 72 ┆red t12 : timer t12m has expir┆ 0x40f40…40f60 65 64 0d 0a 09 74 32 31 20 20 20 20 20 20 20 3a 20 74 69 6d 65 72 20 74 32 31 20 68 61 73 20 65 ┆ed t21 : timer t21 has e┆ 0x40f60…40f80 78 70 69 72 65 64 0d 0a 09 74 32 32 09 3a 20 74 69 6d 65 72 20 74 32 32 20 68 61 73 20 65 78 70 ┆xpired t22 : timer t22 has exp┆ 0x40f80…40fa0 69 72 65 64 0d 0a 09 74 32 33 09 3a 20 74 69 6d 65 72 20 74 32 33 20 68 61 73 20 65 78 70 69 72 ┆ired t23 : timer t23 has expir┆ 0x40fa0…40fc0 65 64 0d 0a 09 74 33 30 09 3a 20 74 69 6d 65 72 20 74 33 30 20 68 61 73 20 65 78 70 69 72 65 64 ┆ed t30 : timer t30 has expired┆ 0x40fc0…40fe0 0d 0a 09 74 33 31 09 3a 20 74 69 6d 65 72 20 74 33 31 20 68 61 73 20 65 78 70 69 72 65 64 0d 0a ┆ t31 : timer t31 has expired ┆ 0x40fe0…40fe3 FormFeed { 0x40fe0…40fe3 0c 80 a4 ┆ ┆ 0x40fe0…40fe3 } 0x40fe3…41000 0a 09 78 69 6e 63 63 61 6c 09 3a 20 58 2e 32 35 20 69 6e 63 6f 6d 6d 69 6e 67 20 63 61 ┆ xinccal : X.25 incomming ca┆ 0x41000…41020 (520,) 6c 6c 20 72 65 63 65 69 76 65 64 0d 0a 09 78 63 61 6c 63 6f 6e 09 3a 20 58 2e 32 35 20 63 61 6c ┆ll received xcalcon : X.25 cal┆ 0x41020…41040 6c 20 63 6f 6e 6e 65 63 74 65 64 20 70 61 63 6b 65 74 20 72 65 63 65 69 76 65 64 0d 0a 09 78 63 ┆l connected packet received xc┆ 0x41040…41060 6c 65 61 72 09 3a 20 58 2e 32 35 20 63 6c 65 61 72 20 69 6e 64 69 63 61 74 69 6f 6e 20 72 65 63 ┆lear : X.25 clear indication rec┆ 0x41060…41080 65 69 76 65 64 0d 0a 09 78 63 6c 72 2d 63 6f 09 3a 20 58 2e 32 35 20 63 6c 65 61 72 20 63 6f 6e ┆eived xclr-co : X.25 clear con┆ 0x41080…410a0 66 69 72 6d 61 74 69 6f 6e 20 70 61 63 6b 65 74 20 72 65 63 65 69 76 65 64 0d 0a 09 78 64 61 74 ┆firmation packet received xdat┆ 0x410a0…410c0 72 6e 72 09 3a 20 69 6e 74 65 72 6e 61 6c 20 65 76 65 6e 74 3a 20 78 64 61 74 61 20 64 74 65 20 ┆rnr : internal event: xdata dte ┆ 0x410c0…410e0 6e 6f 74 20 72 65 61 64 79 0d 0a 09 78 64 61 74 61 09 3a 20 58 2e 32 35 20 64 61 74 61 20 70 61 ┆not ready xdata : X.25 data pa┆ 0x410e0…41100 63 6b 65 74 20 72 65 63 65 69 76 65 64 0d 0a 09 78 69 6e 74 09 3a 20 58 2e 32 35 20 69 6e 74 65 ┆cket received xint : X.25 inte┆ 0x41100…41120 72 72 75 70 74 20 70 61 63 6b 65 74 20 72 65 63 65 69 76 65 64 0d 0a 09 78 69 6e 74 2d 63 6f 09 ┆rrupt packet received xint-co ┆ 0x41120…41140 3a 20 58 2e 32 35 20 69 6e 74 65 72 72 75 70 74 20 63 6f 6e 66 69 72 6d 61 74 69 6f 6e 20 70 61 ┆: X.25 interrupt confirmation pa┆ 0x41140…41160 63 6b 65 74 20 72 65 63 65 69 76 65 64 0d 0a 09 78 72 72 09 3a 20 58 2e 32 35 20 72 72 20 70 61 ┆cket received xrr : X.25 rr pa┆ 0x41160…41180 63 6b 65 74 20 72 65 63 65 69 76 65 64 0d 0a 09 78 72 6e 72 09 3a 20 58 2e 32 35 20 72 6e 72 20 ┆cket received xrnr : X.25 rnr ┆ 0x41180…411a0 70 61 63 6b 65 74 20 72 65 63 65 69 76 65 64 0d 0a 09 78 72 65 73 65 74 09 3a 20 58 2e 32 35 20 ┆packet received xreset : X.25 ┆ 0x411a0…411c0 72 65 73 65 74 20 69 6e 64 69 63 61 74 69 6f 6e 20 72 65 63 65 69 76 65 64 0d 0a 09 78 72 65 73 ┆reset indication received xres┆ 0x411c0…411e0 65 74 63 09 3a 20 58 2e 32 35 20 72 65 73 65 74 20 63 6f 6e 66 69 72 6d 61 74 69 6f 6e 20 70 61 ┆etc : X.25 reset confirmation pa┆ 0x411e0…41200 63 6b 65 74 20 72 65 63 65 69 76 65 64 0d 0a 09 6f 74 68 65 72 73 09 3a 20 6f 74 68 65 72 20 75 ┆cket received others : other u┆ 0x41200…41220 (521,) 6e 64 65 66 69 6e 65 64 20 6f 72 20 69 6c 6c 65 67 61 6c 20 58 2e 32 35 20 70 61 63 6b 65 74 20 ┆ndefined or illegal X.25 packet ┆ 0x41220…4122a 72 65 63 65 69 76 65 64 0d 0a ┆received ┆ 0x4122a…4122d FormFeed { 0x4122a…4122d 0c 80 8d ┆ ┆ 0x4122a…4122d } 0x4122d…41240 0a b0 a1 44 2e 33 09 54 65 73 74 6f 75 74 70 75 74 20 45 ┆ D.3 Testoutput E┆ 0x41240…41260 78 61 6d 70 6c 65 73 0d 0a 0d 0a a1 b0 44 2e 33 2e 31 09 50 72 6f 63 65 73 73 20 64 74 65 0d 0a ┆xamples D.3.1 Process dte ┆ 0x41260…41262 0d 0a ┆ ┆ 0x41262…41265 FormFeed { 0x41262…41265 0c 80 84 ┆ ┆ 0x41262…41265 } 0x41265…41280 0a b0 a1 44 2e 33 2e 32 09 50 72 6f 63 65 73 73 20 64 74 65 5f 63 68 61 6e 5f 30 ┆ D.3.2 Process dte_chan_0┆ 0x41280…41288 30 31 0d 0a 0d 0a 0d 0a ┆01 ┆ 0x41288…4128b FormFeed { 0x41288…4128b 0c 80 83 ┆ ┆ 0x41288…4128b } 0x4128b…412a0 0a b0 a1 45 2e 09 43 4f 4e 54 45 4e 54 53 20 4f 46 20 4c 49 42 ┆ E. CONTENTS OF LIB┆ 0x412a0…412c0 52 41 52 49 45 53 0d 0a 0d 0a 09 84 49 6e 20 74 68 69 73 20 61 70 70 65 6e 64 69 78 20 61 72 65 ┆RARIES In this appendix are┆ 0x412c0…412e0 20 74 68 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 74 68 65 20 64 69 66 66 65 72 65 6e 74 20 44 ┆ the contents of the different D┆ 0x412e0…41300 54 45 20 6c 69 62 72 61 72 69 65 73 20 0a 19 89 80 80 73 68 6f 77 6e 2e 20 49 6e 20 45 2e 31 20 ┆TE libraries shown. In E.1 ┆ 0x41300…41320 74 68 65 20 6c 69 62 72 61 72 69 65 73 20 6f 70 65 72 61 74 65 64 20 6f 6e 20 62 79 20 74 68 65 ┆the libraries operated on by the┆ 0x41320…41340 20 66 70 20 75 74 69 6c 69 74 79 20 b0 6c 69 62 20 0a 19 89 81 82 f0 28 73 6f 75 72 63 65 20 6c ┆ fp utility lib (source l┆ 0x41340…41360 69 62 72 61 72 69 65 73 29 20 61 6e 64 20 69 6e 20 45 2e 32 20 74 68 6f 73 65 20 6f 70 65 72 61 ┆ibraries) and in E.2 those opera┆ 0x41360…41380 74 65 64 20 6f 6e 20 62 79 20 74 68 65 20 66 70 20 0a 19 89 81 80 75 74 69 6c 69 74 69 65 73 20 ┆ted on by the fp utilities ┆ 0x41380…413a0 b0 70 6c 69 62 6c 6f 6f 6b 75 70 f0 2c 20 b0 70 6c 69 62 69 6e 73 65 72 74 f0 2c 20 b0 70 6c 69 ┆ pliblookup , plibinsert , pli┆ 0x413a0…413c0 62 65 78 74 72 61 63 74 20 f0 61 6e 64 20 b0 70 6c 69 62 64 65 6c 65 74 65 20 0a 19 89 85 82 f0 ┆bextract and plibdelete ┆ 0x413c0…413e0 28 62 69 6e 61 72 79 20 6c 69 62 72 61 72 69 65 73 29 2e 0d 0a 0d 0a 0d 0a b0 a1 45 2e 31 09 4c ┆(binary libraries). E.1 L┆ 0x413e0…413ec 69 62 2d 46 69 6c 65 73 0d 0a 0d 0a ┆ib-Files ┆ 0x413ec…413ef FormFeed { 0x413ec…413ef 0c 80 8b ┆ ┆ 0x413ec…413ef } 0x413ef…413f2 0a 0d 0a ┆ ┆ 0x413f2…413f5 FormFeed { 0x413f2…413f5 0c 80 81 ┆ ┆ 0x413f2…413f5 } 0x413f5…41400 0a b0 a1 45 2e 32 09 50 6c 69 62 ┆ E.2 Plib┆ 0x41400…41408 (522,) 2d 46 69 6c 65 73 0d 0a ┆-Files ┆ 0x41408…4140b FormFeed { 0x41408…4140b 0c 80 81 ┆ ┆ 0x41408…4140b } 0x4140b…4140e 0a 0d 0a ┆ ┆ 0x4140e…41411 FormFeed { 0x4140e…41411 0c 80 81 ┆ ┆ 0x4140e…41411 } 0x41411…41420 0a b0 a1 46 2e 09 43 4f 4d 50 49 4c 41 54 49 ┆ F. COMPILATI┆ 0x41420…41440 4f 4e 20 45 58 41 4d 50 4c 45 53 0d 0a 0d 0a 09 84 49 6e 20 74 68 69 73 20 61 70 70 65 6e 64 69 ┆ON EXAMPLES In this appendi┆ 0x41440…41460 78 20 66 6f 75 72 20 63 6f 6d 70 69 6c 61 74 69 6f 6e 20 65 78 61 6d 70 6c 65 73 20 61 72 65 20 ┆x four compilation examples are ┆ 0x41460…41480 73 68 6f 77 6e 2e 20 49 6e 20 46 2e 31 20 69 73 20 0a 19 89 80 80 74 68 65 20 6f 70 65 72 61 74 ┆shown. In F.1 is the operat┆ 0x41480…414a0 6f 72 20 64 69 61 6c 6f 67 75 65 20 64 75 72 69 6e 67 20 61 6e 20 75 70 64 61 74 65 20 6f 66 20 ┆or dialogue during an update of ┆ 0x414a0…414c0 61 6e 20 65 78 69 73 74 69 6e 67 20 62 69 6e 61 72 79 20 64 74 65 20 0a 19 89 80 80 73 68 6f 77 ┆an existing binary dte show┆ 0x414c0…414e0 6e 2e 20 49 6e 20 46 2e 32 20 69 73 20 74 68 65 20 67 65 6e 65 72 61 74 69 6f 6e 20 6f 66 20 74 ┆n. In F.2 is the generation of t┆ 0x414e0…41500 68 65 20 58 2e 32 35 20 70 72 6f 63 65 64 75 72 65 20 6c 69 62 72 61 72 79 20 0a 19 89 80 80 73 ┆he X.25 procedure library s┆ 0x41500…41520 68 6f 77 6e 20 61 6e 64 20 69 6e 20 46 2e 33 20 61 6e 20 75 70 64 61 74 65 20 6f 66 20 74 68 65 ┆hown and in F.3 an update of the┆ 0x41520…41540 20 73 61 6d 65 20 6c 69 62 72 61 72 79 2e 20 54 68 65 20 74 72 61 63 65 20 73 79 73 74 65 6d 20 ┆ same library. The trace system ┆ 0x41540…41560 0a 19 89 80 80 67 65 6e 65 72 61 74 69 6f 6e 20 69 73 20 73 68 6f 77 6e 20 69 6e 20 46 2e 34 2e ┆ generation is shown in F.4.┆ 0x41560…41580 20 41 6c 6c 20 6f 70 65 72 61 74 6f 72 20 6f 70 65 72 61 74 69 6f 6e 73 20 61 72 65 20 69 6e 64 ┆ All operator operations are ind┆ 0x41580…415a0 69 63 61 74 65 64 20 0a 19 89 80 80 62 79 20 62 6c 6f 63 6b 20 66 61 63 65 64 20 74 79 70 65 73 ┆icated by block faced types┆ 0x415a0…415a3 2e 0d 0a ┆. ┆ 0x415a3…415a6 FormFeed { 0x415a3…415a6 0c 80 88 ┆ ┆ 0x415a3…415a6 } 0x415a6…415c0 0a a1 b0 46 2e 31 09 55 70 64 61 74 65 20 6f 66 20 61 6e 20 45 78 69 73 74 69 ┆ F.1 Update of an Existi┆ 0x415c0…415e0 6e 67 20 42 69 6e 61 72 79 20 64 74 65 2e 0d 0a 81 0d 0a 09 b0 6c 69 62 20 73 65 74 2e 6c 69 62 ┆ng Binary dte. lib set.lib┆ 0x415e0…41600 6a 64 74 65 20 6a 64 74 65 67 65 6e 0d 0a 0d 0a 09 65 6e 64 20 20 20 20 20 20 20 20 20 33 38 0d ┆jdte jdtegen end 38 ┆ 0x41600…41620 (523,) 0a 09 b0 69 20 6a 64 74 65 67 65 6e 0d 0a 09 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 20 43 ┆ i jdtegen *************** C┆ 0x41620…41640 45 4e 54 45 52 4e 45 54 20 44 54 45 20 4d 4f 44 55 4c 45 20 43 4f 4d 50 49 4c 41 54 49 4f 4e 20 ┆ENTERNET DTE MODULE COMPILATION ┆ 0x41640…41660 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 ┆*************** type┆ 0x41660…41680 20 46 49 4c 45 20 4e 41 4d 45 20 6f 66 20 53 4f 55 52 43 45 20 44 54 45 20 3a 20 b0 6c 69 62 74 ┆ FILE NAME of SOURCE DTE : libt┆ 0x41680…416a0 64 74 65 31 34 0d 0a 09 20 20 81 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ┆dte14 ---------------------┆ 0x416a0…416c0 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0d 0a 09 20 20 63 6f 6d 70 69 6c 61 ┆-------------------- compila┆ 0x416c0…416e0 74 69 6f 6e 20 6f 66 20 44 54 45 20 73 75 70 65 72 76 69 73 6f 72 20 20 74 79 70 65 20 31 2c 79 ┆tion of DTE supervisor type 1,y┆ 0x416e0…41700 65 73 20 0d 0a 09 20 20 63 6f 6d 70 69 6c 61 74 69 6f 6e 20 6f 66 20 44 54 45 20 61 63 63 65 73 ┆es compilation of DTE acces┆ 0x41700…41720 73 20 20 20 20 20 20 74 79 70 65 20 32 2e 79 65 73 0d 0a 09 20 20 63 6f 6d 70 69 6c 61 74 69 6f ┆s type 2.yes compilatio┆ 0x41720…41740 6e 20 6f 66 20 44 54 45 20 63 68 61 6e 6e 65 6c 20 70 2e 20 20 74 79 70 65 20 33 2e 79 65 73 0d ┆n of DTE channel p. type 3.yes ┆ 0x41740…41760 0a 09 20 20 63 6f 6d 70 69 6c 61 74 69 6f 6e 20 6f 66 20 44 54 45 20 6c 63 6e 20 7a 65 72 6f 20 ┆ compilation of DTE lcn zero ┆ 0x41760…41780 20 20 20 74 79 70 65 20 34 2e 79 65 73 0d 0a 09 20 20 63 6f 6d 70 69 6c 61 74 69 6f 6e 20 6f 66 ┆ type 4.yes compilation of┆ 0x41780…417a0 20 68 72 65 63 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 20 35 2e 79 65 73 0d 0a 09 20 20 ┆ hrec type 5.yes ┆ 0x417a0…417c0 63 6f 6d 70 69 6c 61 74 69 6f 6e 20 6f 66 20 44 54 45 20 70 6f 6f 6c 68 61 6e 64 6c 65 72 20 74 ┆compilation of DTE poolhandler t┆ 0x417c0…417e0 79 70 65 20 36 2e 79 65 73 0d 0a 09 20 20 69 6e 20 6f 6e 65 20 6c 69 6e 65 20 65 6e 64 65 64 20 ┆ype 6.yes in one line ended ┆ 0x417e0…41800 77 69 74 68 20 3c 63 72 3e 0d 0a 09 b0 35 2e 79 65 73 0d 0a 09 20 20 54 79 70 65 20 6e 61 6d 65 ┆with <cr> 5.yes Type name┆ 0x41800…41820 (524,) 20 6f 66 20 44 54 45 20 43 4f 4e 46 49 47 55 52 41 54 49 4f 4e 20 66 69 6c 65 0d 0a 09 20 20 73 ┆ of DTE CONFIGURATION file s┆ 0x41820…41840 74 61 6e 64 61 72 64 20 66 69 6c 65 20 3a 20 74 79 70 65 20 73 74 64 63 6f 6e 66 0d 0a 09 b0 73 ┆tandard file : type stdconf s┆ 0x41840…41860 74 64 63 6f 6e 66 0d 0a 09 20 20 54 79 70 65 20 79 65 73 20 69 66 20 6c 69 73 74 6e 69 6e 67 20 ┆tdconf Type yes if listning ┆ 0x41860…41880 6f 66 20 44 54 45 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 66 69 6c 65 0d 0a 20 20 20 20 20 ┆of DTE configuration file ┆ 0x41880…418a0 20 20 20 20 20 20 69 73 20 77 61 6e 74 65 64 20 45 4c 53 45 20 6e 6f 20 21 21 0d 0a 09 b0 6e 6f ┆ is wanted ELSE no !! no┆ 0x418a0…418c0 0d 0a 0d 0a 09 69 6e 66 6f 72 6d 61 74 69 6f 6e 3a 20 73 65 67 6d 20 70 72 2e 20 62 75 66 20 6f ┆ information: segm pr. buf o┆ 0x418c0…418e0 70 74 69 6d 69 7a 65 64 3a 20 33 34 0d 0a 09 65 6e 64 0d 0a 09 20 20 55 50 44 41 54 45 20 6f 66 ┆ptimized: 34 end UPDATE of┆ 0x418e0…41900 20 61 6e 20 45 58 49 53 54 49 4e 47 20 6f 72 20 4e 45 57 20 20 62 69 6e 61 72 79 20 44 54 45 20 ┆ an EXISTING or NEW binary DTE ┆ 0x41900…41920 3f 3f 3f 3f 0d 0a 09 20 20 54 79 70 65 20 79 65 73 20 6f 72 20 6e 6f 20 3a 20 b0 79 65 73 0d 0a ┆???? Type yes or no : yes ┆ 0x41920…41940 09 20 20 54 79 70 65 20 4e 41 4d 45 20 6f 66 20 45 58 49 53 54 49 4e 47 20 6f 72 20 4e 45 57 20 ┆ Type NAME of EXISTING or NEW ┆ 0x41940…41960 62 69 6e 61 72 79 20 44 54 45 20 3a 20 b0 62 64 74 65 32 30 0d 0a 20 20 20 20 20 20 20 20 20 20 ┆binary DTE : bdte20 ┆ 0x41960…41980 64 74 65 20 68 72 65 63 20 63 6f 6d 70 69 6c 61 74 69 6f 6e 0d 0a 09 20 64 74 65 20 68 72 65 63 ┆dte hrec compilation dte hrec┆ 0x41980…419a0 20 70 72 6f 63 77 65 73 73 20 67 65 6e 65 72 61 74 65 64 0d 0a 09 20 62 69 6e 61 72 79 20 64 74 ┆ procwess generated binary dt┆ 0x419a0…419c0 65 20 75 70 64 61 74 65 64 0d 0a 09 2a 2a 2a 6c 6f 6f 6b 75 70 20 74 65 6d 70 64 74 65 20 75 6e ┆e updated ***lookup tempdte un┆ 0x419c0…419e0 6b 6e 6f 77 6e 0d 0a 09 20 64 74 65 20 67 65 6e 65 72 61 74 69 6f 6e 20 65 6e 64 65 64 0d 0a 0d ┆known dte generation ended ┆ 0x419e0…419e1 0a ┆ ┆ 0x419e1…419e4 FormFeed { 0x419e1…419e4 0c 80 a3 ┆ ┆ 0x419e1…419e4 } 0x419e4…41a00 0a a1 b0 46 2e 32 09 47 65 6e 65 72 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 58 2e 32 ┆ F.2 Generation of the X.2┆ 0x41a00…41a20 (525,) 35 20 50 72 6f 63 65 64 75 72 65 20 4c 69 62 72 61 72 79 2e 0d 0a 0d 0a 09 b0 6c 69 62 20 73 65 ┆5 Procedure Library. lib se┆ 0x41a20…41a40 74 2e 6c 69 62 6a 64 74 65 20 6a 78 32 35 6c 69 62 0d 0a 0d 0a 09 65 6e 64 20 20 20 20 20 20 20 ┆t.libjdte jx25lib end ┆ 0x41a40…41a60 20 20 33 38 0d 0a b0 09 69 20 6a 78 32 35 6c 69 62 0d 0a 09 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 20 43 ┆ 38 i jx25lib ********** C┆ 0x41a60…41a80 45 4e 54 45 52 4e 45 54 20 45 58 54 45 52 4e 41 4c 20 58 32 35 20 4c 49 42 52 41 52 59 20 47 45 ┆ENTERNET EXTERNAL X25 LIBRARY GE┆ 0x41a80…41aa0 4e 45 52 41 54 49 4f 4e 20 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 0d 0a 20 20 09 20 20 74 79 70 65 20 46 ┆NERATION ********** type F┆ 0x41aa0…41ac0 49 4c 45 20 4e 41 4d 45 20 6f 66 20 53 4f 55 52 43 45 20 58 2e 32 35 20 3a 20 b0 6c 69 62 78 32 ┆ILE NAME of SOURCE X.25 : libx2┆ 0x41ac0…41ae0 35 0d 0a 09 66 61 73 74 6d 6f 76 65 3a 20 61 20 74 65 6d 70 6f 72 61 72 79 20 6f 75 74 70 75 74 ┆5 fastmove: a temporary output┆ 0x41ae0…41b00 20 66 69 6c 65 20 63 72 65 61 74 65 64 20 6f 6e 20 64 69 73 63 0d 0a 0d 0a 09 65 6e 64 20 20 20 ┆ file created on disc end ┆ 0x41b00…41b20 20 20 20 20 20 20 33 38 0d 0a 09 65 64 69 74 20 62 65 67 69 6e 2e 0d 0a 09 3b 20 20 20 20 28 2a ┆ 38 edit begin. ; (*┆ 0x41b20…41b40 2a 2a 2a 20 63 68 65 63 6b 20 78 32 35 20 66 61 63 69 6c 69 74 69 65 73 20 2a 2a 2a 2a 29 0d 0a ┆*** check x25 facilities ****) ┆ 0x41b40…41b60 09 3b 20 20 20 20 28 2a 2a 2a 2a 20 63 68 65 63 6b 20 66 61 63 69 20 73 70 65 63 20 2a 2a 2a 2a ┆ ; (**** check faci spec ****┆ 0x41b60…41b80 29 0d 0a 09 3b 20 20 20 20 28 2a 2a 2a 2a 20 70 72 6f 63 65 64 75 72 65 20 63 6f 64 65 20 78 32 ┆) ; (**** procedure code x2┆ 0x41b80…41ba0 35 20 2a 2a 2a 2a 29 0d 0a 09 3b 20 20 20 20 28 2a 2a 2a 2a 20 70 72 6f 63 65 64 75 72 65 20 64 ┆5 ****) ; (**** procedure d┆ 0x41ba0…41bc0 65 63 6f 64 65 20 78 32 35 20 2a 2a 2a 2a 29 0d 0a 20 20 20 20 20 20 20 20 20 3b 20 20 20 20 28 ┆ecode x25 ****) ; (┆ 0x41bc0…41be0 2a 2a 2a 2a 20 69 6e 69 74 20 78 32 35 20 66 61 63 69 6c 69 74 79 20 63 68 65 63 6b 20 2a 2a 2a ┆**** init x25 facility check ***┆ 0x41be0…41c00 2a 29 0d 0a 09 3b 20 20 20 20 28 2a 2a 2a 2a 20 69 6e 69 74 20 77 69 6e 64 6f 77 20 2a 2a 2a 2a ┆*) ; (**** init window ****┆ 0x41c00…41c20 (526,) 29 0d 0a 09 3b 20 20 20 20 28 2a 2a 2a 2a 20 70 61 63 6b 20 61 64 64 72 65 73 73 20 2a 2a 2a 2a ┆) ; (**** pack address ****┆ 0x41c20…41c40 29 0d 0a 09 3b 20 20 20 20 28 2a 2a 2a 2a 20 75 6e 70 61 63 6b 20 61 64 64 72 65 73 73 20 2a 2a ┆) ; (**** unpack address **┆ 0x41c40…41c60 2a 2a 29 0d 0a 09 2e 20 20 20 20 28 2a 2a 2a 2a 20 70 72 6f 63 65 64 75 72 65 20 77 5f 61 6c 67 ┆**) . (**** procedure w_alg┆ 0x41c60…41c80 6f 72 69 74 68 6d 20 2a 2a 2a 2a 29 0d 0a 0d 0a 09 31 31 33 36 20 20 6c 69 6e 65 2c 20 65 6e 64 ┆orithm ****) 1136 line, end┆ 0x41c80…41ca0 20 64 6f 63 75 6d 65 6e 74 2e 0d 0a 09 65 64 69 74 20 65 6e 64 2e 0d 0a 20 20 20 20 20 20 20 20 ┆ document. edit end. ┆ 0x41ca0…41cc0 20 20 78 32 35 20 6c 69 62 72 61 72 79 20 67 65 6e 65 72 61 74 69 6f 6e 0d 0a 09 20 78 32 35 20 ┆ x25 library generation x25 ┆ 0x41cc0…41ce0 6c 69 62 72 61 72 79 20 67 65 6e 65 72 61 74 65 64 0d 0a 09 20 78 32 35 20 65 78 74 65 72 6e 61 ┆library generated x25 externa┆ 0x41ce0…41d00 6c 20 70 72 6f 63 65 64 75 72 65 20 6c 69 62 72 61 72 79 20 63 6f 6d 70 69 6c 61 74 69 6f 6e 20 ┆l procedure library compilation ┆ 0x41d00…41d09 65 6e 64 65 64 0d 0a 0d 0a ┆ended ┆ 0x41d09…41d0c FormFeed { 0x41d09…41d0c 0c 80 9c ┆ ┆ 0x41d09…41d0c } 0x41d0c…41d20 0a a1 b0 46 2e 33 09 55 70 64 61 74 65 20 6f 66 20 74 68 65 ┆ F.3 Update of the┆ 0x41d20…41d40 20 58 2e 32 35 20 50 72 6f 63 65 64 75 72 65 20 4c 69 62 72 61 72 79 2e 0d 0a 0d 0a 09 b0 6c 69 ┆ X.25 Procedure Library. li┆ 0x41d40…41d60 62 20 73 65 74 2e 6c 69 62 6a 64 74 65 20 6a 78 32 35 70 72 6f 63 0d 0a 0d 0a 09 65 6e 64 20 20 ┆b set.libjdte jx25proc end ┆ 0x41d60…41d80 20 20 20 20 20 20 20 33 38 0d 0a 09 b0 69 20 6a 78 32 35 70 72 6f 63 0d 0a 09 2a 2a 2a 2a 2a 2a ┆ 38 i jx25proc ******┆ 0x41d80…41da0 2a 2a 2a 2a 20 43 45 4e 54 45 52 4e 45 54 20 58 32 35 20 45 78 74 65 72 6e 61 6c 20 50 72 6f 63 ┆**** CENTERNET X25 External Proc┆ 0x41da0…41dc0 65 64 75 72 65 20 43 6f 6d 70 69 6c 61 74 69 6f 6e 20 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 0d 0a 20 20 ┆edure Compilation ********** ┆ 0x41dc0…41de0 20 20 20 20 20 20 20 20 20 74 79 70 65 20 46 49 4c 45 20 4e 41 4d 45 20 6f 66 20 53 4f 55 52 43 ┆ type FILE NAME of SOURC┆ 0x41de0…41e00 45 20 58 2e 32 35 0d 0a 09 20 20 65 6e 64 65 64 20 77 69 74 68 20 61 20 7b 20 20 20 20 20 20 20 ┆E X.25 ended with a æ ┆ 0x41e00…41e20 (527,) 20 20 20 20 20 20 20 20 20 b0 3a 20 6c 69 62 74 78 32 35 7b 0d 0a 09 20 20 74 79 70 65 20 4e 41 ┆ : libtx25æ type NA┆ 0x41e20…41e40 4d 45 20 6f 66 20 45 58 54 45 52 4e 41 4c 20 50 52 4f 43 45 44 55 52 45 2c 0d 0a 09 20 20 65 6e ┆ME of EXTERNAL PROCEDURE, en┆ 0x41e40…41e60 64 65 64 20 77 69 74 68 20 61 20 7b 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 b0 3a 20 70 ┆ded with a æ : p┆ 0x41e60…41e80 61 63 6b 61 64 72 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 20 79 65 73 20 69 66 20 ┆ackadræ type yes if ┆ 0x41e80…41ea0 4c 49 53 54 4e 49 4e 47 20 6f 66 20 73 6f 75 72 63 65 20 65 6c 73 65 20 6e 6f 0d 0a 09 b0 6e 6f ┆LISTNING of source else no no┆ 0x41ea0…41ec0 0d 0a 0d 0a 09 65 6e 64 20 20 20 20 20 20 20 20 20 33 38 0d 0a 09 20 20 78 32 35 20 65 78 74 65 ┆ end 38 x25 exte┆ 0x41ec0…41ee0 72 6e 61 6c 20 70 72 6f 63 65 64 75 72 65 20 63 6f 6d 70 69 6c 61 74 69 6f 6e 0d 0a 09 20 20 78 ┆rnal procedure compilation x┆ 0x41ee0…41f00 32 35 20 6c 69 62 72 61 72 79 20 75 70 64 61 74 65 64 0d 0a 09 20 20 78 32 35 20 70 72 6f 63 65 ┆25 library updated x25 proce┆ 0x41f00…41f18 64 75 72 65 20 63 6f 6d 70 69 6c 61 74 69 6f 6e 20 65 6e 64 65 64 0d 0a ┆dure compilation ended ┆ 0x41f18…41f1b FormFeed { 0x41f18…41f1b 0c 80 92 ┆ ┆ 0x41f18…41f1b } 0x41f1b…41f20 0a a1 b0 46 2e ┆ F.┆ 0x41f20…41f40 34 09 47 65 6e 65 72 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 54 72 61 63 65 20 53 79 73 74 65 6d ┆4 Generation of the Trace System┆ 0x41f40…41f60 2e 0d 0a 0d 0a 09 b0 6c 69 62 20 73 65 74 2e 6c 69 62 6a 64 74 65 20 6a 64 74 65 74 72 61 63 65 ┆. lib set.libjdte jdtetrace┆ 0x41f60…41f80 0d 0a 0d 0a 20 09 65 6e 64 20 20 20 20 20 20 20 20 20 33 38 0d 0a 09 b0 69 20 6a 64 74 65 74 72 ┆ end 38 i jdtetr┆ 0x41f80…41fa0 61 63 65 0d 0a 09 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 20 43 45 4e 54 45 52 4e 45 54 20 44 54 45 20 ┆ace *********** CENTERNET DTE ┆ 0x41fa0…41fc0 54 52 41 43 45 20 53 59 53 54 45 4d 20 43 4f 4d 50 49 4c 41 54 49 4f 4e 20 2a 2a 2a 2a 2a 2a 2a ┆TRACE SYSTEM COMPILATION *******┆ 0x41fc0…41fe0 2a 2a 2a 2a 0d 0a 09 20 20 74 79 70 65 20 46 49 4c 45 20 4e 41 4d 45 20 6f 66 20 53 4f 55 52 43 ┆**** type FILE NAME of SOURC┆ 0x41fe0…42000 45 20 44 54 45 20 54 52 41 43 45 20 b0 3a 20 6c 69 62 74 64 74 65 31 34 0d 0a 09 20 20 81 2d 2d ┆E DTE TRACE : libtdte14 --┆ 0x42000…42020 (528,) 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ┆--------------------------------┆ 0x42020…42040 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0d 0a 09 20 20 63 6f 6d 70 69 6c 61 74 69 6f 6e 20 6f 66 20 ┆------------ compilation of ┆ 0x42040…42060 44 54 45 20 74 72 61 63 65 20 20 20 20 20 20 20 74 79 70 65 20 31 2e 79 65 73 0d 0a 09 20 20 63 ┆DTE trace type 1.yes c┆ 0x42060…42080 6f 6d 70 69 6c 61 74 69 6f 6e 20 6f 66 20 44 54 45 20 6f 75 74 74 72 61 63 65 20 20 20 20 74 79 ┆ompilation of DTE outtrace ty┆ 0x42080…420a0 70 65 20 32 2e 79 65 73 0d 0a 20 20 20 20 20 20 20 20 20 20 20 69 6e 20 6f 6e 65 20 6c 69 6e 65 ┆pe 2.yes in one line┆ 0x420a0…420c0 20 65 6e 64 65 64 20 77 69 74 68 20 3c 63 72 3e 0d 0a 09 b0 31 2e 79 65 73 20 32 2e 79 65 73 0d ┆ ended with <cr> 1.yes 2.yes ┆ 0x420c0…420e0 0a 09 20 20 55 50 44 41 54 45 20 6f 66 20 61 6e 20 45 58 49 53 54 49 4e 47 20 62 69 6e 61 72 79 ┆ UPDATE of an EXISTING binary┆ 0x420e0…42100 20 44 54 45 20 54 52 41 43 45 20 53 59 53 54 45 4d 20 3f 3f 3f 3f 0d 0a 09 20 20 74 79 70 65 20 ┆ DTE TRACE SYSTEM ???? type ┆ 0x42100…42120 79 65 73 20 6f 72 20 6e 6f 20 b0 3a 20 6e 6f 0d 0a 09 20 64 74 65 20 74 72 61 63 65 20 63 6f 6d ┆yes or no : no dte trace com┆ 0x42120…42140 70 69 6c 61 74 69 6f 6e 0d 0a 09 20 64 74 65 20 74 72 61 63 65 20 70 72 6f 63 65 73 73 20 67 65 ┆pilation dte trace process ge┆ 0x42140…42160 6e 65 72 61 74 65 64 0d 0a 09 20 64 74 65 20 6f 75 74 74 72 61 63 65 20 63 6f 6d 70 69 6c 61 74 ┆nerated dte outtrace compilat┆ 0x42160…42180 69 6f 6e 0d 0a 09 20 64 74 65 20 6f 75 74 74 72 61 63 65 20 70 72 6f 63 65 73 73 20 67 65 6e 65 ┆ion dte outtrace process gene┆ 0x42180…421a0 72 61 74 65 64 0d 0a 09 2a 2a 2a 6c 6f 6f 6b 75 70 20 74 65 6d 70 64 74 65 20 75 6e 6b 6e 6f 77 ┆rated ***lookup tempdte unknow┆ 0x421a0…421c0 6e 0d 0a 09 20 64 74 65 20 74 72 61 63 65 20 73 79 73 74 65 6d 20 67 65 6e 65 72 61 74 69 6f 6e ┆n dte trace system generation┆ 0x421c0…421c8 20 65 6e 64 65 64 0d 0a ┆ ended ┆ 0x421c8…421cb FormFeed { 0x421c8…421cb 0c 80 95 ┆ ┆ 0x421c8…421cb } 0x421cb…421d0 0a 0d 0a 0d 0a ┆ ┆ 0x421d0…421d3 FormFeed { 0x421d0…421d3 0c 80 82 ┆ ┆ 0x421d0…421d3 } 0x421d3…421e0 0a a1 b0 47 2e 09 42 55 46 46 45 52 20 ┆ G. BUFFER ┆ 0x421e0…42200 4c 41 59 4f 55 54 20 49 4e 20 43 41 4c 4c 20 53 45 54 2d 55 50 20 50 48 41 53 45 2e 0d 0a 0d 0a ┆LAYOUT IN CALL SET-UP PHASE. ┆ 0x42200…42220 (529,) 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ […0x1…] 0x42240…42260 0d 0a 0d 0a 0d 0a 0d 0a 09 46 69 67 75 72 65 20 34 39 3a 20 84 4c 61 79 6f 75 74 20 61 6e 64 20 ┆ Figure 49: Layout and ┆ 0x42260…42280 74 72 61 6e 73 66 65 72 20 6f 66 20 63 61 6c 6c 2d 70 61 72 61 6d 65 74 65 72 73 20 66 72 6f 6d ┆transfer of call-parameters from┆ 0x42280…422a0 20 55 73 65 72 20 0a 19 94 80 80 64 74 65 5f 63 61 6c 6c 5f 72 65 71 20 74 6f 20 58 2e 32 35 20 ┆ User dte_call_req to X.25 ┆ 0x422a0…422b8 43 41 4c 4c 20 52 45 51 55 45 53 54 20 70 61 63 6b 65 74 2e 0d 0a 0d 0a ┆CALL REQUEST packet. ┆ 0x422b8…422bb FormFeed { 0x422b8…422bb 0c 80 a9 ┆ ┆ 0x422b8…422bb } 0x422bb…422c0 0a 0d 0a 0d 0a ┆ ┆ 0x422c0…422e0 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a 0d 0a ┆ ┆ […0x1…] 0x42300…42320 0d 0a 0d 0a 0d 0a 09 46 69 67 75 72 65 20 35 30 3a 20 84 4c 61 79 6f 75 74 20 61 6e 64 20 74 72 ┆ Figure 50: Layout and tr┆ 0x42320…42340 61 6e 73 66 65 72 20 6f 66 20 63 61 6c 6c 20 70 61 72 61 6d 65 74 65 72 73 20 66 72 6f 6d 20 61 ┆ansfer of call parameters from a┆ 0x42340…42360 6e 20 49 4e 43 4f 4d 49 4e 47 20 0a 19 94 80 80 43 41 4c 4c 20 50 61 63 6b 65 74 20 74 6f 20 61 ┆n INCOMING CALL Packet to a┆ 0x42360…42380 6e 20 49 6e 74 65 72 6e 61 6c 20 42 75 66 66 65 72 20 61 6e 64 20 61 20 55 73 65 72 20 42 75 66 ┆n Internal Buffer and a User Buf┆ 0x42380…42388 66 65 72 2e 0d 0a 0d 0a ┆fer. ┆ 0x42388…4238b FormFeed { 0x42388…4238b 0c 80 a8 ┆ ┆ 0x42388…4238b } 0x4238b…423a0 0a a1 b0 48 2e 09 49 4e 44 45 58 0d 0a 0d 0a a1 b0 48 2e 31 09 ┆ H. INDEX H.1 ┆ 0x423a0…423c0 53 75 72 76 65 79 20 6f 66 20 46 69 67 75 72 65 73 2e 0d 0a 0d 0a 09 46 69 67 75 72 65 20 20 31 ┆Survey of Figures. Figure 1┆ 0x423c0…423e0 3a 20 50 72 6f 63 65 73 73 20 74 72 65 65 20 6f 66 20 74 68 65 20 45 78 74 65 72 6e 61 6c 20 44 ┆: Process tree of the External D┆ 0x423e0…42400 54 45 20 61 6e 64 20 69 74 73 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 2e 0d 0a 09 46 69 67 75 72 65 ┆TE and its environment. Figure┆ 0x42400…42420 (530,) 20 20 32 3a 20 84 50 72 6f 63 65 73 73 20 74 72 65 65 20 6f 66 20 74 68 65 20 44 54 45 20 64 65 ┆ 2: Process tree of the DTE de┆ 0x42420…42440 62 75 67 67 69 6e 67 2c 20 74 65 73 74 20 61 6e 64 20 74 72 61 63 65 20 0a 19 94 80 80 74 6f 6f ┆bugging, test and trace too┆ 0x42440…42460 6c 73 2e 0d 0a 09 46 69 67 75 72 65 20 20 33 3a 20 4d 65 73 73 61 67 65 20 66 6c 6f 77 20 6f 66 ┆ls. Figure 3: Message flow of┆ 0x42460…42480 20 6e 6f 72 6d 61 6c 65 20 64 61 74 61 2e 0d 0a 09 46 69 67 75 72 65 20 20 34 3a 20 4d 65 73 73 ┆ normale data. Figure 4: Mess┆ 0x42480…424a0 61 67 65 20 66 6c 6f 77 20 6f 66 20 69 6e 74 65 72 72 75 70 74 20 64 61 74 61 2e 0d 0a 09 46 69 ┆age flow of interrupt data. Fi┆ 0x424a0…424c0 67 75 72 65 20 20 35 3a 20 4d 65 73 73 61 67 65 20 66 6c 6f 77 20 6f 66 20 58 2e 32 35 20 63 6f ┆gure 5: Message flow of X.25 co┆ 0x424c0…424e0 6e 74 72 6f 6c 20 70 61 63 6b 65 74 20 6f 75 74 70 75 74 2e 0d 0a 09 46 69 67 75 72 65 20 20 36 ┆ntrol packet output. Figure 6┆ 0x424e0…42500 3a 20 4d 65 73 73 61 67 65 20 66 6c 6f 77 20 61 74 20 56 69 72 74 75 61 6c 20 43 61 6c 6c 20 53 ┆: Message flow at Virtual Call S┆ 0x42500…42520 65 74 2d 75 70 2e 0d 0a 09 46 69 67 75 72 65 20 20 37 3a 20 45 78 74 65 72 6e 61 6c 20 49 6e 74 ┆et-up. Figure 7: External Int┆ 0x42520…42540 65 72 66 61 63 65 73 20 6f 66 20 74 68 65 20 44 54 45 20 6d 6f 64 75 6c 65 2e 0d 0a 09 46 69 67 ┆erfaces of the DTE module. Fig┆ 0x42540…42560 75 72 65 20 20 38 3a 20 4d 65 73 73 61 67 65 20 66 6c 6f 77 20 62 65 74 77 65 65 6e 20 74 68 65 ┆ure 8: Message flow between the┆ 0x42560…42580 20 44 54 45 20 6d 6f 64 75 6c 65 20 61 6e 64 20 74 68 65 20 4e 43 50 2e 0d 0a 09 46 69 67 75 72 ┆ DTE module and the NCP. Figur┆ 0x42580…425a0 65 20 20 39 3a 20 53 6e 61 70 20 73 68 6f 74 20 6f 66 20 72 6f 75 74 69 6e 67 20 70 6f 69 6e 74 ┆e 9: Snap shot of routing point┆ 0x425a0…425c0 65 72 73 2e 0d 0a 09 46 69 67 75 72 65 20 31 30 3a 20 42 75 66 66 65 72 20 66 6c 6f 77 20 66 6f ┆ers. Figure 10: Buffer flow fo┆ 0x425c0…425e0 72 20 62 69 67 62 75 66 2c 20 73 6d 61 6c 6c 62 75 66 2c 20 78 32 35 62 75 66 2e 0d 0a 09 46 69 ┆r bigbuf, smallbuf, x25buf. Fi┆ 0x425e0…42600 67 75 72 65 20 31 31 3a 20 52 65 6c 61 74 69 6f 6e 20 62 65 74 77 65 65 6e 20 73 74 72 65 61 6d ┆gure 11: Relation between stream┆ 0x42600…42620 (531,) 73 20 61 6e 64 20 6c 6f 67 69 63 61 6c 20 63 68 61 6e 6e 65 6c 73 2e 0d 0a 09 46 69 67 75 72 65 ┆s and logical channels. Figure┆ 0x42620…42640 20 31 32 3a 20 53 74 61 74 65 20 74 72 61 6e 73 69 74 69 6f 6e 20 67 72 61 70 68 20 66 6f 72 20 ┆ 12: State transition graph for ┆ 0x42640…42660 64 74 65 5f 73 74 61 74 65 20 69 6e 20 70 72 6f 63 65 73 73 20 64 74 65 2e 0d 0a 09 46 69 67 75 ┆dte_state in process dte. Figu┆ 0x42660…42680 72 65 20 31 33 3a 20 46 6c 6f 77 20 6f 66 20 6d 65 73 73 61 67 65 73 20 74 6f 20 61 6e 64 20 66 ┆re 13: Flow of messages to and f┆ 0x42680…426a0 72 6f 6d 20 64 74 65 2e 0d 0a 09 46 69 67 75 72 65 20 31 34 3a 20 70 72 6f 63 65 73 73 20 64 74 ┆rom dte. Figure 14: process dt┆ 0x426a0…426c0 65 2c 20 6d 61 69 6e 20 66 6c 6f 77 63 68 61 72 74 2e 0d 0a 09 46 69 67 75 72 65 20 31 35 3a 20 ┆e, main flowchart. Figure 15: ┆ 0x426c0…426e0 70 72 6f 63 65 73 73 20 64 74 65 2c 20 70 61 72 74 20 28 42 29 20 66 6c 6f 77 63 68 61 72 74 2e ┆process dte, part (B) flowchart.┆ 0x426e0…42700 0d 0a 09 46 69 67 75 72 65 20 31 36 3a 20 70 72 6f 63 65 73 73 20 64 74 65 2c 20 70 61 72 74 20 ┆ Figure 16: process dte, part ┆ 0x42700…42720 28 43 29 20 66 6c 6f 77 63 68 61 72 74 2e 0d 0a 09 46 69 67 75 72 65 20 31 37 3a 20 50 72 6f 63 ┆(C) flowchart. Figure 17: Proc┆ 0x42720…42740 65 73 73 20 64 74 65 2c 20 70 61 72 74 20 28 44 29 20 66 6c 6f 77 63 68 61 72 74 2e 0d 0a 09 46 ┆ess dte, part (D) flowchart. F┆ 0x42740…42760 69 67 75 72 65 20 31 38 3a 20 50 72 6f 63 65 73 73 20 64 74 65 2c 20 70 61 72 74 20 28 45 29 20 ┆igure 18: Process dte, part (E) ┆ 0x42760…42780 66 6c 6f 77 63 68 61 72 74 2e 0d 0a 09 46 69 67 75 72 65 20 31 39 3a 20 50 72 6f 63 65 73 73 20 ┆flowchart. Figure 19: Process ┆ 0x42780…427a0 64 74 65 2c 20 70 61 72 74 20 28 46 29 20 66 6c 6f 77 63 68 61 72 74 2e 0d 0a 09 46 69 67 75 72 ┆dte, part (F) flowchart. Figur┆ 0x427a0…427c0 65 20 32 30 3a 20 50 72 6f 63 65 73 73 20 64 74 65 2c 20 70 61 72 74 20 28 47 29 20 66 6c 6f 77 ┆e 20: Process dte, part (G) flow┆ 0x427c0…427e0 63 68 61 72 74 2e 0d 0a 09 46 69 67 75 72 65 20 32 31 3a 20 70 72 6f 63 65 73 73 20 64 74 65 2c ┆chart. Figure 21: process dte,┆ 0x427e0…42800 20 70 61 72 74 20 28 48 29 20 66 6c 6f 77 63 68 61 72 74 2e 0d 0a 09 46 69 67 75 72 65 20 32 32 ┆ part (H) flowchart. Figure 22┆ 0x42800…42820 (532,) 3a 20 50 72 6f 63 65 73 73 20 64 74 65 2c 20 70 61 72 74 20 28 49 29 20 66 6c 6f 77 63 68 61 72 ┆: Process dte, part (I) flowchar┆ 0x42820…42840 74 2e 0d 0a 09 46 69 67 75 72 65 20 32 33 3a 20 50 72 6f 63 65 73 73 20 64 74 65 2c 20 70 61 72 ┆t. Figure 23: Process dte, par┆ 0x42840…42860 74 20 28 4a 29 20 66 6c 6f 77 63 68 61 72 74 2e 0d 0a 09 46 69 67 75 72 65 20 32 34 3a 20 53 6e ┆t (J) flowchart. Figure 24: Sn┆ 0x42860…42880 61 70 20 73 68 6f 74 20 6f 66 20 74 61 62 6c 65 73 20 63 6f 6e 6e 65 63 74 69 6f 6e 73 2e 0d 0a ┆ap shot of tables connections. ┆ 0x42880…428a0 09 46 69 67 75 72 65 20 32 35 3a 20 46 6c 6f 77 63 68 61 72 74 20 66 6f 72 20 48 44 4c 43 20 65 ┆ Figure 25: Flowchart for HDLC e┆ 0x428a0…428c0 76 65 6e 74 20 74 72 65 61 74 6d 65 6e 74 2e 0d 0a 09 46 69 67 75 72 65 20 32 36 3a 20 84 53 74 ┆vent treatment. Figure 26: St┆ 0x428c0…428e0 61 74 65 20 74 72 61 6e 73 69 74 69 6f 6e 20 67 72 61 70 68 20 66 6f 72 20 64 74 65 5f 73 74 61 ┆ate transition graph for dte_sta┆ 0x428e0…42900 74 65 20 69 6e 20 70 72 6f 63 65 73 73 20 0a 19 94 80 80 64 74 65 5f 61 63 63 65 73 73 2e 0d 0a ┆te in process dte_access. ┆ 0x42900…42920 09 46 69 67 75 72 65 20 32 37 3a 20 46 6c 6f 77 20 6f 66 20 6d 65 73 73 61 67 65 20 74 6f 20 61 ┆ Figure 27: Flow of message to a┆ 0x42920…42940 6e 64 20 66 72 6f 6d 20 64 74 65 5f 61 63 63 65 73 73 2e 0d 0a 09 46 69 67 75 72 65 20 32 38 3a ┆nd from dte_access. Figure 28:┆ 0x42940…42960 20 50 72 6f 63 65 73 73 20 64 74 65 5f 61 63 63 65 73 73 2c 20 6d 61 69 6e 20 66 6c 6f 77 63 68 ┆ Process dte_access, main flowch┆ 0x42960…42980 61 72 74 2e 0d 0a 09 46 69 67 75 72 65 20 32 39 3a 20 46 6c 6f 77 20 6f 66 20 6d 65 73 73 61 67 ┆art. Figure 29: Flow of messag┆ 0x42980…429a0 65 73 20 74 6f 20 61 6e 64 20 66 72 6f 6d 20 64 74 65 5f 68 72 65 63 2e 0d 0a 09 46 69 67 75 72 ┆es to and from dte_hrec. Figur┆ 0x429a0…429c0 65 20 33 30 3a 20 50 72 6f 63 65 73 73 20 64 74 65 5f 68 72 65 63 2c 20 6d 61 69 6e 20 66 6c 6f ┆e 30: Process dte_hrec, main flo┆ 0x429c0…429e0 77 63 68 61 72 74 2e 0d 0a 09 46 69 67 75 72 65 20 33 31 3a 20 84 53 74 61 74 65 20 74 72 61 6e ┆wchart. Figure 31: State tran┆ 0x429e0…42a00 73 69 74 69 6f 6e 20 67 72 61 70 68 20 66 6f 72 20 70 5f 6c 65 76 65 6c 5f 73 74 61 74 65 20 69 ┆sition graph for p_level_state i┆ 0x42a00…42a1d (533,) 6e 20 70 72 6f 63 65 73 73 20 0a 19 94 80 80 64 74 65 5f 6c 63 6e 7a 65 72 6f 2e 0d 0a ┆n process dte_lcnzero. ┆ 0x42a1d…42a20 FormFeed { 0x42a1d…42a20 0c 80 a6 ┆ ┆ 0x42a1d…42a20 } 0x42a20…42a40 0a 09 46 69 67 75 72 65 20 33 32 3a 20 46 6c 6f 77 20 6f 66 20 6d 65 73 73 61 67 65 73 20 74 6f ┆ Figure 32: Flow of messages to┆ 0x42a40…42a60 20 61 6e 64 20 66 72 6f 6d 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 2e 0d 0a 09 46 69 67 75 72 65 20 ┆ and from dte_lcnzero. Figure ┆ 0x42a60…42a80 33 33 3a 20 50 72 6f 63 65 73 73 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 2c 20 6d 61 69 6e 20 66 6c ┆33: Process dte_lcnzero, main fl┆ 0x42a80…42aa0 6f 77 63 68 61 72 74 2e 0d 0a 09 46 69 67 75 72 65 20 33 34 3a 20 46 6c 6f 77 20 6f 66 20 6d 65 ┆owchart. Figure 34: Flow of me┆ 0x42aa0…42ac0 73 73 61 67 65 73 20 74 6f 20 61 6e 64 20 66 72 6f 6d 20 64 74 65 5f 63 68 61 6e 2e 0d 0a 09 46 ┆ssages to and from dte_chan. F┆ 0x42ac0…42ae0 69 67 75 72 65 20 33 35 3a 20 50 72 6f 63 65 73 73 20 64 74 65 5f 63 68 61 6e 2c 20 6d 61 69 6e ┆igure 35: Process dte_chan, main┆ 0x42ae0…42b00 20 66 6c 6f 77 63 68 61 72 74 2e 0d 0a 09 46 69 67 75 72 65 20 33 36 3a 20 50 72 6f 63 65 73 73 ┆ flowchart. Figure 36: Process┆ 0x42b00…42b20 20 64 74 65 5f 63 68 61 6e 2c 20 70 61 72 74 20 28 43 29 20 66 6c 6f 77 63 68 61 72 74 2e 0d 0a ┆ dte_chan, part (C) flowchart. ┆ 0x42b20…42b40 09 46 69 67 75 72 65 20 33 37 3a 20 50 72 6f 63 65 73 73 20 64 74 65 5f 63 68 61 6e 2c 20 70 61 ┆ Figure 37: Process dte_chan, pa┆ 0x42b40…42b60 72 74 20 28 44 29 20 66 6c 6f 77 63 68 61 72 74 2e 0d 0a 09 46 69 67 75 72 65 20 33 38 3a 20 70 ┆rt (D) flowchart. Figure 38: p┆ 0x42b60…42b80 72 6f 63 65 73 73 20 64 74 65 5f 63 68 61 6e 2c 20 70 61 72 74 20 28 45 29 20 66 6c 6f 77 63 68 ┆rocess dte_chan, part (E) flowch┆ 0x42b80…42ba0 61 72 74 2e 0d 0a 09 46 69 67 75 72 65 20 33 39 3a 20 50 72 6f 63 65 73 73 20 64 74 65 5f 63 68 ┆art. Figure 39: Process dte_ch┆ 0x42ba0…42bc0 61 6e 2c 20 70 61 72 74 20 28 46 29 20 66 6c 6f 77 63 68 61 72 74 2e 0d 0a 09 46 69 67 75 72 65 ┆an, part (F) flowchart. Figure┆ 0x42bc0…42be0 20 34 30 3a 20 50 72 6f 63 65 73 73 20 64 74 65 5f 63 68 61 6e 2c 20 70 61 72 74 20 28 47 29 20 ┆ 40: Process dte_chan, part (G) ┆ 0x42be0…42c00 66 6c 6f 77 63 68 61 72 74 2e 0d 0a 09 46 69 67 75 72 65 20 34 31 3a 20 41 63 6b 6e 6f 77 6c 65 ┆flowchart. Figure 41: Acknowle┆ 0x42c00…42c20 (534,) 64 67 65 6d 65 6e 74 20 73 74 72 61 74 65 67 79 20 66 6c 6f 77 63 68 61 72 74 2e 0d 0a 09 46 69 ┆dgement strategy flowchart. Fi┆ 0x42c20…42c40 67 75 72 65 20 34 32 3a 20 4d 65 73 73 61 67 65 20 66 6c 6f 77 20 69 6e 20 74 68 65 20 74 72 61 ┆gure 42: Message flow in the tra┆ 0x42c40…42c60 63 65 20 73 79 73 74 65 6d 2e 0d 0a 09 46 69 67 75 72 65 20 34 33 3a 20 4d 65 73 73 61 67 65 20 ┆ce system. Figure 43: Message ┆ 0x42c60…42c80 66 6c 6f 77 20 6f 66 20 74 65 73 74 6d 65 73 73 61 67 65 73 2e 0d 0a 09 46 69 67 75 72 65 20 34 ┆flow of testmessages. Figure 4┆ 0x42c80…42ca0 34 3a 20 44 54 45 20 53 79 73 74 65 6d 20 74 65 78 74 20 61 6e 64 20 6a 6f 62 20 63 6f 6e 6e 65 ┆4: DTE System text and job conne┆ 0x42ca0…42cc0 63 74 69 6f 6e 73 2e 0d 0a 09 46 69 67 75 72 65 20 34 35 3a 20 84 50 72 6f 63 65 73 73 20 64 74 ┆ctions. Figure 45: Process dt┆ 0x42cc0…42ce0 65 5f 63 68 61 6e 2c 20 73 74 61 74 65 20 74 72 61 6e 73 69 74 69 6f 6e 20 67 72 61 70 68 20 66 ┆e_chan, state transition graph f┆ 0x42ce0…42d00 6f 72 20 74 68 65 20 63 61 6c 6c 20 0a 19 94 80 80 73 65 74 2d 75 70 20 61 6e 64 20 63 6c 65 61 ┆or the call set-up and clea┆ 0x42d00…42d20 72 20 70 68 61 73 65 73 2e 0d 0a 09 46 69 67 75 72 65 20 34 36 3a 20 84 50 72 6f 63 65 73 73 20 ┆r phases. Figure 46: Process ┆ 0x42d20…42d40 64 74 65 5f 63 68 61 6e 2c 20 73 74 61 74 65 20 74 72 61 6e 73 69 74 69 6f 6e 20 67 72 61 70 68 ┆dte_chan, state transition graph┆ 0x42d40…42d60 20 66 6f 72 20 74 68 65 20 64 61 74 61 20 0a 19 94 80 80 70 68 61 73 65 2e 0d 0a 09 46 69 67 75 ┆ for the data phase. Figu┆ 0x42d60…42d80 72 65 20 34 37 3a 20 84 50 72 6f 63 65 73 73 20 64 74 65 5f 63 68 61 6e 2c 20 73 74 61 74 65 20 ┆re 47: Process dte_chan, state ┆ 0x42d80…42da0 74 72 61 6e 73 69 74 69 6f 6e 20 67 72 61 70 68 20 66 6f 72 20 74 68 65 20 72 65 73 65 74 20 0a ┆transition graph for the reset ┆ 0x42da0…42dc0 19 94 80 80 70 68 61 73 65 2c 20 70 61 72 74 20 31 2e 0d 0a 09 46 69 67 75 72 65 20 34 38 3a 20 ┆ phase, part 1. Figure 48: ┆ 0x42dc0…42de0 84 50 72 6f 63 65 73 73 20 64 74 65 5f 63 68 61 6e 2c 20 73 74 61 74 65 20 74 72 61 6e 73 69 74 ┆ Process dte_chan, state transit┆ 0x42de0…42e00 69 6f 6e 20 67 72 61 70 68 20 66 6f 72 20 74 68 65 20 72 65 73 65 74 20 0a 19 94 80 80 70 68 61 ┆ion graph for the reset pha┆ 0x42e00…42e20 (535,) 73 65 2c 20 70 61 72 74 20 32 2e 0d 0a 09 46 69 67 75 72 65 20 34 39 3a 20 84 4c 61 79 6f 75 74 ┆se, part 2. Figure 49: Layout┆ 0x42e20…42e40 20 61 6e 64 20 74 72 61 6e 73 66 65 72 20 6f 66 20 63 61 6c 6c 20 70 61 72 61 6d 65 74 65 72 73 ┆ and transfer of call parameters┆ 0x42e40…42e60 20 66 72 6f 6d 20 55 73 65 72 20 43 61 6c 6c 20 0a 19 94 80 80 52 65 71 75 65 73 74 20 74 6f 20 ┆ from User Call Request to ┆ 0x42e60…42e80 58 2e 32 35 20 43 61 6c 6c 20 72 65 71 75 65 73 74 2e 0d 0a 09 46 69 67 75 72 65 20 35 30 3a 20 ┆X.25 Call request. Figure 50: ┆ 0x42e80…42ea0 84 4c 61 79 6f 75 74 20 61 6e 64 20 74 72 61 6e 73 66 65 72 20 6f 66 20 63 61 6c 6c 20 70 61 72 ┆ Layout and transfer of call par┆ 0x42ea0…42ec0 61 6d 65 74 65 72 73 20 66 72 6f 6e 20 61 6e 20 49 6e 63 6f 6d 69 6e 67 20 0a 19 94 80 80 43 61 ┆ameters fron an Incoming Ca┆ 0x42ec0…42ee0 6c 6c 20 50 61 63 6b 65 74 20 74 6f 20 61 6e 20 49 6e 74 65 72 6e 61 6c 20 42 75 66 66 65 72 20 ┆ll Packet to an Internal Buffer ┆ 0x42ee0…42f00 61 6e 64 20 61 20 55 73 65 72 20 42 75 66 66 65 72 2e 0d 0a 0d 0a 0d 0a a1 b0 48 2e 32 09 53 75 ┆and a User Buffer. H.2 Su┆ 0x42f00…42f20 72 76 65 79 20 6f 66 20 54 61 62 6c 65 73 2e 0d 0a 0d 0a 09 54 61 62 6c 65 20 20 31 3a 20 50 72 ┆rvey of Tables. Table 1: Pr┆ 0x42f20…42f40 6f 63 65 73 73 69 6e 67 20 6f 66 20 44 54 45 20 55 73 65 72 20 6f 70 65 72 61 74 69 6f 6e 73 2e ┆ocessing of DTE User operations.┆ 0x42f40…42f60 0d 0a 09 54 61 62 6c 65 20 20 32 3a 20 48 44 4c 43 20 6f 70 65 72 61 74 69 6f 6e 73 20 75 74 69 ┆ Table 2: HDLC operations uti┆ 0x42f60…42f80 6c 69 7a 65 64 20 62 79 20 74 68 65 20 44 54 45 20 6d 6f 64 75 6c 65 2e 0d 0a 09 54 61 62 6c 65 ┆lized by the DTE module. Table┆ 0x42f80…42fa0 20 20 33 3a 20 84 45 6e 76 69 72 6f 6e 6d 65 6e 74 73 20 69 6e 20 77 68 69 63 68 20 61 64 64 72 ┆ 3: Environments in which addr┆ 0x42fa0…42fc0 65 73 73 20 74 79 70 65 73 20 61 6e 64 20 63 6f 6e 73 74 61 6e 74 73 20 61 72 65 20 0a 19 93 80 ┆ess types and constants are ┆ 0x42fc0…42fe0 80 64 65 66 69 6e 65 64 2e 0d 0a 09 54 61 62 6c 65 20 20 34 3a 20 84 50 72 6f 63 65 73 73 20 64 ┆ defined. Table 4: Process d┆ 0x42fe0…43000 74 65 2c 20 69 6e 74 65 72 6e 61 6c 20 73 74 61 74 65 2f 61 63 74 69 6f 6e 20 74 61 62 6c 65 20 ┆te, internal state/action table ┆ 0x43000…43020 (536,) 66 6f 72 20 64 74 65 5f 63 68 61 6e 20 0a 19 93 80 80 69 6e 63 61 72 6e 61 74 69 6f 6e 73 2e 0d ┆for dte_chan incarnations. ┆ 0x43020…43040 0a 09 54 61 62 6c 65 20 20 35 3a 20 84 50 72 6f 63 65 73 73 20 64 74 65 2c 20 69 6e 74 65 72 6e ┆ Table 5: Process dte, intern┆ 0x43040…43060 61 6c 20 73 74 61 74 65 2f 61 63 74 69 6f 6e 20 74 61 62 6c 65 20 66 6f 72 20 6c 6f 67 69 63 61 ┆al state/action table for logica┆ 0x43060…43072 6c 20 0a 19 93 80 80 63 68 61 6e 6e 65 6c 73 2e 0d 0a ┆l channels. ┆ 0x43072…43075 FormFeed { 0x43072…43075 0c 80 a5 ┆ ┆ 0x43072…43075 } 0x43075…43080 0a 09 54 61 62 6c 65 20 20 36 3a ┆ Table 6:┆ 0x43080…430a0 20 50 72 6f 63 65 73 73 20 64 74 65 2c 20 73 74 61 74 65 20 74 72 61 6e 73 69 74 69 6f 6e 20 74 ┆ Process dte, state transition t┆ 0x430a0…430c0 61 62 6c 65 20 66 6f 72 20 6c 69 6e 65 5f 73 74 61 74 65 2e 0d 0a 09 54 61 62 6c 65 20 20 37 3a ┆able for line_state. Table 7:┆ 0x430c0…430e0 20 84 50 72 6f 63 65 73 73 20 64 74 65 5f 61 63 63 65 73 73 2c 20 73 74 61 74 65 20 74 72 61 6e ┆ Process dte_access, state tran┆ 0x430e0…43100 73 69 74 69 6f 6e 20 74 61 62 6c 65 20 66 6f 72 20 0a 19 93 80 80 75 73 65 72 5f 73 74 61 74 65 ┆sition table for user_state┆ 0x43100…43120 2e 0d 0a 09 54 61 62 6c 65 20 20 38 3a 20 53 74 61 74 65 20 76 61 72 69 61 62 6c 65 73 20 6f 66 ┆. Table 8: State variables of┆ 0x43120…43140 20 74 68 65 20 54 72 61 63 65 20 53 79 73 74 65 6d 2e 0d 0a 09 54 61 62 6c 65 20 20 39 3a 20 50 ┆ the Trace System. Table 9: P┆ 0x43140…43160 72 6f 63 65 73 73 20 64 74 65 2c 20 74 65 73 74 72 65 63 6f 72 64 20 6b 69 6e 64 20 61 6e 64 20 ┆rocess dte, testrecord kind and ┆ 0x43160…43180 70 61 72 61 6d 65 74 65 72 20 66 69 65 6c 64 73 2e 0d 0a 09 54 61 62 6c 65 20 31 30 3a 20 84 50 ┆parameter fields. Table 10: P┆ 0x43180…431a0 72 6f 63 65 73 73 20 64 74 65 5f 6c 63 6e 7a 65 72 6f 2c 20 74 65 73 74 72 65 63 6f 72 64 20 6b ┆rocess dte_lcnzero, testrecord k┆ 0x431a0…431c0 69 6e 64 20 61 6e 64 20 70 61 72 61 6d 65 74 65 72 20 0a 19 93 80 80 66 69 65 6c 64 73 2e 0d 0a ┆ind and parameter fields. ┆ 0x431c0…431e0 09 54 61 62 6c 65 20 31 31 3a 20 50 72 6f 63 65 73 73 20 64 74 65 5f 63 68 61 6e 2c 20 74 65 73 ┆ Table 11: Process dte_chan, tes┆ 0x431e0…43200 74 72 65 63 6f 72 64 20 6b 69 6e 64 20 61 6e 64 20 70 61 72 61 6d 65 74 65 72 20 66 69 65 6c 64 ┆trecord kind and parameter field┆ 0x43200…43220 (537,) 73 2e 0d 0a 09 54 61 62 6c 65 20 31 32 3a 20 53 74 6f 72 61 67 65 20 72 65 71 75 69 72 65 6d 65 ┆s. Table 12: Storage requireme┆ 0x43220…43240 6e 74 73 20 6f 66 20 74 68 65 20 44 54 45 20 53 79 73 74 65 6d 2e 0d 0a 09 54 61 62 6c 65 20 31 ┆nts of the DTE System. Table 1┆ 0x43240…43260 33 3a 20 50 72 6f 63 65 73 73 20 64 74 65 5f 61 63 63 65 73 73 2c 20 75 73 65 72 20 64 65 70 65 ┆3: Process dte_access, user depe┆ 0x43260…43280 6e 64 65 6e 74 20 73 74 61 74 65 2f 61 63 74 69 6f 6e 20 74 61 62 6c 65 2e 0d 0a 09 54 61 62 6c ┆ndent state/action table. Tabl┆ 0x43280…432a0 65 20 31 34 3a 20 50 72 6f 63 65 73 73 20 64 74 65 5f 61 63 63 65 73 73 2c 20 73 74 72 65 61 6d ┆e 14: Process dte_access, stream┆ 0x432a0…432c0 20 64 65 70 65 6e 64 65 6e 74 20 73 74 61 74 65 2f 61 63 74 69 6f 6e 20 74 61 62 6c 65 2e 0d 0a ┆ dependent state/action table. ┆ 0x432c0…432e0 09 54 61 62 6c 65 20 31 35 3a 20 84 50 72 6f 63 65 73 73 20 64 74 65 5f 61 63 63 65 73 73 2c 20 ┆ Table 15: Process dte_access, ┆ 0x432e0…43300 73 74 72 65 61 6d 20 69 6e 64 65 70 65 6e 64 65 6e 74 20 73 74 61 74 65 2f 61 63 74 69 6f 6e 20 ┆stream independent state/action ┆ 0x43300…43320 0a 19 93 80 80 74 61 62 6c 65 2e 0d 0a 09 54 61 62 6c 65 20 31 36 3a 20 50 72 6f 63 65 73 73 20 ┆ table. Table 16: Process ┆ 0x43320…43340 64 74 65 5f 6c 63 6e 7a 65 72 6f 2c 20 73 74 61 74 65 2f 61 63 74 69 6f 6e 20 74 61 62 6c 65 2e ┆dte_lcnzero, state/action table.┆ 0x43340…43360 0d 0a 09 54 61 62 6c 65 20 31 37 3a 20 50 72 6f 63 65 73 73 20 64 74 65 5f 63 68 61 6e 2c 20 73 ┆ Table 17: Process dte_chan, s┆ 0x43360…43380 74 61 74 65 2f 61 63 74 69 6f 6e 20 74 61 62 6c 65 2e 0d 0a 09 54 61 62 6c 65 20 31 38 3a 20 84 ┆tate/action table. Table 18: ┆ 0x43380…433a0 50 72 69 6e 74 20 66 6f 72 6d 61 74 20 66 6f 72 20 74 65 73 74 6f 75 74 70 75 74 20 66 72 6f 6d ┆Print format for testoutput from┆ 0x433a0…433c0 20 74 68 65 20 70 72 6f 63 65 73 73 65 73 20 0a 19 93 80 80 64 74 65 5f 6c 63 6e 7a 65 72 6f 20 ┆ the processes dte_lcnzero ┆ 0x433c0…433e0 61 6e 64 20 64 74 65 5f 63 68 61 6e 2e 0d 0a 0d 0a 0d 0a a1 b0 48 2e 33 09 53 75 72 76 65 79 20 ┆and dte_chan. H.3 Survey ┆ 0x433e0…43400 6f 66 20 45 78 61 6d 70 6c 65 73 2e 0d 0a 0d 0a 09 45 78 61 6d 70 6c 65 20 31 3a 20 45 78 61 6d ┆of Examples. Example 1: Exam┆ 0x43400…43420 (538,) 70 6c 65 20 6f 66 20 44 54 45 20 61 64 64 72 65 73 73 2e 0d 0a 09 45 78 61 6d 70 6c 65 20 32 3a ┆ple of DTE address. Example 2:┆ 0x43420…43440 20 84 45 78 61 6d 70 6c 65 20 6f 66 20 75 73 65 72 5f 69 64 5f 6c 65 6e 67 74 68 20 67 72 65 61 ┆ Example of user_id_length grea┆ 0x43440…43460 74 65 72 20 74 68 61 6e 20 73 75 62 20 61 64 64 72 65 73 73 20 0a 19 94 80 80 6c 65 6e 67 74 68 ┆ter than sub address length┆ 0x43460…43480 2e 0d 0a 09 45 78 61 6d 70 6c 65 20 33 3a 20 84 45 78 61 6d 70 6c 65 20 6f 66 20 75 73 65 72 5f ┆. Example 3: Example of user_┆ 0x43480…434a0 69 64 5f 6c 65 6e 67 74 68 20 73 6d 61 6c 6c 65 72 20 74 68 61 6e 20 73 75 62 20 61 64 64 72 65 ┆id_length smaller than sub addre┆ 0x434a0…434c0 73 73 20 0a 19 94 80 80 6c 65 6e 67 74 68 2e 0d 0a 09 45 78 61 6d 70 6c 65 20 34 3a 20 4f 70 65 ┆ss length. Example 4: Ope┆ 0x434c0…434e0 72 61 74 6f 72 20 63 6f 6d 6d 61 6e 64 73 20 66 6f 72 20 75 70 64 61 74 65 20 6f 66 20 61 6e 20 ┆rator commands for update of an ┆ 0x434e0…43500 65 78 69 73 74 69 6e 67 20 62 69 6e 61 72 79 20 64 74 65 2e 0d 0a 09 45 78 61 6d 70 6c 65 20 35 ┆existing binary dte. Example 5┆ 0x43500…43520 3a 20 84 4f 70 65 72 61 74 6f 72 20 63 6f 6d 6d 61 6e 64 73 20 66 6f 72 20 67 65 6e 65 72 61 74 ┆: Operator commands for generat┆ 0x43520…43540 69 6e 67 20 74 68 65 20 58 2e 32 35 20 70 72 6f 63 65 64 75 72 65 20 0a 19 94 80 80 6c 69 62 72 ┆ing the X.25 procedure libr┆ 0x43540…43560 61 72 79 2e 0d 0a 09 45 78 61 6d 70 6c 65 20 36 3a 20 84 4f 70 65 72 61 74 6f 72 20 63 6f 6d 6d ┆ary. Example 6: Operator comm┆ 0x43560…43580 61 6e 64 73 20 66 6f 72 20 75 70 64 61 74 65 20 6f 66 20 74 68 65 20 58 2e 32 35 20 70 72 6f 63 ┆ands for update of the X.25 proc┆ 0x43580…435a0 65 64 75 72 65 20 0a 19 94 80 80 6c 69 62 72 61 72 79 2e 0d 0a 09 45 78 61 6d 70 6c 65 20 37 3a ┆edure library. Example 7:┆ 0x435a0…435c0 20 4f 70 65 72 61 74 6f 72 20 63 6f 6d 6d 61 6e 64 73 20 66 6f 72 20 67 65 6e 65 72 61 74 69 6e ┆ Operator commands for generatin┆ 0x435c0…435d5 67 20 74 68 65 20 54 72 61 63 65 20 53 79 73 74 65 6d 2e 0d 0a ┆g the Trace System. ┆ 0x435d5…435d8 FormFeed { 0x435d5…435d8 0c 80 a0 ┆ ┆ 0x435d5…435d8 } 0x435d8…435e0 0a 0d 0a 0d 0a 1a 1a 2e ┆ .┆ 0x435e0…43600 34 2e 20 41 6c 6c 20 6f 70 65 72 61 74 6f 72 20 6f 70 65 72 61 74 69 6f 6e 73 20 61 72 65 20 69 ┆4. All operator operations are i┆