Solstice X.25 NLI provides a series of NLI commands contained within C structures. These determine the format of the control parts of putmsg and getmsg. The NLI commands correspond to X.25 packet types, and are used to communicate with the network. For example, when an application passes down the NLI command N_CI to a stream using putmsg, this is translated into an X.25 Call Connect by the PLP module. When the PLP module receives a Connect Indication, it translates it into an N_CI command which is passed up to the application using a getmsg system call.
Table 2-1 summarizes the structures and their corresponding Packet Types and NLI Commands. Refer to the sections indicated for detailed information.
Table 2-1 NLI Commands and Structures
NLI Command |
X.25 Packet |
NLI Structure |
See section |
---|---|---|---|
N_DC | |||
xdiscf |
"6.4.7 N_DI--Clear Request/Indication ""6.4.13 N_RI--Reset Request/Indication" |
||
N_EAck | |||
The following commands and structures are also provided. They do not correspond to X.25 packet types:
Table 2-2 PVC and Listening Commands and Structures
NLI Command |
NLI Structure |
Description |
See section |
---|---|---|---|
Specify X.25 service to use with PVC | |||
Specify X.25 service to stop using with PVC | |||
xcanlisf |
Cancel listening | ||
Listen for incoming calls |