Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/progs/
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()
Dtcp_rtt.c27 struct bpf_tcp_sock *tcp_sk; in _sockops()
48 tcp_sk = bpf_tcp_sock(sk); in _sockops()
/tools/testing/selftests/bpf/verifier/
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)),
Dref_tracking.c672 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_7, offsetof(struct bpf_tcp_sock, snd_cwnd)),
819 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_8, offsetof(struct bpf_tcp_sock, snd_cwnd)),
/tools/testing/selftests/bpf/prog_tests/
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()
/tools/include/uapi/linux/
Dbpf.h5363 struct bpf_tcp_sock { struct