Searched refs:req_end (Results 1 – 6 of 6) sorted by relevance
| /dragonfly/usr.sbin/sdpd/ |
| HD | ssar.c | 53 uint8_t const *req_end = req + ((sdp_pdu_p)(srv->req))->len; in server_prepare_service_search_attribute_response() local 75 ucount = server_get_service_search_pattern(&req, req_end, ulist); in server_prepare_service_search_attribute_response() 80 if (req + 2 > req_end) in server_prepare_service_search_attribute_response() 88 if (req + 1 > req_end) in server_prepare_service_search_attribute_response() 95 if (req + 1 > req_end) in server_prepare_service_search_attribute_response() 102 if (req + 2 > req_end) in server_prepare_service_search_attribute_response() 109 if (req + 4 > req_end) in server_prepare_service_search_attribute_response() 122 if (req + 1 > req_end) in server_prepare_service_search_attribute_response() 126 if (cslen == 2 && req + 2 == req_end) in server_prepare_service_search_attribute_response() 128 else if (cslen == 0 && req == req_end) in server_prepare_service_search_attribute_response()
|
| HD | scr.c | 53 uint8_t const *req_end = req + ((sdp_pdu_p)(srv->req))->len; in server_prepare_service_change_response() local 66 !srv->fdidx[fd].priv || req_end - req < 4) in server_prepare_service_change_response() 78 if (req_end - req < provider->profile->dsize || in server_prepare_service_change_response() 80 (provider->profile->valid)(req, req_end - req) == 0) in server_prepare_service_change_response() 84 if (provider_update(provider, req, req_end - req) < 0) in server_prepare_service_change_response()
|
| HD | sar.c | 88 uint8_t const *req, uint8_t const * const req_end, in server_prepare_attr_list() argument 97 while (req < req_end) { in server_prepare_attr_list() 102 if (req + 2 > req_end) in server_prepare_attr_list() 110 if (req + 4 > req_end) in server_prepare_attr_list() 148 uint8_t const *req_end = req + ((sdp_pdu_p)(srv->req))->len; in server_prepare_service_attribute_response() local 167 if (req_end - req < 12) in server_prepare_service_attribute_response() 198 if (ptr + 1 > req_end) in server_prepare_service_attribute_response() 203 if (cslen != 2 || req_end - ptr != 2) in server_prepare_service_attribute_response()
|
| HD | srr.c | 56 uint8_t const *req_end = req + ((sdp_pdu_p)(srv->req))->len; in server_prepare_service_register_response() local 72 !srv->fdidx[fd].priv || req_end - req < 8) in server_prepare_service_register_response() 88 if (req_end - req < profile->dsize || in server_prepare_service_register_response() 90 (profile->valid)(req, req_end - req) == 0) in server_prepare_service_register_response() 94 provider = provider_register(profile, bdaddr, fd, req, req_end - req); in server_prepare_service_register_response()
|
| HD | ssr.c | 155 uint8_t const *req_end = req + ((sdp_pdu_p)(srv->req))->len; in server_prepare_service_search_response() local 173 ucount = server_get_service_search_pattern(&req, req_end, ulist); in server_prepare_service_search_response() 178 if (req + 2 > req_end) in server_prepare_service_search_response() 186 if (req + 1 > req_end) in server_prepare_service_search_response() 190 if (cslen == 2 && req + 2 == req_end) in server_prepare_service_search_response() 192 else if (cslen == 0 && req == req_end) in server_prepare_service_search_response()
|
| HD | sur.c | 53 uint8_t const *req_end = req + ((sdp_pdu_p)(srv->req))->len; in server_prepare_service_unregister_response() local 66 !srv->fdidx[fd].priv || req_end - req < 4) in server_prepare_service_unregister_response()
|