Searched refs:ui_pdu_length (Results 1 – 2 of 2) sorted by relevance
/external/libnfc-nci/src/nfc/llcp/ |
D | llcp_api.c | 753 UINT16 pdu_hdr, ui_pdu_length; in LLCP_ReadLogicalLinkData() local 771 BE_STREAM_TO_UINT16 (ui_pdu_length, p_ui_pdu); in LLCP_ReadLogicalLinkData() 781 … if (max_data_len >= (UINT32) (ui_pdu_length - LLCP_PDU_HEADER_SIZE - p_buf->layer_specific)) in LLCP_ReadLogicalLinkData() 784 … *p_data_len = (UINT32) (ui_pdu_length - LLCP_PDU_HEADER_SIZE - p_buf->layer_specific); in LLCP_ReadLogicalLinkData() 788 p_buf->offset += LLCP_PDU_AGF_LEN_SIZE + ui_pdu_length; in LLCP_ReadLogicalLinkData() 789 p_buf->len -= LLCP_PDU_AGF_LEN_SIZE + ui_pdu_length; in LLCP_ReadLogicalLinkData() 847 UINT16 ui_pdu_length; in LLCP_FlushLogicalLinkRxData() local 863 BE_STREAM_TO_UINT16 (ui_pdu_length, p_ui_pdu); in LLCP_FlushLogicalLinkRxData() 865 … flushed_length += (UINT32) (ui_pdu_length - LLCP_PDU_HEADER_SIZE - p_buf->layer_specific); in LLCP_FlushLogicalLinkRxData() 869 p_buf->offset += LLCP_PDU_AGF_LEN_SIZE + ui_pdu_length; in LLCP_FlushLogicalLinkRxData() [all …]
|
D | llcp_link.c | 61 static void llcp_link_proc_ui_pdu (UINT8 local_sap, UINT8 remote_sap, UINT16 ui_pdu_length, UINT… 979 UINT16 ui_pdu_length, in llcp_link_proc_ui_pdu() argument 1014 ui_pdu_length = p_msg->len; /* including LLCP header */ in llcp_link_proc_ui_pdu() 1029 if (available_bytes >= LLCP_PDU_AGF_LEN_SIZE + ui_pdu_length) in llcp_link_proc_ui_pdu() 1034 UINT16_TO_BE_STREAM (p_dst, ui_pdu_length); in llcp_link_proc_ui_pdu() 1037 memcpy (p_dst, p_ui_pdu, ui_pdu_length); in llcp_link_proc_ui_pdu() 1039 p_last_buf->len += LLCP_PDU_AGF_LEN_SIZE + ui_pdu_length; in llcp_link_proc_ui_pdu() 1056 UINT16_TO_BE_STREAM (p_ui_pdu, ui_pdu_length); in llcp_link_proc_ui_pdu() 1071 UINT16_TO_BE_STREAM (p_dst, ui_pdu_length); in llcp_link_proc_ui_pdu() 1073 memcpy (p_dst, p_ui_pdu, ui_pdu_length); in llcp_link_proc_ui_pdu() [all …]
|