Home
last modified time | relevance | path

Searched refs:req_end (Results 1 – 7 of 7) sorted by relevance

/freebsd/usr.sbin/bluetooth/sdpd/
H A Dscr.c51 uint8_t const *req_end = req + ((sdp_pdu_p)(srv->req))->len; in server_prepare_service_change_response() local
64 !srv->fdidx[fd].priv || req_end - req < 4) in server_prepare_service_change_response()
76 if (req_end - req < provider->profile->dsize || in server_prepare_service_change_response()
78 (provider->profile->valid)(req, req_end - req) == 0) in server_prepare_service_change_response()
82 if (provider_update(provider, req, req_end - req) < 0) in server_prepare_service_change_response()
H A Dssar.c45 uint8_t const *req, uint8_t const * const req_end,
181 uint8_t const *req_end = req + ((sdp_pdu_p)(srv->req))->len; in server_prepare_service_search_attribute_response() local
203 if (req_end - req < 13) in server_prepare_service_search_attribute_response()
229 if (req + 2 > req_end) in server_prepare_service_search_attribute_response()
237 if (req + 1 > req_end) in server_prepare_service_search_attribute_response()
244 if (req + 1 > req_end) in server_prepare_service_search_attribute_response()
251 if (req + 2 > req_end) in server_prepare_service_search_attribute_response()
258 if (req + 4 > req_end) in server_prepare_service_search_attribute_response()
271 if (req + 1 > req_end) in server_prepare_service_search_attribute_response()
276 if (cslen != 2 || req_end - req != 2) in server_prepare_service_search_attribute_response()
H A Dsar.c88 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()
H A Dsrr.c56 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()
H A Dssr.c57 uint8_t const *req_end = req + ((sdp_pdu_p)(srv->req))->len; in server_prepare_service_search_response() local
75 if (req_end - req < 8) in server_prepare_service_search_response()
100 if (ptr + 2 > req_end) in server_prepare_service_search_response()
108 if (ptr + 1 > req_end) in server_prepare_service_search_response()
113 if (cslen != 2 || req_end - ptr != 2) in server_prepare_service_search_response()
H A Dsur.c51 uint8_t const *req_end = req + ((sdp_pdu_p)(srv->req))->len; in server_prepare_service_unregister_response() local
64 !srv->fdidx[fd].priv || req_end - req < 4) in server_prepare_service_unregister_response()
/freebsd/contrib/ntp/ntpq/
H A Dntpq-subs.c2578 char *req_end; in collect_mru_list() local
2962 req_end = req_buf + sizeof(req_buf); in collect_mru_list()
2963 #define REQ_ROOM (req_end - req) in collect_mru_list()