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-11and 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 receiver

struct

6

 

 

 

 

 

PTZSHRCVRS

 

Pointer to list of shared receivers

pointer

8

 

 

 

 

 

PTZSHCTLRCVRS

 

Pointer to list of shared control receivers

pointer

8

 

 

 

 

 

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

 

 

 

 

 

PTTXLA

 

Pointer to next PTT on high priority list

pointer

8

 

 

 

 

 

PTTXQA

 

High priority transmit buffer queue

struct

56

 

 

 

 

 

PTTXLB

 

Pointer to next PTT on low priority list

pointer

8

 

 

 

 

 

PTTXQB

 

Low priority transmit buffer queue

struct

56

 

 

 

 

 

PTTXQC

 

Unacknowledged transmit buffer queue

struct

56

 

 

 

 

 

PENDG_TXREQ

 

Next request for $DATA

struct

56

 

 

 

 

 

PTPZLK

 

ZLU of next PTT on this port

uns.short

2

 

 

 

 

 

 

 

 

 

 

66

Chapter 3