Home
last modified time | relevance | path

Searched refs:sk_common (Results 1 - 11 of 11) sorted by relevance

/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dsock_destroy_prog.c51 struct sock_common *sk_common = ctx->sk_common; in iter_tcp6_client() local
56 if (!sk_common) in iter_tcp6_client()
59 if (sk_common->skc_family != AF_INET6) in iter_tcp6_client()
62 sock_cookie = bpf_get_socket_cookie(sk_common); in iter_tcp6_client()
68 bpf_sock_destroy(sk_common); in iter_tcp6_client()
76 struct sock_common *sk_common = ctx->sk_common; in iter_tcp6_server() local
82 if (!sk_common) in iter_tcp6_server()
85 if (sk_common in iter_tcp6_server()
[all...]
H A Dbpf_iter_bpf_sk_storage_helpers.c52 struct sock_common *sk_common = ctx->sk_common; in negate_socket_local_storage() local
55 if (!sk_common) in negate_socket_local_storage()
58 sock_tgid = bpf_sk_storage_get(&sk_stg_map, sk_common, 0, 0); in negate_socket_local_storage()
H A Dbpf_iter_tcp4.c198 struct sock_common *sk_common = ctx->sk_common; in dump_tcp4() local
206 if (sk_common == (void *)0) in dump_tcp4()
217 if (sk_common->skc_family != AF_INET) in dump_tcp4()
220 tp = bpf_skc_to_tcp_sock(sk_common); in dump_tcp4()
224 tw = bpf_skc_to_tcp_timewait_sock(sk_common); in dump_tcp4()
228 req = bpf_skc_to_tcp_request_sock(sk_common); in dump_tcp4()
H A Dbpf_iter_tcp6.c214 struct sock_common *sk_common = ctx->sk_common; in dump_tcp6() local
222 if (sk_common == (void *)0) in dump_tcp6()
233 if (sk_common->skc_family != AF_INET6) in dump_tcp6()
236 tp = bpf_skc_to_tcp6_sock(sk_common); in dump_tcp6()
240 tw = bpf_skc_to_tcp_timewait_sock(sk_common); in dump_tcp6()
244 req = bpf_skc_to_tcp_request_sock(sk_common); in dump_tcp6()
H A Dbpf_iter_setsockopt.c46 if (!bpf_tcp_sk(ctx->sk_common)) in change_tcp_cc()
H A Dbpf_iter.h93 struct sock_common *sk_common; member
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A 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()
H A 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()
H A Dbpf_iter.h77 struct sock_common *sk_common; member
/kernel/linux/linux-5.10/net/ipv4/
H A Dtcp_ipv4.c2696 __bpf_md_ptr(struct sock_common *, sk_common);
2701 struct sock_common *sk_common, uid_t uid) in tcp_prog_seq_show()
2707 ctx.sk_common = sk_common; in tcp_prog_seq_show()
2960 struct sock_common *sk_common, uid_t uid)
2999 { offsetof(struct bpf_iter__tcp, sk_common),
2700 tcp_prog_seq_show(struct bpf_prog *prog, struct bpf_iter_meta *meta, struct sock_common *sk_common, uid_t uid) tcp_prog_seq_show() argument
/kernel/linux/linux-6.6/net/ipv4/
H A Dtcp_ipv4.c2774 __bpf_md_ptr(struct sock_common *, sk_common);
2779 struct sock_common *sk_common, uid_t uid) in tcp_prog_seq_show()
2785 ctx.sk_common = sk_common; in tcp_prog_seq_show()
3314 struct sock_common *sk_common, uid_t uid)
3369 { offsetof(struct bpf_iter__tcp, sk_common),
2778 tcp_prog_seq_show(struct bpf_prog *prog, struct bpf_iter_meta *meta, struct sock_common *sk_common, uid_t uid) tcp_prog_seq_show() argument

Completed in 12 milliseconds