Requests that the data link service (DLS) provider bind a data link service access point (DLSAP) to a stream.
The message consists of one M_PROTO message block, which contains the following structure:
typedef struct { ulong dl_primitive; ulong dl_sap; ulong dl_max_conind; ushort dl_service_mode; ushort dl_conn_mgmt; ulong dl_xidtest_flg; } dl_bind_req_t;
This structure is defined in /usr/include/sys/dlpi.h.
A stream is active when the DLS provider can transmit and receive protocol data units destined to or originating from the stream. The physical point of attachment (PPA) associated with each stream must be initialized when the DL_BIND_REQ primitive has been processed.The PPA is initialized when the DL_BIND_ACK primitive is received. If the PPA cannot be initialized, the DL_BIND_REQ primitive fails.
Valid | The primitive is valid in the DL_UNBOUND state. |
New | The resulting state is DL_BIND_PENDING. |
Successful | The DL_BIND_ACK primitive is sent to the DLS user. The resulting state is DL_IDLE. |
Unsuccessful | The DL_ERROR_ACK primitive is returned. The resulting state is unchanged. |
DL_ACCESS | Indicates the DLS user does not have proper permission to use the requested DLSAP address. |
DL_BADADDR | Indicates the DLSAP address information is invalid or is in an incorrect format. |
DL_BOUND | Indicates the DLS user attempted to bind a second stream to a DLSAP with a dl_max_conind parameter value greater than 0, or the DLS user attempted to bind a second connection management stream to the PPA. |
DL_INITFAILED | Indicates the automatic initialization of the PPA failed. |
DL_NOADDR | Indicates the DLS provider cannot allocate a DLSAP address for this stream. |
DL_NOAUTO | Indicates automatic handling of XID and test responses is not supported. |
DL_NOTINIT | Indicates the PPA was not initialized prior to this request. |
DL_NOTESTAUTO | Indicates automatic handling of test responses is not supported. |
DL_NOXIDAUTO | Indicates automatic handling of XID responses is not supported. |
DL_OUTSTATE | Indicates the primitive was issued from an invalid state. |
DL_SYSERR | Indicates a system error occurred. The system error is indicated in the DL_ERROR_ACK primitive. |
DL_UNSUPPORTED | Indicates the DLS provider does not support the requested service mode on this stream. |
This primitive is part of Base Operating System (BOS) Runtime.
The DL_BIND_ACK primitive, DL_ERROR_ACK primitive.