Searched refs:rsp_limit (Results 1 – 8 of 8) sorted by relevance
/freebsd/usr.sbin/bluetooth/sdpd/ |
H A D | ssr.c | 63 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 D | sar.c | 155 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 D | ssar.c | 189 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 D | srr.c | 102 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 D | server.c | 205 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 D | sur.c | 79 srv->fdidx[fd].rsp_limit = srv->fdidx[fd].omtu - sizeof(sdp_pdu_t); in server_prepare_service_unregister_response()
|
H A D | scr.c | 88 srv->fdidx[fd].rsp_limit = srv->fdidx[fd].omtu - sizeof(sdp_pdu_t); in server_prepare_service_change_response()
|
H A D | server.h | 49 uint16_t rsp_limit; /* response limit */ member
|