Lines Matching refs:next_skb

2696 	struct sk_buff *next_skb = skb->next;  in tcp_grow_skb()  local
2702 if (!tcp_skb_can_collapse(skb, next_skb)) in tcp_grow_skb()
2705 nlen = min_t(u32, amount, next_skb->len); in tcp_grow_skb()
2706 if (!nlen || !skb_shift(skb, next_skb, nlen)) in tcp_grow_skb()
2710 TCP_SKB_CB(next_skb)->seq += nlen; in tcp_grow_skb()
2712 if (!next_skb->len) { in tcp_grow_skb()
2714 TCP_SKB_CB(skb)->end_seq = TCP_SKB_CB(next_skb)->end_seq; in tcp_grow_skb()
2716 tcp_eat_one_skb(sk, skb, next_skb); in tcp_grow_skb()
3203 const struct sk_buff *next_skb) in tcp_skb_collapse_tstamp() argument
3205 if (unlikely(tcp_has_tx_tstamp(next_skb))) { in tcp_skb_collapse_tstamp()
3207 skb_shinfo(next_skb); in tcp_skb_collapse_tstamp()
3213 TCP_SKB_CB(next_skb)->txstamp_ack; in tcp_skb_collapse_tstamp()
3221 struct sk_buff *next_skb = skb_rb_next(skb); in tcp_collapse_retrans() local
3224 next_skb_size = next_skb->len; in tcp_collapse_retrans()
3226 BUG_ON(tcp_skb_pcount(skb) != 1 || tcp_skb_pcount(next_skb) != 1); in tcp_collapse_retrans()
3228 if (next_skb_size && !tcp_skb_shift(skb, next_skb, 1, next_skb_size)) in tcp_collapse_retrans()
3231 tcp_highest_sack_replace(sk, next_skb, skb); in tcp_collapse_retrans()
3234 TCP_SKB_CB(skb)->end_seq = TCP_SKB_CB(next_skb)->end_seq; in tcp_collapse_retrans()
3237 TCP_SKB_CB(skb)->tcp_flags |= TCP_SKB_CB(next_skb)->tcp_flags; in tcp_collapse_retrans()
3242 TCP_SKB_CB(skb)->sacked |= TCP_SKB_CB(next_skb)->sacked & TCPCB_EVER_RETRANS; in tcp_collapse_retrans()
3243 TCP_SKB_CB(skb)->eor = TCP_SKB_CB(next_skb)->eor; in tcp_collapse_retrans()
3247 if (next_skb == tp->retransmit_skb_hint) in tcp_collapse_retrans()
3250 tcp_adjust_pcount(sk, next_skb, tcp_skb_pcount(next_skb)); in tcp_collapse_retrans()
3252 tcp_skb_collapse_tstamp(skb, next_skb); in tcp_collapse_retrans()
3254 tcp_rtx_queue_unlink_and_free(next_skb, sk); in tcp_collapse_retrans()