The padent structure is defined in the /usr/include/netx25/xnetdb.h file. It has this format:
struct padent { struct xaddrf xaddr; unsigned char x29; struct extraformat xtras; unsigned char cud[MAxnetdb.hXCUDFSIZE + 1]; };
The padent structure contains a single entry from the /etc/SUNWconn/x25/padmapconf file. This contains information about facilities and so on to be used when making PAD calls to a particular address.
The members of the padent structure are:
Table 8-6 Members of padent structure
Member |
Description |
---|---|
xaddr |
The hosts X.25 address. |
x29 |
The X.29 version specifier. Possible values are: 0--use the configured default X.29 address 1--use X.29(80) yellow book 2--use X.29(84) red book 3--use X.29(88) blue book |
xtras |
Any facilities and QOS parameters defined for this entry |
cud |
Any Call User Data defined for this entry. |