ZCOM Tables and Data Structures

Physical Terminal Tables

PTUSER - User-maintainable area

This area extends to the end of the physical terminal table. It defines the area that may be modified by a zptup call, and contains all the following fields:

PTPOLL - Terminal poll addresses

PTSLCT - Terminal select addresses

These words usually contain the poll and select addresses specified for the terminal in the TTGEN configuration file. For some protocols however, they contain other configuration information. Specific content for these words is documented in protocol accessory manuals.

PTOPTN - Protocol options

Used to define options to the protocol module on the Mux interface card. Only bits 0 - 7 are relevant to the Mux. Bits 8 - 15 may contain other (host level) options. The definition of the bits depends on the protocol (PTTYPE) type.

PTVCNO - X.25 logical channel number

Used to contain status information - by x25cn & zx25d for X.25 terminals.

PTCNFG - Special configuration

For X.25, contains a call number.

PTCWCT - Terminal control write counter

This counter is incremented by the driver every time a control write buffer for this terminal is transferred to the Mux interface card.

PTTXCT - Terminal transmit message counter

This counter is incremented by the driver every time a transmit buffer for this terminal is transferred to the Mux interface card.

PTRXCT - Terminal receive message counter

This counter is incremented by the driver every time a receive message is transferred from the Mux interface card for this terminal.

Chapter 3

73