List Physical Interface ARP Table (QtocLstPhyIfcARPTbl) API

  Required Parameter Group:


  Start of changeOptional Parameter Group 1:



  Service Program: QTOCNETSTS

  Threadsafe: Yes

The List Physical Interface ARP Table (QtocLstPhyIfcARPTbl) API returns a list of all entries in the ARP (Address Resolution Protocol) table for the specified line.

TCP/IP must be active on this system; otherwise, error message TCP84C0 will be issued.


Authorities and Locks

User Space Library Authority
*EXECUTE
User Space Authority
*CHANGE
User Space Lock
*SHRNUP

Required Parameter Group

Qualified user space name
INPUT; CHAR(20)

The user space that receives the information, and the library in which it is located. The first 10 characters contain the user space name, and the second 10 characters contain the library name. You can use these special values for the library name:


Format name
INPUT; CHAR(8)

The format of the space information to be returned. The format names supported are:

ARPT0100
List of ARP table entries for a specified interface. Refer to ARPT0100 Format for details on the format.
Line name
INPUT; CHAR(10)

The name of the physical interface to retrieve ARP table entries for.

Error Code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter.


Start of changeOptional Parameter Group 1

Virtual LAN identifier
INPUT; BINARY(4)

The virtual LAN to which the associated line belongs according to IEEE standard 802.1Q. This field is only valid for Ethernet lines.

The following are permissible values:


Format of ARP Table Lists

To request a list of ARP table entries for an interface, use format ARPT0100.

The ARP table list consists of:

For details about the user area and generic header, see User spaces. For details about the remaining items, see the following sections.

When you retrieve list entry information from a user space, you must use the entry size returned in the generic header. The size of each entry may be padded at the end. If you do not use the entry size, the result may not be valid. For examples of how to process lists, see Examples: APIs and exit programs.


Input Parameter Section



Header Section



ARPT0100 Format

The following information about an ARP table entry is returned for the ARPT0100 format. For detailed descriptions of the fields in the table, see Field Descriptions.



Field Descriptions

Data link connection identifier (DLCI). This field identifies a logical connection on a single physical Frame Relay link. Each logical connection has a unique integer identifying it. Valid values range from 1 to 255, and this field is only valid when the line type field corresponds to Frame Relay.

Ethernet type. The type of Ethernet framing in use. ONLY valid if the interface is using an ELAN (Ethernet) or WLS (Wireless) line.

Internet address. The IP address of the interface in dotted-decimal notation.

Internet address binary. The binary representation of the IP address.

Start of changeLine name. Name of the communications line description that identifies the physical network. This field is blank-padded.End of change

Line type. The type of physical line used by an interface. The possible values are:

Physical address. The MAC address of the interface. Format: XX:XX:XX:XX:XX:XX, where 'X' is a hexadecimal digit.

Reserved. An ignored field.

Routing information field (RIF). The architected token-ring or FDDI source routing information. Use the RIF Valid Mask field to determine the validity of this field.

Routing information field (RIF) valid mask. Tells whether the RIF is valid for this ARP entry or not. The possible values are:

Type of entry. The type of ARP table entry. The possible values are:

Start of change Virtual LAN identifier. The virtual LAN to which the IP address belongs according to IEEE standard 802.1Q. This field is only valid for IP addresses defined for Ethernet lines.

The following are possible returned values:


Error Messages



API introduced: V5R1