Home
last modified time | relevance | path

Searched refs:tcp_sk (Results 1 – 4 of 4) sorted by relevance

/tools/testing/selftests/bpf/progs/
Dtcp_rtt.c27 struct bpf_tcp_sock *tcp_sk; in _sockops() local
48 tcp_sk = bpf_tcp_sock(sk); in _sockops()
49 if (!tcp_sk) in _sockops()
54 storage->dsack_dups = tcp_sk->dsack_dups; in _sockops()
55 storage->delivered = tcp_sk->delivered; in _sockops()
56 storage->delivered_ce = tcp_sk->delivered_ce; in _sockops()
57 storage->icsk_retransmits = tcp_sk->icsk_retransmits; in _sockops()
Dbpf_dctcp.c61 const struct tcp_sock *tp = tcp_sk(sk); in BPF_PROG()
102 struct tcp_sock *tp = tcp_sk(sk); in BPF_PROG()
111 const struct tcp_sock *tp = tcp_sk(sk); in BPF_PROG()
141 struct tcp_sock *tp = tcp_sk(sk); in dctcp_react_to_loss()
160 struct tcp_sock *tp = tcp_sk(sk); in dctcp_ece_ack_cwr()
190 *prior_rcv_nxt = tcp_sk(sk)->rcv_nxt; in dctcp_ece_ack_update()
219 return max(tcp_sk(sk)->snd_cwnd, ca->loss_cwnd); in BPF_PROG()
Dbpf_cubic.c158 return tcp_sk(sk)->tcp_mstamp; in bictcp_clock_us()
163 struct tcp_sock *tp = tcp_sk(sk); in bictcp_hystart_reset()
188 tcp_sk(sk)->snd_ssthresh = initial_ssthresh; in BPF_PROG()
202 delta = now - tcp_sk(sk)->lsndtime; in BPF_PROG()
389 struct tcp_sock *tp = tcp_sk(sk); in BPF_STRUCT_OPS()
408 const struct tcp_sock *tp = tcp_sk(sk); in BPF_STRUCT_OPS()
455 struct tcp_sock *tp = tcp_sk(sk); in hystart_update()
502 const struct tcp_sock *tp = tcp_sk(sk); in BPF_STRUCT_OPS()
/tools/testing/selftests/bpf/
Dbpf_tcp_helpers.h96 static __always_inline struct tcp_sock *tcp_sk(const struct sock *sk) in tcp_sk() function
202 const struct tcp_sock *tp = tcp_sk(sk); in tcp_is_cwnd_limited()