• Home
  • Raw
  • Download

Lines Matching refs:p_reply

45 static void process_service_search_rsp(tCONN_CB* p_ccb, uint8_t* p_reply,
47 static void process_service_attr_rsp(tCONN_CB* p_ccb, uint8_t* p_reply,
49 static void process_service_search_attr_rsp(tCONN_CB* p_ccb, uint8_t* p_reply,
270 static void process_service_search_rsp(tCONN_CB* p_ccb, uint8_t* p_reply, in process_service_search_rsp() argument
276 if (p_reply + 8 > p_reply_end) { in process_service_search_rsp()
282 p_reply += 4; in process_service_search_rsp()
283 BE_STREAM_TO_UINT16(total, p_reply); in process_service_search_rsp()
284 BE_STREAM_TO_UINT16(cur_handles, p_reply); in process_service_search_rsp()
299 if (p_reply + ((p_ccb->num_handles - orig) * 4) + 1 > p_reply_end) { in process_service_search_rsp()
306 BE_STREAM_TO_UINT32(p_ccb->handles[xx], p_reply); in process_service_search_rsp()
308 BE_STREAM_TO_UINT8(cont_len, p_reply); in process_service_search_rsp()
314 if (p_reply + cont_len > p_reply_end) { in process_service_search_rsp()
320 sdp_snd_service_search_req(p_ccb, cont_len, p_reply); in process_service_search_rsp()
396 static void process_service_attr_rsp(tCONN_CB* p_ccb, uint8_t* p_reply, in process_service_attr_rsp() argument
403 if (p_reply) { in process_service_attr_rsp()
404 if (p_reply + 4 /* transaction ID and length */ + sizeof(list_byte_count) > in process_service_attr_rsp()
411 p_reply += 4; in process_service_attr_rsp()
413 BE_STREAM_TO_UINT16(list_byte_count, p_reply); in process_service_attr_rsp()
424 memcpy(&p_ccb->rsp_list[p_ccb->list_len], p_reply, list_byte_count); in process_service_attr_rsp()
426 p_reply += list_byte_count; in process_service_attr_rsp()
427 if (*p_reply) { in process_service_attr_rsp()
428 if (*p_reply > SDP_MAX_CONTINUATION_LEN) { in process_service_attr_rsp()
486 if ((p_reply + *p_reply + 1) <= p_reply_end) { in process_service_attr_rsp()
487 memcpy(p, p_reply, *p_reply + 1); in process_service_attr_rsp()
488 p += *p_reply + 1; in process_service_attr_rsp()
524 static void process_service_search_attr_rsp(tCONN_CB* p_ccb, uint8_t* p_reply, in process_service_search_attr_rsp() argument
533 if (p_reply) { in process_service_search_attr_rsp()
534 if (p_reply + 4 /* transaction ID and length */ + sizeof(lists_byte_count) > in process_service_search_attr_rsp()
542 p_reply += 4; in process_service_search_attr_rsp()
544 BE_STREAM_TO_UINT16(lists_byte_count, p_reply); in process_service_search_attr_rsp()
553 if (p_reply + lists_byte_count + 1 /* continuation */ > p_reply_end) { in process_service_search_attr_rsp()
561 memcpy(&p_ccb->rsp_list[p_ccb->list_len], p_reply, lists_byte_count); in process_service_search_attr_rsp()
563 p_reply += lists_byte_count; in process_service_search_attr_rsp()
564 if (*p_reply) { in process_service_search_attr_rsp()
565 if (*p_reply > SDP_MAX_CONTINUATION_LEN) { in process_service_search_attr_rsp()
575 if ((cont_request_needed) || (!p_reply)) { in process_service_search_attr_rsp()
611 if (p_reply) { in process_service_search_attr_rsp()
612 if ((p_reply + *p_reply + 1) <= p_reply_end) { in process_service_search_attr_rsp()
613 memcpy(p, p_reply, *p_reply + 1); in process_service_search_attr_rsp()
614 p += *p_reply + 1; in process_service_search_attr_rsp()