ZCOM Tables and Data Structures

Logical Terminal Tables

LTFLAG - System status flags

Currently the system status flags are used to indicate whether the outbound multiplexing and the inbound multiplexing are enabled.

Figure 3-2

System Status flags

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

 

OM

IM

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OM - Outward bound multiplexing, ZCOM_LTFLAG_OMX bit

IM - Inbound multiplexing, ZCOM_LTFLAG_IMX bit

Both are set by TTGEN according to the device type specified. These flags may be modified dynamically by use of the zltmx routine call.

LTZMXP - ZCOM address of multiplexing program

This field contains the node, ZLU number, and checksum of the outbound multiplexing program. If the ZCOM_LTFLAG_OMX bit in ltflag is set, the responsible multiplexing program should set up this field with its primary ZLU (via the zset_rcvr routine, mode 2). All out-going messages will then be queued to its primary ZLU.

LTZPRCVR - ZCOM address of primary indirect receiver

This field contains the node, ZLU number, and checksum of the program to receive data messages from an inbound multiplexed terminal. If the ZCOM_LTFLAG_IMX bit in ltflag is set, the system sets up this field on

azset_rcvr (mode 0) call. All incoming messages will be received by the inbound multiplexing program, which will then route the data to the receiver specified in this field.

LTZSHRCVRS - Pointer to a linked list of indirect shared receivers

This field contains a pointer to a linked list of shared receivers that wish to receive data messages from an inbound multiplexed terminal. Each entry in the linked list represents one program. If the ZCOM_LTFLAG_IMX bit in ltflag is set, the system sets up this field on

azset_rcvr (mode 0) call. All incoming messages will be received by the inbound multiplexing program, which will then route the data to each of the receivers specified in this linked list.

Chapter 3

63

Page 63
Image 63
HP UX 11i v1 I/O Cards manual System Status flags