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: f4df81124220d5ac74bd46845b6e322aeaed19d3
  1. staticlibs/