Home
last modified time | relevance | path

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

/system/netd/bpf_progs/
Dnetd.c226 uint32_t sock_uid = bpf_get_socket_uid(skb); in bpf_traffic_account() local
229 if (sock_uid == AID_CLAT) { in bpf_traffic_account()
233 int match = bpf_owner_match(skb, sock_uid, direction); in bpf_traffic_account()
247 uid = sock_uid; in bpf_traffic_account()
256 uid = sock_uid; in bpf_traffic_account()
298 uint32_t sock_uid = bpf_get_socket_uid(skb); variable
299 if (sock_uid == AID_CLAT) return BPF_NOMATCH;
320 uint32_t sock_uid = bpf_get_socket_uid(skb); variable
321 if (is_system_uid(sock_uid)) return BPF_MATCH;
327 if ((sock_uid == 65534) && !bpf_get_socket_cookie(skb) && is_received_skb(skb))
[all …]