Lines Matching refs:MPTCP_SKB_CB

46 #define MPTCP_SKB_CB(__skb)	((struct mptcp_skb_cb *)&((__skb)->cb[0]))  macro
145 if (MPTCP_SKB_CB(from)->offset || in mptcp_try_coalesce()
150 MPTCP_SKB_CB(from)->map_seq, MPTCP_SKB_CB(to)->map_seq, in mptcp_try_coalesce()
151 to->len, MPTCP_SKB_CB(from)->end_seq); in mptcp_try_coalesce()
152 MPTCP_SKB_CB(to)->end_seq = MPTCP_SKB_CB(from)->end_seq; in mptcp_try_coalesce()
168 if (MPTCP_SKB_CB(from)->map_seq != MPTCP_SKB_CB(to)->end_seq) in mptcp_ooo_try_coalesce()
223 seq = MPTCP_SKB_CB(skb)->map_seq; in mptcp_data_queue_ofo()
224 end_seq = MPTCP_SKB_CB(skb)->end_seq; in mptcp_data_queue_ofo()
258 if (!before64(seq, MPTCP_SKB_CB(msk->ooo_last_skb)->end_seq)) { in mptcp_data_queue_ofo()
270 if (before64(seq, MPTCP_SKB_CB(skb1)->map_seq)) { in mptcp_data_queue_ofo()
274 if (before64(seq, MPTCP_SKB_CB(skb1)->end_seq)) { in mptcp_data_queue_ofo()
275 if (!after64(end_seq, MPTCP_SKB_CB(skb1)->end_seq)) { in mptcp_data_queue_ofo()
281 if (after64(seq, MPTCP_SKB_CB(skb1)->map_seq)) { in mptcp_data_queue_ofo()
312 if (before64(end_seq, MPTCP_SKB_CB(skb1)->end_seq)) in mptcp_data_queue_ofo()
369 MPTCP_SKB_CB(skb)->map_seq = mptcp_subflow_get_mapped_dsn(subflow); in __mptcp_move_skb()
370 MPTCP_SKB_CB(skb)->end_seq = MPTCP_SKB_CB(skb)->map_seq + copy_len; in __mptcp_move_skb()
371 MPTCP_SKB_CB(skb)->offset = offset; in __mptcp_move_skb()
372 MPTCP_SKB_CB(skb)->has_rxtstamp = has_rxtstamp; in __mptcp_move_skb()
374 if (MPTCP_SKB_CB(skb)->map_seq == msk->ack_seq) { in __mptcp_move_skb()
384 } else if (after64(MPTCP_SKB_CB(skb)->map_seq, msk->ack_seq)) { in __mptcp_move_skb()
733 if (after64(MPTCP_SKB_CB(skb)->map_seq, msk->ack_seq)) in __mptcp_ofo_queue()
739 if (unlikely(!after64(MPTCP_SKB_CB(skb)->end_seq, in __mptcp_ofo_queue()
746 end_seq = MPTCP_SKB_CB(skb)->end_seq; in __mptcp_ofo_queue()
749 int delta = msk->ack_seq - MPTCP_SKB_CB(skb)->map_seq; in __mptcp_ofo_queue()
753 MPTCP_SKB_CB(skb)->map_seq, msk->ack_seq, in __mptcp_ofo_queue()
755 MPTCP_SKB_CB(skb)->offset += delta; in __mptcp_ofo_queue()
756 MPTCP_SKB_CB(skb)->map_seq += delta; in __mptcp_ofo_queue()
1852 u32 offset = MPTCP_SKB_CB(skb)->offset; in __mptcp_recvmsg_mskq()
1866 if (MPTCP_SKB_CB(skb)->has_rxtstamp) { in __mptcp_recvmsg_mskq()
1875 MPTCP_SKB_CB(skb)->offset += count; in __mptcp_recvmsg_mskq()
1876 MPTCP_SKB_CB(skb)->map_seq += count; in __mptcp_recvmsg_mskq()
2063 u64 hint_val = msk->ack_seq - MPTCP_SKB_CB(skb)->map_seq; in mptcp_inq_hint()