Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H A Dtest_sock_fields.c45 struct bpf_tcp_sock listen_tp = {};
47 struct bpf_tcp_sock cli_tp = {};
48 struct bpf_tcp_sock srv_tp = {};
85 static void tpcpy(struct bpf_tcp_sock *dst, in tpcpy()
86 const struct bpf_tcp_sock *src) in tpcpy()
126 struct bpf_tcp_sock *tp, *tp_ret; in egress_read_sock_fields()
166 tp = bpf_tcp_sock(sk); in egress_read_sock_fields()
220 struct bpf_tcp_sock *tp; in ingress_read_sock_fields()
244 tp = bpf_tcp_sock(sk); in ingress_read_sock_fields()
H A Dtcp_rtt.c27 struct bpf_tcp_sock *tcp_sk; in _sockops()
48 tcp_sk = bpf_tcp_sock(sk); in _sockops()
/OK3568_Linux_fs/kernel/samples/bpf/
H A Dtcp_dumpstats_kern.c28 struct bpf_tcp_sock *tcp_sk; in _sockops()
56 tcp_sk = bpf_tcp_sock(sk); in _sockops()
H A Dhbm_kern.h87 struct bpf_tcp_sock *tp; in get_tcp_info()
94 tp = bpf_tcp_sock(sk); in get_tcp_info()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/verifier/
H A Dsock.c328 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0, offsetof(struct bpf_tcp_sock, snd_cwnd)),
346 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0, offsetof(struct bpf_tcp_sock, snd_cwnd)),
363 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_0, offsetof(struct bpf_tcp_sock, bytes_acked)),
380 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_0, offsetofend(struct bpf_tcp_sock, bytes_acked)),
402 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0, offsetof(struct bpf_tcp_sock, snd_cwnd)),
H A 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)),
/OK3568_Linux_fs/kernel/net/core/
H A Dfilter.c6236 if (off < 0 || off >= offsetofend(struct bpf_tcp_sock, in bpf_tcp_sock_is_valid_access()
6244 case offsetof(struct bpf_tcp_sock, bytes_received): in bpf_tcp_sock_is_valid_access()
6245 case offsetof(struct bpf_tcp_sock, bytes_acked): in bpf_tcp_sock_is_valid_access()
6262 sizeof_field(struct bpf_tcp_sock, FIELD)); \ in bpf_tcp_sock_convert_ctx_access()
6272 sizeof_field(struct bpf_tcp_sock, FIELD)); \ in bpf_tcp_sock_convert_ctx_access()
6286 case offsetof(struct bpf_tcp_sock, rtt_min): in bpf_tcp_sock_convert_ctx_access()
6296 case offsetof(struct bpf_tcp_sock, snd_cwnd): in bpf_tcp_sock_convert_ctx_access()
6299 case offsetof(struct bpf_tcp_sock, srtt_us): in bpf_tcp_sock_convert_ctx_access()
6302 case offsetof(struct bpf_tcp_sock, snd_ssthresh): in bpf_tcp_sock_convert_ctx_access()
6305 case offsetof(struct bpf_tcp_sock, rcv_nxt): in bpf_tcp_sock_convert_ctx_access()
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A Dsock_fields.c84 static void print_tp(const struct bpf_tcp_sock *tp, const char *prefix) in print_tp()
104 struct bpf_tcp_sock srv_tp, cli_tp, listen_tp; in check_result()
/OK3568_Linux_fs/kernel/tools/include/uapi/linux/
H A Dbpf.h4191 struct bpf_tcp_sock { struct
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dbpf.h4191 struct bpf_tcp_sock { struct