Searched refs:sk_cgrp_data (Results 1 – 15 of 15) sorted by relevance
/linux/tools/testing/selftests/bpf/progs/ |
H A D | cgrp_ls_attach_cgroup.c | 42 tcp_sk->inet_conn.icsk_inet.sk.sk_cgrp_data.cgroup, 0, in set_cookie() 71 tcp_sk->inet_conn.icsk_inet.sk.sk_cgrp_data.cgroup, 0, 0); in update_cookie_sockops() 91 p = bpf_cgrp_storage_get(&socket_cookies, sock->sk->sk_cgrp_data.cgroup, 0, 0); in BPF_PROG()
|
/linux/net/netfilter/ |
H A D | xt_cgroup.c | 109 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()
|
H A D | nft_socket.c | 49 cgrp = cgroup_ancestor(sock_cgroup_ptr(&sk->sk_cgrp_data), level); in nft_sock_get_eval_cgroupv2()
|
H A D | nft_meta.c | 173 *dest = sock_cgroup_classid(&sk->sk_cgrp_data); in nft_meta_get_eval_cgroup()
|
H A D | nfnetlink_queue.c | 464 u32 classid = sock_cgroup_classid(&sk->sk_cgrp_data); in nfqnl_put_sk_classid()
|
/linux/include/net/ |
H A D | cls_cgroup.h | 73 classid = sock_cgroup_classid(&sk->sk_cgrp_data); in task_get_classid()
|
H A D | sock.h | 533 struct sock_cgroup_data sk_cgrp_data; member 1389 return cgroup_is_descendant(sock_cgroup_ptr(&sk->sk_cgrp_data), in sk_under_cgroup_hierarchy()
|
/linux/net/core/ |
H A D | netclassid_cgroup.c | 75 sock_cgroup_set_classid(&sock->sk->sk_cgrp_data, ctx->classid); in update_classid_sock()
|
H A D | netprio_cgroup.c | 224 sock_cgroup_set_prioidx(&sock->sk->sk_cgrp_data, in update_netprio()
|
H A D | sock.c | 2198 cgroup_sk_free(&sk->sk_cgrp_data); in sk_prot_free() 2244 cgroup_sk_alloc(&sk->sk_cgrp_data); in sk_alloc() 2245 sock_update_classid(&sk->sk_cgrp_data); in sk_alloc() 2246 sock_update_netprioidx(&sk->sk_cgrp_data); in sk_alloc() 2427 cgroup_sk_clone(&newsk->sk_cgrp_data); in sk_clone_lock() 3415 sock_update_netprioidx(&sock->sk->sk_cgrp_data); in __receive_sock() 3416 sock_update_classid(&sock->sk->sk_cgrp_data); in __receive_sock()
|
H A D | filter.c | 3094 return sock_cgroup_classid(&sk->sk_cgrp_data); in BPF_CALL_1() 4959 cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __bpf_sk_cgroup_id() 4985 cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __bpf_sk_ancestor_cgroup_id()
|
H A D | dev.c | 3957 prioidx = sock_cgroup_prioidx(&sk->sk_cgrp_data); in skb_update_prio()
|
/linux/kernel/bpf/ |
H A D | cgroup.c | 97 cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_lsm_sock() 119 cgrp = sock_cgroup_ptr(&sock->sk->sk_cgrp_data); in __cgroup_bpf_run_lsm_socket() 1387 cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_filter_skb() 1455 struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_filter_sk() 1511 cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_filter_sock_addr() 1542 struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_filter_sock_ops() 1820 struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_filter_setsockopt() 1912 struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_filter_getsockopt() 1996 struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in __cgroup_bpf_run_filter_getsockopt_kern()
|
/linux/net/ipv4/ |
H A D | inet_diag.c | 164 classid = sock_cgroup_classid(&sk->sk_cgrp_data); in inet_diag_msg_attrs_fill() 179 cgroup_id(sock_cgroup_ptr(&sk->sk_cgrp_data)), in inet_diag_msg_attrs_fill() 823 cgroup_id(sock_cgroup_ptr(&sk->sk_cgrp_data)) : 0; in inet_diag_bc_sk()
|
/linux/net/mptcp/ |
H A D | subflow.c | 1703 struct sock_cgroup_data *parent_skcd = &parent->sk_cgrp_data, in mptcp_attach_cgroup() 1704 *child_skcd = &child->sk_cgrp_data; in mptcp_attach_cgroup()
|