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

/external/bluetooth/bluez/src/
H A Dsdpd-request.c363 uint8_t *pdata = req->buf + sizeof(sdp_pdu_hdr_t);
364 size_t data_left = req->len - sizeof(sdp_pdu_hdr_t);
375 plen = ntohs(((sdp_pdu_hdr_t *)(req->buf))->plen);
405 mtu = req->mtu - sizeof(sdp_pdu_hdr_t) - sizeof(uint16_t) - sizeof(uint16_t) - SDP_CONT_STATE_SIZE;
633 uint8_t *pdata = req->buf + sizeof(sdp_pdu_hdr_t);
634 size_t data_left = req->len - sizeof(sdp_pdu_hdr_t);
657 if (data_left < sizeof(sdp_pdu_hdr_t)) {
671 plen = ntohs(((sdp_pdu_hdr_t *)(req->buf))->plen);
702 * We can send only (MTU - sizeof(sdp_pdu_hdr_t) - sizeof(sdp_cont_state_t))
704 max_rsp_size = MIN(max_rsp_size, req->mtu - sizeof(sdp_pdu_hdr_t)
[all...]
H A Dsdpd-server.c167 sdp_pdu_hdr_t hdr;
181 len = recv(sk, &hdr, sizeof(sdp_pdu_hdr_t), MSG_PEEK);
187 size = sizeof(sdp_pdu_hdr_t) + ntohs(hdr.plen);
H A Dsdpd-service.c403 uint8_t *p = req->buf + sizeof(sdp_pdu_hdr_t);
404 int bufsize = req->len - sizeof(sdp_pdu_hdr_t);
472 uint8_t *p = req->buf + sizeof(sdp_pdu_hdr_t);
473 int bufsize = req->len - sizeof(sdp_pdu_hdr_t);
512 uint8_t *p = req->buf + sizeof(sdp_pdu_hdr_t);
/external/bluetooth/bluez/lib/
H A Dsdp.c1726 sdp_pdu_hdr_t *reqhdr = (sdp_pdu_hdr_t *) reqbuf;
1727 sdp_pdu_hdr_t *rsphdr = (sdp_pdu_hdr_t *) rspbuf;
2824 sdp_pdu_hdr_t *reqhdr, *rsphdr;
2841 reqhdr = (sdp_pdu_hdr_t *)req;
2844 reqsize = sizeof(sdp_pdu_hdr_t) + 1;
2845 p = req + sizeof(sdp_pdu_hdr_t);
2857 reqhdr->plen = htons(reqsize - sizeof(sdp_pdu_hdr_t));
2863 if (rspsize < sizeof(sdp_pdu_hdr_t)) {
[all...]
/external/bluetooth/bluez/lib/bluetooth/
H A Dsdp.h419 } __attribute__ ((packed)) sdp_pdu_hdr_t; typedef in typeref:struct:__anon681

Completed in 117 milliseconds