IBM AS/400e Computer Hardware User Manual


 
Table 78. Format of Connection Description Information
Offset
Type
Field
Dec Hex
0 0 INT(4) Length of connection description
information
4 4 CHAR(20) Client internet address
24 18 CHAR(1) Client password validated
25 19 CHAR(12) Workstation type
Connection Description Information Field Descriptions:
Length of connection description information
Length of the connection description structure
Client internet address
This is the IP address (or type structure) of the requesting client, and is always
provided to the exit program . The layout of the new fields are:
Table 79. Client IP Address Layout
Name Size Description
sin_len CHAR(1) Size of the sockaddr_in structure.
sin_family CHAR(1) Family or protocol. IP (Version 4) is hex 02,
IPX is hex 06.
sin_port CHAR(2) 16-bit unsigned port number.
sin_addr CHAR(16) 4-byte unsigned
Client password validated
Specifies if TELNET validated the clients’ encrypted password (if one was
received). The system will set this value if Enhanced Clients or Client Access
send the encrypted password for validation. The password will be checked
using Client Access service functions calls. This allows the exit program to
guarantee secure client sign-on process.
0 Client password not validated (or no password received)
1 Client clear-text password validated
2 Client encrypted password validated
Workstation type
The workstation type requested by the client, and will be one of the Internet
Specifications listed in the 230 of this book;
TCP/IP Configuration and
Reference
.
TELNET Device Termination Exit Program
The QIBM_QTG_DEVTERM exit point occurs when a TELNET client ends the
TELNET session. This gives customers an opportunity to log session termination
information and to perform device reset or cleanup operations.
The following shows the parameters for the QIBM_QTG_DEVTERM exit point.
1 Device name Input Char(10)
546 OS/400 TCP/IP Configuration and Reference V4R4