[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Communications, Volume 1

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

dl_primitive Specifies the DL_GET_STATISTICS_REQ primitive.

States

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

Acknowledgments

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

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.

Related Information

The DL_GET_STATISTICS_ACK primitive, DL_ERROR_ACKprimitive.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]