Searched refs:sk_common (Results 1 – 7 of 7) sorted by relevance
51 struct sock_common *sk_common = ctx->sk_common; in iter_tcp6_client() local56 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() local82 if (!sk_common) in iter_tcp6_server()85 if (sk_common->skc_family != AF_INET6) in iter_tcp6_server()88 tcp_sk = bpf_skc_to_tcp6_sock(sk_common); in iter_tcp6_server()98 bpf_sock_destroy(sk_common); in iter_tcp6_server()
52 struct sock_common *sk_common = ctx->sk_common; in negate_socket_local_storage() local55 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()
198 struct sock_common *sk_common = ctx->sk_common; in dump_tcp4() local206 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()
214 struct sock_common *sk_common = ctx->sk_common; in dump_tcp6() local222 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()
46 if (!bpf_tcp_sk(ctx->sk_common)) in change_tcp_cc()
93 struct sock_common *sk_common; member
2774 __bpf_md_ptr(struct sock_common *, sk_common);2779 struct sock_common *sk_common, uid_t uid) in tcp_prog_seq_show() argument2785 ctx.sk_common = sk_common; in tcp_prog_seq_show()3314 struct sock_common *sk_common, uid_t uid) in DEFINE_BPF_ITER_FUNC() argument3369 { offsetof(struct bpf_iter__tcp, sk_common),