Lines Matching refs:local_cid
427 UINT16_TO_STREAM (p, p_ccb->local_cid);
466 UINT16_TO_STREAM (p, p_ccb->local_cid);
838 UINT16_TO_STREAM (p, p_ccb->local_cid);
871 void l2cu_send_peer_disc_rsp (tL2C_LCB *p_lcb, UINT8 remote_id, UINT16 local_cid,
885 UINT16_TO_STREAM (p, local_cid);
1146 p_ccb->local_cid, p_ccb->in_use, p_ccb->p_lcb);
1151 p_ccb->local_cid, p_ccb->ccb_priority);
1229 L2CAP_TRACE_DEBUG1 ("l2cu_dequeue_ccb CID: 0x%04x", p_ccb->local_cid);
1239 p_ccb->local_cid, p_ccb->in_use, p_ccb->p_lcb, p_q, p_q ? p_q->p_first_ccb : 0);
1406 p_ccb->local_cid = L2CAP_BASE_APPL_CID + (UINT16)(p_ccb - l2cb.ccb_pool);
1565 L2CAP_TRACE_DEBUG2 ("l2cu_release_ccb: cid 0x%04x in_use: %u", p_ccb->local_cid, p_ccb->in_use);
1588 ( (p_ccb->local_cid >= L2CAP_BASE_APPL_CID)
1590 ||(p_ccb->local_cid == L2CAP_CONNECTIONLESS_CID)
1724 UINT16 local_cid = p_ccb->local_cid;
1726 if (local_cid >= L2CAP_BASE_APPL_CID)
1730 L2CAP_TRACE_WARNING1 ("L2CAP - disconnect_chnl CID: 0x%04x", local_cid);
1736 (*p_disc_cb)(local_cid, FALSE);
1741 L2CAP_TRACE_ERROR1 ("L2CAP - disconnect_chnl CID: 0x%04x Ignored", local_cid);
2591 p_ccb->local_cid = fixed_cid;
2855 tL2C_CCB *l2cu_find_ccb_by_cid (tL2C_LCB *p_lcb, UINT16 local_cid)
2862 if (local_cid >= L2CAP_BASE_APPL_CID)
2865 local_cid -= L2CAP_BASE_APPL_CID;
2867 if (local_cid >= MAX_L2CAP_CHANNELS)
2870 p_ccb = l2cb.ccb_pool + local_cid;
2890 if ((p_ccb->local_cid == local_cid)
2940 p_ccb->ccb_priority, p_ccb->local_cid, p_ccb->xmit_hold_q.count );
3006 p_serve_ccb->local_cid );
3155 (*p_ccb->p_rcb->api.pL2CA_TxComplete_Cb)(p_ccb->local_cid, 1);
3239 if ( p_ccb->local_cid == L2CAP_CONNECTIONLESS_CID )
3260 p_ccb->local_cid, q_count, p_ccb->buff_quota);
3264 (*p_ccb->p_rcb->api.pL2CA_CongestionStatus_Cb)(p_ccb->local_cid, FALSE);
3268 else if ( p_ccb->local_cid == L2CAP_CONNECTIONLESS_CID )
3290 p_ccb->local_cid, q_count, p_ccb->buff_quota);
3292 (*p_ccb->p_rcb->api.pL2CA_CongestionStatus_Cb)(p_ccb->local_cid, TRUE);
3295 else if ( p_ccb->local_cid == L2CAP_CONNECTIONLESS_CID )