Lines Matching refs:local_sap
368 p_dlcb->local_sap = reg_sap; in llcp_util_allocate_data_link()
376 … p_dlcb->local_sap, p_dlcb->remote_sap, llcp_cb.num_data_link_connection); in llcp_util_allocate_data_link()
394 … LLCP_TRACE_DEBUG1 ("llcp_util_deallocate_data_link (): local_sap = 0x%x", p_dlcb->local_sap); in llcp_util_deallocate_data_link()
451 …_BE_STREAM (p, LLCP_GET_PDU_HEADER (p_dlcb->remote_sap, LLCP_PDU_CONNECT_TYPE, p_dlcb->local_sap)); in llcp_util_send_connect()
603 …16_TO_BE_STREAM (p, LLCP_GET_PDU_HEADER (p_dlcb->remote_sap, LLCP_PDU_CC_TYPE, p_dlcb->local_sap)); in llcp_util_send_cc()
735 …T16_TO_BE_STREAM (p, LLCP_GET_PDU_HEADER (p_dlcb->remote_sap, LLCP_PDU_I_TYPE, p_dlcb->local_sap)); in llcp_util_build_info_pdu()
775 …_TO_BE_STREAM (p, LLCP_GET_PDU_HEADER (p_dlcb->remote_sap, LLCP_PDU_FRMR_TYPE, p_dlcb->local_sap)); in llcp_util_send_frmr()
864 … UINT16_TO_BE_STREAM (p, LLCP_GET_PDU_HEADER (p_dlcb->remote_sap, pdu_type, p_dlcb->local_sap)); in llcp_util_send_rr_rnr()
892 tLLCP_APP_CB *llcp_util_get_app_cb (UINT8 local_sap) in llcp_util_get_app_cb() argument
896 if (local_sap <= LLCP_UPPER_BOUND_WK_SAP) in llcp_util_get_app_cb()
898 if ((local_sap != LLCP_SAP_LM) && (local_sap < LLCP_MAX_WKS)) in llcp_util_get_app_cb()
900 p_app_cb = &llcp_cb.wks_cb[local_sap]; in llcp_util_get_app_cb()
903 else if (local_sap <= LLCP_UPPER_BOUND_SDP_SAP) in llcp_util_get_app_cb()
905 if (local_sap - LLCP_LOWER_BOUND_SDP_SAP < LLCP_MAX_SERVER) in llcp_util_get_app_cb()
907 p_app_cb = &llcp_cb.server_cb[local_sap - LLCP_LOWER_BOUND_SDP_SAP]; in llcp_util_get_app_cb()
910 else if (local_sap <= LLCP_UPPER_BOUND_LOCAL_SAP) in llcp_util_get_app_cb()
912 if (local_sap - LLCP_LOWER_BOUND_LOCAL_SAP < LLCP_MAX_CLIENT) in llcp_util_get_app_cb()
914 p_app_cb = &llcp_cb.client_cb[local_sap - LLCP_LOWER_BOUND_LOCAL_SAP]; in llcp_util_get_app_cb()