Lines Matching defs:rsp
136 uint8_t *rsp, const uint8_t *req, ssize_t len)
185 memcpy(rsp + len, &handle, 4);
193 rsp[0] = count >> 8;
194 rsp[1] = count & 0xff;
195 rsp[2] = (end - start) >> 8;
196 rsp[3] = (end - start) & 0xff;
199 rsp[len ++] = sizeof(int);
200 memcpy(rsp + len, &end, sizeof(int));
203 rsp[len ++] = 0;
244 uint8_t *rsp, const uint8_t *req, ssize_t len)
299 lst = rsp + 2;
318 rsp[0] = end >> 8;
319 rsp[1] = end & 0xff;
371 uint8_t *rsp, const uint8_t *req, ssize_t len)
438 lst = rsp + 2;
472 rsp[0] = end >> 8;
473 rsp[1] = end & 0xff;
490 uint8_t rsp[MAX_PDU_OUT_SIZE - PDU_HEADER_SIZE], *sdu_out;
515 rsp_len = sdp_svc_search(sdp, rsp, data, len);
520 rsp_len = sdp_attr_get(sdp, rsp, data, len);
525 rsp_len = sdp_svc_search_attr_get(sdp, rsp, data, len);
548 rsp[rsp_len ++] = err >> 8;
549 rsp[rsp_len ++] = err & 0xff;
559 memcpy(sdu_out + PDU_HEADER_SIZE, rsp, rsp_len);