Home
last modified time | relevance | path

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

/net/ipv4/
Dtcp_output.c1241 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()
[all …]
Dtcp.c478 struct tcp_skb_cb *tcb = TCP_SKB_CB(skb); in tcp_tx_timestamp() local
482 tcb->txstamp_ack = 1; in tcp_tx_timestamp()
666 struct tcp_skb_cb *tcb = TCP_SKB_CB(skb); in tcp_skb_entail() local
669 tcb->seq = tcb->end_seq = tp->write_seq; in tcp_skb_entail()
670 tcb->tcp_flags = TCPHDR_ACK; in tcp_skb_entail()
671 tcb->sacked = 0; in tcp_skb_entail()