ZCOM Tables and Data Structures

Node Entries Table

be sent to each program in this linked list. That is, those applications that have issued a zevent_rcvr() call to receive node status events. This field will be set to zero if there are no applications to be notified.

NHOST - The number of defined hosts in the host array.

This field contains the number of host link records defined in the HOST table below. This field is zero for a local node entry.

HOST - Host link information structure (array)

This array of structures contains information about each of the host links for this node. It can hold information on up to four host links. Each element of the array contains the fields for one host link as shown in Table 3-6.

Table 3-6

Host Link Information Structure

 

 

 

 

 

 

Field Name

Field Description

Field Type

Size

(Bytes)

 

 

 

 

 

 

 

linkname

Host name or IP address for this link

char [64]

64

 

 

 

 

stats

Statistics for this link

struct

16

 

 

 

 

flags

Node status and flags

uns.int

4

 

 

 

 

spare3

Reserved, not used

int

4

 

 

 

 

LINKNAME - The name of the remote system

This field contains the host name or the IP address to be used in accessing the remote node via TCP/IP. If a host name is specified, it must be defined in the /etc/hosts file.

STATS - Statistics for this host link

This field is a data structure that contains some statistics on the data traffic for this link. The layout of this structure is identical to that shown above. The data in this structure is maintained by the ZNODE daemon.

FLAGS - Host link status and flags

This bit-field data structure contains information on the status of a link. It is identical to the flags structure documented above. However only the status and valid bits are currently used. The status bit indicates whether

Chapter 3

57

Page 57
Image 57
HP Advanced Communications Controllers (ACC) manual Host Link Information Structure