Searched refs:peer_sk (Results 1 – 2 of 2) sorted by relevance
46 struct bpf_sock *peer_sk; in is_allowed_peer_cg() local50 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()
137 struct sock *peer_sk; member