Home
last modified time | relevance | path

Searched refs:peer_sk (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dcgroup_skb_sk_lookup_kern.c46 struct bpf_sock *peer_sk; in is_allowed_peer_cg() local
50 peer_sk = bpf_sk_lookup_tcp(skb, &tuple, tuple_len, in is_allowed_peer_cg()
52 if (!peer_sk) in is_allowed_peer_cg()
56 peer_cgid = bpf_sk_cgroup_id(peer_sk); in is_allowed_peer_cg()
59 peer_acgid = bpf_sk_ancestor_cgroup_id(peer_sk, 2); in is_allowed_peer_cg()
61 bpf_sk_release(peer_sk); in is_allowed_peer_cg()
/linux-6.6.21/security/apparmor/include/
Daudit.h137 struct sock *peer_sk; member