• Home
  • Raw
  • Download

Lines Matching refs:sdp_pdu_hdr_t

1726 	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()
2881 if (rspsize < sizeof(sdp_pdu_hdr_t) + sizeof(uint32_t)) { in sdp_device_record_register_binary()
2943 sdp_pdu_hdr_t *reqhdr, *rsphdr; in sdp_device_record_unregister_binary()
2965 reqhdr = (sdp_pdu_hdr_t *) reqbuf; in sdp_device_record_unregister_binary()
2969 p = reqbuf + sizeof(sdp_pdu_hdr_t); in sdp_device_record_unregister_binary()
2970 reqsize = sizeof(sdp_pdu_hdr_t); in sdp_device_record_unregister_binary()
2974 reqhdr->plen = htons(reqsize - sizeof(sdp_pdu_hdr_t)); in sdp_device_record_unregister_binary()
2979 if (rspsize < sizeof(sdp_pdu_hdr_t) + sizeof(uint16_t)) { in sdp_device_record_unregister_binary()
2986 rsphdr = (sdp_pdu_hdr_t *) rspbuf; in sdp_device_record_unregister_binary()
2987 p = rspbuf + sizeof(sdp_pdu_hdr_t); in sdp_device_record_unregister_binary()
3033 sdp_pdu_hdr_t *reqhdr, *rsphdr; in sdp_device_record_update()
3057 reqhdr = (sdp_pdu_hdr_t *) reqbuf; in sdp_device_record_update()
3061 p = reqbuf + sizeof(sdp_pdu_hdr_t); in sdp_device_record_update()
3062 reqsize = sizeof(sdp_pdu_hdr_t); in sdp_device_record_update()
3077 reqhdr->plen = htons(reqsize - sizeof(sdp_pdu_hdr_t)); in sdp_device_record_update()
3082 if (rspsize < sizeof(sdp_pdu_hdr_t) + sizeof(uint16_t)) { in sdp_device_record_update()
3091 rsphdr = (sdp_pdu_hdr_t *) rspbuf; in sdp_device_record_update()
3092 p = rspbuf + sizeof(sdp_pdu_hdr_t); in sdp_device_record_update()
3326 sdp_pdu_hdr_t *reqhdr, *rsphdr; in sdp_service_search_req()
3336 reqhdr = (sdp_pdu_hdr_t *) reqbuf; in sdp_service_search_req()
3338 pdata = reqbuf + sizeof(sdp_pdu_hdr_t); in sdp_service_search_req()
3339 reqsize = sizeof(sdp_pdu_hdr_t); in sdp_service_search_req()
3365 reqhdr->plen = htons(reqsize - sizeof(sdp_pdu_hdr_t)); in sdp_service_search_req()
3376 if (rspsize < sizeof(sdp_pdu_hdr_t)) { in sdp_service_search_req()
3382 rsphdr = (sdp_pdu_hdr_t *) rspbuf; in sdp_service_search_req()
3391 pdata = rspbuf + sizeof(sdp_pdu_hdr_t); in sdp_service_search_req()
3392 pdata_len = rspsize - sizeof(sdp_pdu_hdr_t); in sdp_service_search_req()
3423 if (rspsize < sizeof(sdp_pdu_hdr_t) + scanned + sizeof(uint8_t)) { in sdp_service_search_req()
3429 pdata = rspbuf + sizeof(sdp_pdu_hdr_t) + scanned; in sdp_service_search_req()
3488 sdp_pdu_hdr_t *reqhdr, *rsphdr; in sdp_service_attr_req()
3507 reqhdr = (sdp_pdu_hdr_t *) reqbuf; in sdp_service_attr_req()
3510 pdata = reqbuf + sizeof(sdp_pdu_hdr_t); in sdp_service_attr_req()
3511 reqsize = sizeof(sdp_pdu_hdr_t); in sdp_service_attr_req()
3547 reqhdr->plen = htons(reqsize - sizeof(sdp_pdu_hdr_t)); in sdp_service_attr_req()
3553 if (rspsize < sizeof(sdp_pdu_hdr_t)) { in sdp_service_attr_req()
3558 rsphdr = (sdp_pdu_hdr_t *) rspbuf; in sdp_service_attr_req()
3563 pdata = rspbuf + sizeof(sdp_pdu_hdr_t); in sdp_service_attr_req()
3564 pdata_len = rspsize - sizeof(sdp_pdu_hdr_t); in sdp_service_attr_req()
3734 sdp_pdu_hdr_t *reqhdr; in sdp_service_search_async()
3756 reqhdr = (sdp_pdu_hdr_t *) t->reqbuf; in sdp_service_search_async()
3761 pdata = t->reqbuf + sizeof(sdp_pdu_hdr_t); in sdp_service_search_async()
3762 t->reqsize = sizeof(sdp_pdu_hdr_t); in sdp_service_search_async()
3779 reqhdr->plen = htons((t->reqsize + cstate_len) - sizeof(sdp_pdu_hdr_t)); in sdp_service_search_async()
3835 sdp_pdu_hdr_t *reqhdr; in sdp_service_attr_async()
3857 reqhdr = (sdp_pdu_hdr_t *) t->reqbuf; in sdp_service_attr_async()
3862 pdata = t->reqbuf + sizeof(sdp_pdu_hdr_t); in sdp_service_attr_async()
3863 t->reqsize = sizeof(sdp_pdu_hdr_t); in sdp_service_attr_async()
3890 reqhdr->plen = htons((t->reqsize + cstate_len) - sizeof(sdp_pdu_hdr_t)); in sdp_service_attr_async()
3947 sdp_pdu_hdr_t *reqhdr; in sdp_service_search_attr_async()
3969 reqhdr = (sdp_pdu_hdr_t *) t->reqbuf; in sdp_service_search_attr_async()
3974 pdata = t->reqbuf + sizeof(sdp_pdu_hdr_t); in sdp_service_search_attr_async()
3975 t->reqsize = sizeof(sdp_pdu_hdr_t); in sdp_service_search_attr_async()
4006 reqhdr->plen = htons((t->reqsize + cstate_len) - sizeof(sdp_pdu_hdr_t)); in sdp_service_search_attr_async()
4069 sdp_pdu_hdr_t *reqhdr, *rsphdr; in sdp_process()
4093 reqhdr = (sdp_pdu_hdr_t *)t->reqbuf; in sdp_process()
4094 rsphdr = (sdp_pdu_hdr_t *)rspbuf; in sdp_process()
4096 pdata = rspbuf + sizeof(sdp_pdu_hdr_t); in sdp_process()
4106 (n != (ntohs(rsphdr->plen) + (int) sizeof(sdp_pdu_hdr_t)))) { in sdp_process()
4191 if ((n - (int) sizeof(sdp_pdu_hdr_t)) != (plen + pcstate->length + 1)) { in sdp_process()
4220 reqhdr->plen = htons(reqsize - sizeof(sdp_pdu_hdr_t)); in sdp_process()
4297 sdp_pdu_hdr_t *reqhdr, *rsphdr; in sdp_service_search_attr_req()
4318 reqhdr = (sdp_pdu_hdr_t *) reqbuf; in sdp_service_search_attr_req()
4322 pdata = reqbuf + sizeof(sdp_pdu_hdr_t); in sdp_service_search_attr_req()
4323 reqsize = sizeof(sdp_pdu_hdr_t); in sdp_service_search_attr_req()
4364 reqhdr->plen = htons(reqsize - sizeof(sdp_pdu_hdr_t)); in sdp_service_search_attr_req()
4365 rsphdr = (sdp_pdu_hdr_t *) rspbuf; in sdp_service_search_attr_req()
4367 if (rspsize < sizeof(sdp_pdu_hdr_t)) { in sdp_service_search_attr_req()
4383 pdata = rspbuf + sizeof(sdp_pdu_hdr_t); in sdp_service_search_attr_req()
4384 pdata_len = rspsize - sizeof(sdp_pdu_hdr_t); in sdp_service_search_attr_req()