Lines Matching refs:resp_buf
582 struct net_buf *resp_buf; in sdp_svc_search_req() local
638 resp_buf = bt_sdp_create_pdu(); in sdp_svc_search_req()
639 rsp = net_buf_add(resp_buf, sizeof(*rsp)); in sdp_svc_search_req()
659 if ((MIN(SDP_MTU, sdp->chan.tx.mtu) - resp_buf->len) < in sdp_svc_search_req()
667 net_buf_add_u8(resp_buf, SDP_SS_CONT_STATE_SIZE); in sdp_svc_search_req()
668 net_buf_add_u8(resp_buf, cont_state); in sdp_svc_search_req()
682 net_buf_add_be32(resp_buf, record->handle); in sdp_svc_search_req()
688 net_buf_add_u8(resp_buf, 0); in sdp_svc_search_req()
690 net_buf_add_be16(resp_buf, total_recs); in sdp_svc_search_req()
696 LOG_DBG("Sending response, len %u", resp_buf->len); in sdp_svc_search_req()
697 bt_sdp_send(&sdp->chan.chan, resp_buf, BT_SDP_SVC_SEARCH_RSP, tid); in sdp_svc_search_req()
1672 result.resp_buf = NULL; in sdp_client_notify_result()
1692 result.resp_buf = session->rec_buf; in sdp_client_notify_result()
1698 result.resp_buf->len = rec_len; in sdp_client_notify_result()