Home
last modified time | relevance | path

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

/Linux-v4.19/net/netfilter/
Dxt_cgroup.c80 return (info->id == sock_cgroup_classid(&skb->sk->sk_cgrp_data)) ^ in cgroup_mt_v0()
87 struct sock_cgroup_data *skcd = &skb->sk->sk_cgrp_data; in cgroup_mt_v1()
Dnft_meta.c222 *dest = sock_cgroup_classid(&sk->sk_cgrp_data); in nft_meta_get_eval()
/Linux-v4.19/include/net/
Dcls_cgroup.h73 classid = sock_cgroup_classid(&sk->sk_cgrp_data); in task_get_classid()
Dsock.h492 struct sock_cgroup_data sk_cgrp_data; member
1213 return cgroup_is_descendant(sock_cgroup_ptr(&sk->sk_cgrp_data), in sk_under_cgroup_hierarchy()
/Linux-v4.19/kernel/bpf/
Dcgroup.c535 cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_filter_skb()
563 struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_filter_sk()
609 cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_filter_sock_addr()
636 struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_filter_sock_ops()
/Linux-v4.19/net/core/
Dscm.c299 sock_update_netprioidx(&sock->sk->sk_cgrp_data); in scm_detach_fds()
300 sock_update_classid(&sock->sk->sk_cgrp_data); in scm_detach_fds()
Dnetclassid_cgroup.c67 sock_cgroup_set_classid(&sock->sk->sk_cgrp_data, in update_classid_sock()
Dnetprio_cgroup.c231 sock_cgroup_set_prioidx(&sock->sk->sk_cgrp_data, in update_netprio()
Dsock.c1499 cgroup_sk_free(&sk->sk_cgrp_data); in sk_prot_free()
1542 cgroup_sk_alloc(&sk->sk_cgrp_data); in sk_alloc()
1543 sock_update_classid(&sk->sk_cgrp_data); in sk_alloc()
1544 sock_update_netprioidx(&sk->sk_cgrp_data); in sk_alloc()
1690 cgroup_sk_alloc(&newsk->sk_cgrp_data); in sk_clone_lock()
Dfilter.c3769 cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in BPF_CALL_1()
3790 cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in BPF_CALL_2()
Ddev.c3510 prioidx = sock_cgroup_prioidx(&sk->sk_cgrp_data); in skb_update_prio()
/Linux-v4.19/net/ipv4/
Dinet_diag.c294 classid = sock_cgroup_classid(&sk->sk_cgrp_data); in inet_sk_diag_fill()