ACC X.25 Protocol User's Guide
116 Chapter4
X.25 Application Programming
ZX25L2STAT_RCVR (3X) — ACC X.25
RETURN VALUE Routine zx25l2stat_rcvr returns a 0 when successful. If there was a
ZCOM error, it returns a negative value. See
/opt/acc/include/zcom/zcomsys.h forthelistofZCOMerrorcodesand
their meanings. If zx25l2stat_rcvr, itself, failed, one of the following
positive error codes is returned:
ZxeUNKNOWN_L2_ZLU (02) The ZLU specified is not an X.25 link
(HDLC/LAP-B) ZLU.
ZxeREQ_TIMEOUT (04) TheremoteZCOMsystemdidnot
respond within 30 seconds.
ZxeMUST_CALL_ZX25INFO (17) The zx25info() routine has not been
called. You must call zx25info before
issuing any other zx25...() calls.
ZxeBAD_ZX25INFO_ADDR (18) Thepointertothezx25info_type
structure d oes not contain the same
address that was passed to the
zx25info() routine.
ZxeBAD_ACTION (19) The action parameter was not one of
the four valid action values.
ZxeX25_NOT_INITIALIZED (98) The ACC X.25 subsystem has not
been initialized. You must run
zx25d_initbefore issuing any zx25...()
calls.
ZxeX25_TBL_FULL (99) The X.25 routines maintain an
internal table for accessing remote
ZCOM nodes. This table has room to
access up to 20 different ZCOM nodes
(including the local node). This
request attempted to access the 21st
ZCOM remote node and the internal
table used had insufficient space to
save the routing data.










