Lines Matching refs:trans_num
46 static void process_service_search(tCONN_CB* p_ccb, uint16_t trans_num,
50 static void process_service_attr_req(tCONN_CB* p_ccb, uint16_t trans_num,
54 static void process_service_search_attr_req(tCONN_CB* p_ccb, uint16_t trans_num,
111 uint16_t trans_num, param_len; in sdp_server_handle_client_req() local
117 if (p_req + sizeof(pdu_id) + sizeof(trans_num) > p_req_end) { in sdp_server_handle_client_req()
120 trans_num = 0; in sdp_server_handle_client_req()
121 sdpu_build_n_send_error(p_ccb, trans_num, SDP_INVALID_REQ_SYNTAX, in sdp_server_handle_client_req()
130 BE_STREAM_TO_UINT16(trans_num, p_req); in sdp_server_handle_client_req()
135 sdpu_build_n_send_error(p_ccb, trans_num, SDP_INVALID_REQ_SYNTAX, in sdp_server_handle_client_req()
143 sdpu_build_n_send_error(p_ccb, trans_num, SDP_INVALID_PDU_SIZE, in sdp_server_handle_client_req()
150 process_service_search(p_ccb, trans_num, param_len, p_req, p_req_end); in sdp_server_handle_client_req()
154 process_service_attr_req(p_ccb, trans_num, param_len, p_req, p_req_end); in sdp_server_handle_client_req()
158 process_service_search_attr_req(p_ccb, trans_num, param_len, p_req, in sdp_server_handle_client_req()
163 sdpu_build_n_send_error(p_ccb, trans_num, SDP_INVALID_REQ_SYNTAX, in sdp_server_handle_client_req()
181 static void process_service_search(tCONN_CB* p_ccb, uint16_t trans_num, in process_service_search() argument
195 sdpu_build_n_send_error(p_ccb, trans_num, SDP_INVALID_REQ_SYNTAX, in process_service_search()
203 sdpu_build_n_send_error(p_ccb, trans_num, SDP_INVALID_REQ_SYNTAX, in process_service_search()
225 sdpu_build_n_send_error(p_ccb, trans_num, SDP_INVALID_CONT_STATE, in process_service_search()
232 sdpu_build_n_send_error(p_ccb, trans_num, SDP_INVALID_CONT_STATE, in process_service_search()
264 UINT16_TO_BE_STREAM(p_rsp, trans_num); in process_service_search()
309 static void process_service_attr_req(tCONN_CB* p_ccb, uint16_t trans_num, in process_service_attr_req() argument
325 sdpu_build_n_send_error(p_ccb, trans_num, SDP_INVALID_SERV_REC_HDL, in process_service_attr_req()
345 sdpu_build_n_send_error(p_ccb, trans_num, SDP_INVALID_REQ_SYNTAX, in process_service_attr_req()
355 sdpu_build_n_send_error(p_ccb, trans_num, SDP_INVALID_SERV_REC_HDL, in process_service_attr_req()
361 sdpu_build_n_send_error(p_ccb, trans_num, SDP_ILLEGAL_PARAMETER, NULL); in process_service_attr_req()
374 sdpu_build_n_send_error(p_ccb, trans_num, SDP_INVALID_CONT_STATE, in process_service_attr_req()
381 sdpu_build_n_send_error(p_ccb, trans_num, SDP_INVALID_CONT_STATE, in process_service_attr_req()
423 sdpu_build_n_send_error(p_ccb, trans_num, SDP_INVALID_CONT_STATE, in process_service_attr_req()
441 sdpu_build_n_send_error(p_ccb, trans_num, SDP_NO_RESOURCES, NULL); in process_service_attr_req()
498 UINT16_TO_BE_STREAM(p_rsp, trans_num); in process_service_attr_req()
543 static void process_service_search_attr_req(tCONN_CB* p_ccb, uint16_t trans_num, in process_service_search_attr_req() argument
565 sdpu_build_n_send_error(p_ccb, trans_num, SDP_INVALID_REQ_SYNTAX, in process_service_search_attr_req()
581 sdpu_build_n_send_error(p_ccb, trans_num, SDP_INVALID_REQ_SYNTAX, in process_service_search_attr_req()
589 sdpu_build_n_send_error(p_ccb, trans_num, SDP_ILLEGAL_PARAMETER, NULL); in process_service_search_attr_req()
602 sdpu_build_n_send_error(p_ccb, trans_num, SDP_INVALID_CONT_STATE, in process_service_search_attr_req()
609 sdpu_build_n_send_error(p_ccb, trans_num, SDP_INVALID_CONT_STATE, in process_service_search_attr_req()
684 sdpu_build_n_send_error(p_ccb, trans_num, SDP_INVALID_CONT_STATE, in process_service_search_attr_req()
703 sdpu_build_n_send_error(p_ccb, trans_num, SDP_NO_RESOURCES, NULL); in process_service_search_attr_req()
779 sdpu_build_n_send_error(p_ccb, trans_num, SDP_INVALID_CONT_STATE, NULL); in process_service_search_attr_req()
812 UINT16_TO_BE_STREAM(p_rsp, trans_num); in process_service_search_attr_req()