Home
last modified time | relevance | path

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

/external/bluetooth/bluez/src/
Dsdpd-request.c363 uint8_t *pdata = req->buf + sizeof(sdp_pdu_hdr_t); in service_search_req()
364 size_t data_left = req->len - sizeof(sdp_pdu_hdr_t); in service_search_req()
375 plen = ntohs(((sdp_pdu_hdr_t *)(req->buf))->plen); in service_search_req()
405 mtu = req->mtu - sizeof(sdp_pdu_hdr_t) - sizeof(uint16_t) - sizeof(uint16_t) - SDP_CONT_STATE_SIZE; in service_search_req()
633 uint8_t *pdata = req->buf + sizeof(sdp_pdu_hdr_t); in service_attr_req()
634 size_t data_left = req->len - sizeof(sdp_pdu_hdr_t); in service_attr_req()
657 if (data_left < sizeof(sdp_pdu_hdr_t)) { in service_attr_req()
671 plen = ntohs(((sdp_pdu_hdr_t *)(req->buf))->plen); in service_attr_req()
704 max_rsp_size = MIN(max_rsp_size, req->mtu - sizeof(sdp_pdu_hdr_t) - in service_attr_req()
790 pdata = req->buf + sizeof(sdp_pdu_hdr_t); in service_search_attr_req()
[all …]
Dsdpd-service.c403 uint8_t *p = req->buf + sizeof(sdp_pdu_hdr_t); in service_register_req()
404 int bufsize = req->len - sizeof(sdp_pdu_hdr_t); in service_register_req()
472 uint8_t *p = req->buf + sizeof(sdp_pdu_hdr_t); in service_update_req()
473 int bufsize = req->len - sizeof(sdp_pdu_hdr_t); in service_update_req()
512 uint8_t *p = req->buf + sizeof(sdp_pdu_hdr_t); in service_remove_req()
Dsdpd-server.c167 sdp_pdu_hdr_t hdr; in io_session_event()
181 len = recv(sk, &hdr, sizeof(sdp_pdu_hdr_t), MSG_PEEK); in io_session_event()
187 size = sizeof(sdp_pdu_hdr_t) + ntohs(hdr.plen); in io_session_event()
/external/bluetooth/bluez/lib/
Dsdp.c1726 sdp_pdu_hdr_t *reqhdr = (sdp_pdu_hdr_t *) reqbuf; in sdp_send_req_w4_rsp()
1727 sdp_pdu_hdr_t *rsphdr = (sdp_pdu_hdr_t *) rspbuf; in sdp_send_req_w4_rsp()
2824 sdp_pdu_hdr_t *reqhdr, *rsphdr; in sdp_device_record_register_binary()
2841 reqhdr = (sdp_pdu_hdr_t *)req; in sdp_device_record_register_binary()
2844 reqsize = sizeof(sdp_pdu_hdr_t) + 1; in sdp_device_record_register_binary()
2845 p = req + sizeof(sdp_pdu_hdr_t); in sdp_device_record_register_binary()
2857 reqhdr->plen = htons(reqsize - sizeof(sdp_pdu_hdr_t)); in sdp_device_record_register_binary()
2863 if (rspsize < sizeof(sdp_pdu_hdr_t)) { in sdp_device_record_register_binary()
2870 rsphdr = (sdp_pdu_hdr_t *) rsp; in sdp_device_record_register_binary()
2871 p = rsp + sizeof(sdp_pdu_hdr_t); in sdp_device_record_register_binary()
[all …]
/external/bluetooth/bluez/lib/bluetooth/
Dsdp.h419 } __attribute__ ((packed)) sdp_pdu_hdr_t; typedef