Lines Matching refs:cstate

92 	struct bt_sdp_pdu_cstate             cstate;  member
1526 if (session->cstate.length == 0U) { in sdp_client_ss_search()
1529 net_buf_add_u8(buf, session->cstate.length); in sdp_client_ss_search()
1530 net_buf_add_mem(buf, session->cstate.data, session->cstate.length); in sdp_client_ss_search()
1571 if (session->cstate.length == 0U) { in sdp_client_sa_search()
1574 net_buf_add_u8(buf, session->cstate.length); in sdp_client_sa_search()
1575 net_buf_add_mem(buf, session->cstate.data, session->cstate.length); in sdp_client_sa_search()
1641 if (session->cstate.length == 0U) { in sdp_client_ssa_search()
1644 net_buf_add_u8(buf, session->cstate.length); in sdp_client_ssa_search()
1645 net_buf_add_mem(buf, session->cstate.data, in sdp_client_ssa_search()
1646 session->cstate.length); in sdp_client_ssa_search()
1724 (void)memset(&session->cstate, 0, sizeof(session->cstate)); in sdp_client_params_iterator()
1751 if (session->cstate.length == 0U) { in sdp_client_get_total()
1906 struct bt_sdp_pdu_cstate *cstate; in sdp_client_receive_ss() local
1948 cstate = (struct bt_sdp_pdu_cstate *)(buf->data + record_len); in sdp_client_receive_ss()
1950 if (cstate->length > BT_SDP_MAX_PDU_CSTATE_LEN) { in sdp_client_receive_ss()
1951 LOG_ERR("Invalid SDP PDU Continuation State length %u", cstate->length); in sdp_client_receive_ss()
1955 if ((record_len + SDP_CONT_STATE_LEN_SIZE + cstate->length) > buf->len) { in sdp_client_receive_ss()
1965 if (!current_count && cstate->length == 0U && session->cstate.length == 0U) { in sdp_client_receive_ss()
1969 net_buf_pull(buf, sizeof(cstate->length)); in sdp_client_receive_ss()
1982 if (cstate->length) { in sdp_client_receive_ss()
1984 memcpy(&session->cstate, cstate, sizeof(struct bt_sdp_pdu_cstate)); in sdp_client_receive_ss()
1986 net_buf_pull(buf, cstate->length + sizeof(cstate->length)); in sdp_client_receive_ss()
1992 net_buf_pull(buf, sizeof(cstate->length)); in sdp_client_receive_ss()
2005 struct bt_sdp_pdu_cstate *cstate; in sdp_client_receive_ssa_sa() local
2029 cstate = (struct bt_sdp_pdu_cstate *)(buf->data + frame_len); in sdp_client_receive_ssa_sa()
2031 if (cstate->length > BT_SDP_MAX_PDU_CSTATE_LEN) { in sdp_client_receive_ssa_sa()
2032 LOG_ERR("Invalid SDP PDU Continuation State length %u", cstate->length); in sdp_client_receive_ssa_sa()
2036 if ((frame_len + SDP_CONT_STATE_LEN_SIZE + cstate->length) > buf->len) { in sdp_client_receive_ssa_sa()
2046 if (frame_len == 2U && cstate->length == 0U && session->cstate.length == 0U) { in sdp_client_receive_ssa_sa()
2050 net_buf_pull(buf, frame_len + sizeof(cstate->length)); in sdp_client_receive_ssa_sa()
2066 if (cstate->length) { in sdp_client_receive_ssa_sa()
2068 memcpy(&session->cstate, cstate, sizeof(struct bt_sdp_pdu_cstate)); in sdp_client_receive_ssa_sa()
2070 net_buf_pull(buf, cstate->length + sizeof(cstate->length)); in sdp_client_receive_ssa_sa()
2076 net_buf_pull(buf, sizeof(cstate->length)); in sdp_client_receive_ssa_sa()