• Home
  • Raw
  • Download

Lines Matching refs:p_ccb

201   avct_ccb_dealloc(p_data->p_ccb, AVCT_DISCONNECT_CFM_EVT, 0, NULL);  in avct_lcb_unbind_disc()
218 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_open_ind() local
222 for (i = 0; i < AVCT_NUM_CONN; i++, p_ccb++) { in avct_lcb_open_ind()
224 if (p_ccb->allocated) { in avct_lcb_open_ind()
226 if (p_ccb->p_lcb == p_lcb) { in avct_lcb_open_ind()
229 p_ccb->cc.p_ctrl_cback(avct_ccb_to_idx(p_ccb), AVCT_CONNECT_CFM_EVT, 0, in avct_lcb_open_ind()
233 else if ((p_ccb->p_lcb == NULL) && (p_ccb->cc.role == AVCT_ACP) && in avct_lcb_open_ind()
234 (avct_lcb_has_pid(p_lcb, p_ccb->cc.pid) == NULL)) { in avct_lcb_open_ind()
237 p_ccb->p_lcb = p_lcb; in avct_lcb_open_ind()
239 p_ccb->cc.p_ctrl_cback(avct_ccb_to_idx(p_ccb), AVCT_CONNECT_IND_EVT, 0, in avct_lcb_open_ind()
263 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_open_fail() local
266 for (i = 0; i < AVCT_NUM_CONN; i++, p_ccb++) { in avct_lcb_open_fail()
267 if (p_ccb->allocated && (p_ccb->p_lcb == p_lcb)) { in avct_lcb_open_fail()
268 avct_ccb_dealloc(p_ccb, AVCT_CONNECT_CFM_EVT, p_data->result, in avct_lcb_open_fail()
286 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_close_ind() local
289 for (i = 0; i < AVCT_NUM_CONN; i++, p_ccb++) { in avct_lcb_close_ind()
290 if (p_ccb->allocated && (p_ccb->p_lcb == p_lcb)) { in avct_lcb_close_ind()
291 if (p_ccb->cc.role == AVCT_INT) { in avct_lcb_close_ind()
292 avct_ccb_dealloc(p_ccb, AVCT_DISCONNECT_IND_EVT, 0, &p_lcb->peer_addr); in avct_lcb_close_ind()
294 p_ccb->p_lcb = NULL; in avct_lcb_close_ind()
295 (*p_ccb->cc.p_ctrl_cback)(avct_ccb_to_idx(p_ccb), in avct_lcb_close_ind()
315 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_close_cfm() local
319 for (i = 0; i < AVCT_NUM_CONN; i++, p_ccb++) { in avct_lcb_close_cfm()
320 if (p_ccb->allocated && (p_ccb->p_lcb == p_lcb)) { in avct_lcb_close_cfm()
322 if (p_ccb->ch_close) { in avct_lcb_close_cfm()
323 p_ccb->ch_close = false; in avct_lcb_close_cfm()
329 if (p_ccb->cc.role == AVCT_INT) { in avct_lcb_close_cfm()
330 avct_ccb_dealloc(p_ccb, event, p_data->result, &p_lcb->peer_addr); in avct_lcb_close_cfm()
332 p_ccb->p_lcb = NULL; in avct_lcb_close_cfm()
333 (*p_ccb->cc.p_ctrl_cback)(avct_ccb_to_idx(p_ccb), event, p_data->result, in avct_lcb_close_cfm()
351 p_data->p_ccb->p_lcb = p_lcb; in avct_lcb_bind_conn()
352 (*p_data->p_ccb->cc.p_ctrl_cback)(avct_ccb_to_idx(p_data->p_ccb), in avct_lcb_bind_conn()
369 if (avct_lcb_last_ccb(p_lcb, p_data->p_ccb)) { in avct_lcb_chk_disc()
371 p_data->p_ccb->ch_close = true; in avct_lcb_chk_disc()
405 avct_ccb_dealloc(p_data->p_ccb, AVCT_CONNECT_CFM_EVT, AVCT_RESULT_FAIL, NULL); in avct_lcb_bind_fail()
419 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_cong_ind() local
437 for (i = 0; i < AVCT_NUM_CONN; i++, p_ccb++) { in avct_lcb_cong_ind()
438 if (p_ccb->allocated && (p_ccb->p_lcb == p_lcb)) { in avct_lcb_cong_ind()
439 (*p_ccb->cc.p_ctrl_cback)(avct_ccb_to_idx(p_ccb), event, 0, in avct_lcb_cong_ind()
533 UINT16_TO_BE_STREAM(p, p_data->ul_msg.p_ccb->cc.pid); in avct_lcb_send_msg()
590 tAVCT_CCB* p_ccb; in avct_lcb_msg_ind() local
618 p_ccb = avct_lcb_has_pid(p_lcb, pid); in avct_lcb_msg_ind()
619 if (p_ccb) { in avct_lcb_msg_ind()
623 (*p_ccb->cc.p_msg_cback)(avct_ccb_to_idx(p_ccb), label, cr_ipid, in avct_lcb_msg_ind()