Home
last modified time | relevance | path

Searched refs:i_pdu_length (Results 1 – 3 of 3) sorted by relevance

/system/nfc/src/nfc/llcp/
Dllcp_api.cc1114 uint16_t i_pdu_length; in LLCP_ReadDataLinkData() local
1129 BE_STREAM_TO_UINT16(i_pdu_length, p_i_pdu); in LLCP_ReadDataLinkData()
1135 if (max_data_len >= (uint32_t)(i_pdu_length - p_buf->layer_specific)) { in LLCP_ReadDataLinkData()
1137 *p_data_len = (uint32_t)(i_pdu_length - p_buf->layer_specific); in LLCP_ReadDataLinkData()
1142 p_buf->offset += LLCP_PDU_AGF_LEN_SIZE + i_pdu_length; in LLCP_ReadDataLinkData()
1143 p_buf->len -= LLCP_PDU_AGF_LEN_SIZE + i_pdu_length; in LLCP_ReadDataLinkData()
1205 uint16_t i_pdu_length; in LLCP_FlushDataLinkRxData() local
1219 BE_STREAM_TO_UINT16(i_pdu_length, p_i_pdu); in LLCP_FlushDataLinkRxData()
1221 flushed_length += (uint32_t)(i_pdu_length - p_buf->layer_specific); in LLCP_FlushDataLinkRxData()
1225 p_buf->offset += LLCP_PDU_AGF_LEN_SIZE + i_pdu_length; in LLCP_FlushDataLinkRxData()
[all …]
Dllcp_dlc.cc854 void llcp_dlc_proc_i_pdu(uint8_t dsap, uint8_t ssap, uint16_t i_pdu_length, in llcp_dlc_proc_i_pdu() argument
870 i_pdu_length = p_msg->len; in llcp_dlc_proc_i_pdu()
874 if (i_pdu_length < LLCP_PDU_HEADER_SIZE + LLCP_SEQUENCE_SIZE) { in llcp_dlc_proc_i_pdu()
876 LOG(ERROR) << StringPrintf("Insufficient I PDU length %d", i_pdu_length); in llcp_dlc_proc_i_pdu()
883 info_len = i_pdu_length - LLCP_PDU_HEADER_SIZE - LLCP_SEQUENCE_SIZE; in llcp_dlc_proc_i_pdu()
/system/nfc/src/nfc/include/
Dllcp_int.h342 void llcp_dlc_proc_i_pdu(uint8_t dsap, uint8_t ssap, uint16_t i_pdu_length,