x25_receive Subroutine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
x25_reset Subroutine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
x25_reset_confirm Subroutine . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
x25_send Subroutine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
x25_term Subroutine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
Appendix C. Device Handler API . . . . . . . . . . . . . . . . . . . . . . . . . . 241
Device Driver Emulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
x25sclose X.25 Device Handler Entry Point . . . . . . . . . . . . . . . . . . . . . . 241
x25sioctl X.25 Device Handler Entry Point . . . . . . . . . . . . . . . . . . . . . . . 242
CIO_DNLD (Download Task) x25sioctl X.25 Device Handler Operation . . . . . . . . . . . . 244
CIO_GET_STAT (Get Status) x25sioctl X.25 Device Handler Operation . . . . . . . . . . . . 245
CIO_HALT (Halt Session) x25sioctl X.25 Device Handler Operation . . . . . . . . . . . . . 247
CIO_QUERY (Query Device) x25sioctl X.25 Device Handler Operation . . . . . . . . . . . . 249
CIO_START (Start Session) x25sioctl X.25 Device Handler Operation . . . . . . . . . . . . . 251
IOCINFO (Identify Device) x25sioctl X.25 Device Handler Operation . . . . . . . . . . . . . 255
X25_ADD_ROUTER_ID (Add Router ID) x25sioctl X.25 Device Handler Operation . . . . . . . . 256
X25_COUNTER_GET (Get Counter) x25sioctl X.25 Device Handler Operation . . . . . . . . . 257
X25_COUNTER_READ (Read Counter) x25sioctl X.25 Device Handler Operation . . . . . . . . 258
X25_COUNTER_REMOVE (Remove Counter) x25sioctl X.25 Device Handler Operation . . . . . . 259
X25_COUNTER_WAIT (Wait Counter) x25sioctl X.25 Device Handler Operation . . . . . . . . . 260
X25_DELETE_ROUTER_ID (Delete Router ID) x25sioctl X.25 Device Handler Operation . . . . . 261
X25_DIAG_IO_READ (Read Register) x25sioctl X.25 Device Handler Operation . . . . . . . . . 261
X25_DIAG_IO_WRITE (Write to Register) x25sioctl Operation . . . . . . . . . . . . . . . 262
X25_DIAG_MEM_READ (Read Memory) x25sioctl Operation . . . . . . . . . . . . . . . . 263
X25_DIAG_MEM_WRITE (Write Memory) x25sioctl Operation . . . . . . . . . . . . . . . 264
X25_DIAG_RESET (Reset Adapter) x25sioctl Operation . . . . . . . . . . . . . . . . . . 264
X25_DIAG_TASK (Download Diagnostics) x25sioctl Operation . . . . . . . . . . . . . . . 265
X25_LINK_CONNECT (Connect Link) x25sioctl Operation . . . . . . . . . . . . . . . . . 266
X25_LINK_DISCONNECT (Disconnect Link) x25sioctl Operation . . . . . . . . . . . . . . 267
X25_LINK_STATUS (Link Status) x25sioctl Operation . . . . . . . . . . . . . . . . . . . 268
X25_LOCAL_BUSY (Local Busy) x25sioctl Operation . . . . . . . . . . . . . . . . . . . 269
X25_QUERY_ROUTER_ID (Query Router) ID x25sioctl Operation . . . . . . . . . . . . . . 270
X25_QUERY_SESSION (Query Session) x25sioctl Operation . . . . . . . . . . . . . . . . 271
X25_REJECT_CALL (Reject Call) x25sioctl Operation . . . . . . . . . . . . . . . . . . 272
x25smpx X.25 Device Handler Entry Point . . . . . . . . . . . . . . . . . . . . . . . 273
x25sopen X.25 Device Handler Entry Point . . . . . . . . . . . . . . . . . . . . . . 275
x25sread X.25 Device Handler Entry Point . . . . . . . . . . . . . . . . . . . . . . . 278
x25sselect X.25 Device Handler Entry Point . . . . . . . . . . . . . . . . . . . . . . 280
x25swrite X.25 Device Handler Entry Point . . . . . . . . . . . . . . . . . . . . . . 281
Appendix D. X.25 Cables and Connectors . . . . . . . . . . . . . . . . . . . . . . 285
X.25 Coprocessor 37-Pin Connector Pin Assignments . . . . . . . . . . . . . . . . . . 285
Modem Attachment Pin Assignments . . . . . . . . . . . . . . . . . . . . . . . . . 286
X.25 Interconnection Cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290
6-Port X.21 Portmaster Adapter . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
X.25 Adapter and Cable Diagnostics Wrap Plugs and Pinouts . . . . . . . . . . . . . . . . 293
Appendix E. CCITT Causes and Diagnostics . . . . . . . . . . . . . . . . . . . . . 305
X.25 Clear and Reset Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
CCITT Restart Causes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
X.25 Logical Channel States . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
X.25 Diagnostic Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306
CCITT Clear and Reset Causes for X.25 . . . . . . . . . . . . . . . . . . . . . . . 306
Diagnostic Codes for X.25 and Communications Server (SNA) . . . . . . . . . . . . . . . 307
Diagnostic Codes Used by the xtalk Command . . . . . . . . . . . . . . . . . . . . . 314
vi AIXlink/X.25 Version 2.1 for AIX: Guide and Reference