Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
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()
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()
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()
A Dbpf_iter_setsockopt.c47 if (!bpf_tcp_sk(ctx->sk_common)) in change_tcp_cc()
A Dbpf_iter.h87 struct sock_common *sk_common; member
/linux/net/ipv4/
A Dtcp_ipv4.c2724 __bpf_md_ptr(struct sock_common *, sk_common);
2729 struct sock_common *sk_common, uid_t uid) in tcp_prog_seq_show() argument
2735 ctx.sk_common = sk_common; in tcp_prog_seq_show()
3247 struct sock_common *sk_common, uid_t uid) in DEFINE_BPF_ITER_FUNC() argument
3302 { offsetof(struct bpf_iter__tcp, sk_common),

Completed in 12 milliseconds