DL_GET_STATISTICS_REQ

Purpose

Directs the data link service (DLS) provider to return statistics to the DLS user.

Structure

The message consists of one M_PROTO message block, which contains the following structure:

typedef struct
{
   ulong  dl_primitive;
} dl_get_statistics_req_t;

The dl_get_statistics_req_t structure is defined in /usr/include/sys/dlpi.h.

Description

The DL_GET_STATISTICS_REQ primitive directs the DLS provider to return statistics.

Parameters

Item Description
dl_primitive Specifies the DL_GET_STATISTICS_REQ primitive.

States

Item Description
Valid The primitive is valid in any attached state in which a local acknowledgment is not pending.
New The resulting state is unchanged.

Acknowledgments

Item Description
Successful The DL_GET_STATISTICS_ACK primitive is sent to the DLS user.
Unsuccessful The DL_ERROR_ACK primitive is returned to the DLS user.

Error Codes

Item Description
DL_NOTSUPPORTED Indicates the primitive is known but not supported by the DLS provider.
DL_SYSERR Indicates a system error. The DL_ERROR_ACK primitive indicates the error.