Searched refs:tcp_sock (Results 1 – 17 of 17) sorted by relevance
/tools/testing/selftests/bpf/progs/ |
D | tcp_ca_write_sk_pacing.c | 14 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()
|
D | tcp_ca_incompl_cong_ops.c | 10 static inline struct tcp_sock *tcp_sk(const struct sock *sk) in tcp_sk() 12 return (struct tcp_sock *)sk; in tcp_sk()
|
D | bpf_dctcp.c | 51 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()
|
D | tcp_ca_update.c | 13 static inline struct tcp_sock *tcp_sk(const struct sock *sk) in tcp_sk() 15 return (struct tcp_sock *)sk; in tcp_sk()
|
D | cgrp_ls_attach_cgroup.c | 27 struct tcp_sock *tcp_sk; in set_cookie() 56 struct tcp_sock *tcp_sk; in update_cookie_sockops()
|
D | bpf_iter_tcp4.c | 69 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()
|
D | test_btf_skc_cls_ingress.c | 28 struct tcp_sock *tp, in test_syncookie_helper() 120 struct tcp_sock *tp; in handle_ip6_tcp()
|
D | bpf_cubic.c | 163 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()
|
D | bpf_iter_setsockopt.c | 43 struct tcp_sock *tp; in change_tcp_cc()
|
D | mptcp_sock.c | 34 struct tcp_sock *tsk; in _sockops()
|
D | test_tcpbpf_kern.c | 31 struct tcp_sock *tp; in get_tp_window_clamp()
|
D | bpf_iter.h | 98 struct tcp_sock tcp;
|
D | bpf_iter_tcp6.c | 69 static bool tcp_in_initial_slowstart(const struct tcp_sock *tcp) in tcp_in_initial_slowstart()
|
D | test_sock_fields.c | 129 struct tcp_sock *ktp; in egress_read_sock_fields()
|
/tools/testing/selftests/bpf/ |
D | bpf_tcp_helpers.h | 62 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/ |
D | btf_ids.h | 185 BTF_SOCK_TYPE(BTF_SOCK_TYPE_TCP, tcp_sock) \
|
/tools/include/uapi/linux/ |
D | bpf.h | 5768 FN(tcp_sock, 96, ##ctx) \
|