User guide

170 DC 900-1333Q
Freeway User Guide
parameters in the boot configuration file used for ICP_IP devices. These parameters
specify the configuration of the IP link implemented by an ICP_IP device (for example,
the IP addresses and ports, data format, and so on). Each ICP_IP device may be config-
ured independently of all other ICP_IP devices.
The
bootcfg.ip file contains examples of the ICP_IP parameters. This file is preconfigured
with the following devices:
icp0 Commented-out examples of an ICP2424, ICP2432, and ICP6000
icp1 ICP_IP stream listening socket (TCP/IP server)
icp2 ICP_IP stream connecting socket (TCP/IP client)
icp3 ICP_IP datagram socket (unicast)
icp4 ICP_IP datagram socket (multicast)
Edit the
/tmp/boot/bootcfg.ip file, modifying the following fields as necessary to set up each
ICP_IP virtual device:
Device Name The
device_name parameters in the example file in the bootcfg.ip file are
icp0 through icp3. Freeway uses the device names to identify the devices. If a Free-
way client uses the data link interface (DLI), the device name must be of the form
icpx”, w h e r e x corresponds to the BoardNo parameter in the DLI configuration file
of the client program. Each device name entered in the boot configuration file
must be unique.
Device Type The
device_type parameter for ICP_IP virtual devices must be icp_ip.
Socket Type The socket_type parameter must be sock_dgram, sock_stream_listen, or
sock_stream_connect. (The sock_stream parameter string can be used in place of
sock_stream_connect.) The sock_dgram parameter specifies a UDP/IP packet data
stream. The
sock_stream_listen parameter specifies a TCP/IP server (listening)
socket and the
sock_stream_connect parameter specifies a TCP/IP client (connect-
ing) socket.