Home | History | Annotate | Download | only in llcp

Lines Matching refs:lcb

117         llcp_cb.lcb.local_link_miu = LLCP_MIU;
120 llcp_cb.lcb.local_link_miu = link_miu;
122 llcp_cb.lcb.local_opt = opt;
123 llcp_cb.lcb.local_wt = wt;
129 llcp_cb.lcb.local_lto = LLCP_DEFAULT_LTO_IN_MS;
135 llcp_cb.lcb.local_lto = LLCP_MAX_LTO_IN_MS;
138 llcp_cb.lcb.local_lto = link_timeout;
140 llcp_cb.lcb.inact_timeout_init = inact_timeout_init;
141 llcp_cb.lcb.inact_timeout_target = inact_timeout_target;
142 llcp_cb.lcb.symm_delay = symm_delay;
143 llcp_cb.lcb.data_link_timeout = data_link_timeout;
144 llcp_cb.lcb.delay_first_pdu_timeout = delay_first_pdu_timeout;
175 *p_link_miu = llcp_cb.lcb.local_link_miu;
176 *p_opt = llcp_cb.lcb.local_opt;
177 *p_wt = llcp_cb.lcb.local_wt;
178 *p_link_timeout = llcp_cb.lcb.local_lto;
179 *p_inact_timeout_init = llcp_cb.lcb.inact_timeout_init;
180 *p_inact_timeout_target = llcp_cb.lcb.inact_timeout_target;
181 *p_symm_delay = llcp_cb.lcb.symm_delay;
182 *p_data_link_timeout = llcp_cb.lcb.data_link_timeout;
183 *p_delay_first_pdu_timeout = llcp_cb.lcb.delay_first_pdu_timeout;
230 *p_wt = llcp_cb.lcb.local_wt;
243 UINT16_TO_BE_STREAM (p, (llcp_cb.lcb.local_link_miu - LLCP_DEFAULT_MIU));
249 UINT16_TO_BE_STREAM (p, llcp_cb.lcb.wks);
262 UINT16_TO_BE_STREAM (p, (llcp_cb.lcb.local_link_miu - LLCP_DEFAULT_MIU));
266 UINT16_TO_BE_STREAM (p, llcp_cb.lcb.wks);
271 UINT8_TO_BE_STREAM (p, (llcp_cb.lcb.local_lto/LLCP_LTO_UNIT));
275 UINT8_TO_BE_STREAM (p, llcp_cb.lcb.local_opt);
297 LLCP_TRACE_API1 ("LLCP_ActivateLink () link_state = %d", llcp_cb.lcb.link_state);
299 if ( (llcp_cb.lcb.link_state == LLCP_LINK_STATE_DEACTIVATED)
302 llcp_cb.lcb.p_link_cback = p_link_cback;
323 LLCP_TRACE_API1 ("LLCP_DeactivateLink () link_state = %d", llcp_cb.lcb.link_state);
325 if (llcp_cb.lcb.link_state != LLCP_LINK_STATE_DEACTIVATED)
469 llcp_cb.lcb.wks |= (1 << reg_sap);
581 llcp_cb.lcb.wks &= ~ (1 << local_sap);
641 if ( (llcp_cb.lcb.link_state != LLCP_LINK_STATE_ACTIVATED)
693 else if (llcp_cb.lcb.link_state != LLCP_LINK_STATE_ACTIVATED)
697 else if ( (llcp_cb.lcb.peer_opt == LLCP_LSC_UNKNOWN)
698 ||(llcp_cb.lcb.peer_opt & LLCP_LSC_1) )
700 if (p_buf->len <= llcp_cb.lcb.peer_miu)
915 if ( (llcp_cb.lcb.peer_opt != LLCP_LSC_UNKNOWN)
916 &&((llcp_cb.lcb.peer_opt & LLCP_LSC_2) == 0) )
956 if ((p_params) && (p_params->miu > llcp_cb.lcb.local_link_miu))
1023 if (p_params->miu > llcp_cb.lcb.local_link_miu)
1504 (llcp_cb.lcb.link_state == LLCP_LINK_STATE_ACTIVATED) ? llcp_cb.lcb.peer_wks :0);
1506 if (llcp_cb.lcb.link_state == LLCP_LINK_STATE_ACTIVATED)
1507 return (llcp_cb.lcb.peer_wks);
1525 (llcp_cb.lcb.link_state == LLCP_LINK_STATE_ACTIVATED)
1526 ? llcp_cb.lcb.peer_opt & (LLCP_LSC_1 | LLCP_LSC_2) :0);
1528 if (llcp_cb.lcb.link_state == LLCP_LINK_STATE_ACTIVATED)
1529 return (llcp_cb.lcb.peer_opt & (LLCP_LSC_1 | LLCP_LSC_2));
1549 if (llcp_cb.lcb.link_state == LLCP_LINK_STATE_ACTIVATED)
1551 *p_local_link_miu = llcp_cb.lcb.local_link_miu;
1552 *p_remote_link_miu = llcp_cb.lcb.effective_miu;
1584 if (llcp_cb.lcb.link_state != LLCP_LINK_STATE_ACTIVATED)
1597 if ((llcp_cb.lcb.agreed_major_version == 0x01) && (llcp_cb.lcb.agreed_minor_version < 0x01))