Home
last modified time | relevance | path

Searched refs:tcp_sock (Results 1 – 17 of 17) sorted by relevance

/tools/testing/selftests/bpf/progs/
Dtcp_ca_write_sk_pacing.c14 static inline struct tcp_sock *tcp_sk(const struct sock *sk) in tcp_sk()
16 return (struct tcp_sock *)sk; in tcp_sk()
19 static inline unsigned int tcp_left_out(const struct tcp_sock *tp) in tcp_left_out()
24 static inline unsigned int tcp_packets_in_flight(const struct tcp_sock *tp) in tcp_packets_in_flight()
44 struct tcp_sock *tp = tcp_sk(sk); in BPF_PROG()
Dtcp_ca_incompl_cong_ops.c10 static inline struct tcp_sock *tcp_sk(const struct sock *sk) in tcp_sk()
12 return (struct tcp_sock *)sk; in tcp_sk()
Dbpf_dctcp.c51 static __always_inline void dctcp_reset(const struct tcp_sock *tp, in dctcp_reset()
63 const struct tcp_sock *tp = tcp_sk(sk); in BPF_PROG()
111 struct tcp_sock *tp = tcp_sk(sk); in BPF_PROG()
120 const struct tcp_sock *tp = tcp_sk(sk); in BPF_PROG()
150 struct tcp_sock *tp = tcp_sk(sk); in dctcp_react_to_loss()
169 struct tcp_sock *tp = tcp_sk(sk); in dctcp_ece_ack_cwr()
Dtcp_ca_update.c13 static inline struct tcp_sock *tcp_sk(const struct sock *sk) in tcp_sk()
15 return (struct tcp_sock *)sk; in tcp_sk()
Dcgrp_ls_attach_cgroup.c27 struct tcp_sock *tcp_sk; in set_cookie()
56 struct tcp_sock *tcp_sk; in update_cookie_sockops()
Dbpf_iter_tcp4.c69 static bool tcp_in_initial_slowstart(const struct tcp_sock *tcp) in tcp_in_initial_slowstart()
74 static int dump_tcp_sock(struct seq_file *seq, struct tcp_sock *tp, in dump_tcp_sock()
202 struct tcp_sock *tp; in dump_tcp4()
Dtest_btf_skc_cls_ingress.c28 struct tcp_sock *tp, in test_syncookie_helper()
120 struct tcp_sock *tp; in handle_ip6_tcp()
Dbpf_cubic.c163 struct tcp_sock *tp = tcp_sk(sk); in bictcp_hystart_reset()
383 struct tcp_sock *tp = tcp_sk(sk); in BPF_STRUCT_OPS()
402 const struct tcp_sock *tp = tcp_sk(sk); in BPF_STRUCT_OPS()
449 struct tcp_sock *tp = tcp_sk(sk); in hystart_update()
498 const struct tcp_sock *tp = tcp_sk(sk); in BPF_STRUCT_OPS()
Dbpf_iter_setsockopt.c43 struct tcp_sock *tp; in change_tcp_cc()
Dmptcp_sock.c34 struct tcp_sock *tsk; in _sockops()
Dtest_tcpbpf_kern.c31 struct tcp_sock *tp; in get_tp_window_clamp()
Dbpf_iter.h98 struct tcp_sock tcp;
Dbpf_iter_tcp6.c69 static bool tcp_in_initial_slowstart(const struct tcp_sock *tcp) in tcp_in_initial_slowstart()
Dtest_sock_fields.c129 struct tcp_sock *ktp; in egress_read_sock_fields()
/tools/testing/selftests/bpf/
Dbpf_tcp_helpers.h62 struct tcp_sock { struct
101 static __always_inline struct tcp_sock *tcp_sk(const struct sock *sk) in tcp_sk() argument
103 return (struct tcp_sock *)sk; in tcp_sk()
200 static __always_inline bool tcp_in_slow_start(const struct tcp_sock *tp) in tcp_in_slow_start()
207 const struct tcp_sock *tp = tcp_sk(sk); in tcp_is_cwnd_limited()
230 extern __u32 tcp_slow_start(struct tcp_sock *tp, __u32 acked) __ksym;
231 extern void tcp_cong_avoid_ai(struct tcp_sock *tp, __u32 w, __u32 acked) __ksym;
/tools/include/linux/
Dbtf_ids.h185 BTF_SOCK_TYPE(BTF_SOCK_TYPE_TCP, tcp_sock) \
/tools/include/uapi/linux/
Dbpf.h5768 FN(tcp_sock, 96, ##ctx) \