Home
last modified time | relevance | path

Searched refs:bpf_tcp_sock (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dtest_sock_fields.c44 struct bpf_tcp_sock listen_tp = {};
46 struct bpf_tcp_sock cli_tp = {};
47 struct bpf_tcp_sock srv_tp = {};
84 static void tpcpy(struct bpf_tcp_sock *dst, in tpcpy()
85 const struct bpf_tcp_sock *src) in tpcpy()
125 struct bpf_tcp_sock *tp, *tp_ret; in egress_read_sock_fields()
165 tp = bpf_tcp_sock(sk); in egress_read_sock_fields()
219 struct bpf_tcp_sock *tp; in ingress_read_sock_fields()
243 tp = bpf_tcp_sock(sk); in ingress_read_sock_fields()
Dtcp_rtt.c27 struct bpf_tcp_sock *tcp_sk; in _sockops()
48 tcp_sk = bpf_tcp_sock(sk); in _sockops()
/kernel/linux/linux-5.10/samples/bpf/
Dtcp_dumpstats_kern.c28 struct bpf_tcp_sock *tcp_sk; in _sockops()
56 tcp_sk = bpf_tcp_sock(sk); in _sockops()
Dhbm_kern.h87 struct bpf_tcp_sock *tp; in get_tcp_info()
94 tp = bpf_tcp_sock(sk); in get_tcp_info()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/verifier/
Dsock.c253 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0, offsetof(struct bpf_tcp_sock, snd_cwnd)),
271 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0, offsetof(struct bpf_tcp_sock, snd_cwnd)),
288 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_0, offsetof(struct bpf_tcp_sock, bytes_acked)),
305 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_0, offsetofend(struct bpf_tcp_sock, bytes_acked)),
327 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0, offsetof(struct bpf_tcp_sock, snd_cwnd)),
Dref_tracking.c672 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_7, offsetof(struct bpf_tcp_sock, snd_cwnd)),
815 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_8, offsetof(struct bpf_tcp_sock, snd_cwnd)),
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dsock_fields.c73 static void print_tp(const struct bpf_tcp_sock *tp, const char *prefix) in print_tp()
93 struct bpf_tcp_sock srv_tp, cli_tp, listen_tp; in check_result()
/kernel/linux/linux-5.10/net/core/
Dfilter.c6229 if (off < 0 || off >= offsetofend(struct bpf_tcp_sock, in bpf_tcp_sock_is_valid_access()
6237 case offsetof(struct bpf_tcp_sock, bytes_received): in bpf_tcp_sock_is_valid_access()
6238 case offsetof(struct bpf_tcp_sock, bytes_acked): in bpf_tcp_sock_is_valid_access()
6255 sizeof_field(struct bpf_tcp_sock, FIELD)); \ in bpf_tcp_sock_convert_ctx_access()
6265 sizeof_field(struct bpf_tcp_sock, FIELD)); \ in bpf_tcp_sock_convert_ctx_access()
6279 case offsetof(struct bpf_tcp_sock, rtt_min): in bpf_tcp_sock_convert_ctx_access()
6289 case offsetof(struct bpf_tcp_sock, snd_cwnd): in bpf_tcp_sock_convert_ctx_access()
6292 case offsetof(struct bpf_tcp_sock, srtt_us): in bpf_tcp_sock_convert_ctx_access()
6295 case offsetof(struct bpf_tcp_sock, snd_ssthresh): in bpf_tcp_sock_convert_ctx_access()
6298 case offsetof(struct bpf_tcp_sock, rcv_nxt): in bpf_tcp_sock_convert_ctx_access()
[all …]
/kernel/linux/linux-5.10/tools/include/uapi/linux/
Dbpf.h4190 struct bpf_tcp_sock { struct
/kernel/linux/linux-5.10/include/uapi/linux/
Dbpf.h4190 struct bpf_tcp_sock { struct
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dbpf.h639 struct bpf_tcp_sock { struct