z/OS Communications Server: IP Programmer's Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


TCP/IP profile record source IP section

z/OS Communications Server: IP Programmer's Guide and Reference
SC27-3659-02

This section provides source IP address information from the SRCIP profile statement. There can be multiple sections in the record, one per SRCIP DESTINATION or JOBNAME substatements.

Table 1 shows the source IP section.
Table 1. TCP/IP profile record source IP section
Offset Name Length Format Description
0(X'0') NMTP_SRCIEye 4 EBCDIC SRCI eyecatcher
4(X'4') NMTP_SRCIType 1 Binary Type of entry:
NMTP_SRCITDest(1)
Destination
NMTP_SRCITJob(2)
Job name
5(X'5') NMTP_SRCIFlags 1 Binary Flags:
X'80'
NMTP_SRCIIPv6: IPv6 indicator. If set IP addresses are IPv6, otherwise IP addresses are IPv4.
X'40'
NMTP_SRCISrcIfName: Source IP address identifier in field NMTP_SRCISrc6 is an IPv6 interface name.
X'30'
NMTP_SRCIBoth: Both job name Clients and Servers
X'20'
NMTP_SRCIClients: Job name Clients
X'10'
NMTP_SRCIServers: Job name Servers
X'08'
NMTP_SRCITempAddrs: If the flag is set and default source IP address selection is performed, an IPv6 temporary address is preferred over an IPv6 public address.
X'04'
NMTP_SRCIPubAddrs: If the flag is set and default source IP address selection is performed, an IPv6 public address is preferred over an IPv6 temporary address.
6(X'6') 1 Binary Reserved
7(X'7') NMTP_SRCIDestPfxLen 1 Binary Destination prefix length for both IPv4 or IPv6 destination addresses. This value is zero if a prefix length was not specified.
8(X'8') NMTP_SRCIJobName 8 EBCDIC If the NMTP_SRCIType value is Job name, this field contains the specified job name, padded with trailing blanks.
16(X'10') NMTP_SRCIDestAddr4 4 Binary One of the following values:
  • If the NMTP_SRCIType value is Destination and the NMTP_SRCIIPv6 flag is not set, this field contains the IPv4 destination IP address.
  • If the NMTP_SRCIType value is Destination and the NMTP_SRCIIPv6 flag is set, this field contains the IPv6 destination IP address.
16(X'10') NMTP_SRCIDestAddr6 16 Binary One of the following values:
  • If the NMTP_SRCIType value is Destination and the NMTP_SRCIIPv6 flag is not set, this field contains the IPv4 destination IP address.
  • If the NMTP_SRCIType value is Destination and the NMTP_SRCIIPv6 flag is set, this field contains the IPv6 destination IP address.
32(X'20') NMTP_SRCISrcAddr4 4 Binary One of the following values:
IPv4 source IP address
If the NMTP_SRCIIPv6 flag is not set, this field contains the IPv4 source IP address.
IPv6 source IP address
If the NMTP_SRCIIPv6 flag is set, but the NMTP_SRCISrcIfName and NMTP_SRCITempAddrs flags are not set, this field contains the IPv6 source IP address.
IPv6 source interface name
If both the NMTP_SRCIIPv6 and NMTP_SRCISrcIfName flags are set, this field contains the IPv6 source interface name, padded with trailing blanks.
32(X'20') NMTP_SRCISrcAddr6 16 Binary One of the following values:
IPv4 source IP address
If the NMTP_SRCIIPv6 flag is not set, this field contains the IPv4 source IP address.
IPv6 source IP address
If the NMTP_SRCIIPv6 flag is set, but the NMTP_SRCISrcIfName and NMTP_SRCITempAddrs flags are not set, this field contains the IPv6 source IP address.
IPv6 source interface name
If both the NMTP_SRCIIPv6 and NMTP_SRCISrcIfName flags are set, this field contains the IPv6 source interface name, padded with trailing blanks.
32(X'20') NMTP_SRCISrcIntfName 16 EBCDIC One of the following values:
IPv4 source IP address
If the NMTP_SRCIIPv6 flag is not set, this field contains the IPv4 source IP address.
IPv6 source IP address
If the NMTP_SRCIIPv6 flag is set, but the NMTP_SRCISrcIfName and NMTP_SRCITempAddrs flags are not set, this field contains the IPv6 source IP address.
IPv6 source interface name
If both the NMTP_SRCIIPv6 and NMTP_SRCISrcIfName flags are set, this field contains the IPv6 source interface name, padded with trailing blanks.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014