Lines Matching defs:rsp
89 uint8_t *rsp, uint8_t const * const rsp_end)
91 uint8_t *ptr = rsp + 3;
131 len = ptr - rsp; /* we put this much bytes in rsp */
133 /* Fix SEQ16 header for the rsp */
134 SDP_PUT8(SDP_DATA_SEQ16, rsp);
135 SDP_PUT16(len - 3, rsp);
149 uint8_t *rsp = srv->fdidx[fd].rsp;
150 uint8_t const *rsp_end = rsp + NG_L2CAP_MTU_MAXIMUM;
229 cs = server_prepare_attr_list(provider, req, req+aidlen, rsp, rsp_end);
251 uint8_t *rsp = srv->fdidx[fd].rsp + srv->fdidx[fd].rsp_cs;
252 uint8_t *rsp_end = srv->fdidx[fd].rsp + srv->fdidx[fd].rsp_size;
261 size = rsp_end - rsp;
270 while ((rsp_end - rsp) + 3 > srv->fdidx[fd].rsp_limit) {
281 assert(rsp_end >= rsp);
283 bcount = rsp_end - rsp;
301 iov[2].iov_base = rsp;
302 iov[2].iov_len = rsp_end - rsp;