Returns information about the Data Link Provider Interface (DLPI) stream in response to the DL_INFO_REQ primitive.
The message consists of one M_PCPROTO message block, which contains the following structure:
typedef struct
{
ulong dl_primitive;
ulong dl_max_sdu;
ulong dl_min_sdu;
ulong dl_addr_length;
ulong dl_mac_type;
ulong dl_reserved;
ulong dl_current_state;
long dl_sap_length;
ulong dl_service_mode;
ulong dl_qos_length;
ulong dl_qos_offset;
ulong dl_qos_range_length;
ulong dl_qos_range_offset;
ulong dl_provider_style;
ulong dl_addr_offset;
ulong dl_version;
ulong dl_brdcst_addr_length;
ulong dl_brdcst_addr_offset;
ulong dl_growth;
} dl_info_ack_t;
This structure is defined in /usr/include/sys/dlpi.h.
The DL_INFO_ACK primitive returns information about the DLPI stream to the data link service (DLS). The DL_INFO_ACK primitive is a response to the DL_INFO_REQ primitive.
Item | Description |
---|---|
dl_primitive | Specifies the DL_INFO_ACK primitive. |
dl_max_sdu | Specifies the maximum number of bytes that can be transmitted in a data link service data unit (DLSDU). This value must be a positive integer greater than or equal to the value of the dl_min_sdu parameter. |
dl_min_sdu | Specifies the minimum number of bytes that can be transmitted in a DLSDU. The minimum value is 1. |
dl_addr_length | Specifies the length, in bytes, of the provider's data link service access point (DLSAP) address. For hierarchical subsequent binds, the length returned is the total length. The total length is the sum of the values for the physical address, service access point (SAP), and subsequent address length. |
dl_mac_type | Specifies the type of medium supported by this DLPI stream.
Possible values include:
|
dl_reserved | Indicates a reserved field, the value of which must be set to 0. |
dl_current_state | Specifies the state of the DLPI interface for the stream the DLS provider issues this acknowledgement. |
dl_sap_length | Indicates the current length of the SAP component of the
DLSAP address. The specified value must be an integer. The absolute
value of the dl_sap_length parameter provides the length of
the SAP component within the DLSAP address. The value can be one of
the following:
|
dl_service_mode | Specifies which service modes that the DLS provider supports
if the DL_INFO_ACK primitive is returned before the DL_BIND_REQ primitive
is processed. This parameter contains a bit-mask specifying the following
value:
Once a specific service mode has been bound to the stream, this field returns that specific service mode. |
dl_qos_length | The DLS provider does not support *_qos_* parameters. This value is set to 0. |
dl_qos_offset | The DLS provider does not support *_qos_* parameters. This value is set to 0. |
dl_qos_range_length | The DLS provider does not support *_qos_* parameters. This value is set to 0. |
dl_qos_range_offset | The DLS provider does not support *_qos_* parameters. This value is set to 0. |
dl_provider_style | Specifies the style of the DLS provider associated with the
DLPI stream. The following provider class is defined:
|
dl_addr_offset | Specifies the offset of the address that is bound to the associated stream. If the DLS user issues a DL_INFO_REQ primitive before binding a DLSAP, the value of the dl_addr_length parameter is set to 0. |
dl_version | Indicates the version of the supported DLPI. |
dl_brdcst_addr_length | Indicates the length of the physical broadcast address. |
dl_brdcst_addr_offset | Indicates where the physical broadcast address begins. The value of this parameter is the offset from the beginning of the PCPROTO block. |
dl_growth | Specifies a growth field for future use. The value of this parameter is 0. |
Item | Description |
---|---|
Valid | The primitive is valid in any state in response to a DL_INFO_REQ primitive. |
New | The resulting state is unchanged. |