Add IpRange utility to convert IP ranges to IpPrefix

IKE Traffic Selectors are defined to be an IP range, with a start and an
end IP address. However, the Android system works in IP Prefixes. This
commit adds a utility to convert between the two.

Bug: 144246767
Test: New tests added, passing
Change-Id: I428fee682dea21346f92c5c628642dee3c785ba9
2 files changed
tree: acbc38bd69b9cb4fbb8b71ce9f974d52956ed79d
  1. .gitignore
  2. PREUPLOAD.cfg
  3. common/