Home
last modified time | relevance | path

Searched refs:_pdu_remaining (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.7.0/include/zephyr/bluetooth/
Dl2cap.h223 size_t _pdu_remaining; member
/Zephyr-Core-3.7.0/subsys/bluetooth/host/
Dl2cap.c899 if (lechan->_pdu_remaining == 0 && !chan_has_credits(lechan)) { in l2cap_data_pull()
910 if (lechan->_pdu_remaining == 0) { in l2cap_data_pull()
923 lechan->_pdu_remaining = pdu_len + sizeof(*hdr); in l2cap_data_pull()
928 bool last_frag = amount >= lechan->_pdu_remaining; in l2cap_data_pull()
934 bool last_seg = lechan->_pdu_remaining == pdu->len; in l2cap_data_pull()
975 *length = lechan->_pdu_remaining; in l2cap_data_pull()
977 if (lechan->_pdu_remaining > amount) { in l2cap_data_pull()
978 lechan->_pdu_remaining -= amount; in l2cap_data_pull()
980 lechan->_pdu_remaining = 0; in l2cap_data_pull()