Home
last modified time | relevance | path

Searched refs:rsp_limit (Results 1 – 8 of 8) sorted by relevance

/freebsd/usr.sbin/bluetooth/sdpd/
H A Dssr.c63 int32_t type, ssplen, rsp_limit, rcount, cslen, cs; in server_prepare_service_search_response()
103 SDP_GET16(rsp_limit, ptr); in server_prepare_service_search_response()
104 if (rsp_limit <= 0) in server_prepare_service_search_response()
140 if (rcount < rsp_limit) in server_prepare_service_search_response()
141 rsp_limit = rcount; in server_prepare_service_search_response()
144 for (rcount = 0; ssplen > 0 && rcount < rsp_limit; ) { in server_prepare_service_search_response()
186 provider != NULL && rcount < rsp_limit; in server_prepare_service_search_response()
204 srv->fdidx[fd].rsp_limit = srv->fdidx[fd].omtu - sizeof(sdp_pdu_t) - 4; in server_prepare_service_search_response()
231 if (size + 1 > srv->fdidx[fd].rsp_limit) { in server_send_service_search_response()
237 while ((rsp_end - rsp) + 3 > srv->fdidx[fd].rsp_limit) { in server_send_service_search_response()
62 int32_t type, ssplen, rsp_limit, rcount, cslen, cs; server_prepare_service_search_response() local
[all...]
H A Dsar.c155 int32_t type, rsp_limit, aidlen, cslen, cs; in server_prepare_service_attribute_response()
172 SDP_GET16(rsp_limit, req); in server_prepare_service_attribute_response()
173 if (rsp_limit <= 0) in server_prepare_service_attribute_response()
234 srv->fdidx[fd].rsp_limit = srv->fdidx[fd].omtu - sizeof(sdp_pdu_t) - 2; in server_prepare_service_attribute_response()
235 if (srv->fdidx[fd].rsp_limit > rsp_limit) in server_prepare_service_attribute_response()
236 srv->fdidx[fd].rsp_limit = rsp_limit; in server_prepare_service_attribute_response()
264 if (size + 1 > srv->fdidx[fd].rsp_limit) { in server_send_service_attribute_response()
270 while ((rsp_end - rsp) + 3 > srv->fdidx[fd].rsp_limit) { in server_send_service_attribute_response()
154 int32_t type, rsp_limit, aidlen, cslen, cs; server_prepare_service_attribute_response() local
[all...]
H A Dssar.c189 int32_t type, rsp_limit, ssplen, aidlen, cslen, cs; in server_prepare_service_search_attribute_response() local
232 SDP_GET16(rsp_limit, req); in server_prepare_service_search_attribute_response()
233 if (rsp_limit <= 0) in server_prepare_service_search_attribute_response()
366 srv->fdidx[fd].rsp_limit = srv->fdidx[fd].omtu - sizeof(sdp_pdu_t) - 2; in server_prepare_service_search_attribute_response()
367 if (srv->fdidx[fd].rsp_limit > rsp_limit) in server_prepare_service_search_attribute_response()
368 srv->fdidx[fd].rsp_limit = rsp_limit; in server_prepare_service_search_attribute_response()
H A Dsrr.c102 srv->fdidx[fd].rsp_limit = srv->fdidx[fd].omtu - sizeof(sdp_pdu_t); in server_prepare_service_register_response()
120 assert(srv->fdidx[fd].rsp_size < srv->fdidx[fd].rsp_limit); in server_send_service_register_response()
138 srv->fdidx[fd].rsp_limit = 0; in server_send_service_register_response()
H A Dserver.c205 srv->fdidx[unsock].rsp_limit = 0; in server_init()
216 srv->fdidx[l2sock].rsp_limit = 0; in server_init()
398 srv->fdidx[cfd].rsp_limit = 0; in server_accept_client()
526 srv->fdidx[fd].rsp_limit = 0; in server_process_request()
H A Dsur.c79 srv->fdidx[fd].rsp_limit = srv->fdidx[fd].omtu - sizeof(sdp_pdu_t); in server_prepare_service_unregister_response()
H A Dscr.c88 srv->fdidx[fd].rsp_limit = srv->fdidx[fd].omtu - sizeof(sdp_pdu_t); in server_prepare_service_change_response()
H A Dserver.h49 uint16_t rsp_limit; /* response limit */ member