Model Interfaces
Packet Formats
The following table lists the packet formats used in the LAPB model suite.
Table 136: LAPB Packet Formats
| Name | Description |
|---|---|
| lapb_pk | Models the data link frame. See the X.25 Recommendation for explanation of data link frame. |
| lapb_frmr_info | Used by the special FRMR (frame error) response frame. It contains information that describes the error that caused the FRMR frame to be transmitted. |
ICI Formats
The following table lists the interface control information (ICI) formats used in the LAPB model suite.
Table 137: LAPB ICI Formats
| Name | Description |
|---|---|
| lapb_req | Used to pass information about the status of the link to the higher layer. |
LAPB Primitives
LAPB communicates with the higher layer in the forms of primitives. These primitives deal with information concerning the link. The following table lists the primitives used by the lapb process model.
Table 138: LAPB Primitives
| Name | Description |
|---|---|
| OSIC_DL_CONNECT_REQUEST | Higher layer informs the LAPB to initiate the link connection. |
| OSIC_DL_DISCONNECT_REQUEST | Higher layer informs the LAPB to close the link connection. |
| OSIC_DL_CONNECT_INDICATION | LAPB informs the higher layer that the link is connected. |
| OSIC_DL_DICCONNECT_INDICATION | LAPB informs the higher layer that the link is disconnected. |
LAPB Timers
LAPB uses a series of timers as defined by the X.25 Recommendation to control certain events. The following table lists the timers used in LAPB model suite.
Table 139: LAPB Timers
| Name | Description |
|---|---|
| T1 | Length of time that a process will wait for a response before resending an information or supervisory frame. |
| T2 | Length of time that a process may wait before initiating an acknowledgment frame. If an outgoing information frame is not available during this time, an appropriate supervisory frame will be generated. |
| T3 | Length of time, without detecting any activity on the link, after which a process may conclude that the link is non-operational and thus close the connection. |
| max idle time | Maximum length of time that a link between two LAPB processes can be idle. If a process has not sent a frame in this length of time, it will send a special LINK_ALIVE packet. If a process has not received a frame in this length of time, it will start the T3 timer to allow the LAPB protocol to detect an inactive link condition. |