summaryrefslogtreecommitdiff
path: root/common/netd/libnetdutils/InternetAddressesTest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add IPPrefix.contains()Chiachang2022-06-021-0/+187
| | | | | | | | | | | | Add helper methods to check whether the specified prefix is entirely contained in this prefix, or the specified address is contained in this prefix. Bug: 184750836 Test: atest IPPrefixTest Change-Id: I838510b347ac5741c589ee8f3983111209155588 (cherry picked from commit abe2e7fab4702113df60511f4642a6277321eb20) Merged-In: I838510b347ac5741c589ee8f3983111209155588
* [NETD-BPF#1] Move libnetdutils to frameworks/libs/net/...Ken Chen2021-11-231-0/+541
libnetdutils is referenced by netd.c and TrafficController.cpp, which are going to be mainlined. Therefore, move libnetdutils to a common place where both mainline module and platform code (Netd) can refer to. Bug: 202086915 Test: build; flash; cd system/netd; atest Ignore-AOSP-First: the netd change(same topic) would not automerge from aosp. No-Typo-Check: Clean code move with no other changes. BYPASS_INCLUSIVE_LANGUAGE_REASON=Clean code move with no other changes. Change-Id: I645bfe35f6543149c9a9f894cd4158d27a481abe