Solstice X.25 9.2 Developer's Guide

2.1 NLI Overview

The Solstice X.25 Network Layer Interface provides access to the X.25 Packet Layer Protocol (PLP). The NLI defines the format that STREAMS messages must take when interfacing to the network layer. This allows for the easy construction of user level library software, and means that applications map conveniently onto the STREAMS format.

Solstice X.25 applications use the putmsg and getmsg system calls to interact with the PLP driver.

Figure 2-1 NLI and STREAMS

Graphic

Messages passed using NLI have both a control and a data part. Primitives and associated parameters are passed to the X.25 driver using the control part of the message. Data, if there is any, is contained in the data part of the message.

Figure 2-2 NLI Message Format

Graphic

Solstice X.25 NLI provides the following: