Searched refs:bpf_tcp_sock (Results 1 – 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
D | test_sock_fields.c | 44 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()
|
D | tcp_rtt.c | 27 struct bpf_tcp_sock *tcp_sk; in _sockops() 48 tcp_sk = bpf_tcp_sock(sk); in _sockops()
|
/kernel/linux/linux-5.10/samples/bpf/ |
D | tcp_dumpstats_kern.c | 28 struct bpf_tcp_sock *tcp_sk; in _sockops() 56 tcp_sk = bpf_tcp_sock(sk); in _sockops()
|
D | hbm_kern.h | 87 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/ |
D | sock.c | 253 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)),
|
D | ref_tracking.c | 672 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/ |
D | sock_fields.c | 73 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/ |
D | filter.c | 6229 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/ |
D | bpf.h | 4190 struct bpf_tcp_sock { struct
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | bpf.h | 4190 struct bpf_tcp_sock { struct
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | bpf.h | 639 struct bpf_tcp_sock { struct
|