Informs the data link service (DLS) user that a previously sent DL_UNITDATA_REQ primitive produced an error or could not be delivered.
The message consists of either one M_PROTO message block or one M_PCPROTO message block, which contains the following structure:
typedef struct
{
ulong dl_primitive;
ulong dl_dest_addr_length;
ulong dl_dest_addr_offset;
ulong dl_unix_errno;
ulong dl_errno;
} dl_uderror_ind_t;
This structure is defined in /usr/include/sys/dlpi.h.
The DL_UDERROR_IND primitive informs the DLS user that a previously sent DL_UNITDATA_REQ primitive produced an error or could not be delivered. The primitive indicates the destination DLSAP address associated with the failed request, and returns an error value that specifies the reason for failure.
There is, however, no guarantee that such an error report will be generated for all undeliverable data units, because connectionless-mode data transfer is not a confirmed service.
Item | Description |
---|---|
dl_primitive | Specifies the DL_UDERROR_IND primitive. |
dl_dest_addr_length | Specifies the length of the DLSAP address of the destination DLS user. |
dl_dest_addr_offset | Indicates where the destination DLSAP address begins. The value of this parameter is the offset from the beginning of the M_PROTO message block. |
dl_unix_errno | Specifies the operating system code associated with the failure. This value should be nonzero only when the dl_errno parameter is set to DL_SYSERR. It is used to report operating system failures that prevent the processing of a given request or response. |
dl_errno | Indicates the Data Link Provider Interface (DLPI) error code
associated with the failure. Possible values include:
|
Item | Description |
---|---|
Valid | The primitive is valid in the DL_IDLE state. |
New | The resulting state is unchanged. |