Home
last modified time | relevance | path

Searched refs:sk_common (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dbpf_iter_tcp4.c199 struct sock_common *sk_common = ctx->sk_common; in dump_tcp4() local
207 if (sk_common == (void *)0) in dump_tcp4()
218 if (sk_common->skc_family != AF_INET) in dump_tcp4()
221 tp = bpf_skc_to_tcp_sock(sk_common); in dump_tcp4()
225 tw = bpf_skc_to_tcp_timewait_sock(sk_common); in dump_tcp4()
229 req = bpf_skc_to_tcp_request_sock(sk_common); in dump_tcp4()
Dbpf_iter_tcp6.c215 struct sock_common *sk_common = ctx->sk_common; in dump_tcp6() local
223 if (sk_common == (void *)0) in dump_tcp6()
234 if (sk_common->skc_family != AF_INET6) in dump_tcp6()
237 tp = bpf_skc_to_tcp6_sock(sk_common); in dump_tcp6()
241 tw = bpf_skc_to_tcp_timewait_sock(sk_common); in dump_tcp6()
245 req = bpf_skc_to_tcp_request_sock(sk_common); in dump_tcp6()
Dbpf_iter.h77 struct sock_common *sk_common; member
/kernel/linux/linux-5.10/net/ipv4/
Dtcp_ipv4.c2680 __bpf_md_ptr(struct sock_common *, sk_common);
2685 struct sock_common *sk_common, uid_t uid) in tcp_prog_seq_show() argument
2691 ctx.sk_common = sk_common; in tcp_prog_seq_show()
2974 struct sock_common *sk_common, uid_t uid) in DEFINE_BPF_ITER_FUNC() argument
3013 { offsetof(struct bpf_iter__tcp, sk_common),