Model Interfaces
Packet Formats
The following table lists the packet formats used in the X.25 model suite.
Table 271: X.25 Packet Formats
| name | description |
|---|---|
cloud_pk |
Used to transfer the X.25 packets over the network. |
x25 |
Used by both the DTE and DCE for information transfer in all X.25 related operations. |
ICI Formats
The following table lists the interface control information (ICI) formats used in the X.25 model suite.
Table 272: X.25 ICI Formats
| name | description |
|---|---|
x25_connect |
Used during the setup phase of a connection. |
x25_data |
Used to send user data or interrupt data across a connection. |
x25_reset |
Used to terminate a connection. |
X.25 Primitives
The X.25 process models receive commands from the higher layer process by means of codes corresponding to OSI primitive commands, which are associated with packets of user data transmitted by the higher layer. These codes are defined in the header file osi_prims.h.The following table lists the primitives used by the X.25 model suite.
Table 273: X.25 Primitives
| Command | Source | Destination | ICI | Function |
|---|---|---|---|---|
OSIC_N_CONNECT_REQUEST |
DTE Application | DTE | x25_connect |
Initiating a connection. |
OSIC_N_CONNECT_INDICATION |
DCE Interface | DCE | x25_connect |
Relaying a connect request from the network. |
OSIC_N_CONNECT_RESPONSE |
DTE Application | DTE | x25_connect |
Accepting an incoming call. |
OSIC_N_CONNECT_CONFIRM |
DCE Interface | DCE | x25_connect |
Relaying a call acceptance from the network. |
OSIC_N_DISCONNECT_REQUEST |
DTE Application | DTE | x25_connect |
Refusing an incoming call (or returning a response in fast select mode). |
OSIC_N_DISCONNECT_INDICATION |
DCE Interface | DCE | x25_connect |
Relaying a call refusal (or a response in fast select mode) from the network. |
OSIC_N_DATA_REQUEST |
DTE Application | DTE | x25_data |
Sending a user data packet. |
OSIC_N_DATA_INDICATION |
DCE Interface | DCE | x25_data |
Relaying a user data packet from the network. |
OSIC_N_EXPED_DATA_REQUEST |
DTE Application | DTE | x25_data |
Sending an interrupt packet. |
OSIC_N_EXPED_DATA_INDICATION |
DCE Interface | DCE | x25_data |
Relaying an interrupt packet from the network. |
OSIC_N_DATA_ACK_REQUEST |
DTE Application | DTE | x25_data |
Confirming receipt of a user data packet, if requested. |
OSIC_N_DATA_ACK_INDICATION |
DCE Interface | DCE | x25_data |
Relaying confirmation of a user data packet. |
OSIC_N_EXPED_DATA_CONFIRM |
DTE Application | DTE | x25_data |
Confirming receipt of an interrupt packet. |
| DCE Interface | DCE | x25_data |
Relaying confirmation of an interrupt packet. | |
OSIC_N_DISCONNECT_REQUEST |
DTE Application | DTE | x25_reset |
Terminating a connection. |
OSIC_N_DISCONNECT_INDICATION |
DCE Interface | DCE | x25_reset |
Relaying a disconnect request from the network. |
OSIC_N_RESET_REQUEST |
DTE Application and DCE Interface | DTE and DCE | x25_reset |
Resetting a logical channel. |
X.25 Timers
X.25 uses a series of timers as defined by the X.25 Recommendation to control certain events. The following table lists the timers used in X.25 model suite.
Table 274: X.25 Timers
| Name | Description |
|---|---|
T10 |
Time interval that a DCE will wait for a response to a restart indication packet. |
T11 |
Time interval that a DCE will wait for a response to a incoming call packet. |
T12 |
Time interval that a DCE will wait for a response to a reset indication packet. |
T13 |
Time interval that a DCE will wait for a response to a clear indication packet. |
T20 |
Time interval that a DTE will wait for a response to a restart request packet. |
T21 |
Time interval that a DTE will wait for a response to a call request packet. |
T22 |
Time interval that a DTE will wait for a response to a reset request packet. |
T23 |
Time interval that a DTE will wait for a response to a clear request packet. |
T24 |
Maximum time interval that a DTE will allow to pass before sending a packet containing its current P(R) sequence number (that is, sending an acknowledgment to the DCE). If no outgoing data is ready at that time, the DTE will generate an RR packet to convey this sequence number to the DCE. |
T26 |
Time interval that a DTE will wait for a response to an interrupt packet. |