Home
last modified time | relevance | path

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

/aosp12/system/netd/bpf_progs/
H A Dnetd.c229 uint32_t sock_uid = bpf_get_socket_uid(skb); in bpf_traffic_account() local
232 if (sock_uid == AID_CLAT) { in bpf_traffic_account()
236 int match = bpf_owner_match(skb, sock_uid, direction); in bpf_traffic_account()
250 uid = sock_uid; in bpf_traffic_account()
259 uid = sock_uid; in bpf_traffic_account()
301 uint32_t sock_uid = bpf_get_socket_uid(skb);
302 if (sock_uid == AID_CLAT) return BPF_NOMATCH;
323 uint32_t sock_uid = bpf_get_socket_uid(skb);
324 if (is_system_uid(sock_uid)) return BPF_MATCH;
340 uint32_t sock_uid = bpf_get_socket_uid(skb);
[all …]