If a bind request is successful, a DL_BIND_ACK message will be sent upstream to acknowledge the request. This message is sent in an M_PCPROTO message block.
typedef struct { t_uscalar_t dl_primitive; /* DL_BIND_ACK */ t_uscalar_t dl_sap; /* DLSAP addr info */ t_uscalar_t dl_addr_length; /* length of complete DLSAP addr */ t_uscalar_t dl_addr_offset; /* offset from start of M_PCPROTO */ t_uscalar_t dl_max_conind; /* allowed max. # of con-ind */ t_uscalar_t dl_xidtest_flg; /* responses supported by provider */ } dl_bind_ack_t;
The members of the dl_bind_ack_t structure are:
Table 11-10 Members of the dl_bind_ack_t structure
Member |
Description |
---|---|
dl_primitive |
Should be set to the name of this primitive. |
dl_sap |
Contains the SSAP. |
dl_addr_length |
The length of the DLSAP. When interfacing to LLC2, this is 7. For LAPB it is 0. |
dl_addr_offset |
Offset of DLSAP address, in bytes, from the beginning of the M_PCPROTO message block. The DLSAP address is stored as an struct llc_dladdr structure when working with LLC2 and as a pstnformat structure when working with LAPB. See "11.1.1 Address Structures" for more information. |
dl_max_conind |
Equals the value of max_conind passed down in the DL_BIND_REQ message. |
dl_xidtest_flg |
Valid for LLC2 only. Contains the value (DL_AUTO_XID | DL_AUTO_TEST), because the LLC2 driver has the capability of responding automatically to TEST and XID commands. |