Home
last modified time | relevance | path

Searched refs:sk_cgrp_data (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.15/net/netfilter/
Dxt_cgroup.c109 return (info->id == sock_cgroup_classid(&skb->sk->sk_cgrp_data)) ^ in cgroup_mt_v0()
116 struct sock_cgroup_data *skcd = &skb->sk->sk_cgrp_data; in cgroup_mt_v1()
134 struct sock_cgroup_data *skcd = &skb->sk->sk_cgrp_data; in cgroup_mt_v2()
Dnft_socket.c47 cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in nft_sock_get_eval_cgroupv2()
Dnft_meta.c174 *dest = sock_cgroup_classid(&sk->sk_cgrp_data); in nft_meta_get_eval_cgroup()
/Linux-v5.15/include/net/
Dcls_cgroup.h73 classid = sock_cgroup_classid(&sk->sk_cgrp_data); in task_get_classid()
Dsock.h517 struct sock_cgroup_data sk_cgrp_data; member
1330 return cgroup_is_descendant(sock_cgroup_ptr(&sk->sk_cgrp_data), in sk_under_cgroup_hierarchy()
/Linux-v5.15/net/core/
Dnetclassid_cgroup.c75 sock_cgroup_set_classid(&sock->sk->sk_cgrp_data, ctx->classid); in update_classid_sock()
Dnetprio_cgroup.c224 sock_cgroup_set_prioidx(&sock->sk->sk_cgrp_data, in update_netprio()
Dsock.c1869 cgroup_sk_free(&sk->sk_cgrp_data); in sk_prot_free()
1912 cgroup_sk_alloc(&sk->sk_cgrp_data); in sk_alloc()
1913 sock_update_classid(&sk->sk_cgrp_data); in sk_alloc()
1914 sock_update_netprioidx(&sk->sk_cgrp_data); in sk_alloc()
2076 cgroup_sk_clone(&newsk->sk_cgrp_data); in sk_clone_lock()
2985 sock_update_netprioidx(&sock->sk->sk_cgrp_data); in __receive_sock()
2986 sock_update_classid(&sock->sk->sk_cgrp_data); in __receive_sock()
Dfilter.c3022 return sock_cgroup_classid(&sk->sk_cgrp_data); in BPF_CALL_1()
4467 cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __bpf_sk_cgroup_id()
4493 cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __bpf_sk_ancestor_cgroup_id()
Ddev.c3895 prioidx = sock_cgroup_prioidx(&sk->sk_cgrp_data); in skb_update_prio()
/Linux-v5.15/kernel/bpf/
Dcgroup.c1033 cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_filter_skb()
1073 struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_filter_sk()
1122 cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_filter_sock_addr()
1150 struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_filter_sock_ops()
1384 struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_filter_setsockopt()
1479 struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_filter_getsockopt()
1569 struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_filter_getsockopt_kern()
/Linux-v5.15/net/ipv4/
Dinet_diag.c161 classid = sock_cgroup_classid(&sk->sk_cgrp_data); in inet_diag_msg_attrs_fill()
176 cgroup_id(sock_cgroup_ptr(&sk->sk_cgrp_data)), in inet_diag_msg_attrs_fill()
813 cgroup_id(sock_cgroup_ptr(&sk->sk_cgrp_data)) : 0; in inet_diag_bc_sk()
/Linux-v5.15/net/mptcp/
Dsubflow.c1469 struct sock_cgroup_data *parent_skcd = &parent->sk_cgrp_data, in mptcp_attach_cgroup()
1470 *child_skcd = &child->sk_cgrp_data; in mptcp_attach_cgroup()