skip book previous and next navigation links
go up to top of book: HP OpenVMS I/O User's Reference ManualHP OpenVMS I/O User's Reference Manual
go to beginning of chapter: Local Area Network (LAN) Device DriversLocal Area Network (LAN) Device Drivers
go to previous page: Supporting and Configuring LAN Emulation over ATMSupporting and Configuring LAN Emulation over ATM
go to next page: Ethernet AddressesEthernet Addresses
end of book navigation links

Ports and LAN Configuration  



A port in a LAN configurationconsists of a protocol type, a service access point (SAP) or protocolidentifier, and a controller. There are as many ports on a LAN controlleras there are protocol types, SAPs, and protocol identifiers. Eachport is independent of other ports running on the same LAN controller.

Application programs use either the LAN driver's QIO interfaceor VCI interface to perform I/O operations to and from other nodeson the LAN. This chapter describes the QIO interface. Typical Ethernet Configuration shows the relationship of most Ethernetcontrollers to the processor and to the user application program.  

Figure 2  Typical Ethernet Configuration  
Typical Ethernet Configuration

Driver Initialization and Operation  

Thefollowing sequence initializes and starts a port on a LAN devicedriver:

  1. Use the AssignI/O Channel ($ASSIGN) system service to assign I/O channels to oneor more of the LAN device names and devices specified in Supported OpenVMS VAX Systems LAN Devices and Supported OpenVMS Alpha LAN Devices. $ASSIGN creates a new unit control block (UCB),to which the channel for the port is assigned.
  2. Start up the port with the set mode function andstartup function modifier (see Set Controller Mode). You must supply the required P2 buffer parameters listedin P2 Attributes.
  3. Perform read, write, and sense mode operations asneeded.
  4. Shut down the port with the set mode function andshutdown function modifier (see Shutdown Controller).
  5. Use the Deassign I/O Channel ($DASSGN) system serviceto deassign the I/O channel.

The sample programs described in Local Area Network Programming Examples illustrate how to perform these procedures for Ethernetand IEEE 802 ports.


go to previous page: Supporting and Configuring LAN Emulation over ATMSupporting and Configuring LAN Emulation over ATM
go to next page: Ethernet AddressesEthernet Addresses