Lines Matching refs:tcb
1241 struct tcp_skb_cb *tcb; in __tcp_transmit_skb() local
1276 tcb = TCP_SKB_CB(skb); in __tcp_transmit_skb()
1279 if (unlikely(tcb->tcp_flags & TCPHDR_SYN)) { in __tcp_transmit_skb()
1293 tcb->tcp_flags |= TCPHDR_PSH; in __tcp_transmit_skb()
1327 th->seq = htonl(tcb->seq); in __tcp_transmit_skb()
1330 tcb->tcp_flags); in __tcp_transmit_skb()
1336 if (unlikely(tcp_urg_mode(tp) && before(tcb->seq, tp->snd_up))) { in __tcp_transmit_skb()
1337 if (before(tp->snd_up, tcb->seq + 0x10000)) { in __tcp_transmit_skb()
1338 th->urg_ptr = htons(tp->snd_up - tcb->seq); in __tcp_transmit_skb()
1340 } else if (after(tcb->seq + 0xFFFF, tp->snd_nxt)) { in __tcp_transmit_skb()
1347 if (likely(!(tcb->tcp_flags & TCPHDR_SYN))) { in __tcp_transmit_skb()
1375 if (likely(tcb->tcp_flags & TCPHDR_ACK)) in __tcp_transmit_skb()
1384 if (after(tcb->end_seq, tp->snd_nxt) || tcb->seq == tcb->end_seq) in __tcp_transmit_skb()
3750 struct tcp_skb_cb *tcb = TCP_SKB_CB(skb); in tcp_connect_queue_skb() local
3752 tcb->end_seq += skb->len; in tcp_connect_queue_skb()
3756 WRITE_ONCE(tp->write_seq, tcb->end_seq); in tcp_connect_queue_skb()