Home
last modified time | relevance | path

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

/system/netd/bpf_progs/
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); variable
302 if (sock_uid == AID_CLAT) return BPF_NOMATCH;
323 uint32_t sock_uid = bpf_get_socket_uid(skb); variable
324 if (is_system_uid(sock_uid)) return BPF_MATCH;
330 if ((sock_uid == 65534) && !bpf_get_socket_cookie(skb) && is_received_skb(skb))
[all …]