• Home
  • Raw
  • Download

Lines Matching refs:p_ccb

199   avct_ccb_dealloc(p_data->p_ccb, AVCT_DISCONNECT_CFM_EVT, 0, NULL);  in avct_lcb_unbind_disc()
216 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_open_ind() local
220 for (i = 0; i < AVCT_NUM_CONN; i++, p_ccb++) { in avct_lcb_open_ind()
222 if (p_ccb->allocated) { in avct_lcb_open_ind()
224 if (p_ccb->p_lcb == p_lcb) { in avct_lcb_open_ind()
227 p_ccb->cc.p_ctrl_cback(avct_ccb_to_idx(p_ccb), AVCT_CONNECT_CFM_EVT, 0, in avct_lcb_open_ind()
231 else if ((p_ccb->p_lcb == NULL) && (p_ccb->cc.role == AVCT_ACP) && in avct_lcb_open_ind()
232 (avct_lcb_has_pid(p_lcb, p_ccb->cc.pid) == NULL)) { in avct_lcb_open_ind()
235 p_ccb->p_lcb = p_lcb; in avct_lcb_open_ind()
237 p_ccb->cc.p_ctrl_cback(avct_ccb_to_idx(p_ccb), AVCT_CONNECT_IND_EVT, 0, in avct_lcb_open_ind()
261 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_open_fail() local
264 for (i = 0; i < AVCT_NUM_CONN; i++, p_ccb++) { in avct_lcb_open_fail()
265 if (p_ccb->allocated && (p_ccb->p_lcb == p_lcb)) { in avct_lcb_open_fail()
266 avct_ccb_dealloc(p_ccb, AVCT_CONNECT_CFM_EVT, p_data->result, in avct_lcb_open_fail()
284 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_close_ind() local
287 for (i = 0; i < AVCT_NUM_CONN; i++, p_ccb++) { in avct_lcb_close_ind()
288 if (p_ccb->allocated && (p_ccb->p_lcb == p_lcb)) { in avct_lcb_close_ind()
289 if (p_ccb->cc.role == AVCT_INT) { in avct_lcb_close_ind()
290 avct_ccb_dealloc(p_ccb, AVCT_DISCONNECT_IND_EVT, 0, &p_lcb->peer_addr); in avct_lcb_close_ind()
292 p_ccb->p_lcb = NULL; in avct_lcb_close_ind()
293 (*p_ccb->cc.p_ctrl_cback)(avct_ccb_to_idx(p_ccb), in avct_lcb_close_ind()
313 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_close_cfm() local
317 for (i = 0; i < AVCT_NUM_CONN; i++, p_ccb++) { in avct_lcb_close_cfm()
318 if (p_ccb->allocated && (p_ccb->p_lcb == p_lcb)) { in avct_lcb_close_cfm()
320 if (p_ccb->ch_close) { in avct_lcb_close_cfm()
321 p_ccb->ch_close = false; in avct_lcb_close_cfm()
327 if (p_ccb->cc.role == AVCT_INT) { in avct_lcb_close_cfm()
328 avct_ccb_dealloc(p_ccb, event, p_data->result, &p_lcb->peer_addr); in avct_lcb_close_cfm()
330 p_ccb->p_lcb = NULL; in avct_lcb_close_cfm()
331 (*p_ccb->cc.p_ctrl_cback)(avct_ccb_to_idx(p_ccb), event, p_data->result, in avct_lcb_close_cfm()
349 p_data->p_ccb->p_lcb = p_lcb; in avct_lcb_bind_conn()
350 (*p_data->p_ccb->cc.p_ctrl_cback)(avct_ccb_to_idx(p_data->p_ccb), in avct_lcb_bind_conn()
370 if (avct_lcb_last_ccb(p_lcb, p_data->p_ccb)) { in avct_lcb_chk_disc()
372 p_data->p_ccb->ch_close = true; in avct_lcb_chk_disc()
406 avct_ccb_dealloc(p_data->p_ccb, AVCT_CONNECT_CFM_EVT, AVCT_RESULT_FAIL, NULL); in avct_lcb_bind_fail()
420 tAVCT_CCB* p_ccb = &avct_cb.ccb[0]; in avct_lcb_cong_ind() local
438 for (i = 0; i < AVCT_NUM_CONN; i++, p_ccb++) { in avct_lcb_cong_ind()
439 if (p_ccb->allocated && (p_ccb->p_lcb == p_lcb)) { in avct_lcb_cong_ind()
440 (*p_ccb->cc.p_ctrl_cback)(avct_ccb_to_idx(p_ccb), event, 0, in avct_lcb_cong_ind()
534 UINT16_TO_BE_STREAM(p, p_data->ul_msg.p_ccb->cc.pid); in avct_lcb_send_msg()
591 tAVCT_CCB* p_ccb; in avct_lcb_msg_ind() local
619 p_ccb = avct_lcb_has_pid(p_lcb, pid); in avct_lcb_msg_ind()
620 if (p_ccb) { in avct_lcb_msg_ind()
624 (*p_ccb->cc.p_msg_cback)(avct_ccb_to_idx(p_ccb), label, cr_ipid, in avct_lcb_msg_ind()