Lines Matching refs:sdp

114 	struct bt_sdp               *sdp;  member
164 struct bt_sdp *sdp = CONTAINER_OF(ch, struct bt_sdp, chan); in bt_sdp_connected() local
168 k_fifo_init(&sdp->partial_resp_queue); in bt_sdp_connected()
185 struct bt_sdp *sdp = CONTAINER_OF(ch, struct bt_sdp, chan); in bt_sdp_disconnected() local
189 (void)memset(sdp, 0, sizeof(*sdp)); in bt_sdp_disconnected()
581 static uint16_t sdp_svc_search_req(struct bt_sdp *sdp, struct net_buf *buf, in sdp_svc_search_req() argument
662 if ((MIN(SDP_MTU, sdp->chan.tx.mtu) - 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()
857 space = MIN(SDP_MTU, sad->sdp->chan.tx.mtu) - in select_attrs()
944 static uint16_t create_attr_list(struct bt_sdp *sdp, struct bt_sdp_record *record, in create_attr_list() argument
956 sad.sdp = sdp; in create_attr_list()
1073 static uint16_t sdp_svc_att_req(struct bt_sdp *sdp, struct net_buf *buf, in sdp_svc_att_req() argument
1150 att_list_len = create_attr_list(sdp, record, filter, num_filters, in sdp_svc_att_req()
1173 bt_sdp_send(&sdp->chan.chan, rsp_buf, BT_SDP_SVC_ATTR_RSP, tid); in sdp_svc_att_req()
1188 static uint16_t sdp_svc_search_att_req(struct bt_sdp *sdp, struct net_buf *buf, in sdp_svc_search_att_req() argument
1281 att_list_len += create_attr_list(sdp, record, filter, in sdp_svc_search_att_req()
1326 bt_sdp_send(&sdp->chan.chan, rsp_buf, BT_SDP_SVC_SEARCH_ATTR_RSP, in sdp_svc_search_att_req()
1334 uint16_t (*func)(struct bt_sdp *sdp, struct net_buf *buf, uint16_t tid);
1355 struct bt_sdp *sdp = CONTAINER_OF(ch, struct bt_sdp, chan); in bt_sdp_recv() local
1362 BT_ASSERT(sdp); in bt_sdp_recv()
1380 err = handlers[i].func(sdp, buf, sys_be16_to_cpu(hdr->tid)); in bt_sdp_recv()
1416 struct bt_sdp *sdp = &bt_sdp_pool[i]; in bt_sdp_accept() local
1418 if (sdp->chan.chan.conn) { in bt_sdp_accept()
1422 sdp->chan.chan.ops = &ops; in bt_sdp_accept()
1423 sdp->chan.rx.mtu = SDP_MTU; in bt_sdp_accept()
1425 *chan = &sdp->chan.chan; in bt_sdp_accept()