commit | ec0f7ac36f1a55e288931e9c37dd36a9fa5edcb0 | [log] [tgz] |
---|---|---|
author | Ken Chen <cken@google.com> | Fri Sep 08 14:14:55 2023 +0800 |
committer | Ken Chen <cken@google.com> | Wed Nov 01 06:23:04 2023 +0800 |
tree | c8d0c2a194e87e38407c359df5c7b291c88151cd | |
parent | 2337cbf87e9b8d2f41244789aaeb9d654f35e0aa [diff] |
Add a library for DNS resolver to read bpf maps The library provides an init function and an API for DNS resolver to query whether the application is allowed to send DNS query based on BPF maps settings. Bug: 288340533 Test: atest dns_helper_unit_test (with test CL) Change-Id: Ibfb383bfb074da2104a25aa4f04ebc32b22d11da