Home
last modified time | relevance | path

Searched refs:sdp_pdu_hdr_t (Results 1 – 5 of 5) sorted by relevance

/external/bluetooth/bluez/lib/
Dsdp.c1747 sdp_pdu_hdr_t *reqhdr = (sdp_pdu_hdr_t *)reqbuf; in sdp_send_req_w4_rsp()
1748 sdp_pdu_hdr_t *rsphdr = (sdp_pdu_hdr_t *)rspbuf; in sdp_send_req_w4_rsp()
2772 sdp_pdu_hdr_t *reqhdr, *rsphdr; in sdp_device_record_register_binary()
2789 reqhdr = (sdp_pdu_hdr_t *)req; in sdp_device_record_register_binary()
2792 reqsize = sizeof(sdp_pdu_hdr_t) + 1; in sdp_device_record_register_binary()
2793 p = req + sizeof(sdp_pdu_hdr_t); in sdp_device_record_register_binary()
2805 reqhdr->plen = htons(reqsize - sizeof(sdp_pdu_hdr_t)); in sdp_device_record_register_binary()
2811 if (rspsize < sizeof(sdp_pdu_hdr_t)) { in sdp_device_record_register_binary()
2818 rsphdr = (sdp_pdu_hdr_t *) rsp; in sdp_device_record_register_binary()
2819 p = rsp + sizeof(sdp_pdu_hdr_t); in sdp_device_record_register_binary()
[all …]
/external/bluetooth/bluez/src/
Dsdpd-request.c354 uint8_t *pdata = req->buf + sizeof(sdp_pdu_hdr_t); in service_search_req()
355 size_t data_left = req->len - sizeof(sdp_pdu_hdr_t); in service_search_req()
366 plen = ntohs(((sdp_pdu_hdr_t *)(req->buf))->plen); in service_search_req()
396 mtu = req->mtu - sizeof(sdp_pdu_hdr_t) - sizeof(uint16_t) - sizeof(uint16_t) - SDP_CONT_STATE_SIZE; in service_search_req()
629 uint8_t *pdata = req->buf + sizeof(sdp_pdu_hdr_t); in service_attr_req()
630 size_t data_left = req->len - sizeof(sdp_pdu_hdr_t); in service_attr_req()
653 if (data_left < sizeof(sdp_pdu_hdr_t)) { in service_attr_req()
667 plen = ntohs(((sdp_pdu_hdr_t *)(req->buf))->plen); in service_attr_req()
691 max_rsp_size = MIN(max_rsp_size, req->mtu - sizeof(sdp_pdu_hdr_t) - in service_attr_req()
778 pdata = req->buf + sizeof(sdp_pdu_hdr_t); in service_search_attr_req()
[all …]
Dsdpd-server.c165 sdp_pdu_hdr_t hdr; in io_session_event()
179 len = recv(sk, &hdr, sizeof(sdp_pdu_hdr_t), MSG_PEEK); in io_session_event()
185 size = sizeof(sdp_pdu_hdr_t) + ntohs(hdr.plen); in io_session_event()
Dsdpd-service.c557 uint8_t *p = req->buf + sizeof(sdp_pdu_hdr_t); in service_register_req()
558 int bufsize = req->len - sizeof(sdp_pdu_hdr_t); in service_register_req()
627 uint8_t *p = req->buf + sizeof(sdp_pdu_hdr_t); in service_update_req()
628 int bufsize = req->len - sizeof(sdp_pdu_hdr_t); in service_update_req()
668 uint8_t *p = req->buf + sizeof(sdp_pdu_hdr_t); in service_remove_req()
/external/bluetooth/bluez/include/bluetooth/
Dsdp.h401 } __attribute__ ((packed)) sdp_pdu_hdr_t; typedef