1 | Receiver variable | Output | Char(*) |
2 | Length of receiver variable | Input | Binary(4) |
3 | Format name | Input | Char(8) |
4 | Error code | I/O | Char(*) |
The Retrieve TCP/IP Attributes (QtocRtvTCPA) API retrieves TCP/IPv4 and TCP/IPv6 stack attributes.
None.
The variable that is to receive the information requested. You can specify the size of this area to be smaller than the format requested if you specify the length of receiver variable parameter correctly. As a result, the API returns only the data that the area can hold.
The length of the receiver variable. If this value is larger than the actual size of the receiver variable, the result may not be predictable. The minimum length is 8 bytes.
The format of the space information to be returned. The format names supported are:
TCPA0100 | TCP/IPv4 stack status. Refer to TCPA0100 Format for details on the format. |
TCPA0200 | TCP/IPv4 stack attributes in addition to TCP/IPv4 stack status. Refer to TCPA0100 Format and TCPA0200 Format for details on the format. |
TCPA0300 | TCP/IP domain attributes in addition to TCP/IPv4 stack status. Refer to TCPA0100 Format and TCPA0300 Format for details on the format. |
TCPA1100 | TCP/IPv6 stack status. Refer to TCPA1100 Format for details on the format. |
TCPA1200 | TCP/IPv6 stack attributes in addition to TCP/IPv6 stack status. Refer to TCPA1100 Format and TCPA1200 Format for details on the format. As of V5R4, this format is replaced with TCPA1300 and should no longer be used. |
TCPA1300 | TCP/IPv6 stack attributes in addition to TCP/IPv6 stack status. Refer to TCPA1100 Format and TCPA1300 Format for details on the format. This format replaces TCPA1200. |
The structure in which to return error information. For the format of the structure, see Error Code Parameter.
To retrieve the current TCP/IPv4 stack status, use format TCPA0100.
For detailed TCP/IPv4 stack attributes in addition to the TCP/IPv4 stack status, use format TCPA0200.
For domain name system information in addition to the TCP/IPv4 stack status, use format TCPA0300.
To retrieve the current TCP/IPv6 stack status, use format TCPA1100.
For detailed TCP/IPv6 stack attributes in addition to the TCP/IPv6 stack status, use format TCPA1300.
This format returns information regarding the status of the TCP/IPv4 stack. For detailed descriptions of the fields in the table, see Field Descriptions.
Offset | Type | Field | |
---|---|---|---|
Dec | Hex | ||
0 | 0 | BINARY(4) | Bytes returned |
4 | 4 | BINARY(4) | Bytes available |
8 | 8 | BINARY(4) | TCP/IPv4 stack status |
12 | C | BINARY(4) | How long active |
16 | 10 | CHAR(8) | When last started - date |
24 | 18 | CHAR(6) | When last started - time |
30 | 1E | CHAR(8) | When last ended - date |
38 | 26 | CHAR(6) | When last ended - time |
44 | 2C | CHAR(10) | Who last started - job name |
54 | 36 | CHAR(10) | Who last started - job user name |
64 | 40 | CHAR(6) | Who last started - job number |
70 | 46 | CHAR(16) | Who last started - internal job identifier |
86 | 56 | CHAR(10) | Who last ended - job name |
96 | 60 | CHAR(10) | Who last ended - job user name |
106 | 6A | CHAR(6) | Who last ended - job number |
112 | 70 | CHAR(16) | Who last ended - internal job identifier |
128 | 80 | BINARY(4) | Offset to additional information |
132 | 84 | BINARY(4) | Length of additional information |
136 | 88 | BINARY(4) | Limited mode |
140 | 8C |
Bytes available. The number of bytes of data available to be returned. All available data is returned if enough space is provided.
Bytes returned. The number of bytes of data returned.
How long active. How long, in seconds, the TCP/IP stack has been active if it is active currently, or how long it was active the last time it was up if it is currently inactive.
Length of additional information. The length in bytes of additional information returned that is not part of format TCPA0100.
Limited mode. The current value of the TCP/IP Limited mode flag. TCP/IPv4 can operate while the system is in the restricted state, with limited functionality.
Possible values are:
0 | No - The system is not currently running TCP/IPv4 in limited mode. |
1 | Yes - The system is currently running TCP/IPv4 in limited mode. |
Offset to additional information. The offset from the beginning of the receiver variable, in bytes, to the start of the next format if a format other than TCPA0100 is requested. This field allows expansion of the basic information. A value of zero is returned if only the TCPA0100 format is requested.
Reserved. An ignored field.
TCP/IPv4 stack status. The current status of the system TCP/IPv4 stack. Possible values are:
0 | Inactive - The TCP/IPv4 stack is not operational. |
1 | Active - The TCP/IPv4 stack is operational. |
2 | Starting - The TCP/IPv4 stack not operational, but is in the process of starting. |
3 | Ending, immediate - The TCP/IPv4 stack is operational, but is in the process of ending. |
4 | Ending, controlled - The TCP/IPv4 stack is operational, but is in the process of ending. |
When last ended - date. The date when the TCP/IP stack was last ended. The format is YYYYMMDD, where:
YYYY | Year |
MM | Month |
DD | Day |
When last ended - time. The time when the TCP/IP stack was last ended. The format is HHMMSS, in 24-hour time, where:
HH | Hour |
MM | Minute |
SS | Second |
When last started - date. The date when the TCP/IP stack was last started. The format is YYYYMMDD, where:
YYYY | Year |
MM | Month |
DD | Day |
When last started - time. The time when the TCP/IP stack was last started. The format is HHMMSS, in 24-hour time, where:
HH | Hour |
MM | Minute |
SS | Second |
Who last ended - internal job identifier. A value sent to other APIs to speed the process of locating the job on the system. Only i5/OS APIs use this identifier. This field is all NULLs if the TCP/IP stack has not been ended since the last initial program load (IPL), or if the job that ended the TCP/IP stack is no longer active.
Who last ended - job name. The name of the job responsible for ending the TCP/IP stack the last time it was ended. If the TCP/IP stack has not been ended since the last initial program load (IPL), this field is all NULLs.
Who last ended - job number. The job number responsible for ending the TCP/IP stack the last time it was ended. If the TCP/IP stack has not been ended since the last initial program load (IPL), this field is all NULLs.
Who last ended - job user name. The name of the user responsible for ending the TCP/IP stack the last time it was ended. If the TCP/IP stack has not been ended since the last initial program load (IPL), this field is all NULLs.
Who last started - internal job identifier. A value sent to other APIs to speed the process of locating the job on the system. Only i5/OS APIs use this identifier. This field is all NULLs if the TCP/IP stack has not been started since the last initial program load (IPL), or if the job that started the TCP/IP stack is no longer active.
Who last started - job name. The name of the job responsible for starting the TCP/IP stack the last time it was started. If the TCP/IP stack has not been started since the last initial program load (IPL), this field will be all NULLs.
Who last started - job number. The job number of the job responsible for starting the TCP/IP stack the last time it was started. If the TCP/IP stack has not been started since the last initial program load (IPL), this field will be all NULLs.
Who last started - job user name. The user name of the job responsible for starting the TCP/IP stack the last time it was started. If the TCP/IP stack has not been started since the last initial program load (IPL), this field will be all NULLs.
This format returns detailed information about the TCP/IPv4 stack attributes in addition to the TCP/IPv4 stack status (format TCPA0100). For detailed descriptions of the fields in the table, see Field Descriptions.
Offset | Type | Field | |
---|---|---|---|
Dec | Hex | ||
0 | 0 | Returns everything from format TCPA0100 | |
Decimal and hexadecimal offsets are reached by using the offset to additional information field in format TCPA0100. | BINARY(4) | IP datagram forwarding | |
BINARY(4) | UDP checksum | ||
BINARY(4) | Log protocol errors | ||
BINARY(4) | IP source routing | ||
BINARY(4) | TCP urgent pointer | ||
BINARY(4) | IP reassembly timeout | ||
BINARY(4) | IP time to live | ||
BINARY(4) | TCP keep alive | ||
BINARY(4) | TCP receive buffer | ||
BINARY(4) | TCP send buffer | ||
BINARY(4) | ARP cache timeout | ||
BINARY(4) | MTU path discovery | ||
BINARY(4) | MTU discovery interval | ||
BINARY(4) | QoS enablement | ||
BINARY(4) | QoS timer resolution | ||
BINARY(4) | QoS data path optimization | ||
BINARY(4) | Dead gateway detection enablement | ||
BINARY(4) | Dead gateway detection interval | ||
BINARY(4) | TCP time wait timeout | ||
BINARY(4) | TCP R1 retransmission count | ||
BINARY(4) | TCP R2 retransmission count | ||
BINARY(4) | TCP minimum retransmission timeout | ||
BINARY(4) | TCP close connection message | ||
BINARY(4) | Network file cache enablement | ||
BINARY(4) | Network file cache timeout | ||
BINARY(4) | Network file cache size | ||
BINARY(4) | Explicit congession notification |
ARP cache timeout. The ARP cache time-out value, in minutes The purpose of the time-out value is to flush out-of-date cache entries from the ARP cache.
The default ARP cache time-out interval is 5 minutes. Valid values range from 1 through 1440 minutes (24 hours).
Dead gateway detection enablement. Whether dead gateway detection is turned on or off. Dead gateway detection is a mechanism that involves polling all attached gateways. If no reply is received to the polls, all routes using that gateway are inactivated. Possible values are:
0 | Dead gateway detection is off. |
1 | Dead gateway detection is on. This is the default value. |
Dead gateway detection interval. The amount of time, in minutes, between dead gateway detection polls. When the time interval is exceeded, all attached gateways are polled to determine their availability.
The default dead gateway detection interval is 2 minutes. Valid values range from 1 through 60 minutes.
Explicit congession notification (ECN). If ECN is enabled routers can notify end-nodes of congestion before queues overflow. Without ECN end-nodes can only detect congestion when packets are lost due to queues overflowing.
0 | ECN is not enabled for the system. This is the default value. |
1 | ECN is enabled for the system. |
IP datagram forwarding. Whether the IP layer forwards Internet Protocol (IP) datagrams between different networks. It specifies whether the IP layer is acting as a gateway.
Note: IP does not forward datagrams between interfaces on the same subnet.
The i5/OS implementation of TCP/IP does not include full gateway function as defined in RFC1009. Subsets of the gateway functions are supported. One of the gateway functions supported is IP datagram forwarding capabilities. The possible values are:
0 | IP datagrams are not forwarded. This is the default value. |
1 | IP datagrams are forwarded. |
IP reassembly timeout. The IP datagram reassembly time, in seconds. If this time is exceeded, a partially reassembled datagram is discarded and an ICMP time exceeded message is sent to the source host.
The default IP reassembly timeout is 10 seconds. Valid values range from 5 through 120 seconds.
IP source routing. Whether IP source routing currently is on or off. If IP source routing is on, it means that this system is specifying the route that outgoing IP packets take instead of allowing normal dynamic routing to take place. Some firewalls will not pass datagrams that have IP source routing switched on. The possible values are:
0 | IP source routing is off. |
1 | IP source routing is on. This is the default value. |
IP time to live. The current TTL value. The IP datagram time-to-live value specifies a relative limit on the number of hops across which an IP datagram remains active. The time-to-live value acts as a hop count that is decremented by each gateway to prevent internet routing loops.
Note: Even though this parameter is specified as a time-to-live value, it is not used as a time value. It is used as a counter. The standard description is time to live as specified in RFCs.
Note: This IP datagram time-to-live value is not used for datagrams sent to an IP multicast group address. The default IP datagram time-to-live value for datagram sent to an IP multicast group is always 1, as specified by the Internet standards. Individual multicast applications may override this default using the IP_MULTICAST_TTL socket option.
The default time-to-live value is 64. Valid values range from 1 through 255.
Log protocol errors. Enables a user to log protocol errors that occur during the processing of TCP/IP data. These TCP/IP stack layer functions use this parameter to determine if they log protocol-specific errors: IP, ICMP, ARP, and NAM. TCP and UDP do not log protocol errors.
The 7004 error reference code is logged when the LOGPCLERR(*YES) option is specified and inbound datagrams are silently discarded. Silently discarded means that an ICMP message is not returned to the originating host when a datagram is discarded because of header errors. Examples of such datagrams include those with invalid checksums and invalid destination addresses.
The error reference code is for information only. No action should be taken as a result of this error reference code. It is generated to assist with remote device or TCP/IP network problem analysis.
Note: These error conditions cannot be processed using an APAR.
The log protocol errors parameter should be used when error conditions require the logging of TCP/IP data, such as datagrams, to determine network problems.
The data is logged in the system error log. This error log is available through the Start System Service Tools (STRSST) command. The possible values are:
0 | Protocol errors are not logged. |
1 | Protocol errors are logged. |
MTU discovery interval. The amount of time, in minutes, that the TCP/IP protocol stack will cache the results of a path MTU discovery. When the time interval is exceeded, the path MTU is rediscovered.
The default path MTU discovery interval is 10 minutes. Valid values range from 5 through 40320 minutes (28 days). A special value is:
-1 | *ONCE - Means that path MTUs should not be recalculated after the first discovery. |
MTU path discovery. Whether the Path Maximum Transmission Unit (MTU) discovery function is enabled on this system.
0 | MTU Path Discovery is disabled for this system. |
1 | MTU Path Discovery is enabled for this system. This is the default value. |
Network file cache enablement. The current enablement status of the Network File Cache (NFC) function. The Network File Cache is used for the support of FRCA (Fast Response Cache Accelerator). FCRA dramatically improves the performance of serving non-secure static content by Web and other TCP servers.
Possible values are:
0 | *NO - Network file cache is currently disabled on this system. |
1 | *YES - Network file cache is currently enabled on this system. |
Network file cache size. The maximum amount of storage that may be used by the Network File Cache (NFC) for the entire system. This number is the total storage used by all TCP servers for caching files. The storage being allocated is DASD or disk and is not directly allocated from main memory. Valid values range from 10 through 100000 megabytes (100GB).
Network file cache timeout. The maximum amount of time in seconds that a file can be cached in the Network File Cache (NFC). This attribute ensures that a file is refreshed at a regular interval. Valid values range from 30 through 604800 seconds (one week).
Special values are:
0 | *NOMAX - Network file cache entries will not timeout. |
QoS data path optimization. The type of data path optimization in use by Quality of Service (QoS). This field indicates the extent which QoS will batch datagrams so as to optimize performance at the risk of increasing jitter, or delay. The normal setting maximizes performance by doing more batching of datagram packets. The MinDelay setting minimizes delay by doing less batching of datagram packets and just sending them when they are ready. Possible values are:
1 | *NORMAL - Maximize performance. This setting is the default. |
2 | *MINDELAY - Minimize delay. |
QoS enablement. Whether Quality of Service (QoS), IP Type of Service (TOS), or neither of the two are in use. Possible values are:
1 | *TOS - Type of Service bytes in the IP headers are in use. |
2 | *YES - QoS is in use. |
3 | *NO - QoS is not in use and the Type of Service byte is not in use. This setting is the default. |
QoS timer resolution. The Quality of Service (QoS) timer resolution value in milliseconds. This field indicates the amount of control possible over delay variations. A higher timer resolution value contributes to more jitter (delay), and a lower timer resolution uses more CPU time. The timer resolution value that can be tolerated is very dependent on the application. For example, video is highly sensitive to large delay variations. To achieve a smooth rate of flow, timers need to use small timer increments. The smaller the resolution, the smoother the data flow, but at a higher cost in terms of system overhead to manage timers.
The default QoS timer resolution is 100 milliseconds. Valid values range from 5 to 5000 milliseconds.
TCP close connection message. The value of the TCP close connection message attribute. The TCP close connection message attribute specifies whether abnormally closed TCP connections will be logged by messages to the QTCP message queue. TCP connections could be abnormally closed for the following reasons:
Possible values are:
1 | *THRESHOLD - At most, one abnormally closed TCP connection message per minute will be logged. This value is the default setting. |
2 | *ALL - All abnormally closed TCP connections will be loged. Note that there are some conditions that could cause MANY closed connection messages to be logged at the same time. |
3 | *NONE - Abnormally closed TCP connections will not be logged. |
TCP keep alive. The amount of time, in minutes, that TCP waits before sending out a probe to the other side of a connection. The probe is sent when the connection is otherwise idle, even when there is no data to be sent.
The transmission of keep-alive packets is controlled by individual sockets applications through use of the SO_KEEPALIVE socket option. For more information, Sockets Programming in the iSeries Information Center.
The default keep-alive time interval is 120 minutes. Valid values range from 1 through 40320 minutes (28 days).
TCP minimum retransmission timeout. The current value of the configurable TCP minimum retransmission timeout attribute, in milliseconds. This attribute specifies the amount of time that TCP will wait for an acknowledgement (ACK) of a packet. When this amount of time has passed without an acknowledgement, TCP will perform the first retransmission of the packet. The default TCP minimum retransmission timeout is 250 milliseconds. Valid values range from 100 through 1000 milliseconds.
TCP R1 retransmission count. The R1 retransmission count value. The default value is 3. Valid values range from 1 to 15, and R1 must be less than R2.
TCP R2 retransmission count. The R2 retransmission count value. The default value is 16. Valid values range from 2 to 16, and R2 must be greater than R1.
TCP receive buffer. What to allocate for the default receive buffer size. The TCP receive window size is based on this value. Decreasing this value decreases the amount of data that the remote system can send before being read by the local application. Decreasing this value may improve performance in situations where many retransmissions occur due to the overrunning of a network adapter.
Notes:
The default TCP receive buffer size is 8192 (8K) bytes. Valid values range from 512 through 8388608 (8MB) bytes.
TCP send buffer. The TCP send buffer size. This parameter informs TCP what to use for the default send buffer size. The TCP send buffer size provides a limit on the number of outgoing bytes that are buffered by TCP. Once this limit is reached, attempts to send additional bytes may result in the application blocking until the number of outgoing bytes buffered drops below this limit. The number of outgoing bytes buffered is decremented when the remote system acknowledges the data sent.
Notes:
The default TCP send buffer size is 8192 (8K) bytes. Valid values range from 512 through 8388608 (8M) bytes.
TCP time wait timeout. The amount of time, in seconds, for which a socket pair (client IP address and port, server IP address and port) cannot be reused after a connection is closed. The maximum value possible is 2 MSL (maximum segment lifetime). The default value is 120 seconds. Valid values range from 0 (no timer) to 14400 seconds (240 minutes).
TCP urgent pointer. The convention to follow when interpreting which byte the urgent pointer in the TCP header points to. The urgent pointer in the TCP header points to either the byte immediately following the last byte of urgent data (BSD convention) or the last byte of the urgent data (RFC convention).
Note: This value must be consistent between the local and remote ends of a TCP connection. Socket applications that use this value must use it consistently between the client and server applications. This value is set on a system basis. All applications using this system will use this value. The possible values are:
1 | Use the BSD defined convention. The TCP urgent pointer points to the byte immediately following the last byte of urgent data. This is the default value. |
2 | Use the RFC defined convention. The TCP urgent pointer points to the last byte of the urgent data. |
UDP checksum. Whether UDP processing should generate and validate checksums. It is strongly recommended that you use UDP checksum processing. If you are concerned about obtaining the best possible performance and are not concerned with the protection provided by UDP checksum processing, turn UDP checksum processing off. The possible values are:
0 | Checksum protection is not provided for UDP data. |
1 | Checksum protection is provided for UDP data. This is the default value. |
This format returns detailed information about the TCP/IP domain attributes, in addition to the TCP/IPv4 stack status (format TCPA0100). For detailed descriptions of the fields in the table, see Field Descriptions.
Offset | Type | Field | |
---|---|---|---|
Dec | Hex | ||
0 | 0 | Returns everything from format TCPA0100 | |
Decimal and hexadecimal offsets are reached by using the offset to additional information field in format TCPA0100. | BINARY(4) | Offset to list of internet addresses | |
BINARY(4) | Number of internet addresses | ||
BINARY(4) | Entry length for list of internet addresses | ||
BINARY(4) | DNS protocol | ||
BINARY(4) | Retries | ||
BINARY(4) | Time interval | ||
BINARY(4) | Search order | ||
BINARY(4) | Initial domain name server | ||
BINARY(4) | DNS listening port | ||
CHAR(64) | Host name | ||
CHAR(255) | Domain name | ||
CHAR(1) | Reserved | ||
CHAR(256) | Domain search list |
List of Internet Addresses. These fields repeat for each Domain Name Server (DNS) Internet address.
Offset | Type | Field | |
---|---|---|---|
Dec | Hex | ||
0 | 0 | CHAR(15) | Internet address |
15 | F | CHAR(1) | Reserved |
16 | 10 | BINARY(4) | Internet address binary |
20 | 14 |
DNS listening port. The remote TCP/IP port number used to contact the Domain Name Server (DNS) or Servers listed in the Internet address parameter. 53 is the well-known port used for this purpose.
Note: Use of a TCP/IP port number other than the well-known port 53 for use by the Domain Name Server (DNS) can result in TCP/IP communication problems. You may inadvertently use a port number that is reserved for use by another TCP/IP application.
The default DNS Listening port is 53. Valid values range from 1 to 65532.
DNS protocol. The TCP/IP protocol used to communicate with the Domain Name Server (DNS) specified in the Internet address parameter. User Datagram Protocol (UDP) typically is used for this purpose. Use TCP only if your Domain Name Server (DNS) is specifically configured to use the Transmission Control Protocol (TCP). Possible values are:
1 | Use of the User Datagram Protocol (UDP) to communicate with the Domain Name Server or Servers. |
2 | Use of the Transmission Control Protocol (TCP) to communicate with the Domain Name Server or Servers. |
Domain name. The name of the TCP/IP domain of which this system is a member.
Domain search list. The TCP/IP domains to be searched whenever a host name is not given as a Fully Qualified Domain Name (FQDN). Up to six domains may be specified, separated by spaces. The list is null terminated.
Entry length for list of internet addresses. The entry length in bytes of each element in the list of Domain Name Server (DNS) Internet addresses returned with this format. A value of zero is returned if the list is empty.
Host name. The TCP/IP host name of this system. This field returns the value specified by the CHGTCPDMN command, and is the preferred system name if the system has more than one name corresponding to multiple interfaces.
Note: This system's TCP/IP host name must also be defined in the local host table or the Domain Name Server (DNS) specified in the Internet address parameter. If no Domain Name Server (DNS) is specified, the local TCP/IP host table is used.
Initial domain name server. How the initial Domain Name Server (DNS) is chosen when doing a name lookup. The first configured server can always be queried first, or TCP/IP can rotate through the configured servers in a round-robin fashion to provide a form of load balancing on the servers. Possible values are:
1 | First. Do not rotate through the configured Domain Name Servers (DNS); always start with the first one. This setting is the default. |
2 | Rotate. Rotate through the configured Domain Name Servers (DNS) in a round-robin fashion to choose the first one to query. |
Internet address. The IP address of a Domain Name Server (DNS) to be used by this system. There may be zero, one, two, or three Domain Name Server (DNS) Internet addresses.
If the first Domain Name Server (DNS) in the list does not respond, the second DNS server in the list will be contacted. If the second DNS server does not respond, the third DNS server will contacted, and so on.
This field is specified in dotted-decimal form.
Internet address binary. The binary representation of a Domain Name Server (DNS) IP address.
Number of internet addresses. The number of elements in the list of Domain Name Server (DNS) Internet addresses returned with this format. A value of zero is returned if the list is empty.
Offset to list of internet addresses. The offset from the beginning of the receiver variable, in bytes, to the first element in the list of Domain Name Server (DNS) Internet addresses returned with this format. A value of zero is returned if the list is empty.
Retries. The number of additional attempts made to establish communication with each Domain Name Server (DNS), in the event the first attempt fails.
The default number of retries is 2. Valid values range from 0 to 99.
Search order. Whether to search a Domain Name Server (DNS) first to resolve a TCP/IP host name conflict, or to search the local TCP/IP host table first.
1 | Local - This system will first search the TCP/IP host table, located on this system, to resolve TCP/IP host names. |
2 | Remote - This system will search a remote or local Domain Name Server (DNS) to resolve TCP/IP host names before searching the local TCP/IP host table. The Domain Name Server (DNS) to use is specified by the Internet Address parameter. This is the default value. |
Time interval. The length of time in seconds this system will wait before initiating a retry attempt to connect to a DNS server. The default time interval is 2 seconds. Valid values range from 0 to 99.
This format returns information regarding the status of the TCP/IPv6 stack. For detailed descriptions of the fields in the table, see Field Descriptions.
Offset | Type | Field | |
---|---|---|---|
Dec | Hex | ||
0 | 0 | BINARY(4) | Bytes returned |
4 | 4 | BINARY(4) | Bytes available |
8 | 8 | BINARY(4) | TCP/IPv6 stack status |
12 | C | BINARY(4) | Offset to additional information |
16 | 10 | BINARY(4) | Length of additional information |
20 | 14 |
Bytes available. The number of bytes of data available to be returned. All available data is returned if enough space is provided.
Bytes returned. The number of bytes of data returned.
Length of additional information. The length in bytes of additional information returned that is not part of format TCPA1100.
Offset to additional information. The offset from the beginning of the receiver variable, in bytes, to the start of the next format if format TCPA1200 or format TCPA1300 is requested. This field allows expansion of the basic information. A value of zero is returned if only the TCPA1100 format is requested.
TCP/IPv6 stack status. The current status of the system TCP/IPv6 stack. Possible values are:
0 | Inactive - The TCP/IPv6 stack is not operational. |
1 | Active - The TCP/IPv6 stack is operational. |
2 | Starting - The TCP/IPv6 stack not operational, but is in the process of starting. |
3 | Ending, immediate - The TCP/IPv6 stack is operational, but is in the process of ending. |
4 | Ending, controlled - The TCP/IPv6 stack is operational, but is in the process of ending. |
This format returns detailed information about the TCP/IPv6 stack attributes in addition to the TCP/IPv6 stack status (format TCPA1100). For detailed descriptions of the fields in the table, see Field Descriptions. As of V5R4, this format is being replaced with TCPA1300 and should no longer be used.
Offset | Type | Field | |
---|---|---|---|
Dec | Hex | ||
0 | 0 | Returns everything from format TCPA1100 | |
Decimal and hexadecimal offsets are reached by using the offset to additional information field in format TCPA1100. | BINARY(4) | ICMP error message send rate time | |
BINARY(4) | Router solicitation max delay | ||
BINARY(4) | Router solicitation interval | ||
BINARY(4) | Router solicitation max transmits | ||
BINARY(4) | Neighbor advertisement max transmits | ||
BINARY(4) | Neighbor solicitation delay first probe time | ||
BINARY(4) | Neighbor solicitation max unicast solicits | ||
BINARY(4) | Neighbor solicitation max multicast solicits | ||
BINARY(4) | TCP keep alive | ||
BINARY(4) | TCP urgent pointer | ||
BINARY(4) | TCP receive buffer size | ||
BINARY(4) | TCP send buffer size | ||
BINARY(4) | TCP R1 retransmission count | ||
BINARY(4) | TCP R2 retransmission count | ||
BINARY(4) | TCP closed timewait timeout | ||
BINARY(4) | TCP minimum retransmission timeout |
ICMP error message send rate time. The current value of the ICMP error message send rate time attribute, in milliseconds. The ICMP error message send rate time attribute controls how often ICMPv6 error messages will be sent out by the system. This control mechanism allows the bandwidth and forwarding costs of sending ICMPv6 error messages to be limited, as in the case of many ICMPv6 error messages being generated in response to another host sending a stream of erroneous packets. The default ICMP error message send rate time is 1000 milliseconds (1 second). Valid values range from 10 through 5000 milliseconds (5 seconds).
Note: As of V5R4, this data is no longer available and is defaulted to 0.
Neighbor advertisement max transmits. The current value of the TCP/IPv6 stack Neighbor advertisement max transmits attribute. The Neighbor advertisement max transmits attribute is specified as a number of transmissions, and is the maximum number of unsolicited Neighbor Advertisements that the system will send at a time. The system might send unsolicited Neighbor Advertisements when one of its link-layer addresses changes (for example, hot-swap of a physical interface card). The default value of the Neighbor advertisement max transmits attribute is 3 transmissions. Valid values range from 1 through 5 transmissions.
Note: As of V5R4, this data is no longer available and is defaulted to 0.
Neighbor solicitation delay first probe time. The current value of the configured Neighbor solicitation delay first probe time attribute. This attribute controls how long a Neighbor Cache entry will stay in the DELAY state before the stack will send another Neighbor Solicitation and move the Neighbor Cache entry's Reachability state to PROBE if reachability still has not been confirmed. The default Neighbor solicitation delay first probe time is 5 seconds. Valid values range from 3 through 10 seconds.
Note: As of V5R4, this data is no longer available and is defaulted to 0.
Neighbor solicitation max multicast solicits. The current value of the configured Neighbor solicitation max multicast solicits stack attribute. This attribute controls the maximum number of multicast Neighbor Solicitations which will be sent out when the system is performing link-layer address resolution for another host (neighbor). If no Neighbor Advertisement is received after the maximum number of Neighbor Solicitations have been sent out, address resolution has failed, and an ICMPv6 error message will be returned to the application. The default value of the Neighbor solicitation max multicast solicits attribute is 3 transmissions. Valid values range from 1 through 5 transmissions.
Note: As of V5R4, this data is no longer available and is defaulted to 0.
Neighbor solicitation max unicast solicits. The current value of the configured Neighbor solicitation max unicast solicits stack attribute. This attribute controls the maximum number of unicast Neighbor Solicitations which will be sent out when the system is performing link-layer address resolution for another host with unicast Neighbor Solicitations. Multicast is the normal way to perform Neighbor Discovery, but unicast Neighbor Solicitations will be used if the local physical interface is not multicast-capable. If no Neighbor Advertisement is received after the maximum number of Neighbor Solicitations have been sent out, address resolution has failed, and an ICMPv6 error message will be returned to the application. The default Neighbor solicitation max unicast solicits value is 3 transmissions. Valid values range from 1 through 5 transmissions.
Note: As of V5R4, this data is no longer available and is defaulted to 0.
Router solicitation interval. The Router solicitation interval is the amount of time, in seconds, to wait between sending Router Solicitations while waiting for a Router Advertisement in reply. The default Router solicitation interval is 4 seconds. Valid values range from 2 through 5 seconds.
Note: As of V5R4, this data is no longer available and is defaulted to 0.
Router solicitation max delay. The Router solicitation max delay attribute is the amount of time, in milliseconds, to wait for a Router Advertisement reply after sending the last Router Solicitation. This attribute is also used to calculate when to send the first Router Solicitation. To avoid congestion on a link when many hosts start up at the same time (such as after a power failure), the system will wait Router soliciation max delay seconds before sending the first Router Solicitation. The default Router soliciation max delay is 1000 milliseconds. Valid values range from 500 through 3000 milliseconds.
Note: As of V5R4, this data is no longer available and is defaulted to 0.
Router solicitation max transmits. The maximum number of Router Solicitations to transmit. If no Router Advertisements are received in response to the transmitted Router Solicitations, the system concludes that there is no IPv6 router on its link. The default Router solicitation max transmits value is 3 transmissions. Valid values range from 1 through 5 transmissions.
Note: As of V5R4, this data is no longer available and is defaulted to 0.
TCP closed timewait timeout. The amount of time, in seconds, for which a socket pair (client IP address and port, server IP address and port) cannot be reused after a connection is closed. The maximum value possible is 2 MSL (maximum segment lifetime). The default value is 120 seconds. Valid values range from 0 (no timer) to 14400 seconds (240 minutes).
TCP keep alive. The amount of time, in minutes, that TCP waits before sending out a probe to the other side of a connection. The probe is sent when the connection is otherwise idle, even when there is no data to be sent.
The transmission of keep-alive packets is controlled by individual sockets applications through use of the SO_KEEPALIVE socket option. For more information, Sockets Programming in the iSeries Information Center.
The default keep-alive time interval is 120 minutes. Valid values range from 1 through 40320 minutes (28 days).
TCP minimum retransmission timeout. The current value of the configurable TCP minimum retransmission timeout attribute, in milliseconds. This attribute specifies the amount of time that TCP will wait for an acknowledgement (ACK) of a packet. When this amount of time has passed without an acknowledgement, TCP will perform the first retransmission of the packet. The default TCP minimum retransmission timeout is 250 milliseconds. Valid values range from 100 through 1000 milliseconds.
TCP R1 retransmission count. The R1 retransmission count value. The default value is 3. Valid values range from 1 to 15, and R1 must be less than R2.
TCP R2 retransmission count. The R2 retransmission count value. The default value is 16. Valid values range from 2 to 16, and R2 must be greater than R1.
TCP receive buffer size. The TCP receive buffer size in bytes. The TCP receive window size is based on this value. Decreasing this value decreases the amount of data that the remote system can send before being read by the local application. Decreasing this value may improve performance in situations where many retransmissions occur due to the overrunning of a network adapter.
Notes:
The default TCP receive buffer size is 8192 (8K) bytes. Valid values range from 512 through 8388608 (8MB) bytes.
TCP send buffer size. The TCP send buffer size in bytes. This parameter informs TCP what to use for the default send buffer size. The TCP send buffer size provides a limit on the number of outgoing bytes that are buffered by TCP. Once this limit is reached, attempts to send additional bytes may result in the application blocking until the number of outgoing bytes buffered drops below this limit. The number of outgoing bytes buffered is decremented when the remote system acknowledges the data sent.
Notes:
The default TCP send buffer size is 8192 (8K) bytes. Valid values range from 512 through 8388608 (8M) bytes.
TCP urgent pointer. The convention to follow when interpreting which byte the urgent pointer in the TCP header points to. The urgent pointer in the TCP header points to either the byte immediately following the last byte of urgent data (BSD convention) or the last byte of the urgent data (RFC convention).
Note: This value must be consistent between the local and remote ends of a TCP connection. Socket applications that use this value must use it consistently between the client and server applications. This value is set on a system basis. All applications using this system will use this value. The possible values are:
1 | Use the BSD defined convention. The TCP urgent pointer points to the byte immediately following the last byte of urgent data. This is the default value. |
2 | Use the RFC defined convention. The TCP urgent pointer points to the last byte of the urgent data. |
This format returns information regarding the status of the TCP/IPv6 stack. For detailed descriptions of the fields in the table, see Field Descriptions.
Offset | Type | Field | |
---|---|---|---|
Dec | Hex | ||
0 | 0 | Returns everything from format TCPA1100 | |
Decimal and hexadecimal offsets are reached by using the offset to additional information field in format TCPA1100. | BINARY(4) | Address selection preference | |
BINARY(4) | ICMP error message burst limit | ||
BINARY(4) | ICMP error message send rate | ||
BINARY(4) | Hop limit |
Address selection preference. 6to4 address or a native IPv6 address if both are available on both the local and remote host. Possible values are:
0 | Prefer Native |
1 | Prefer 6to4 |
Hop limit. The configured IPv6 Hop Limit value specified for all physical interfaces. The Hop limit field is the IPv6 replacement for the IPv4 Time to live (TTL) field. The Hop limit value specifies a relative limit on the number of hops across which an IPv6 datagram remains active. The Hop limit value is hop count that is decremented by each gateway to prevent internet routing loops. The default Hop limit value is 64. Valid values range from 1 through 255 hops.
ICMP error message burst limit. The maximum number of ICMP error messages sent in a burst. The default value is 10. Valid values range from 1 through 255.
ICMP error message send rate. The average rate limit of sending ICMP error messages in packets/second. The default value is 10. Valid values range from 1 through 255.
Message ID | Error Message Text |
---|---|
TCP84C6 E | Internal operations error - RESULT &1 CC &2 RC &3 ERRNO &4. |
CPF24B4 E | Severe error while addressing parameter list. |
CPF3C19 E | Error occurred with receiver variable specified. |
CPF3C21 E | Format name &1 is not valid. |
CPF3C24 E | Length of the receiver variable is not valid. |
CPF3C90 E | Literal value cannot be changed. |
CPF3CF1 E | Error code parameter not valid. |
CPF8100 E | All CPF81xx messages could be returned. xx is from 01 to FF. |
CPF9872 E | Program or service program &1 in library &2 ended. Reason code &3. |
Top | Communications APIs | APIs by category |