Home
last modified time | relevance | path

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

/freebsd-14.2/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.c87 uint8_t const *req, uint8_t const * const req_end, in server_prepare_attr_list() argument
96 while (req < req_end) { in server_prepare_attr_list()
101 if (req + 2 > req_end) in server_prepare_attr_list()
109 if (req + 4 > req_end) in server_prepare_attr_list()
147 uint8_t const *req_end = req + ((sdp_pdu_p)(srv->req))->len; in server_prepare_service_attribute_response() local
166 if (req_end - req < 12) in server_prepare_service_attribute_response()
197 if (ptr + 1 > req_end) in server_prepare_service_attribute_response()
202 if (cslen != 2 || req_end - ptr != 2) in server_prepare_service_attribute_response()
H A Dsrr.c55 uint8_t const *req_end = req + ((sdp_pdu_p)(srv->req))->len; in server_prepare_service_register_response() local
71 !srv->fdidx[fd].priv || req_end - req < 8) in server_prepare_service_register_response()
87 if (req_end - req < profile->dsize || in server_prepare_service_register_response()
89 (profile->valid)(req, req_end - req) == 0) in server_prepare_service_register_response()
93 provider = provider_register(profile, bdaddr, fd, req, req_end - req); in server_prepare_service_register_response()
H A Dssr.c56 uint8_t const *req_end = req + ((sdp_pdu_p)(srv->req))->len; in server_prepare_service_search_response() local
74 if (req_end - req < 8) in server_prepare_service_search_response()
99 if (ptr + 2 > req_end) in server_prepare_service_search_response()
107 if (ptr + 1 > req_end) in server_prepare_service_search_response()
112 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-14.2/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()