T_DISCON_REQ - Disconnect Request
This message consists of one M_PROTO message block followed by one or more M_DATA message blocks if there is any user data specified by the transport user. The format of the M_PROTO message block is as follows:
struct T_discon_req { t_scalar_t PRIM_type; /* Always T_DISCON_REQ */ t_scalar_t SEQ_number; };
This primitive requests that the transport provider deny a request for connection, or disconnect an existing connection.
- PRIM_type
identifies the primitive type.
- SEQ_number
identifies the outstanding connect indication that is to be denied. If the disconnect request is disconnecting an already existing connection, then the value of SEQ_number will be ignored.
This primitive requires the transport provider to generate the following acknowledgment on receipt of the primitive, and the transport user must wait for the acknowledgment before issuing any other primitives:
- Successful
Correct acknowledgment of the primitive is indicated via the T_OK_ACK primitive described in reference TPI-SMD.
- Non-fatal errors
These errors will be indicated via the T_ERROR_ACK primitive described in reference TPI-SMD.
The allowable errors are as follows:
- [TBADDATA]
- [TBADSEQ]
The amount of user data specified was invalid.
- [TNOTSUPPORT]
The sequence number specified in the primitive was incorrect or invalid.
- [TOUTSTATE]
This primitive is not supported by the transport provider.
- [TSYSERR]
The primitive would place the transport interface out of state.
A system error has occurred and the UNIX system error is indicated in the primitive.
Only connection-mode.
Transport user.
Contents | Next section | Index |