Lines Matching refs:local_cid
421 UINT16_TO_STREAM(p, p_ccb->local_cid); in l2cu_send_peer_connect_req()
458 UINT16_TO_STREAM(p, p_ccb->local_cid); in l2cu_send_peer_connect_rsp()
547 UINT16_TO_STREAM(p, p_ccb_temp->local_cid); in l2cu_send_credit_based_reconfig_req()
897 UINT16_TO_STREAM(p, p_ccb->local_cid); in l2cu_send_peer_disc_req()
906 l2c_link_check_send_pkts(p_ccb->p_lcb, p_ccb->local_cid, p_buf2); in l2cu_send_peer_disc_req()
928 uint16_t local_cid, uint16_t remote_cid) { in l2cu_send_peer_disc_rsp() argument
942 UINT16_TO_STREAM(p, local_cid); in l2cu_send_peer_disc_rsp()
1168 p_ccb->local_cid, p_ccb->in_use, p_ccb->p_lcb); in l2cu_enqueue_ccb()
1173 p_ccb->local_cid, p_ccb->ccb_priority); in l2cu_enqueue_ccb()
1241 L2CAP_TRACE_DEBUG("l2cu_dequeue_ccb CID: 0x%04x", p_ccb->local_cid); in l2cu_dequeue_ccb()
1251 p_ccb->local_cid, p_ccb->in_use, p_ccb->p_lcb, p_q, in l2cu_dequeue_ccb()
1394 p_ccb->local_cid = L2CAP_BASE_APPL_CID + (uint16_t)(p_ccb - l2cb.ccb_pool); in l2cu_allocate_ccb()
1534 p_ccb->local_cid, p_ccb->in_use); in l2cu_release_ccb()
1540 p_lcb->Handle(), p_ccb->local_cid, p_ccb->remote_cid); in l2cu_release_ccb()
1556 if ((p_lcb) && ((p_ccb->local_cid >= L2CAP_BASE_APPL_CID))) { in l2cu_release_ccb()
1586 p_ccb->local_cid == L2CAP_SMP_CID) in l2cu_release_ccb()
1597 p_ccb->local_cid == L2CAP_ATT_CID) { in l2cu_release_ccb()
1722 uint16_t local_cid = p_ccb->local_cid; in l2cu_disconnect_chnl() local
1724 if (local_cid >= L2CAP_BASE_APPL_CID) { in l2cu_disconnect_chnl()
1728 L2CAP_TRACE_WARNING("L2CAP - disconnect_chnl CID: 0x%04x", local_cid); in l2cu_disconnect_chnl()
1734 (*p_disc_cb)(local_cid, false); in l2cu_disconnect_chnl()
1737 L2CAP_TRACE_ERROR("L2CAP - disconnect_chnl CID: 0x%04x Ignored", local_cid); in l2cu_disconnect_chnl()
2424 p_ccb->local_cid = fixed_cid; in l2cu_initialize_fixed_ccb()
2467 p_lcb->p_fixed_ccbs[xx]->local_cid); in l2cu_no_dynamic_ccbs()
2715 p_ccb->p_rcb->real_psm, p_ccb->local_cid, mtu, mps, initial_credit); in l2cu_send_peer_ble_credit_based_conn_req()
2718 UINT16_TO_STREAM(p, p_ccb->local_cid); in l2cu_send_peer_ble_credit_based_conn_req()
3013 UINT16_TO_STREAM(p, p_ccb->local_cid); /* Local CID */ in l2cu_send_peer_ble_credit_based_conn_res()
3057 UINT16_TO_STREAM(p, p_ccb->local_cid); in l2cu_send_peer_ble_flow_control_credit()
3099 UINT16_TO_STREAM(p, p_ccb->local_cid); in l2cu_send_peer_ble_credit_based_disconn_req()
3143 tL2C_CCB* l2cu_find_ccb_by_cid(tL2C_LCB* p_lcb, uint16_t local_cid) { in l2cu_find_ccb_by_cid() argument
3145 if (local_cid >= L2CAP_BASE_APPL_CID) { in l2cu_find_ccb_by_cid()
3147 local_cid -= L2CAP_BASE_APPL_CID; in l2cu_find_ccb_by_cid()
3149 if (local_cid >= MAX_L2CAP_CHANNELS) return NULL; in l2cu_find_ccb_by_cid()
3151 p_ccb = l2cb.ccb_pool + local_cid; in l2cu_find_ccb_by_cid()
3224 status, p_ccb->local_cid, fixed_queue_length(p_ccb->xmit_hold_q), in send_congestion_status_to_all_clients()
3230 (*p_ccb->p_rcb->api.pL2CA_CongestionStatus_Cb)(p_ccb->local_cid, status); in send_congestion_status_to_all_clients()