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 | 827 uint16_t sdu_length; in l2c_lcc_proc_pdu() local 838 if (p_buf->len < sizeof(sdu_length)) { in l2c_lcc_proc_pdu() 846 STREAM_TO_UINT16(sdu_length, p); in l2c_lcc_proc_pdu() 849 if (sdu_length > p_ccb->local_conn_cfg.mtu) { in l2c_lcc_proc_pdu() 855 p_buf->len -= sizeof(sdu_length); in l2c_lcc_proc_pdu() 856 p_buf->offset += sizeof(sdu_length); in l2c_lcc_proc_pdu() 858 if (sdu_length < p_buf->len) { in l2c_lcc_proc_pdu() 859 L2CAP_TRACE_ERROR("%s: Invalid sdu_length: %d", __func__, sdu_length); in l2c_lcc_proc_pdu() 866 p_data = (BT_HDR*)osi_malloc(BT_HDR_SIZE + sdu_length); in l2c_lcc_proc_pdu() 874 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);
|