Searched refs:sdu_length (Results 1 – 3 of 3) sorted by relevance
/system/nfc/src/nfc/llcp/ |
D | llcp_sdp.cc | 385 tLLCP_STATUS llcp_sdp_proc_snl(uint16_t sdu_length, uint8_t* p) { in llcp_sdp_proc_snl() argument 398 while (sdu_length >= 2) /* at least type and length */ in llcp_sdp_proc_snl() 407 (sdu_length >= 2 + length)) /* type, length, TID and service name */ in llcp_sdp_proc_snl() 444 && (sdu_length >= 2 + length)) /* type, length, TID and SAP */ in llcp_sdp_proc_snl() 461 if (sdu_length >= 2 + length) /* type, length, value */ in llcp_sdp_proc_snl() 463 sdu_length -= 2 + length; in llcp_sdp_proc_snl() 470 if (sdu_length) { in llcp_sdp_proc_snl()
|
/system/bt/stack/l2cap/ |
D | l2c_fcr.cc | 821 uint16_t sdu_length; in l2c_lcc_proc_pdu() local 832 if (p_buf->len < sizeof(sdu_length)) { in l2c_lcc_proc_pdu() 840 STREAM_TO_UINT16(sdu_length, p); in l2c_lcc_proc_pdu() 843 if (sdu_length > p_ccb->local_conn_cfg.mtu) { in l2c_lcc_proc_pdu() 849 p_buf->len -= sizeof(sdu_length); in l2c_lcc_proc_pdu() 850 p_buf->offset += sizeof(sdu_length); in l2c_lcc_proc_pdu() 852 if (sdu_length < p_buf->len) { in l2c_lcc_proc_pdu() 853 L2CAP_TRACE_ERROR("%s: Invalid sdu_length: %d", __func__, sdu_length); in l2c_lcc_proc_pdu() 860 p_data = (BT_HDR*)osi_malloc(BT_HDR_SIZE + sdu_length); in l2c_lcc_proc_pdu() 868 p_ccb->ble_sdu_length = sdu_length; in l2c_lcc_proc_pdu() [all …]
|
/system/nfc/src/nfc/include/ |
D | llcp_int.h | 357 tLLCP_STATUS llcp_sdp_proc_snl(uint16_t sdu_length, uint8_t* p);
|