Lines Matching refs:MPTCP_SKB_CB

45 #define MPTCP_SKB_CB(__skb)	((struct mptcp_skb_cb *)&((__skb)->cb[0]))  macro
135 if (MPTCP_SKB_CB(from)->offset || in mptcp_try_coalesce()
140 MPTCP_SKB_CB(from)->map_seq, MPTCP_SKB_CB(to)->map_seq, in mptcp_try_coalesce()
141 to->len, MPTCP_SKB_CB(from)->end_seq); in mptcp_try_coalesce()
142 MPTCP_SKB_CB(to)->end_seq = MPTCP_SKB_CB(from)->end_seq; in mptcp_try_coalesce()
152 if (MPTCP_SKB_CB(from)->map_seq != MPTCP_SKB_CB(to)->end_seq) in mptcp_ooo_try_coalesce()
169 seq = MPTCP_SKB_CB(skb)->map_seq; in mptcp_data_queue_ofo()
170 end_seq = MPTCP_SKB_CB(skb)->end_seq; in mptcp_data_queue_ofo()
204 if (!before64(seq, MPTCP_SKB_CB(msk->ooo_last_skb)->end_seq)) { in mptcp_data_queue_ofo()
216 if (before64(seq, MPTCP_SKB_CB(skb1)->map_seq)) { in mptcp_data_queue_ofo()
220 if (before64(seq, MPTCP_SKB_CB(skb1)->end_seq)) { in mptcp_data_queue_ofo()
221 if (!after64(end_seq, MPTCP_SKB_CB(skb1)->end_seq)) { in mptcp_data_queue_ofo()
227 if (after64(seq, MPTCP_SKB_CB(skb1)->map_seq)) { in mptcp_data_queue_ofo()
258 if (before64(end_seq, MPTCP_SKB_CB(skb1)->end_seq)) in mptcp_data_queue_ofo()
304 MPTCP_SKB_CB(skb)->map_seq = mptcp_subflow_get_mapped_dsn(subflow); in __mptcp_move_skb()
305 MPTCP_SKB_CB(skb)->end_seq = MPTCP_SKB_CB(skb)->map_seq + copy_len; in __mptcp_move_skb()
306 MPTCP_SKB_CB(skb)->offset = offset; in __mptcp_move_skb()
307 MPTCP_SKB_CB(skb)->has_rxtstamp = has_rxtstamp; in __mptcp_move_skb()
309 if (MPTCP_SKB_CB(skb)->map_seq == msk->ack_seq) { in __mptcp_move_skb()
319 } else if (after64(MPTCP_SKB_CB(skb)->map_seq, msk->ack_seq)) { in __mptcp_move_skb()
660 if (after64(MPTCP_SKB_CB(skb)->map_seq, msk->ack_seq)) in __mptcp_ofo_queue()
666 if (unlikely(!after64(MPTCP_SKB_CB(skb)->end_seq, in __mptcp_ofo_queue()
673 end_seq = MPTCP_SKB_CB(skb)->end_seq; in __mptcp_ofo_queue()
676 int delta = msk->ack_seq - MPTCP_SKB_CB(skb)->map_seq; in __mptcp_ofo_queue()
680 MPTCP_SKB_CB(skb)->map_seq, msk->ack_seq, in __mptcp_ofo_queue()
682 MPTCP_SKB_CB(skb)->offset += delta; in __mptcp_ofo_queue()
1769 u32 offset = MPTCP_SKB_CB(skb)->offset; in __mptcp_recvmsg_mskq()
1783 if (MPTCP_SKB_CB(skb)->has_rxtstamp) { in __mptcp_recvmsg_mskq()
1792 MPTCP_SKB_CB(skb)->offset += count; in __mptcp_recvmsg_mskq()