ZCOM Tables and Data Structures

Message Header

This field contains a numeric value indicating the status change. If the value is zero, then there has been no change to the node’s status. If the value is +1, the node changed state from DOWN to UP. If the value is -1, the node changed state from UP to DOWN.

HSTAT - Host link status change indicator

This field is an array of four values, one for each potential link associated with NODE_NUM. Each entry indicates the status change of one link. If the value is zero, then there has been no change to the link’s status. If the value is +1, the link changed state from DOWN to UP. If the value is -1, the link changed state from UP to DOWN.

ZCOM_SETYPE_RECONFIG - Dynamic Reconfiguration Event

The dynamic reconfiguration event is generated by using the zconfig routine, typically after programmatically reconfiguring the ZCOM subsystem during runtime operations. The event data is referenced using sedata.recfg.<field name> and has the fields shown in Table 3-42.

Table 3-42

Dynamic Reconfiguration Event

 

 

 

(ZCOM_SETYPE_RECONFIG)

 

 

 

 

 

 

 

Field Name

 

Field Description

Field Type

Size

 

(Bytes)

 

 

 

 

 

 

 

 

 

CFG_CLASS

 

Type of reconfiguration performed

uns.int

4

 

 

 

 

 

CFG_INFO1

 

Caller supplied data

uns.int

4

 

 

 

 

 

 

CFG_CLASS - Type of reconfiguration performed

 

The field should contain the type of reconfiguration performed. Values from 0 to 999 are reserved for use by the ZCOM subsystem. There is currently one type defined, ZcCLASS_X25 (1), used to indicate that an X.25 link has been reconfigured.

CFG_INFO1 - Caller supplied data

The application or driver calling zconfig to generate the dynamic reconfiguration SEM should supply a class specific piece of data. In the case where the CFG_CLASS is set to ZcCLASS_X25, this field will contain the X.25 level 2 ZLU that was reconfigured.

ZCOM_SETYPE_CARD - Change in Card Status Event

Chapter 3

121