ZCOM Tables and Data Structures

Interface Table

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 for ports. It only keeps track of the enabled/disabled status for subchannels via ipstat.

ZCOM_IPSTAT_TXB:

The out-of-transmit buffers bit.

For a non-4-port card, indicates the status of ports.

For a 4-port card, indicates the status of subchannels.

ZCOM_IPSTAT_TXBX:

90

Chapter 3