Home
last modified time | relevance | path

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

/net/core/
Dsock_map.c502 struct tcp_skb_cb *tcb = TCP_SKB_CB(skb); in BPF_CALL_4() local
506 tcb->bpf.flags = flags; in BPF_CALL_4()
507 tcb->bpf.sk_redir = __sock_map_lookup_elem(map, key); in BPF_CALL_4()
508 if (!tcb->bpf.sk_redir) in BPF_CALL_4()
990 struct tcp_skb_cb *tcb = TCP_SKB_CB(skb); in BPF_CALL_4() local
994 tcb->bpf.flags = flags; in BPF_CALL_4()
995 tcb->bpf.sk_redir = __sock_hash_lookup_elem(map, key); in BPF_CALL_4()
996 if (!tcb->bpf.sk_redir) in BPF_CALL_4()
/net/ipv4/
Dtcp_output.c1025 struct tcp_skb_cb *tcb; in __tcp_transmit_skb() local
1060 tcb = TCP_SKB_CB(skb); in __tcp_transmit_skb()
1063 if (unlikely(tcb->tcp_flags & TCPHDR_SYN)) { in __tcp_transmit_skb()
1077 tcb->tcp_flags |= TCPHDR_PSH; in __tcp_transmit_skb()
1112 th->seq = htonl(tcb->seq); in __tcp_transmit_skb()
1115 tcb->tcp_flags); in __tcp_transmit_skb()
1121 if (unlikely(tcp_urg_mode(tp) && before(tcb->seq, tp->snd_up))) { in __tcp_transmit_skb()
1122 if (before(tp->snd_up, tcb->seq + 0x10000)) { in __tcp_transmit_skb()
1123 th->urg_ptr = htons(tp->snd_up - tcb->seq); in __tcp_transmit_skb()
1125 } else if (after(tcb->seq + 0xFFFF, tp->snd_nxt)) { in __tcp_transmit_skb()
[all …]
Dtcp.c468 struct tcp_skb_cb *tcb = TCP_SKB_CB(skb); in tcp_tx_timestamp() local
472 tcb->txstamp_ack = 1; in tcp_tx_timestamp()
667 struct tcp_skb_cb *tcb = TCP_SKB_CB(skb); in skb_entail() local
670 tcb->seq = tcb->end_seq = tp->write_seq; in skb_entail()
671 tcb->tcp_flags = TCPHDR_ACK; in skb_entail()
672 tcb->sacked = 0; in skb_entail()