Lines Matching refs:sdu_len
509 chan->sdu_len = 0; in l2cap_le_flowctl_init()
2276 u16 sdu_len; in l2cap_segment_sdu() local
2305 sdu_len = 0; in l2cap_segment_sdu()
2309 sdu_len = len; in l2cap_segment_sdu()
2313 skb = l2cap_create_iframe_pdu(chan, msg, pdu_len, sdu_len); in l2cap_segment_sdu()
2324 if (sdu_len) in l2cap_segment_sdu()
2325 sdu_len = 0; in l2cap_segment_sdu()
2387 u16 sdu_len; in l2cap_segment_le_sdu() local
2391 sdu_len = len; in l2cap_segment_le_sdu()
2398 skb = l2cap_create_le_flowctl_pdu(chan, msg, pdu_len, sdu_len); in l2cap_segment_le_sdu()
2408 if (sdu_len) { in l2cap_segment_le_sdu()
2409 sdu_len = 0; in l2cap_segment_le_sdu()
3063 chan->sdu_len = 0; in l2cap_ertm_init()
5828 chan->sdu_len = get_unaligned_le16(skb->data); in l2cap_reassemble_sdu()
5831 if (chan->sdu_len > chan->imtu) { in l2cap_reassemble_sdu()
5836 if (skb->len >= chan->sdu_len) in l2cap_reassemble_sdu()
5854 if (chan->sdu->len >= chan->sdu_len) in l2cap_reassemble_sdu()
5868 if (chan->sdu->len != chan->sdu_len) in l2cap_reassemble_sdu()
5877 chan->sdu_len = 0; in l2cap_reassemble_sdu()
5887 chan->sdu_len = 0; in l2cap_reassemble_sdu()
6562 chan->sdu_len = 0; in l2cap_stream_rx()
6713 u16 sdu_len; in l2cap_le_data_rcv() local
6715 sdu_len = get_unaligned_le16(skb->data); in l2cap_le_data_rcv()
6719 sdu_len, skb->len, chan->imtu); in l2cap_le_data_rcv()
6721 if (sdu_len > chan->imtu) { in l2cap_le_data_rcv()
6727 if (skb->len > sdu_len) { in l2cap_le_data_rcv()
6733 if (skb->len == sdu_len) in l2cap_le_data_rcv()
6737 chan->sdu_len = sdu_len; in l2cap_le_data_rcv()
6744 chan->sdu->len, skb->len, chan->sdu_len); in l2cap_le_data_rcv()
6746 if (chan->sdu->len + skb->len > chan->sdu_len) { in l2cap_le_data_rcv()
6755 if (chan->sdu->len == chan->sdu_len) { in l2cap_le_data_rcv()
6760 chan->sdu_len = 0; in l2cap_le_data_rcv()
6770 chan->sdu_len = 0; in l2cap_le_data_rcv()