ZCOM Tables and Data Structures

Physical Terminal Tables

Physical Terminal Tables

The physical terminal table (zptt_type) contains information used by the LDM and DAM to initialize and control a physical terminal (or other device). The PTT consists of a system area, which is reserved for use by the ZCOM subsystem, and a user area which may be manipulated by application programs. The user modifiable portion of the PTT immediately follows the reserved area. The layout of the PTT is shown in Table 3-11 and Table 3-12.

Table 3-11

Physical Terminal Tables (System Area)

 

 

 

 

 

 

Field Name

 

Field Description

Field Type

Size

 

(Bytes)

 

 

 

 

 

 

 

 

 

PTZLU

 

Owning terminal ZLU number

uns.short

2

 

 

 

 

 

PTZCS

 

Owning terminal ZLU checksum

uns.short

2

 

 

 

 

 

PTMUX

 

MUX number for this terminal

uns.short

2

 

 

 

 

 

PTPORT

 

Port number within interface

uns.char

1

 

 

 

 

 

PTTERM

 

Terminal number within port

uns.char

1

 

 

 

 

 

PTMX_TERM

 

Terminal number in card

uns.short

2

 

 

 

 

 

SUBCH

 

Subchannel number on port

uns.short

2

 

 

 

 

 

PTZPRCVR

 

ZCOM address of primary receiver

struct

6

 

 

 

 

 

PTZPCTL_RCVR

 

ZCOM address of primary control

struct

6

 

 

receiver

 

 

 

 

 

 

 

PTZSHRCVRS

 

Pointer to list of shared receivers

pointer

8

 

 

 

 

 

PTZSHCTLRCVR

 

Pointer to list of shared control

pointer

8

S

 

receivers

 

 

 

 

 

 

 

PTLIST

 

Pointer to next PTT of same port

pointer

8

 

 

 

 

 

PTTXLX

 

Pointer to next PTT on express list

pointer

8

 

 

 

 

 

PTTXQX

 

Express transmit buffer queue

struct

56

 

 

 

 

 

68

Chapter 3