ZCOM Tables and Data Structures

Interface Table

IPSTAT - Port/Subchannel status

Depending on the card type this interface table is for, this ipstat field either contains the status of each subchannel in a 4-port E1/T1 ACC card, or the status of each port in a non-4-port E1/T1 ACC card (e.g., 2-port card or 8-port ACC card).

The individual ipstat bits are handled as follows:

ZCOM_IPSTAT_UND:

The undefined bit. Being undefined is synonymous with being not configured. For a non-4-port card, this bit in ipstat indicates whether a port is defined or not.

For a 4-port card, this bit in ipstat indicates whether a subchannel is defined or not. However, for defined/undefined status, we must also keep track of whether ports are defined or not. So we will use another field, iportn, to indicate whether the ports these subchannels are related to are defined or not. If iportn[] is equal to -1, then the port is undefined. Note in the case of a 4-port card that if a port is marked as undefined, then all subchannels related to that port are marked as undefined. If a port is marked as defined, a subchannel may still be marked undefined until it is explicitly marked as defined. So for a 4-port card we need a way to keep separate track of whether ports and subchannels are defined or not.

ZCOM_IPSTAT_DWN:

The down bit. Indicates the status of ports.

For a non-4-port card, this bit in ipstat indicates whether a port is down or not.

For a 4-port card, the down status for the subchannels related to a port as a group are being used to indicate the down status of the port. For example, if a port is considered up, then all subchannels related to that port are marked as up in ipstat. If a port is considered down, then all subchannels related to that port are marked as down in ipstat. Individual subchannels related to that port cannot be marked up or down independent of the other subchannels for that port.

ZCOM_IPSTAT_DSB:

The disabled bit.

For a non-4-port card, this bit in ipstat indicates whether a port is disabled or not.

For a 4-port card, this bit in ipstat indicates whether a subchannel is disabled or not. Individual subchannels can be marked as disabled or enabled, independent of each other. For a 4-port card, a request may be sent down to the ZCOM software to enable or disable a “port”. This just means marking all of the subchannels for that port as enabled or disabled. However, for 4-port cards, the ZCOM software does not keep track of the enabled/disabled status

Chapter 3

87

Page 87
Image 87
HP UX 11i v1 I/O Cards manual Zcomipstatund