Home
last modified time | relevance | path

Searched refs:tcb (Results 1 – 2 of 2) sorted by relevance

/net/ipv4/
Dtcp_output.c1257 struct tcp_skb_cb *tcb; in __tcp_transmit_skb() local
1290 tcb = TCP_SKB_CB(skb); in __tcp_transmit_skb()
1293 if (unlikely(tcb->tcp_flags & TCPHDR_SYN)) { in __tcp_transmit_skb()
1307 tcb->tcp_flags |= TCPHDR_PSH; in __tcp_transmit_skb()
1348 th->seq = htonl(tcb->seq); in __tcp_transmit_skb()
1351 tcb->tcp_flags); in __tcp_transmit_skb()
1357 if (unlikely(tcp_urg_mode(tp) && before(tcb->seq, tp->snd_up))) { in __tcp_transmit_skb()
1358 if (before(tp->snd_up, tcb->seq + 0x10000)) { in __tcp_transmit_skb()
1359 th->urg_ptr = htons(tp->snd_up - tcb->seq); in __tcp_transmit_skb()
1361 } else if (after(tcb->seq + 0xFFFF, tp->snd_nxt)) { in __tcp_transmit_skb()
[all …]
Dtcp.c474 struct tcp_skb_cb *tcb = TCP_SKB_CB(skb); in tcp_tx_timestamp() local
478 tcb->txstamp_ack = 1; in tcp_tx_timestamp()
666 struct tcp_skb_cb *tcb = TCP_SKB_CB(skb); in tcp_skb_entail() local
668 tcb->seq = tcb->end_seq = tp->write_seq; in tcp_skb_entail()
669 tcb->tcp_flags = TCPHDR_ACK; in tcp_skb_entail()