T_OPTMGMT_REQ - Options Management
This message consists of a M_PROTO message block formatted as follows:
struct T_optmgmt_req { t_scalar_t PRIM_type; /* Always T_OPTMGMT_REQ */ t_scalar_t OPT_length; t_scalar_t OPT_offset; t_scalar_t MGMT_flags; };
This primitive allows the transport user to manage the options associated with the stream. The format of the message is one M_PROTO message block.
- PRIM_type
indicates the primitive typeOPT_length
is the length of the protocol options associated with the primitiveOPT_offset
is the offset from the beginning of the M_PROTO block where the options begin.MGMT_flags
are the flags which define the request made by the transport user. The allowable flags are:T_NEGOTIATE
Negotiate and set the options with the transport providerT_CHECK
Check the validity of the specified optionsT_DEFAULT
Return the default optionsT_CURRENT
Return the currently effective option values.
The proper alignment of the options is not guaranteed. The options are, however, aligned the same as received from the transport user.
For the rules governing the requests made by this primitive see the T_OPTMGMT_ACK primitive.This primitive requires the transport provider to generate one of the following acknowledgments on receipt of the primitive, and that the transport user wait for the acknowledgment before issuing any other primitives:
T_OPTMGMT_ACK.
- Successful
Acknowledgment of the primitive via the
Non-fatal errors T_ERROR_ACK primitive described in
These errors will be indicated via theOverview of Error Handling Capabilities .
The allowable errors are as follows:
- [TACCES]
The user did not have proper permissions for the use of the requested options.[TBADFLAG]
The flags as specified were incorrect or invalid.[TBADOPT]
The options as specified were in an incorrect format, or they contained invalid information.[TOUTSTATE]
The primitive would place the transport interface out of state.[TNOTSUPPORT]
This primitive is not supported by the transport provider.[TSYSERR]
A system error has occurred and the UNIX system error is indicated in the primitive.
Both connection-mode and connectionless-mode.
Transport user.
Contents | Next section | Index |