Figure 2-4

Inbound Multoplexing

ZCOM Message Handling

Multiplexing

TZLU

APPLICATION

Logical

Terminal

LTZRVR

PTZLU

Physical

Terminal

 

PTZRVR=PZLU

PZLU

Thus, to process an inbound message with multiplexing:

zread (the message type will be type 1, ZCOM_MSTYPE_MSLT - a message from a terminal ZLU).

The source ZLU is obtained from PTZLU. PTZLU gives the ZLU of one of the ZLUs in a multiplexed group.

Decode the protocol header to extract the logical terminal address. Use the ltfind routine to scan the multiplexed group to find a match of the logical terminal address with LTADDR.

Build a ZCOM message header where the source ZLU is the ZLU found by ltfind, and the destination ZLU is taken from LTZRVR of the logical terminal able.

Use zsend (with bit ZCOM_ZSEND_MHD set) to send the message and the ZCOM header to LTZRVR.

Chapter 2

33

Page 33
Image 33
HP UX 11i v1 I/O Cards manual Inbound Multoplexing, PTZRVR=PZLU Pzlu