The LLC2 and LAPB drivers respond to the DL_INFO_REQ with a DL_INFO_ACK message.
This message consists of one M_PCPROTO message block, with the following structure:
typedef struct { t_uscalar_t dl_primitive; /* set to DL_INFO_ACK */ t_uscalar_t dl_max_sdu; /* Max bytes in a DLSDU */ t_uscalar_t dl_min_sdu; /* Min bytes in a DLSDU */ t_uscalar_t dl_addr_length; /* length of DLSAP address */ t_uscalar_t dl_mac_type; /* type of medium supported */ t_uscalar_t dl_reserved; /* value set to zero */ t_uscalar_t dl_current_state; /* state of DLPI interface */ t_scalar_t dl_sap_length; /* length of dlsap SAP part */ t_uscalar_t dl_service_mode; /* CO, CL or ACL */ t_uscalar_t dl_qos_length; /* length of qos values */ t_uscalar_t dl_qos_offset; /* offset from start of block */ t_uscalar_t dl_qos_range_length; /* available range of qos */ t_uscalar_t dl_qos_range_offset; /* offset from start of block */ t_uscalar_t dl_provider_style; /* style1 or style2 */ t_uscalar_t dl_addr_offset; /* offset of the dlsap addr */ t_uscalar_t dl_version; /* version number */ t_uscalar_t dl_brdcst_addr_length; /* length of broadcast addr */ t_uscalar_t dl_brdcst_addr_offset; /* offset from start of block */ t_uscalar_t dl_growth; /* set to zero */ } dl_info_ack_t;
The members of the dl_info_ack_t structure are:
Table 11-25 members of the dl_info_ack_t structure
Member |
Description |
---|---|
dl_primitive |
Should be set to the name of this primitive. |
dl_mac_type |
Valid for LLC2 only. Set to the value returned by the hardware driver underneath LLC2. |
dl_mdlc_type |
Valid for LAPB only. Set to the value returned by the hardware driver underneath LAPB. |
dl_current_state |
Indicates the current DLPI state of the interface. |
dl_sap_length |
For LLC2, set to 1, which indicates that the SAP is one byte long, and follows the physical address in the DLSAP address. For LAPB, set to 0. |
dl_addr_offset |
Offset to the DLSAP address of this stream. |
dl_brdcst_addr_off |
Offset to the hardware broadcast address. |
The QOS fields are always set to 0 when used over Ethernet/802.3. (dl_qos_length, dl_qos_offset, dl_qos_range_length, dl_qos_range_offset). Their settings above other media (FDDI, Token Ring, etc.) is to be defined. For descriptions of the other parameters, refer to the DLPI specifications.