Home
last modified time | relevance | path

Searched refs:rsp_end (Results 1 – 3 of 3) sorted by relevance

/dragonfly/usr.sbin/sdpd/
HDsar.c89 uint8_t *rsp, uint8_t const * const rsp_end) in server_prepare_attr_list() argument
94 if (ptr > rsp_end) in server_prepare_attr_list()
123 len = server_prepare_attr_value_pair(provider, lo, ptr, rsp_end); in server_prepare_attr_list()
150 uint8_t const *rsp_end = rsp + L2CAP_MTU_MAXIMUM; in server_prepare_service_attribute_response() local
229 cs = server_prepare_attr_list(provider, req, req+aidlen, rsp, rsp_end); in server_prepare_service_attribute_response()
252 uint8_t *rsp_end = srv->fdidx[fd].rsp + srv->fdidx[fd].rsp_size; in server_send_service_attribute_response() local
261 size = rsp_end - rsp; in server_send_service_attribute_response()
270 while ((rsp_end - rsp) + 3 > srv->fdidx[fd].rsp_limit) { in server_send_service_attribute_response()
271 rsp_end --; in server_send_service_attribute_response()
281 assert(rsp_end >= rsp); in server_send_service_attribute_response()
[all …]
HDssr.c157 uint8_t const *rsp_end = rsp + L2CAP_MTU_MAXIMUM; in server_prepare_service_search_response() local
222 if (rsp + 4 > rsp_end) in server_prepare_service_search_response()
244 uint8_t *rsp_end = srv->fdidx[fd].rsp + srv->fdidx[fd].rsp_size; in server_send_service_search_response() local
253 size = rsp_end - rsp; in server_send_service_search_response()
262 while ((rsp_end - rsp) + 3 > srv->fdidx[fd].rsp_limit) { in server_send_service_search_response()
263 rsp_end -= 4; in server_send_service_search_response()
273 assert(rsp_end >= rsp); in server_send_service_search_response()
276 rcounts[1] = (rsp_end - rsp) / 4; /* CurrentServiceRecordCount */ in server_send_service_search_response()
292 iov[2].iov_len = rsp_end - rsp; in server_send_service_search_response()
HDssar.c55 uint8_t const *rsp_end = rsp + L2CAP_MTU_MAXIMUM; in server_prepare_service_search_attribute_response() local
160 aidptr, aidptr + aidlen, rsp, rsp_end); in server_prepare_service_search_attribute_response()