Lines Matching refs:cstate
89 struct bt_sdp_pdu_cstate cstate; member
1544 if (session->cstate.length == 0U) { in sdp_client_ssa_search()
1547 net_buf_add_u8(buf, session->cstate.length); in sdp_client_ssa_search()
1548 net_buf_add_mem(buf, session->cstate.data, in sdp_client_ssa_search()
1549 session->cstate.length); in sdp_client_ssa_search()
1577 (void)memset(&session->cstate, 0, sizeof(session->cstate)); in sdp_client_params_iterator()
1604 if (session->cstate.length == 0U) { in sdp_client_get_total()
1719 struct bt_sdp_pdu_cstate *cstate; in sdp_client_receive() local
1767 cstate = (struct bt_sdp_pdu_cstate *)(buf->data + frame_len); in sdp_client_receive()
1769 if (cstate->length > BT_SDP_MAX_PDU_CSTATE_LEN) { in sdp_client_receive()
1770 LOG_ERR("Invalid SDP PDU Continuation State length %u", cstate->length); in sdp_client_receive()
1774 if ((frame_len + SDP_CONT_STATE_LEN_SIZE + cstate->length) > in sdp_client_receive()
1785 if (frame_len == 2U && cstate->length == 0U && in sdp_client_receive()
1786 session->cstate.length == 0U) { in sdp_client_receive()
1791 net_buf_pull(buf, frame_len + sizeof(cstate->length)); in sdp_client_receive()
1810 if (cstate->length) { in sdp_client_receive()
1812 memcpy(&session->cstate, cstate, in sdp_client_receive()
1815 net_buf_pull(buf, cstate->length + in sdp_client_receive()
1816 sizeof(cstate->length)); in sdp_client_receive()
1823 net_buf_pull(buf, sizeof(cstate->length)); in sdp_client_receive()