Lines Matching refs:resp_buf
585 struct net_buf *resp_buf; in sdp_svc_search_req() local
641 resp_buf = bt_sdp_create_pdu(); in sdp_svc_search_req()
642 rsp = net_buf_add(resp_buf, sizeof(*rsp)); in sdp_svc_search_req()
662 if ((MIN(SDP_MTU, sdp->chan.tx.mtu) - resp_buf->len) < in sdp_svc_search_req()
670 net_buf_add_u8(resp_buf, SDP_SS_CONT_STATE_SIZE); in sdp_svc_search_req()
671 net_buf_add_u8(resp_buf, cont_state); in sdp_svc_search_req()
685 net_buf_add_be32(resp_buf, record->handle); in sdp_svc_search_req()
691 net_buf_add_u8(resp_buf, 0); in sdp_svc_search_req()
693 net_buf_add_be16(resp_buf, total_recs); in sdp_svc_search_req()
699 LOG_DBG("Sending response, len %u", resp_buf->len); in sdp_svc_search_req()
700 bt_sdp_send(&sdp->chan.chan, resp_buf, BT_SDP_SVC_SEARCH_RSP, tid); in sdp_svc_search_req()
1861 result.resp_buf = NULL; in sdp_client_notify_result()
1881 result.resp_buf = session->rec_buf; in sdp_client_notify_result()
1887 result.resp_buf->len = rec_len; in sdp_client_notify_result()