
A P P E N D I X C
Application Programmer’s Interface
This appendix describes the SunATM Application Programmer’s Interface (API). This appendix is composed of the following sections:
■“SunATM API Introduction” on page 87
■“Using the SunATM API with the Q.93B and the ATM Device Drivers” on page 88
■“Connecting, Sending, and Receiving Data with the ATM Device Driver” on page 96
SunATM API Introduction
The Application Programmers’ Interface (API) provided with this software release is an interim API from Sun Microsystems, Inc. that can be used on Sun Platforms.
In the ATM environment, data is sent between hosts over Virtual Circuits (VCs). VCs are
VCs can be created in one of two ways:
■Manual configuration at each host and each intermediate network point, also known as Permanent Virtual Circuits (PVC)
■ATM signalling, also known as Switched Virtual Circuits (SVC)
After the VC has been created, the application notifies the SunATM ma driver that it is sending and receiving data on the new VC.
■If you are using a PVC, this is the only configuration required on the Sun host.
■If you are using an SVC, there are two required actions:
1.Create the SVC with the Q.93B driver.
2.Establish the data connection with the ma driver.
Note
87